body {
  background: hsl(154 50% 5%);
  color: hsl(154 84% 70%);
  text-shadow: 0 0 3px hsl(154 84% 70%);
  font-family: monospace;
  font-size: 16px;
  max-width: 470px;
  margin: auto;
}

[contenteditable] {
  outline: 0px solid transparent;
  caret-color: transparent
}

pre {
  margin: auto;
  margin-top: 0;
  margin-bottom: 0;
  display: table;
  width: 100%;
}

#output {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#glare {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: radial-gradient(hsl(154 5% 15%) 0%, hsl(154 50% 5%) 70%);
}

@keyframes lines {
  0% {
    background-position: 0px 0px;
  }
  50% {
    background-position: 0px 0px;
  }
  51% {
    background-position: 0px 2px;
  }
  100% {
    background-position: 0px 2px;
  }
}

#interlaced {
  position: fixed;
  background: repeating-linear-gradient(
    transparent 0px 1px,
    hsl(154 0% 0%/0.2) 3px 4px
  );
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  animation: lines 0.06666666s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.blink {
  animation: blink 0.4s linear infinite;
}

@media (max-width: 600px) {
  body {
    font-size: .7rem;
    width: 100%;
    max-width: 100%;
    margin: 1rem;
  }

  pre#output {
    text-align: start;
    width: 95%;
    margin: 0 1rem 0 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
