.customers-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    position: relative;
}

.customers-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
    animation: customers-scroll var(--customers-duration, 60s) linear infinite;
}

.customers-track.is-reverse {
    animation-name: customers-scroll-reverse;
}

.customers-group {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 0 0 auto;
    min-width: max-content;
    filter: grayscale(1);
}

.customer-item {
    width: 160px;
    height: 80px;
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-item a,
.customer-item-static {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.customer-item img:hover {
    transform: scale(1);
}

@keyframes customers-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-100% / var(--customers-loop-count)), 0, 0);
    }
}

@keyframes customers-scroll-reverse {
    from {
        transform: translate3d(calc(-100% / var(--customers-loop-count)), 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}