/* The game's fonts (js/text.js), self-hosted so the game works offline and in
   the ZIP: Cinzel and Cinzel Decorative, SIL OFL 1.1 (assets/fonts/OFL-*.txt). */
@font-face {
  font-family: 'Cinzel';
  src: url('../assets/fonts/Cinzel-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-display: block;
}
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('../assets/fonts/CinzelDecorative-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: block;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

#game {
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* mobile: excludes the browser's collapsing address bar */
  /* Stop the browser from scrolling/zooming on touch so taps reach the game */
  touch-action: none;
  /* Keep pixel art crisp when the canvas is scaled */
  image-rendering: pixelated;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
