:root {
  --font-main: 'JetBrains Mono', 'IBM Plex Mono', 'Space Mono', ui-monospace,
    'SF Mono', 'Menlo', 'Consolas', monospace;

  --bg: #e53145;
  --fg: #000000;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-main);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  min-height: -webkit-fill-available;
  min-height: calc(100dvh + 1px);
  -webkit-user-select: none;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 1;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

#intro-canvas {
  width: auto;
  height: auto;
  max-width: min(94vw, 1500px);
  max-height: 85vh;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  transform: translateY(-27%);
}

#shatter-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: none;
  pointer-events: none;
}


.notfound-gif {
  width: auto;
  height: auto;
  max-width: min(94vw, 900px);
  max-height: 85vh;
  display: block;
}
