*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: lightblue;
  color: #fff;
  font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
  text-align: center;
}

html, body {
  overscroll-behavior: none;
}

h1 {
  letter-spacing: 0.1em;
  margin-bottom: 0;
  text-transform: uppercase;
}

p {
  margin-top: 0;
}

.board {
  display: block;
  margin: 10px auto 30px;
  width: 400px;
}

.controls {
  margin: 0 auto;
  position: relative;
  width: 400px;
}

.btn,
.timer,
.score {
  display: block;
  font-size: 24px;
}
.btn,
.timer {
  background-color: darkgrey;
  border: 0;
  border-radius: 10px;
  color: inherit;
  font-weight: bold;
  margin: 0 auto;
  text-transform: uppercase;
  padding: 10px;
  width: 100px;
}
.btn {
  cursor: pointer;
}
.timer {
  left: 50%;
  top: 0;
  position: absolute;
  transform: translate(-50%, 0);
}
.score {
  color: #000;
  font-style: italic;
  line-height: 48px;
  position: relative;
  right: 0;
  text-align: right;
  top: 0;
}

.final-score {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 100px;
}

.hidden {
  display: none !important;
}

.warning {
  color: #ff0000 !important;
}