
code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

.app-wrapper {
  margin-top: 100px;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  transition: background-color 10s ease;
}

.screen {
  color: #fff;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screen h4 {
  font-size: 42px;
  margin: 8px 12px;
  padding: 0;
}

.screen button {
  margin-top: 20px;
  height: 130px;
  width: 200px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px #fff solid;
  color: #fff;
}

.screen button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.screen .again {
  background-color: rgba(0, 0, 0, 0.3);
}

.screen .again:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.text--glitch {
  text-align: center;
  margin: 0;
  color: white;
  font-size: 6rem;
  font-weight: 700;
  position: relative;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  animation: glitch 525ms infinite;
}

.text--glitch::before,
.text--glitch::after {
  content: attr(data-text);
  position: absolute;
  letter-spacing: 0.025em;
  top: 0;
  left: 0;
  opacity: 0.7;
}

.text--glitch::before {
  animation: glitch 675ms infinite;
  transform: translate(-0.035em, -0.025em);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.text--glitch::after {
  animation: glitch 333ms infinite;
  transform: translate(0.035em, 0.025em);
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-delay: 0s !important;
    animation-delay: -1ms !important;
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 0s !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
  }
}
