#terminal {
  width: 100vw;
  height: 100vh;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  padding-bottom: 1rem;
  background: transparent;
  color: #000000;
  white-space: normal;
}
::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.link {
  color: black;
}

.link:hover {
  color: white;
  background-color: #666666;
}
.hljs-string {
  color: black;
}

#title {
  color: black;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1.5rem;
}

#subtitle {
  color: #383838;
  font-style: italic;
  padding-top: 0;
  margin-top: 0;
}

#ascii {
  white-space: pre;
  margin-top: 0;
  line-height: normal;
  font-weight: 1000;
}

li,
code {
  line-height: 1.5rem;
}

.row {
  clear: none;
}

.column {
  width: 50%;
  float: left;
}

pre code.hljs {
  padding-top: 0;
  padding-bottom: 0;
}

* {
  font-family: 'Ubuntu Mono', monospace;
  text-shadow: 0 0 0.3em #a7a7a7;
}

a {
  margin-left: 1rem;
  text-decoration: none;
}

html,
body {
  background-color: #ffffff;
  /*overflow: hidden;*/
  overscroll-behavior: none;
  overflow-x: hidden;
  font-size: large;
}
.scramble-text {
  white-space: pre-wrap;
}

.char {
  display: inline-block;
  width: 0.6em;
  text-align: center;
  font-family: monospace;
  transition: color 0.3s ease;
}

.char.scrambling {
  animation: chromatic 0.4s infinite;
  color: #ffffff;
}

@keyframes chromatic {
  0%   { text-shadow: 1px 0 red, -1px 0 cyan; }
  25%  { text-shadow: -1px 1px blue, 1px -1px lime; }
  50%  { text-shadow: 0 0 red, 0 0 cyan; }
  75%  { text-shadow: 2px 0 magenta, -2px 0 green; }
  100% { text-shadow: 1px 0 red, -1px 0 cyan; }
}

@keyframes flicker {
  0% {
    opacity: 0.06965;
  }
  5% {
    opacity: 0.08692;
  }
  10% {
    opacity: 0.05901;
  }
  15% {
    opacity: 0.22657;
  }
  20% {
    opacity: 0.04532;
  }
  25% {
    opacity: 0.20973;
  }
  30% {
    opacity: 0.16396;
  }
  35% {
    opacity: 0.16952;
  }
  40% {
    opacity: 0.06640;
  }
  45% {
    opacity: 0.21173;
  }
  50% {
    opacity: 0.24005;
  }
  55% {
    opacity: 0.02149;
  }
  60% {
    opacity: 0.05078;
  }
  65% {
    opacity: 0.17997;
  }
  70% {
    opacity: 0.13364;
  }
  75% {
    opacity: 0.09322;
  }
  80% {
    opacity: 0.17857;
  }
  85% {
    opacity: 0.17605;
  }
  90% {
    opacity: 0.17508;
  }
  95% {
    opacity: 0.09027;
  }
  100% {
    opacity: 0.06097;
  }
}

@keyframes textShadow {
  0% {
    text-shadow: 0.22px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.22px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  5% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  10% {
    text-shadow: 0.01px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.01px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  15% {
    text-shadow: 0.2px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.2px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  20% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  25% {
    text-shadow: 0.81px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.81px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  30% {
    text-shadow: 0.35px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.35px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  35% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  40% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  45% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  50% {
    text-shadow: 0.04px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.04px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  55% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  60% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  65% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  70% {
    text-shadow: 0.24px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.24px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  75% {
    text-shadow: 0.95px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.95px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  80% {
    text-shadow: 0.04px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.04px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  85% {
    text-shadow: 0.05px 0 0.5px rgba(255, 255, 255, 0.125),
      -0.05px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  90% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  95% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
  100% {
    text-shadow: 1px 0 0.5px rgba(255, 255, 255, 0.125),
      -1px 0 0.5px rgba(255, 255, 255, 0.075), 0 0 1px;
  }
}
#terminal::after {
  content: ' ';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.000009s infinite;
}
#terminal::before {
  content: ' ';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}
#crt {
  animation: textShadow 0.00005s infinite;
}
