html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100vw;
  touch-action: manipulation;
  background: #1a1a1a;
  font-family: "Pacifico";
}

#container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181818;
}

canvas {
  box-shadow: 0 6px 32px #3a4b6d40;
  background: url('flappyback.png') center center no-repeat;
  background-size: cover;
  border: 2px solid #292929;
  display: block;
  touch-action: manipulation;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: calc(100vw * 4 / 3); /* Default 3:4 aspect ratio, fits most phones. */
  max-height: 90vh;
}

@media (pointer: fine) and (min-width: 420px) {
  canvas {
    width: 400px;
    height: 533px;
    max-height: 92vh;
    max-width: 98vw;
  }
}