/*===========SECC 1===========*/
.secc1-background-color{
    background-color: #834411;
    overflow: hidden;

}
.secc1-background-img{
    background-image: linear-gradient(90deg, rgb(0,0,0,0.5), rgb(0,0,0,0.2)), url('../img/nosotros/banner.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 540px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.secc1-div-subdiv-textos{
    color: white;
    padding-left: 170px;
    max-width: 750px;
}

.secc1-div-subdiv-textos h1{
    color: white;
    font-family: 'slackey';
}
.secc1-div-subdiv-textos h1 span {
    color: #F9AE14;
    font-size: 1.2em;
}

.secc1-div-subdiv-textos p{
    max-width: 450px;
    font-family: 'slackey';
}

/*===========SECC 2===========*/
.secc2{
    margin-top: 80px;
    margin-bottom: 80px;
}
.secc2-div{
    display: flex;
    align-items: center;
}
.secc2-div-img{
    width: 43%;
    max-width: 610px;
}
.secc2-div-subdiv{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 690px;
}
.secc2-div-subdiv img{
    width: 150px;
}
.secc2-div-subdiv-2{
    gap: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.secc2-div-subdiv-2-titulo{
    font-weight: bold;
    color: black;
}
.secc2-div-subdiv-2-titulo span{
    color: #F9B528;
}
.secc2-div-subdiv-subdiv{
    display: flex;
    align-items: flex-start;
    margin-left: -70px;
    gap: 20px;
}
.secc2-subdiv-subdiv-subdiv{
    display: flex;
    flex-direction: column;
}

/*===========SECC 3===========*/
.secc3-div{
    background-image: url('../img/nosotros/banner-inferior.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 530px;
}

/*===========SECC 4===========*/
.secc4{
    margin-top: -120px;
    margin-bottom: 80px;
}
.secc4-div{
    display: flex;
    align-items: center;
    gap: 40px;
}
.secc4-div-img{
    width: 45%;
    max-width: 610px;
}
.secc4-subdiv1-1{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 160px;
}
.secc4-subdiv1-1-titulo{
    font-weight: bold;
    color: black;
}
.secc4-subdiv1-1-titulo span{
    color: #834411;
}
.secc4-subdiv1-2{
    display: flex;
    gap: 20px;
}
.secc4-subdiv1-3{
    gap: 20px;
    display: flex;
    flex-direction: column;
}

/*===========SECC 5===========*/
.secc5 h1{
    color: black;
    font-weight: bold;
    max-width: 580px;
}


/*SLIDER INFINITO*/
.slider {
    max-width: 1260px;

    margin-bottom: 80px !important;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.certs{
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 200px;
    width: 200px;
}

.certi1{
    background-image: url('../img/nosotros/logo1.jpg');
}
.certi2{
    background-image: url('../img/nosotros/logo2.jpg');
}
.certi3{
    background-image: url('../img/nosotros/logo3.jpg');
}
.certi4{
    background-image: url('../img/nosotros/logo4.jpg');
}
.certi5{
    background-image: url('../img/nosotros/logo5.jpg');
}


.slider .slide-track {
    display: flex;
    animation: scroll 20s linear infinite;
    -webkit-animation: scroll 20s linear infinite;
    width: calc(250px * 10);
}

.slider .slide {
    width: 250px;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-250px * 5));
        transform: translateX(calc(-250px * 5));
    }
}







/*===========RESPONSIVE===========*/
@media(max-width: 1500px){
    .secc1-background-img{
        width: 110%;
    }
}

@media(max-width: 1366px){
    .secc1-div-subdiv-textos{
        padding-left: 70px;
        max-width: 520px;
    }
}

@media(max-width: 1200px){
    .secc1-div-subdiv-textos{
        padding-left: 20px;
    }
    .secc1-background-img{
        width: 130%;
    }
}

@media(max-width: 992px){
    .secc1-div-subdiv-textos p{
        max-width: unset;
    }
    .secc1-div-textos{
        width: 100%;
        background-color: rgba(0, 0, 0, 0.171);
        backdrop-filter: blur(0.5rem);
    }
    .secc1-div-subdiv-textos{
        padding: 20px;
        
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .secc1-background-img {
        width: 100%;
        justify-content: center;
        background-size: cover;
        background-position: center;
    }
    /*-------------------*/
    .secc2-div{
        flex-direction: column-reverse;
        align-items: center;
        gap: 40px;
    }
    .secc2-div-img{
        min-width: 250px;
    }
    .secc2-div-subdiv{
        display: none;
    }
    .secc2-div-subdiv-2{
        align-items: center;
        gap: 40px;
    }
    .secc2-div-subdiv-subdiv{
        margin-left: 0;
    }
    /*-------------------*/
    .secc4{
        margin-top: 80px;
    }
    .secc4-div{
        flex-direction: column;
    }
    .secc4-subdiv1-1{
        margin-top: 0;
        text-align: center;
    }
    .secc2-div-subdiv-2-titulo{
        text-align: center;
    }
}

@media(max-width: 768px){
    .secc4-subdiv1-2{
        flex-direction: column;
        gap: 80px;
    }
}