@font-face {
  font-family: "Tuffy";
  src: url("../assets/fonts/tuffy.ttf") format("truetype");
  font-display: block;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  touch-action: none;
}

#game-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  cursor: default;
}

/* Visually hidden but readable by screen readers / search crawlers -- the
   canvas game has no visible heading/text of its own (it's a full-bleed
   <canvas>), so this gives the page real semantic content without
   disturbing the game's fullscreen layout. */
.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;
}

#loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3ead9;
  font: 20px "Tuffy", sans-serif;
  background: #1e2b1e;
  pointer-events: none;
}
