/* reset default spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* center the game, dark bars fill any leftover space */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14090f;
}

/* scale the canvas up to fill the window while keeping its 16:9 shape */
#game {
  width: 100vw;
  max-width: calc(100vh * 16 / 9);
  aspect-ratio: 16 / 9;
  image-rendering: pixelated;
}
