* {
  background-color: #121213;
  color: rgb(254, 249, 244);
  text-align: center;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.wrapper {
  /* max-height: 100px; */
  display: flex;
  flex-direction: column;
}

h1 {
  margin: 5vh auto 3vh auto;
  font-family: "Merriweather", serif;
}

.row {
  max-width: 500px;
}

.row {
  height: 17vw;
  max-height: 80px;
  width: 90vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.box {
  background-color: none;
  border-width: 2px;
  border-color: #3a3a3c;
  border-style: solid;
  width: 14vw;
  max-width: 75px;
  height: 14vw;
  max-height: 75px;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: transform 250ms linear;
  margin: 0 2px;
}

.shake {
  animation: shake 250ms ease-in-out;
}

.flip {
  transform: rotateX(90deg);
}

@keyframes shake {
  10% {
    transform: translateX(-5%);
  }
  30% {
    transform: translateX(5%);
  }
  50% {
    transform: translateX(-7.5%);
  }
  70% {
    transform: translateX(7.5%);
  }
  90% {
    transform: translateX(5%);
  }
  100% {
    transform: translateX(0);
  }
}

.keyboard {
  margin-top: 5vh;
  align-self: flex-end;
  width: 98%;
  max-width: 500px;
}

.keyrow {
  height: 54px;
  width: 95%;
  max-width: 500px;
  display: flex;
  align-items: center;
  padding: 1px 0;
  justify-content: center;
}

.keyrow2 {
  max-width: 450px;
}

.letterKey,
.enterKey,
.deleteKey {
  background-color: #818384;
  width: 8vw;
  height: 50px;
  margin: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 5px;
}

.enterKey,
.deleteKey {
  font-size: 13px;
  width: 15vw;
}

.gray {
  background-color: #3a3a3c;
}

.yellow {
  background-color: #d6b939;
}

.green {
  background-color: #538d4e;
}

@media (min-width: 800px) {
  h1 {
    margin: 2vh auto 1vh auto;
  }

  .keyboard {
    margin-top: 3vh;
  }
}
