.logoslider-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

/* track */

.carousel-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

/* directions */

.carousel-track.scroll-right {
    animation: scrollRight 120s linear infinite;
}

.carousel-track.scroll-left {
    animation: scrollLeft 120s linear infinite;
}

/* pause on hover */

.logoslider-container:hover .carousel-track {
    animation-play-state: paused;
}

/* logo box */

.logo-item {
    flex: 0 0 auto;
    flex-direction: column;
    padding: 0 30px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 0 6px rgb(0 0 0 / 13%);
    margin: 5px;
    text-align: center;
}

/* logo image */

.logo-item img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-name {
    font-size: 12px;
    margin-top: 6px;
    color: #333;
    font-weight: 500;
}

/* animations */

@keyframes scrollRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}
