* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Pixeloid Sans";
  src: url("assets/Fonts/PixeloidSans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Pixeloid Sans Bold";
  src: url("assets/Fonts/PixeloidSansBold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: block;
}

:root {
  --stella-bg: #071326;
  --stella-boot-bg: #000;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--stella-boot-bg);
  color: white;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

body {
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
  font-family: "Pixeloid Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

#game-shell {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--stella-boot-bg);
}

#game {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  background: transparent;
  position: relative;
  z-index: 2;
}

#intro-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  pointer-events: none;
  z-index: 1;
}

@media (orientation: landscape) {
  #intro-gif {
    inset: 0 auto 0 50%;
    width: auto;
    height: 100%;
    transform: translateX(-50%);
  }
}
