body {
  background: #000;
  color: #1a1a1a;
  font-family: "DejaVu Sans Mono", monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  user-select: none;
  touch-action: manipulation;
}

.box {
  max-width: 800px;
  padding: 20px;
  transition: all 0.2s;
  position: relative;
  z-index: 3;
}

.box:hover,
.box:active {
  color: #00f0ff;
  text-shadow:
    0 0 5px #00f0ff,
    0 0 10px #00b2ff,
    0 0 20px #00f0ff;
  animation: flicker 0.5s infinite;
}

.box:hover .sy,
.box:active .sy {
  color: #ff3131;
  text-shadow:
    0 0 5px #ff3131,
    0 0 10px #ff0000,
    0 0 20px #ff3131;
  font-weight: bold;
  animation: flicker 0.5s infinite;
}

p {
  margin: 5px 0;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 3px;
  background: currentColor;
  margin-left: 5px;
  animation: blink 1s infinite;
}

#glitch-trigger p {
  margin: 5px 0;
  font-weight: bold;
}

#glitch-container p#notes {
  margin: 5px 0;
  font-style: italic;
}

@keyframes flicker {
  0% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  body {
    padding: 15px;
    font-size: 14px;
    height: 100dvh;
  }

  .box {
    width: 100%;
    padding: 10px;
    max-height: 90vh;
    overflow-y: auto;
    touch-action: manipulation;

    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }
}
