:root {
  --game-font: "Press Start 2P", cursive;
  --sassy: #bf4080;
  --coral: #fe5f55;
  --royal: #6f2ed8;
  --tiffany: #00b4d8;
  --peach: #e6f14a;
  --off-white: #fffff7;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin: auto;
  text-align: center;
}

.neon-text {
  position: relative;
  margin: 0;
  font-family: var(--game-font);
  font-size: 1rem;
  width: 100%;
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--sassy);
  color: var(--off-white);
  z-index: 10;
}

.neon-text::before {
  content: attr(data-text);
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--sassy);
  width: 100%;
  height: 100%;
  animation: animateTextColor 3s infinite linear;
  z-index: -1;
}

@keyframes animateTextColor {
  0% {
    color: var(--tiffany);
  }
  20% {
    color: var(--coral);
  }
  50% {
    color: var(--royal);
  }
  60% {
    color: var(--peach);
  }
  80% {
    color: var(--sassy);
  }
  100% {
    color: var(--tiffany);
  }
}
