body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('background_itart_support.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}

header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
    color: white;
}

header img {
    max-width: 200px;
    height: auto;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
}

nav a {
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #1A73E8;
    border-radius: 5px;
}

.converter {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.converter h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #1A73E8;
}

.input-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.input-section label,
.input-section input,
.input-section select {
    font-size: 1.1em;
    margin-right: 10px;
}

#amount {
    padding: 10px;
    border: 2px solid #1A73E8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

select {
    padding: 10px;
    border: 2px solid #1A73E8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#convert-button {
    background-color: #1A73E8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#convert-button:hover {
    background-color: #333;
}

#conversion-result {
    font-size: 1.4em;
    color: #333;
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media only screen and (max-width: 767px) {
    .converter {
        max-width: 90%;
        padding: 20px;
    }

    .input-section {
        flex-direction: column;
        align-items: center;
    }

    .input-section label, 
    .input-section input, 
    .input-section select {
        margin: 10px 0;
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Ensures no overflow */
        box-sizing: border-box; /* Ensures padding is included in width */
    }

    #convert-button {
        width: 100%; /* Full width for the button */
        max-width: 100%;
    }

    #conversion-result {
        font-size: 1.2em;
        margin-top: 15px;
        padding: 10px;
    }
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 0;
}
