@font-face {
  font-family: "MSDOS";
  src: url("fonts/msdos.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #0c1d12;
  color: #aaaaaa;
  font-family: "MSDOS", monospace;
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-direction: column;
  animation: textShadow 1.033s infinite;
}

img {
  width: min(70vw, 70vh);
  height: auto;
}

.scanlines {
  position: fixed;
  pointer-events: none;
  width: auto;
  min-width: 100%;
  height: 100%;
  z-index: 5;
  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)
    );
  background-size: auto, auto;
  background-size: 100% 2px, 3px 100%;
}

.scanline {
  .scanline {
    position: fixed;
    pointer-events: none;
    top: 0%;
    width: auto;
    min-width: 100%;
    height: 2px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.75;
    animation: scanline 7.77s linear infinite;
  }
}

.flicker {
  pointer-events: none;
  position: fixed;
  width: auto;
  min-width: 100%;
  height: 100%;
  z-index: 15;
  background: rgba(9, 8, 8, 0.1);
  animation: flicker 0.3301s infinite;
}

.cursor::after {
  content: "_";
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
