body, html {
  height: 100%;
  margin: 0;
  padding: 1rem;
  font-size: 18px;
  background: #f5f5f5;
  box-sizing: border-box;
  overflow: hidden;
}

.game {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.game-header {
  display: flex;
  padding: 1rem;
  white-space: nowrap;
  color: #fff;
  background: #000;
}

.game-score {
  margin-left: auto;
}
.game-score em {
  font-style: normal;
  font-weight: bold;
}

.game-canvas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: space-around;
  padding: 0.6rem 0;
  flex-grow: 2;
  background: #fff;
  overflow: hidden;
  text-align: center;
}

.game-canvas .row {
  display: flex;
  justify-content: space-between;
  padding: 0.3em 1rem 0.3rem 1rem; 
}

.game-menu { 
  display: flex;
  padding: 1rem;
  color: #fff;
  background: black;
  justify-content: space-between;
}

a {
  color: #fff;
}

button {
  color: #fff;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

button:focus {
  outline: none;
}

@media (max-width: 800px) {
  .game-canvas {
    pointer-events: none;
  }
}

@media (max-width: 500px) {
  body, html {
    font-size: 16px;
    padding: 0;
  }
}
