* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Muli', sans-serif;
}

.header{
    height: 100vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url(../images/contacto/Header\ Contacto.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

/* Fomulario 2 */

.form_body{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: nowrap;
    padding: 1rem;
}

.img-jl{
    width: 100%;
   
}

.form_body .contactoimg{
    width: 60%;
    min-width: 500px;
}

.form{
    margin: auto;
    width: 90%;
    max-width: 500px;
    padding: 8em 3em;

}

.form_title{
    font-size: 1.8rem;
    font-weight: 900;
}

.form_paragraph{
    font-size: 1.2rem;
    font-weight: 300;
}

.form__container{
    margin-top: 3em;
    display: grid;
    gap: 2em;
}

.form__group{
    position: relative;
}

textarea{
    resize: vertical;
    max-height: 100px;
    min-height: 50px;
}

.form__input{
    width: 100%;
    background: none;
    font-size: 1rem;
    font-family: 'Muli', sans-serif;
    padding: .6em .3em;
    border: none;
    outline: none;
    border-bottom: 1px solid black;
    font-family: 'Karla';
}

/* Efecto de los inputs */
.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label{
    transform: translateY(-12px) scale(.7);
    transform-origin: left top;
    color: #ad9b86;
}

.form__label{
    color: gray;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 5px;
    transform: translateY(10px);
    transition: transform .5s;
}

.form__submit{
    background-color: #c3c0b3;
    cursor: pointer;
    text-align: center;
    color: white;
    font-family: 'Muli', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: .7em .5em;
    margin: 0 7em;
    border: none;
    border-radius: .5em;
}

.form__submit:hover{
    background-color: #ad9b86;
    transition: all .50s ease;
}

.form_body2{
        display: flex;
        flex-flow: nowrap;
        padding: 0rem 16rem;
        background-color: #0b467f;
}

/*Responsive*/

@media(max-width: 1500px) {
    .header {
        height: 100vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url(../images/contacto/hcontacto@1500.webp);
    }
}

@media(max-width: 1200px) {
    .header {
        height: 100vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url(../images/contacto/hcontacto@1200.webp);
    }
}

@media(max-width:1000px){
    .form_body{
        display: flex;
        flex-direction: column;
        padding:1rem;
    }

    .form{
        padding: 2rem 1rem;
    }
}

@media(max-width: 900px) {
    .header {
        height: 90vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url(../images/contacto/hcontacto@900.webp);
    }
    
}

@media(max-width: 600px) {
    .header {
        height: 60vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url(../images/contacto/hcontacto@900.webp);
    }
    .form_body .contactoimg{
        display: none;
    }
       
}

@media(max-width: 500px) {

    .form{
        width: 100%;
    }

    .form__container{
        margin-top: 3em;
        display: grid;
        gap: 2em;
    }
    
    .form_title{
        font-size: 1.4rem;
        font-weight: 900;
    }
    
    .form_paragraph{
        font-size: 1rem;
        font-weight: 300;
    }

    .form__submit{
        background-color: #c3c0b3;
        cursor: pointer;
        text-align: center;
        color: white;
        font-family: 'Muli', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        padding: .7em .5em;
        margin: 0 3em;
        border: none;
        border-radius: .5em;
    }
    
    
}

@media(max-width:320px){
    .form_paragraph{
        font-size: .9rem;
        padding-top: .5rem;
        font-weight: 300;
    }
}