/**
 * @copyright Camacho & Asociados
 * @author MarLab (edoardo@marlab.mx)
 * @version 1.0.0 (Noviembre 2021)
 * @since 1.0.0
 */

.contacto{
    background-image: url("../img/contacto_fondo.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    padding: 10vh 15%;
    width: 70%;

    display: -webkit-flex;
    -webkit-justify-content: space-between;
}

.contacto__contenedor{
    display: flex;
    flex-direction: column;
    width: 40%;

    display: -webkit-flex;
    -webkit-flex-direction: column;
}

.contacto__contenedor h1{
    margin-bottom: 3vh;
}

.contacto__contenedor h2{
    margin-top: 2vh;
    margin-bottom: 1vh;
    color: #283B4C;
    font-weight: 600;
    font-size: 1.2vw;
    font-style: normal;
    line-height: 1.5vw;
}

.contacto__contenedor p{
    margin-bottom: 1vh;
}

.contacto__contenedor a{
    margin-top: 2vh;
    color: #1A4EA2;
}

.contacto__formulario{
    display: flex;
    flex-direction: column;
    width: 45%;

    display: -webkit-flex;
    -webkit-flex-direction: column;
}

.contacto__formulario h1{
    margin-bottom: 3vh;
    color: #1C2D3C;
    font-weight: 400;
    font-style: italic;
}

.contacto__formulario p{
    margin-bottom: 1vh;
}

.contacto__formulario input[type="text"]{
    background-color: #FFFFFF80;
    margin-bottom: 1vh;
    padding: 1vh 3%;
    width: 94%;
    border: none;
    border-radius: 0;
    color: #283B4C;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 1vw;

    appearance: none;
    -webkit-appearance: none;
}

.contacto__formulario textarea{
    background-color: #FFFFFF80;
    margin-bottom: 3vh;
    padding: 1vh 3%;
    width: 94%;
    height: 10vh;
    border: none;
    border-radius: 0;
    color: #283B4C;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 1vw;
    resize: none;

    appearance: none;
    -webkit-appearance: none;
}

.contacto__formulario input[type="button"]{
    background-color: #283B4C;
    padding: 1vh 0;
    width: 100%;
    border: none;
    border-radius: 0;
    color: white;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 1vw;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.contacto__formulario input[type="button"]:hover{
    transform: scale(1.1,1.1);
    -webkit-transform: scale(1.1,1.1);
}

/*Estilo para media pantalla
______________________________*/
@media only screen and (max-width: 1024px){
    .contacto{
        background-attachment: initial;
        padding: 5vh 5%;
        width: 90%;
    }

    .contacto__contenedor{
        width: 45%;
    }

    .contacto__contenedor h2{
        font-size: 2.5vw;
        line-height: 3vw;
    }

    .contacto__formulario{
        width: 50%;
    }

    .contacto__formulario input[type="text"]{
        font-size: 2vw;
    }

    .contacto__formulario textarea{
        font-size: 2vw;
    }

    .contacto__formulario input[type="button"]{
        font-size: 2vw;
    }
}

/*Estilo para móviles
______________________________*/
@media only screen and (max-device-width: 465px) and (max-aspect-ratio: 13/9){
    .contacto{
        flex-direction: column;
        padding: 5vh 3%;
        width: 94%;

        -webkit-flex-direction: column;
    }

    .contacto__contenedor{
        margin-bottom: 3vh;
        width: 100%;
    }

    .contacto__contenedor h2{
        font-size: 4vw;
        line-height: 4.5vw;
    }

    .contacto__formulario{
        width: 100%;
    }

    .contacto__formulario input[type="text"]{
        font-size: 3.5vw;
    }

    .contacto__formulario textarea{
        font-size: 3.5vw;
    }

    .contacto__formulario input[type="button"]{
        font-size: 3.5vw;
    }
}
