html,
body {
  margin: 0;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #74a8ff 0%, #5c94fc 50%, #4d85ec 100%);
  font-family: "Trebuchet MS", "Verdana", sans-serif;
}

.game-shell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

canvas {
  display: block;
  width: 762px;
  height: 720px;
  max-width: calc(100vw - 12px);
  max-height: calc(100vh - 58px);
  background: #5c94fc;
  border: 4px solid #1d3356;
  box-sizing: border-box;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.info {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #f8f8f8;
  text-align: center;
  text-shadow: 2px 2px 0 #202020;
  background: rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
}

.info p {
  margin: 0;
}

.info .title {
  font-size: 15px;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.info .controls {
  font-size: 12px;
}

@media (max-width: 900px) {
  .info .title {
    font-size: 13px;
  }

  .info .controls {
    font-size: 11px;
  }
}
