/*CHRISTIAN :*/
/*FONTS*/
@font-face {
    font-family:'Aller Regular';
    src: url('../fonts/Aller/Aller_Std_Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family:'Aller Display';
    src: url('../fonts/Aller/AllerDisplay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body{
    font-family:'Aller Regular';
    width: 100vw;
    display: flex;
    flex-direction: column;
}
/* Imagen del camión */
#imagen-camion {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#imagen-camion img {
    width: 100%;
    object-fit: cover;
}
.seccion-geotecnia{
    position: relative;
    width: 100vw;
    height: 650px;
    padding: 25px 15px;
}
.img-titulo-cimentaciones{
    position: absolute;
    left: 250px;
    width: 250px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    margin:0 0 0 0;
}
.img-titulo-cimentaciones img{
    width: 100%;
    max-height: 100%;
}
.titulo-one h1{
    position: relative;
    font-family:'Aller Display';
    font-size: 78px;
    display: flex;
    justify-content: center;
    color: #AAD159;
    margin: 60px 0 0 0;
}
.texto{
    position: relative;
    font-family: 'Aller Regular';
    text-align: justify;
    color: #002060;
    font-size:30.9px;
    margin: 20px 60px;
}
.titulo-three{
    position: relative;
    font-family: 'Aller Display';
    font-size: 45px;
    color:#002060;
    margin: 20px 60px;
}

.tipos li{
    font-family: 'Aller Regular';
    color:#002060;
    font-size: 30.9px;
    line-height:1.2;
    list-style-position: inside;
}
.tipos {
    margin: 5px 70px 40px;
}

#estabilizacion-taludes,#estabilizacion-suelos{
    position: relative;
    width: 100%;
    height: 100%;
}
.img-titulo-cimentaciones, .img-titulo-taludes, .img-titulo-suelos{
    position: absolute;
}

.img-titulo-taludes{
    width: 20.457vw;
    height: 60vh;
    margin-top: 14.8rem;
    right: 6.530rem;
}
.img-titulo-taludes img{
    width:100%;
    height: 100%;
}
.img-titulo-suelos{
    width:41vh;
    margin-top:14vh;
    margin-left: 20vh;
}
.img-titulo-suelos img{
    width:100%;
    height:100%;
}
.contenedor-texto{
    position: relative;
    width: 100%;
    height:auto;
    top:0;
    z-index: 10;
}
.contenedor-texto-taludes{
    position: relative;
    height: auto;
}
.contenedor-texto-suelos{
    position:relative;
    height:570px;
}
.contenedor-texto h1,  .contenedor-texto-taludes h1, .contenedor-texto-suelos h1{
    font-family: 'Aller Display';
    color: #AAD159;
    font-size: 81.637805561px;
    margin-bottom: 19.276px;
    text-align: center;
}
.contenedor-texto p, .contenedor-texto-taludes p, .contenedor-texto-suelos p{
    font-family: 'Aller Regular';
    color:#002060;
    text-align:  justify;
    margin-left: 53.669px;
    margin-right: 30.236px;
    margin-bottom: 20px;
    font-size: 1.97rem;
}
.contenedor-texto h3, .contenedor-texto-taludes h3{
    font-family: 'Aller Display';
    color: #002060;
    font-size: 52px;
    margin-left: 54.047px;
    margin-bottom:20px;
}
/* CARRUSEL */
#Carrusel_contenedor_principal {
    width: 100vw;
    height: 90vh;
    background-color: #002060;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.carousel-container{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.carousel{
    width: 100vw;
    height: 100%;
    position:absolute;
    overflow:hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.carousel img{
    position:absolute;
    width:100vw;
    height: 100vh;
    left:100%;
    overflow: hidden;
    transition:all 0.5s ease-in-out;
}
.carousel img.active{
    width: 100%;
    left: 0;
    justify-content: center;
}
#carruselcimentaciones1, #carousel3, #carousel5 {
    z-index: 10;
    width:100vw;
    height: 100vh;
}
#carruselcimentaciones1 img, #carousel3 img, #carousel5 img{
    width: 100%;
    height: 100%;
}

#carruselsimentaciones2, #carousel4, #carousel6{
    position: relative;
    width: 40vw;
    height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    object-fit: unset;
    z-index: 10;
}
#carruselsimentaciones2 img.active, #carousel4 img.active, #carousel6 img.active{
    display: flex;
    width: 70%;
    height: 100%;
    margin-left: 30%;
    z-index: 10;
    object-fit: unset; /* Sobrescribe la propiedad object-fit */
}
#carruselsimentaciones2 img.next_cimentaciones, #carousel4 img.next_taludes, #carousel6 img.next_suelos{
    width: 70%;
    height: 80%;
    opacity: 0.4;
    margin-left: 2%;
    left: 0;
    z-index: 5;
    object-fit: unset;
    transition: all 0.5s ease-in-out;
}

#carruselsimentaciones2 img.prev_cimentaciones, #carousel4 img.prev_taludes, #carousel6 img.prev_suelos{
    width:100% ;
    height: 80%;
    z-index: 0;
    opacity: 0.2;
    object-fit: unset;
    transition:all 0.5s ease-in-out;
}
.carousel-controls {
    position: absolute;
    bottom: 40px; /* Ubica el contenedor en la parte inferior */
    left: 50%; /* Centra horizontalmente */
    transform: translateX(50%); /* Ajusta para centrar perfectamente */
    z-index:10;
    display: flex;
    gap:20px;
}
button{
    bottom: 0;
    width: 40px;
    height: 40px;
    background-color: #fffefea5;
    color: #ffffff;
    border-radius: 50%;
    border:none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor:pointer;
}
button i{
    font-size:25px ;
}
button:disabled{
    /* display: inline-block; */
    cursor: not-allowed;
    opacity: 0;
}
/* Responsividad */
/* Resolución 2560x2196 */
@media (min-width: 2560px) and (min-height: 2196px) {
    .contenedor-texto h1 {
        font-size: 100px;

    }
    .contenedor-texto p {
        
        font-size: 3rem;
    }
    .contenedor-texto h3 {
        font-size: 1.2rem;
    }
    img {
        width: 10%;
        max-width: 100%;
        align-items: center;
    }
    button {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
}

/* Resolución 1024x741 july edge*/
@media (min-width: 1024px) and (max-width: 1919px) {
    .img-titulo-cimentaciones{
        margin-left: 40px;
        width: 15%;

    }
    .img-titulo-cimentaciones img{

        width:100%;
    }
    .contenedor-texto{
        width: 100vw;
        height:75vh;
        margin-bottom:0;
    }
    .contenedor-texto h1 {
        font-size: 5rem;
        margin-bottom: 19.276px;
    }
    .contenedor-texto p {
        margin-left: 53.669px;
        margin-right: 30.236px;
        font-size:29px;
    }
    .contenedor-texto h3 {
        font-size: 3rem;
        margin-left: 54.047px;
    }
    .tipos li{
        font-size:26px;
    }

    button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  /* Estilos para móviles en vertical */
    .seccion-geotecnia {
        height: 420px;
        padding: 0 0;
    }
    .img-titulo-cimentaciones {
        width: 133px;
        height: 323px;
        margin: 25% 25%;
    }
    .contenedor-texto h1, .contenedor-texto-taludes h1, .contenedor-texto-suelos h1 {
        font-size: 1.7rem;
    }
    .contenedor-texto p, .contenedor-texto-taludes p, .contenedor-texto-suelos p {
        font-size: 1rem;
        margin: 20px 25px;
    }
    .contenedor-texto h3, .contenedor-texto-taludes h3 {
        font-size: 1.2rem;
        margin: 0 18px;
    }
    .tipos {
        margin: 5px 20px;
    }
    .tipos li {
        font-size: 1rem;
    }
    #Carrusel_contenedor_principal {
        height: 200px;
    }
    .carousel-container {
        height: 100%;
    }
    #carruselcimentaciones1, #carousel3, #carousel5 {
        height: 100%;
    }
    #carruselsimentaciones2 img.active, #carousel4 img.active, #carousel6 img.active {
        height: 78%;
    }
    #carruselsimentaciones2 img.next_cimentaciones, #carousel4 img.next_taludes, #carousel6 img.next_suelos {
        height: 60%;
    }
    .img-titulo-taludes {
        width: 20.457vw;
        right: 13px;
        bottom: 43px;
        height: auto;
    }
    .carousel-controls {
        left:35%;
    }
    button {
        bottom: 0;
        width: 25px;
        height: 25px;
    }
    button i {
        font-size: 12px;
    }
    #estabilizacion-taludes, #estabilizacion-suelos {
        height: auto;
    }
    .img-titulo-suelos img {
        height: 73%;
    }
    .img-titulo-suelos {
        width: 200px;
        height: 100%;
        margin: 25% 25%;
    }
    .contenedor-texto-suelos {
        height: auto;
    }

}


@media screen and (max-height: 500px) and (orientation: landscape) {
    .contenedor-texto h1, .contenedor-texto-taludes h1, .contenedor-texto-suelos h1 {
        font-size: 2rem;
    }
    .contenedor-texto p, .contenedor-texto-taludes p, .contenedor-texto-suelos p {
        font-size: 1rem;
    }
    .contenedor-texto h3, .contenedor-texto-taludes h3 {
        font-size: 1.5rem;
    }
    .tipos li {
        font-size: 1rem;
    }
    .img-titulo-cimentaciones {
        width: 129px;
        height: 312px;
        top: 39px;
        margin: 0px 0 0 117px;
        
    }
    .img-titulo-taludes {
        width: 18.457vw;
        height: 44vh;
        margin-top: 12.8rem;
        right: 6.53rem;
    }
    .contenedor-texto-suelos {
        height: 293px;
    }
}
@media screen and (min-width:7680px) {
    .seccion-geotecnia {
        height: auto;
        padding-bottom: 350px;
    }
    .contenedor-texto h1, .contenedor-texto-taludes h1, .contenedor-texto-suelos h1 {
        font-size: 20rem;
    }
    .contenedor-texto h3 {
    font-size: 10rem;
    }
    .contenedor-texto p, .contenedor-texto-taludes p, .contenedor-texto-suelos p {
        margin-left: 353.669px;
        margin-right: 330.236px;
        margin-bottom: 120px;
        font-size: 10rem;
        
    }
    .tipos li{
        font-size: 8rem;
    }
    .tipos {
        margin: 5px 380px 40px;
    }
    .img-titulo-cimentaciones {
        left: 1150px;
        width: 1050px;
        top: 250px;
    }
    h3 {
        padding-left: 300px;
    }
    .contenedor-texto-taludes {
        font-size: 10rem;
    }
    .contenedor-texto h3, .contenedor-texto-taludes h3 {
        font-size: 10rem;
    }
    .contenedor-texto-suelos {
        height: 100%;
    }
    .img-titulo-suelos {
        margin-top: 10vh;
    }
    button {
        width: 200px;
        height: 200px;
    }
    button i {
        font-size: 150px;
    }
    .carousel-controls {
        gap: 200px;
    }

}