.marquee {
    overflow: hidden;
    position: relative;
    display: flex;
    width: fit-content;
    flex-wrap: nowrap;
}

.marquee__track {
    display: flex;
    align-items: center;
    will-change: transform;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: max-content;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.marquee__item {
    box-sizing: content-box;
    padding: 0 var(--spacing-sm);
    user-select: none;
    position: relative;
    flex: 1 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
}

@media screen and (max-width: 768px) {
    .marquee__item {
        max-width: 70px;
        padding: 0 0.5rem;
    }
}

.marquee__item img, .marquee__item svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 115px;
}

.left {
    animation: marqueeLeft 65s linear infinite;
}

.left:first-of-type {
    margin-left: -25%;
}

.right {
    animation: marquee 65s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        transform: translateZ(0);
    }
}

@keyframes marqueeLeft {
    0% {
        transform: translate3d(100%, 0, 0);
    }
    100% {
        transform: translateZ(0);
    }
}