

/*Banner*/

.banner{
    width: 100%;
    height: 650px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: url(../img/banner.jpg);
    background-position: center 60%;
    background-attachment: fixed;
    padding: 16rem 0 0rem 0;
    position: relative;
}

@media screen and (min-width:1200px) {
    .banner{
    background-repeat: no-repeat;
    background-size: cover;
}
}

.banner::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.banner .cont{
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 2;
}

.banner .cont h2{
    color: var(--text-white);
}

@media screen and (max-width:1500px) {
    .banner{
        height: 600px;
    }
}

@media screen and (max-width:1350px) {
    .banner{
        height: 480px;    
    }
}

@media screen and (max-width:1200px) {
    .banner{
        height: 420px;
        background: url(../img/banner-tablet.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media screen and (max-width:675px) {
    .banner{
        height: 360px;
        background: url(../img/banner-mobile.jpg);
        background-size: cover;
    }
}

@media screen and (max-width:600px) {
    .banner{
        height: 320px;        
    }
}

/*Nosotros*/

.nosotros{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
}

.nosotros .cont{
    width: 90%;
    max-width: 1500px;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3%;
}

.nosotros .cont .images{
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.nosotros .cont .images img{
    width: 100%;
    height: auto;
}

.nosotros .cont .text{
    width: 57%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 3rem;
}

.nosotros .cont .text h2{
    color: var(--text-black);
}

.nosotros .cont .text .items{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
}


@media screen and (max-width:1100px) {
    .nosotros .cont .text{
        padding-top: 0rem;
    }
}

@media screen and (max-width:930px) {
    .nosotros .cont{
        max-width: 600px;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 3rem;
    }

    .nosotros .cont .images{
    width: auto;
    max-width: 500px;
    height: auto;
    }

    .nosotros .cont .text{
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 2rem;
        padding-top: 3rem;
    }
}

@media screen and (max-width:700px) {
    .nosotros{
        padding-top: 3rem;
    }
}

@media screen and (max-width:500px) {
    .nosotros{
        padding-top: 2rem;
    }
}

/*Servicios*/

.servicios{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
}

.servicios .cont{
    width: 98%;
    max-width: 1500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--bg-services);
    padding: 3rem;
    gap: 4rem;
}

.servicios .cont .text{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.servicios .cont .text h2{
    width: 100%;
    color: var(--text-dark);
}

.servicios .cont .card-cont{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
}

.servicios .cont .card-cont .card{
    width: 30%;
    max-width: 400px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--bg-cards);
    padding: 2rem;
    gap: 2rem;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.servicios .cont .card-cont .card .img{
    width: 100%;
    height: 3.75rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.servicios .cont .card-cont .card img{
    width: auto;
    height: 100%;
}

.servicios .cont .card-cont .card .text{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0rem;
    color: var(--text-dark);
}

.servicios .cont .card-cont .card .text h6{
    text-align: center;
}

.servicios .cont .card-cont .card .text p{
    text-align: center;
}   

@media screen and (max-width:980px) {
    .servicios .cont .text{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1rem;
    }

    .servicios .cont .text h2{
    width: 100%;
    }   

    .servicios .cont .text h5{
        width: 100%;
        max-width: 5000px;
    }
}

@media screen and (max-width:710px) {
    .servicios .cont .card-cont{
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;    
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .servicios .cont .card-cont .card{
        max-width: 280px;
        width: 45%;
        min-width: 200px;
        height: 270px;
    }
}

@media screen and (max-width:675px) {

    .servicios .cont .card-cont .card{
        height: 240px;
    }
}

@media screen and (max-width:560px) {
    .servicios .cont .card-cont{
        width: 100%;
        flex-direction: column;
        justify-content: center;    
        align-items: center;
        flex-wrap: wrap;
    }

    .servicios .cont .card-cont .card{
        width: 100%;
        min-width: 200px;
        max-width: 500px;
        height: auto;
        padding: 2rem;
        gap: 2rem;
    }
}




