html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background-color: black;
  touch-action: none;
}

.stage {
  width: 100%;
  border: 1px solid lightgrey;
}

canvas {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: absolute;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

#bg-layer {
  z-index: 1;
}

#game-layer {
  z-index: 2;
}