@font-face{
    font-family: 'Aller Display';
    src: url('../fonts/Aller/AllerDisplay.ttf') format('truetype');
    font-size: normal;
    font-weight: normal;
}
@font-face{
    font-family: 'Aller Regular';
    src: url('../fonts/Aller/Aller_Std_Rg.ttf') format('truetype');
    font-size: normal;
    font-weight: normal;
}
body{
    font-family: 'Aller Regular';
    display: flex;
    flex-direction: column;
}
.section-expgeo{
    width: auto;
    background-color: RGB(236, 236, 236);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.sec-image{
    box-sizing: border-box;
}
.sec-image img{
    width: 100%;
    height: auto;
    display: block;
}
.text-p{
    font-family: 'Aller Regular';
    width: 80%;
    background-size: 20%;
    background-image: url(../webp/img/mantis/exp-Geo/fondo-eg.webp);
    background-repeat: no-repeat;
    background-position: 98% 30%;
    font-size: 1.97rem;
    color: #002060;
    height: auto;
    display:flex;
    flex-direction: column;
    justify-content: center;

}
.section-carrusel{
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-carrusel{
  width: 100%;
  overflow: hidden;
}

.carousel-track{
  display: flex;
  transition: transform 0.3s ease-in-out;
  padding: 50px 0;
}

/* Por defecto: 5 por vista (20% cada uno) */
.carrusel-item{
  flex: 0 0 20%;
  max-width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Si quieres que el zoom no se corte */


.carrusel-item img{
  width: 100%;
  position: relative;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  will-change: transform, filter;
  z-index: 1;
}
.carrusel-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
  z-index: 15;           /* ahora sí surte efecto */
}

/* Responsive: 2 por vista (50% cada uno) */
@media (max-width: 768px) and (min-width: 320px){
  .carrusel-item{
    flex: 0 0 50%;
    max-width: 50%;
  }
  .carrusel-item img.active {
    filter: grayscale(0%);
    transform: scale(1.1);
    z-index: 15;
}
  .text-p{ font-size: small; padding: 10px 0; height: auto;}
}

.prev, .next {
    position: relative;
    background-color: #A9ABAE;
    width: 65px;
    height: 65px;
    margin: 0 0;
    font-size: 40px;
    padding: 0 0;
    transition: all 0.3s ease;
    z-index: 20;
}
.prev:hover, .next:hover {
    background-color: #AAD05C;
    transition: all 0.3s ease;
}
.prev{
    left: 1.5%;
}

.next{
    right: 1.5%;
}
button {
    background-color: rgba(255, 255, 255, 0.258);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 100%;
    margin: 15px;
    font-size: 25px;
}
@media screen and (min-width: 950px ){
    .text-p{
        background-size: 55%;
        background-position:center center;
        font-size: 1.6rem;
    }
 
}
/* Repsonsividad--------------------------------------------------------------------------------------- */
@media screen and (min-width: 1600px) {
    .container-carrusel{
        width: calc(288px * 5);
    }
    .carrusel-item{
        min-width: 288px;
    }
    .social-sidebar{
        transform: translateY(-5%) !important;
    }
}
@media screen and (min-width: 2560px) {
    .container-carrusel{
        width: calc(570px * 5);
    }
    .carrusel-item{
        min-width: 570px;
    }
    .text-p{
        font-size: 45px;
    }
    .text-p{
        background-size: 15%;
    }
}
@media screen and (min-width: 3440px) {
    .prev, .next{
        width: 120px;
        height: 120px;
        font-size: 60px;
    }
}