body {
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-position: center center; 
    background-color: white;
}

header{
    width: 101vw; 
    background-color: #FAF3E0;
    padding-top: 0.5vw;
    gap: 10vw;
}

header li{
    font-size: 2.5vw;
}

.form_dec{
    display: flex;
    margin: auto;
    margin-left: -10%;
    gap: 20%;
}

.content{
    margin: auto;
    margin-top: 2%;
    width: 60%;
    display: flex;
    text-align: center;
    justify-content: space-around;
    align-items: flex-start; 
    background-color: #FAF3E0;
    border: solid;
    border-radius: 1%;
    border-color: black;
}

form {
    margin-top: 2.5vw;
    margin-bottom: 2.5vw;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
}

h2 {
    margin: auto;
    margin-top: 8%;
    margin-bottom: 2%;
    color: black;
    font-size: 2.5vw;
    width: 30vw;
    padding: 1%;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    display: flex;
    margin-bottom: 10%;
    padding: 1vw;
    width: auto;
}

input[type="submit"]{
    margin-top: 1vw;
    padding: 1.5vw;
    background-color: #FAF3E0;
    color: black;
    cursor: pointer;
    border-radius: 10px;
}

input[type="submit"]:hover{
background-color: #ddd;
}

form label{
    font-size: 1.5vw;
    color: black;
    
    border-radius: 3px;
    
    margin-bottom: 5%;
}

h3{
    margin-top: 1%;
    color:black;
    
}

p{
    margin-top: -2%;
    font-size: 1.75vw;
    color: black;
    margin-bottom: -2%;
}
/* ========== TABLET (769px to 1024px) ========== */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .content {
        width: 90%;
        flex-direction: column;
        padding: 4vw;
        align-items: center;
    }

    .form_dec {
        flex-direction: column;
        gap: 5vw;
        margin-left: 0;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .form_dec > div {
        display: flex;
        flex-direction: column;
        gap: 2vw;
        align-items: center;
        width: 100%;
    }

    .form_dec > div > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70vw;
    }

    form label,
    form input {
        width: 100%;
        font-size: 2vw;
        text-align: center;
    }

    input[type="submit"] {
        font-size: 2vw;
        padding: 1vw;
        width: 50vw;
    }

    h2 {
        font-size: 4vw;
        width: 100%;
        text-align: center;
    }

    small {
        font-size: 2vw;
        text-align: center;
    }
}

/* ========== MOBILE (max-width: 768px) ========== */
@media only screen and (max-width: 768px) {
    .content {
        width: 95%;
        flex-direction: column;
        padding: 6vw;
        align-items: center;
    }

    .form_dec {
        flex-direction: column;
        gap: 5vw;
        margin-left: 0;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .form_dec > div {
        display: flex;
        flex-direction: column;
        gap: 4vw;
        align-items: center;
        width: 100%;
    }

    .form_dec > div > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80vw;
    }

    form label,
    form input {
        width: 100%;
        font-size: 4vw;
        text-align: center;
    }

    input[type="submit"] {
        font-size: 4vw;
        padding: 2vw;
        width: 60vw;
    }

    h2 {
        font-size: 6vw;
        width: 100%;
        text-align: center;
    }

    small {
        font-size: 3vw;
        text-align: center;
    }

    h3 {
        font-size: 4vw;
        text-align: center;
    }

    p {
        font-size: 3.5vw;
        text-align: center;
    }
}
