@charset "utf-8";
/* CSS Document */

/*******************************************************
   CARRUSEL DE PATROCINADORES HOME
   funciona sólo con css sin js
*******************************************************/

.sponsors-home {
    width: 100%;
    overflow: hidden;

    padding: 25px 0 35px;
}

.sponsors-home-title {
    margin-bottom: 20px;
}


/* -----------------------------------------------------
   FILAS
----------------------------------------------------- */

.sponsors-marquee {
    width: 100%;
    overflow: hidden;

    margin: 8px 0;

    cursor: default;
}

.sponsors-track {
    display: flex;
    width: max-content;

    will-change: transform;

    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


/* -----------------------------------------------------
   GRUPOS
----------------------------------------------------- */

.sponsors-group {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 30px;
    padding-right: 30px;
}


/* -----------------------------------------------------
   LOGOS
----------------------------------------------------- */

.sponsor-item {
    flex: 0 0 auto;

    width: 180px;
    height: 115px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsors-marquee-2 .sponsor-item {
    width: 144px;
    height: 92px;
}

.sponsor-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.sponsor-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background-color: #fff;

    border-radius: 10px;

    transition: transform 0.25s ease;
}


/* -----------------------------------------------------
   HOVER
----------------------------------------------------- */

.sponsor-item a:hover img {
    transform: scale(1.05);
}


/* -----------------------------------------------------
   MOVIMIENTO
----------------------------------------------------- */

/* Fila superior: más lenta, izquierda */
.sponsors-marquee-1 .sponsors-track {
    animation-name: sponsors-left;
    animation-duration: 35s;
}

/* Fila inferior: más rápida, derecha */
.sponsors-marquee-2 .sponsors-track {
    animation-name: sponsors-right;
    animation-duration: 22s;
}


/* -----------------------------------------------------
   PAUSA AL PASAR POR ENCIMA
----------------------------------------------------- */

.sponsors-marquee:hover .sponsors-track {
    animation-play-state: paused;
}


/* -----------------------------------------------------
   ANIMACIONES
----------------------------------------------------- */

@keyframes sponsors-left {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

@keyframes sponsors-right {

    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}


/* -----------------------------------------------------
   MÓVIL
----------------------------------------------------- */

@media (max-width: 767.98px) {

    .sponsors-home {
        padding: 20px 0 25px;
    }

    .sponsor-item {
        width: 140px;
        height: 90px;
    }

    .sponsors-marquee-2 .sponsor-item {
        width: 112px;
        height: 72px;
    }

    .sponsors-group {
        gap: 15px;
        padding-right: 15px;
    }

    .sponsors-marquee-1 .sponsors-track {
        animation-duration: 28s;
    }

    .sponsors-marquee-2 .sponsors-track {
        animation-duration: 18s;
    }

}