/* Page of the game: the stage scaled to the window with its aspect ratio, black around it; the stage
   keeps touch to the game. */
html, body {
  margin: 0;
  height: 100%;
  background: black;
  overflow: hidden;
}

body {
  display: grid;
  place-items: center;
}

canvas {
  display: block;
  width: min(100vw, 100vh * 1200 / 850);
  height: auto;
  image-rendering: pixelated;
  /* Touch on the stage is the game's: no scrolling, zooming, selecting or callout of the browser. */
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

