:root {
  --crt-red: rgb(218, 49, 49);
  --crt-green: rgb(112, 159, 115);
  --crt-blue: rgb(40, 129, 206);
}
html {
  font-size: clamp(12px, 2vw, 20px);
  font-family: monospace;
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

main {
  width: 100vw;
  min-width: 100vw;
  height: 100vw;
  min-height: 100vh;
  color: rgba(255, 255, 255, 0.75);
}

a {
     text-decoration: none;
     color: inherit;
}

.terminal {
  color: lawngreen;
  padding-top: 2rem;
  padding-left: 1rem;
  display: inline-block;
  white-space: nowrap;
}

.fetch {
  padding-left: 2rem;
  color: white;
}

.fetch-line {
  color: yellow;
}

.art {
  white-space:pre;
  letter-spacing: 0.3rem;
}

.code {
  line-height: 1;
  margin: 0;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.cursor {
    animation: blink-animation 1.5s steps(1, start) infinite;
    display: inline-block;
}

.crt {
  background-color: rgb(25, 25, 30);
  text-shadow: 0 0 0.2em currentColor, 1px 1px rgba(255, 0, 255, 0.5),
    -1px -1px rgba(0, 255, 255, 0.4);
  position: relative;
  &:before,
  &:after {
    content: "";
    transform: translateZ(0);
    pointer-events: none;
    //opacity: 0.5;
    mix-blend-mode: overlay;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1;
  }

  &:before {
    background: repeating-linear-gradient(
      var(--crt-red) 0px,
      var(--crt-green) 2px,
      var(--crt-blue) 4px
    );
  }
  &:after {
    background: repeating-linear-gradient(
      90deg,
      var(--crt-red) 1px,
      var(--crt-green) 2px,
      var(--crt-blue) 3px
    );
  }
}

@keyframes blink-animation {
    50% {
        visibility: hidden;
    }
}
