html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #e0e0e0;
  font-family: "Courier New", "Consolas", monospace;
  overflow: hidden;
  height: 100%;
  width: 100%;
  user-select: none;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#scherm {
  display: block;
  background: #000;
  image-rendering: pixelated;
  width: min(96vw, 175vh);
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 60px);
  border: 1px solid #fff;
  cursor: crosshair;
}

#naam {
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  text-align: center;
  color: #fff;
  letter-spacing: 24px;
  font-size: 20px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 10;
}

#poort {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  z-index: 30;
  animation: poortOpen 1.2s forwards;
}
#poort.open { display: flex; }
@keyframes poortOpen {
  from { background: rgba(0, 0, 0, 0); }
  to   { background: rgba(0, 0, 0, 0.85); }
}
#poort-knop-wrap {
  animation: poortIn 0.8s 0.3s both;
}
@keyframes poortIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
#poort-knop {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 10px;
  padding: 18px 46px;
  cursor: pointer;
  text-transform: uppercase;
}
#poort-knop:hover {
  background: #fff;
  color: #000;
}
