body {
  margin: 0 auto;
  padding: 0;
  background-color: #121213;
  color: white;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

h1 {
  text-align: center;
}

#gamemode-selection {
  text-align: center;
  margin-bottom: 20px;
}

#timer {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#game-board {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 10px;
}

.letter-box {
  border: 2px solid #3a3a3c;
  border-radius: 3px;
  margin: 2px;
  font-size: 2rem;
  font-weight: 700;
  height: 4rem;
  width: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}

.filled-box {
  border: 2px solid white;
}

.letter-row {
  display: flex;
}

#keyboard-cont {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#keyboard-cont div {
  display: flex;
}

.second-row {
  margin: 0.5rem 0;
}

.keyboard-button {
  color: white;
  height: 58px;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.5rem;
  margin: 0 6px;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 4px;
  background-color: #818384;
}

button {
  position: relative;
  overflow: hidden;
}

span.ripple {
  position: absolute;
  border-radius: 50%;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-animation: Ripple 600ms linear;
  animation: Ripple 600ms linear;
  background-color: rgba(255, 255, 255, 0.7);
}

@-webkit-keyframes Ripple {
  to {
    -webkit-transform: scale(4);
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes Ripple {
  to {
    -webkit-transform: scale(4);
    transform: scale(4);
    opacity: 0;
  }
}
