.ticker {
  position: relative;
  height: 72px;
  overflow: hidden;
  background-color: #000;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  text-align: center;
}

.ticker *,
.ticker *::before,
.ticker *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ticker-words,
.ticker-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ticker-word {
  grid-area: 1 / 1;
  opacity: 0;
  line-height: 1;
  white-space: nowrap;
}

.ticker-reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  transform: translate(-50%, -50%);
  padding: 0.1em 0.25em;
  line-height: 1.2;
  white-space: nowrap;
}

.ticker-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 4;
  transform-origin: 0% 50%;
  background-color: #0ea5e9;
}

.ticker-domain {
  position: relative;
  opacity: 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .ticker {
    font-size: 1.25rem;
    height: 64px;
  }
}