* {
  text-align: center; 
}

h1.title {
  border-bottom: 2px solid dodgerblue;
  width: 100%;
  margin: 5px 0;
}

h2.type {
  margin: 5px;
}

div.grid {
  width: 245px;
  margin: auto;
  display: grid;
  grid-template-columns: 45px 45px 45px 45px 45px;
  grid-template-rows: 45px 45px 45px 45px 45px 45px;
  grid-gap: 5px;
  position: relative;
}

div.grid .box {
  border: 2px solid lightgrey;
}

div.grid .text {
  margin: 0;
}

div.alert {
  background-color: dodgerblue;
  color: white;
  border: 2px solid white;
  border-radius: 10px;
  position: absolute;
  left: 70px; right: 70px; top: 60px;
  opacity: 0;
  z-index: 1;
  transition: all 0.5s;
}

div.alert.show {
  opacity: 100%;
}

div.endGame {
  border-radius: 25px;
  box-shadow: 0 0 5px 5px rgb(100,100,100);
  background-color: lightgrey;
  opacity: 0%;
  visibility: hidden;
  position: absolute;
  left: 20px; right: 20px; top: 40px; bottom: -20px;
  transition: all 0.5s;
}

div.endGame.show {
  visibility: visible;
  opacity: 100%;
  top: 10px; bottom: 10px;
}

div.exit {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 10px; top: 10px;
}

div.exit > div {
  width: 25px;
  height: 2.5px;
  background-color: black;
  position: absolute;
  top: 14px;
}

div.exit > .div1 {rotate: 45deg}
div.exit > .div2 {rotate: -45deg}

h2.endTitle {
  margin: 10px 0 20px;
}

div.streaks {
  border: 2px solid dodgerblue;
}

div.current, div.best {
  width: 65px;
  border: 2px solid dodgerblue;
  margin: 5px;
  border-radius: 10px;
  position: absolute;
}

div.current {left: 20px;}

div.best {right: 20px;}

div.current > *, div.best > * {
  margin: 5px;
}

div.endGame > h3 {
  margin: 0;
}

button.share {
  width: 100px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid dodgerblue;
  color: black;
  font-size: 16px;
  background-color: transparent;
  position: absolute;
  right: 15px;
  bottom: 15px;
}

div.numBtns {
  background-color: dodgerblue;
  height: 160px;
  position: fixed;
  right: 0;
  bottom: 0;
}

div.numBtns > button {
  width: 30%;
  height: 20%;
  margin: 1%;
  border-radius: 10px;
  color: black;
  font-size: 20px;
  touch-action: manipulation;
}