html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: black;
  overflow: hidden;
}

body,
body * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.game,
.game_container {
  display: block;
  touch-action: none;
  margin: auto;
  width: 100%;
  height: 100%;
}

.game {
  height: calc(100% - env(safe-area-inset-bottom, 0px));
}

canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  image-rendering: pixelated;
}

.flipped {
  transform: scaleY(-1);
}
