@font-face {
  font-family: NovaMono;
  src: url(/fonts/NovaMono.ttf);
}

#play {
  display: none;
}

#gameOver {
  display: none;
}

#score {
  font-size: 20px;
  color: #555;
  margin-top: 20px;
  visibility: hidden;
}

#screen {
  width: 100%;
  height: 240px;
  top: 50%;
  margin-top: -120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  transition: opacity 1s;
  color: white;
  cursor: pointer;
  background-color: #000;
}

#title {
  font-size: 90px;
  line-height: 100px;
}

#title > span:nth-of-type(1) { color: #fde6d0; }
#title > span:nth-of-type(2) { color: #fddbb3; }
#title > span:nth-of-type(3) { color: #eba69d; }
#title > span:nth-of-type(4) { color: #c7676f; }
#title > span:nth-of-type(5) { color: #8f3b50; }
#title > span:nth-of-type(6) { color: #441833; }

.transparent {
  opacity: 0;
}

.icon {
  width: 22px;
  position: relative;
  left: 5px;
}

.icon.reload {
  width: 18px;
  bottom: 2px;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: NovaMono;
  text-transform: uppercase;
  background-color: #000;
  font-size: 30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Prevent elastic scrolling (e.g. iOS Safari) */
  touch-action: none;

  /* Disable text selection */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

canvas {
  vertical-align: middle;
  max-width: 100%;
  max-height: 100%;
}
