body {
  background-color: rgb(34, 34, 34);
  font-family: monospace;
  color: azure;
  font-family: "Doto", sans-serif;
  user-select: none;
}
h1,
h2 {
  text-align: center;
}
main {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.block {
  width: 10rem;
  height: 10rem;
  margin: 10px;
  border: 2px solid azure;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: xx-large;
  display: flex;
  justify-content: center;
  transition: opacity 200ms;
}
.block:hover {
  cursor: pointer;
}
.disabled {
  opacity: 0.7;
  pointer-events: none;
}
#restart {
  width: 8em;
  height: 2.7em;
  padding: 0.3em;
  border: none;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0);
  text-align: center;
  font-family: "Doto", sans-serif;
  color: azure;
  font-size: 1.2em;
  transition: all 200ms;
  cursor: pointer;
}
#restart:hover {
  transform: translateY(-3px);
}

.block span {
  align-self: center;
}

@media (max-width: 600px) {
  h2 {
    font-size: 1.3em;
  }
  .block {
    width: 7rem;
    height: 7rem;
  }
}
@media (max-width: 420px) {
  h2 {
    font-size: 1.2em;
  }
  .block {
    width: 5rem;
    height: 5rem;
  }
}
