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

.banner{
    background-image: url("../img/banner_fondo.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    width: 84%;
    height: 60vh;

    display: -webkit-flex;
    -webkit-justify-content: space-between;
    -webkit-align-items: center;
}

.banner__contenido{
    display: flex;
    flex-direction: column;
    width: 25%;

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

.banner__contenido h2{
    margin: 1.5vh 0;
    color: #CFD7D2;
    text-align: center;
}

.banner__contenido p{
    color: #CFD7D2;
    font-size: 1.8vw;
    font-style: italic;
    text-align: center;
}

/*Estilo para media pantalla
______________________________*/
@media only screen and (max-width: 1024px){
    .banner{
        background-image: url("../img/banner_fondo_movil.jpg");
        flex-wrap: wrap;
        padding: 5vh 5%;
        width: 90%;
        height: auto;

        -webkit-flex-wrap: wrap;
    }

    .banner__contenido{
        margin: 5vh 0;
        width: 50%;
    }

    .banner__contenido p{
        font-size: 2.8vw;
    }

}

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

    .banner__contenido{
        margin: 3vh 0;
        width: 100%;
    }

    .banner__contenido p{
        font-size: 4.5vw;
    }
}