.marquee {
  overflow: hidden;
  background: var(--yellow);
  color: #000;
  height: 51px;
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.marquee__track {
  display: flex;
  flex: none;
  width: max-content;
  animation: cham-marquee var(--marquee-duration, 28s) linear infinite;
  will-change: transform;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 23px;
  white-space: nowrap;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  gap: 30px;
  padding-right: 30px;
}

.marquee__group span {
  white-space: nowrap;
}

@keyframes cham-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-shift, 50%)), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}
