<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Shards Multiply</title>
    <style media="screen">
      body {
        background: #147;
        text-align: center;
      }
      main {
        margin: 0;
        padding: 0;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
      }
      #canvas {
        background: #0AA;
        margin: 1rem auto;
        position: relative;
        cursor: none;
      }
    </style>
  </head>
  <body>
    <main>
      <canvas id="canvas" width="1024" height="768"></canvas>
    </main>
  </body>
  <script type="text/javascript" src="/base.js"></script>
  <script type="text/javascript" src="/render.js"></script>
  <script type="text/javascript" src="/input.js"></script>
  <script type="text/javascript" src="/weapons.js"></script>
  <script type="text/javascript" src="/player.js"></script>
  <script type="text/javascript" src="/target.js"></script>
  <script type="text/javascript" src="/camera.js"></script>
  <script type="text/javascript" src="/scene.js"></script>
  <script type="text/javascript" src="/audio.js"></script>
  <script type="text/javascript" src="/game.js"></script>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Shards Multiply</title>
    <style media="screen">
      body {
        background: #147;
        text-align: center;
      }
      main {
        margin: 0;
        padding: 0;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
      }
      #canvas {
        background: #0AA;
        margin: 1rem auto;
        position: relative;
        cursor: none;
        max-height: 94vh;
      }
    </style>
  </head>
  <body>
    <main>
      <canvas id="canvas" width="1024" height="768"></canvas>
    </main>
  </body>
  <script type="text/javascript" src="/base.js"></script>
  <script type="text/javascript" src="/render.js"></script>
  <script type="text/javascript" src="/input.js"></script>
  <script type="text/javascript" src="/weapons.js"></script>
  <script type="text/javascript" src="/player.js"></script>
  <script type="text/javascript" src="/target.js"></script>
  <script type="text/javascript" src="/camera.js"></script>
  <script type="text/javascript" src="/scene.js"></script>
  <script type="text/javascript" src="/audio.js"></script>
  <script type="text/javascript" src="/game.js"></script>
</html>

Add max-height to canvas to keep within viewport
Add max-height to canvas to keep within viewport
