@keyframes ticker-animation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.ticker {
  width: 100%;
  background-color: var(--accent-color);
  padding: 10px 0;
  margin-bottom: 40px;
}

.ticker__container {
  display: flex;
  overflow: hidden;
}

.ticker__text {
  padding: 0 60px;
  color: var(--secondary-text-color);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  animation: ticker-animation 10s infinite linear;
}

.ticker:hover .ticker__text {
  animation-play-state: paused;
}