.ticker-wrapper {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

a .ticker-wrapper {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

a:hover .ticker-wrapper {
  background-color: #D000FF !important;
}

.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 20s linear infinite;
  font-weight: bold;
  color: #ffffff;
  white-space: nowrap;
}

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

@media (max-width: 1200px) {
  .ticker-text {
    animation-duration: 15s;
  }
}

@media (max-width: 768px) {
  .ticker-text {
    animation-duration: 10s;
  }
}