.scr-tm {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  background: #6f3ba5;
}

.scr-tm__track {
  --scr-tm-duration: 18s;
  display: flex;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
  animation: scr-tm-left var(--scr-tm-duration) linear infinite;
}

.scr-tm__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: 90px;
  padding-right: 90px;
}

.scr-tm__item {
  flex-shrink: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.scr-tm--right .scr-tm__track {
  animation-name: scr-tm-right;
}

.scr-tm--pause-hover:hover .scr-tm__track {
  animation-play-state: paused;
}

@keyframes scr-tm-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes scr-tm-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .scr-tm__track { animation-play-state: paused; }
}

