@font-face {
  font-family: 'dummy';
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: 'Courier New', monospace;
}

#crt-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  cursor: none;
}

#screen {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  width: min(96vw, 170.6vh);
  height: min(54vw, 96vh);
  background: #000;
  box-shadow: 0 0 60px rgba(80, 220, 255, 0.15), 0 0 4px #000 inset;
  border-radius: 6px;
  filter: contrast(1.08) saturate(1.15) brightness(1.02);
}

#scanlines {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(96vw, 170.6vh);
  height: min(54vw, 96vh);
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0px,
    rgba(0,0,0,0.12) 1px,
    rgba(0,0,0,0.0) 2px
  );
  border-radius: 6px;
  mix-blend-mode: multiply;
}

#vignette {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(96vw, 170.6vh);
  height: min(54vw, 96vh);
  border-radius: 6px;
  box-shadow: inset 0 0 80px 20px rgba(0,0,0,0.55);
}

#boot-msg {
  position: fixed;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  color: #38e8c2;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
  text-shadow: 0 0 6px #38e8c2;
  user-select: none;
}
