html, body {
  margin: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
}

#wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#screen {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  outline: none;
  cursor: default;
}

/* faint CRT scanlines and a vignette laid over the picture */
#wrap.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%),
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 2px, rgba(0, 0, 0, 0.2) 3px, rgba(0, 0, 0, 0) 4px);
}

.loading {
  position: fixed;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  color: #4a4654;
  font: 12px/1 monospace;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
