@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-geo {
    width: 100%;
    max-width: fit-content;
    background-color: RGB(236, 236, 236);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 35px;
}
.geo-image{
    width: 100%;
    height: auto;
}
.geo-image img{
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.geo-text{
    width: 80%;
    font-family: 'Aller Regular';
    color:#002060;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align:  justify;
    padding: 0 0 35px;
    font-size: 2rem;
}
.img-geoText{
    background-image: url('../webp/img/mantis/const-Geo/fondocg.webp');
    width: 100%;
    height: 100%;
    margin-top: 50px;
    background-size: 20% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    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;
}
.carrusel-item{
    flex: 0 0 20%;
    max-width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carrusel-item img{
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.3s;
}
.carrusel-item:hover img{
    filter: grayscale(0%);
    transform: scale(1.1);
    z-index: 15;
}
.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;
}

/* RESPONSIVIDAD -------------------------------------------------------------------------------------------------------------------------------- */
@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;
    }
    .geo-text{font-size: small; padding: 10px 0; height: auto; gap:10px;}
    .img-geoText{margin-top: 10px;}
    .geo-text p {
        margin-block-start: 0;
        margin-block-end: 0;
        unicode-bidi: inherit;
        font-size: small;
        padding: 0;
    }
}
@media screen and (min-width: 950px){
    .geo-text{
        font-size: 1.6rem;
    }
}
@media screen and (min-width: 1600px) {
    .container-carrusel{
        width: calc(288px * 5);
    }
    .carrusel-item{
        min-width: 288px;
    }
}
@media screen and (min-width: 2560px){
    .geo-text{
        font-size: 45px;
    }
    .container-carrusel{
        width: calc(570px * 5);
    }
    .carrusel-item{
        min-width: 570px;
    }
}
@media screen and (min-width: 3440px){
    .prev, .next{
        width: 120px;
        height: 120px;
        font-size: 60px;
    }
}
@media screen and (min-width: 950px){
    .img-geo-text{
        border: solid red;
    }
}
