*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

input, a, h1, h2, label, button{
    font-family: "Nunito", serif;
}

/* nav */

.img{
    background-color: #EB8001;
    width: 100%;
    height: 12vh;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.7);
}

.img img{
    height: 100%;
}

.img a{
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

/* formulario */

form{
    height: 75vh;
    width: 100%;
}

input[type="text"], input[type="number"], input[type="email"]{
    border-color: #EB8001;
    border-radius: 20px;
    padding: 5px;
    font-size: 1.2rem;
    height: 70px;
}

input[type="radio"]{
    scale: 2;
    margin: 20px;
}

textarea{
    border-color: #EB8001;
    border-radius: 20px;
    border-width: 2px;
    padding: 5px;
    font-size: 1.2rem;
    height: 60%;
}

label{
    font-size: 1.4rem;
}

h2, h1{
    margin-top: 10px;
}

input[type="submit"]{
    color: white;
    background-color: #EB8001;
    border: 0;
    width: 50%;
    padding: 15px;
    font-size: 1.2rem;
    grid-column: 3;
    margin-left: auto;
}

hr{
    width: 100%;
    height: 4px;
    background-color: #EB8001;
    border: 0;
}

.caja{
    width: 100%;
    border-top: solid black 2px;
    border-bottom: solid black 2px;
    margin-top: 5%;
}

.flex-1{
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    height: 50%;
}

.flex-2{
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.caja-2{
    display: flex; 
    justify-content: space-between; 
    width: 30%; 
    color: white; 
    background-color: #EB8001;
    padding: 20px;
}

.form{
    width: 100%;
    background-color: black;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    margin-top: 40px;
}

.form div{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 900px){
    .container{
        background-position: 80% 80%;
        background-size: 70%;
    }

    .flex-2{
        flex-direction: column;
        align-items: center;
        align-items: flex-start;
    }

    .caja-2{
        width: 100%;
    }

    label{
        font-size: 1.2rem;
    }

}

@media (max-width: 604px){
    .container{
        background-image: none;
    }

    .form{
        grid-template-columns: 1fr;
    }

    input[type="radio"]{
    scale: 1.5;
    margin: 20px;
    }

    label{
        font-size: 1.4rem;
    }

    h2{
        font-size: 1.2rem;
    }

    .flex-1{
        flex-direction: column;
        align-items: flex-start;
    }

    .caja-2{
        flex-direction: column;
    }
}