h1 {
 text-align: center;
 font-family: 'Comfortaa', sans-serif;
}

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

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

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

.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 {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem;
  margin: 0 2px;
  cursor: pointer;
  text-transform: uppercase;
}


/* KEY BOX CSS */

.key-box {
  justify-content: center;
  align-self: center;
  width: 85%;
  text-align: left;
}

@media (min-width: 750px) {
  .key-box {
    width: 55% !important;
  }
}

@media (min-width: 540px) {
  .key-box {
    width: 70%;
  }
}

.box {
  float:left;
  height: 20px;
  width: 20px;
  border: 1px solid black;
  clear: both;
}

.purple {
  background-color: #8F6699;
}

.orange {
  background-color: #ff9c24;
}

.grey {
  background-color: grey;
}

/* HINT BOX CSS */

.hint-box {
  justify-content: center;
  align-self: center;
  width: 85%;
  text-align: center;
}

@media (min-width: 768px) {
  .hint-box {
    width: 50% !important;
  }
}

@media (min-width: 576px) {
  .hint-box {
    width: 70%;
  }
}