@font-face {
  font-family: "LevelOne";
  src: url("assets/font/Level1-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "LevelTwo";
  src: url("assets/level2/font/MiddleAge-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "BoldPixels";
  src: url("assets/font/BoldPixels.woff2") format("woff2");
  font-display: swap;
}

:root { color-scheme: dark; }

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #17100c;
}

body {
  display: grid;
  place-items: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

#game-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#game {
  display: block;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  background: #17100c;
  touch-action: none;
  cursor: default;
}
