html{
    scroll-behavior: smooth;
}
body {
    color: white;
    margin: 0;
    padding: 0;
    background-color: rgb(240, 240, 240);
    font-family: League Spartan, sans-serif;
    background-image: url(https://images.unsplash.com/photo-1509077613385-f89402467146?q=80&w=1940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 1s ease-in-out;

}

h1,
p,
.footer {
    background-color: rgba(9, 87, 50, 0.7);
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: inline-block;
}


h1 {
    font-size: 3rem;
    color: rgb(255, 255, 255);
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    text-align: center;
}

p {
    font-size: 1.4rem;
    color: white;
    letter-spacing: 1px;
    text-align: center;
    margin-top: -20px;
}

.form-container {
    background-color: rgba(9, 87, 50, 0.7);
    width: 100%;
    max-width: 400px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    margin: 20px;
}

@media (max-width: 760px) {
    body {
        background-attachment: scroll;
    }
    h1 {
        font-size: 30px;
    }

    p {
        margin-top: 5px;
        font-size: 0.9rem;
    }

    .form-container {
        padding: 20px;
        width:75%;
    }

    .label {
        font-size: 15px;
    }

    input,
    select,
    textarea {
        font-size: 13px;
    }

    input[type="submit"] {
        font-size: 13px;
    }

    .footer {
        font-size: 15px;
        padding: 15px 25px;
        margin-bottom: -20px;
    }
}

@media (min-width: 768px) {
    .form-container {
        padding: 40px;
    }

    .label {
        font-weight: bold;
        font-size: 1.1rem;
    }

    input,
    select,
    textarea {
        font-size: 1rem;
    }

    input[type="submit"] {
        font-size: 1.2rem;
    }

    .footer {
        font-size: 1.1rem;

    }

    p {
        font-size: larger;
    }
}

div {
    padding: 10px 0;
}

label {
    color: #fff;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease-in-out;
}

input,
select,
textarea {
    margin-top: 20px;
    display: block;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border: 2px solid #ff6347;
    background-color: rgba(255, 99, 71, 0.2);
    transform: scale(1.03);
}

input[type="submit"] {
    background-color: #ff6347;
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #e55347;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.footer {
    background-color: rgba(9, 87, 50, 0.6);
    padding: 25px 120px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    letter-spacing: 1px;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
} 
