/* ====================================================
   LOGOS
==================================================== */

.logos {
    padding: 5rem 0;
    overflow: hidden;
    background: #faf7ff;
}

.logos__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2d1368;
}

.logos__row {
    overflow: hidden;
    margin-bottom: 2rem;
}

.logos__track {
    display: flex;
    width: max-content;
    gap: 2rem;
}

.logos__item {
    width: 220px;
    height: 110px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    flex-shrink: 0;
}

.logos__item img {
    max-width: 80%;
    max-height: 70px;
}

.logos__track--left {
    animation: moveLeft 30s linear infinite;
}

.logos__track--right {
    animation: moveRight 30s linear infinite;
}

.logos__row:hover .logos__track,
.logos__row:focus-within .logos__track {
    animation-play-state: paused;
}

@keyframes moveLeft {
    from {
        transform: translateX(0);
    }

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

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

    to {
        transform: translateX(0);
    }
}
/* ====================================================
   LOGOS RESPONSIVE
==================================================== */

/* Large Tablet */

@media screen and (max-width: 1024px) {

    .logos {
        padding: 4rem 0;
    }

    .logos__item {
        width: 180px;
        height: 95px;
    }

    .logos__item img {
        max-height: 60px;
    }

}

/* Tablet */

@media screen and (max-width: 768px) {

    .logos {
        padding: 3rem 0;
    }

    .logos__title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .logos__track {
        gap: 1rem;
    }

    .logos__item {
        width: 150px;
        height: 80px;
        border-radius: 10px;
    }

    .logos__item img {
        max-width: 75%;
        max-height: 50px;
    }

    .logos__track--left {
        animation-duration: 20s;
    }

    .logos__track--right {
        animation-duration: 20s;
    }

}

/* Mobile */

@media screen and (max-width: 576px) {

    .logos {
        padding: 2.5rem 0;
    }

    .logos__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .logos__row {
        margin-bottom: 1rem;
    }

    .logos__track {
        gap: 0.75rem;
    }

    .logos__item {
        width: 120px;
        height: 70px;
        padding: 10px;
    }

    .logos__item img {
        max-width: 70%;
        max-height: 40px;
    }

    .logos__track--left {
        animation-duration: 15s;
    }

    .logos__track--right {
        animation-duration: 15s;
    }

}

/* Small Mobile */

@media screen and (max-width: 360px) {

    .logos__item {
        width: 100px;
        height: 60px;
    }

    .logos__item img {
        max-height: 35px;
    }

}