@media(max-width: 767px) {
  .firstblock {
    padding-top: 8rem !important;
  }
}

.ticker-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  background-color: green;
  padding: 4px;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-loop 50s linear infinite; /* overwritten dynamically by JS */
}

.newsticker {
  display: inline-flex;
  flex-direction: row;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: white;
  font-size: 0.9rem;
  margin-right: 2rem !important;
}

@keyframes ticker-loop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-wrapper:hover .ticker-content {
  animation-play-state: paused;
  cursor: default;
}
