@import url('https://fonts.googleapis.com/css?family=Roboto');

body, html {
  margin: 0;
  padding: 0;
  background: #001011;
  font-family: 'Roboto', sans-serif;
}

canvas {
  position: absolute;
  top: 0;
}

.buttons {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  background: #202020;
  border-top: 4px solid #373737
}

.game {
  margin: 0 auto;
  position: relative;
}

.game #backgroundCanvas {
  z-index: 1;
}

.game #canvas {
  z-index: 2;
}

.game .counter {
  z-index: 3;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 5px;
  box-sizing: border-box;
  color: white;
  text-align: center;
  text-shadow: 0 0 13px rgba(0, 0, 0, .9)
}

button {
  min-width: 100px;
  padding: 8px 20px;
  margin: 10px;
  background: #5f8;
  color: #222;
  font-size: 1em;
  border: none;
  cursor: pointer;
  transition-duration: 0.13s;
  border-radius: 2px;
}

button:hover {
  opacity: 0.75;
}

@media screen and (max-width: 600px) {
  button {
    font-size: 0.8em;
  }
} 