*{
  box-sizing: border-box;
  /* font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', 'sans-serif' */
}
body{
  background-color: black;
  justify-content: center;
}
.splash{
  width: 100vw;
  display: flex;
  background: black;

  display: block;
  margin: 20px;
  
}
.splash h1{
  padding: 5px 0px 15px 0px;
  font-size: 35px;
  text-align: center;
  height: 40px;
  color: whitesmoke;
  text-shadow: 2px 2px 2px purple;
  cursor: pointer;
}
.splash p{
  margin-top: 20px;
  text-align: center;
  padding: 0 10px;
  font-size: 20px;
  line-height: 25px;
  color: white;
  text-shadow: none;
  cursor: pointer;
}
.splash h2{
  font-size: 30px;
  line-height: 50px;
  margin-top: 20px;
  text-align: center;
  color: whitesmoke;
  text-shadow: 2px 2px 2px purple;
  cursor: pointer;
}

.title-container{
  padding: 5px 0px 15px 0px;
  font-size: 35px;
  height: 40px;
  text-align: center;
  color: whitesmoke;
  text-shadow: 2px 2px 2px purple;
  width: 490px;
}

.tile-row {
  display: flex;
}

.tile {
  width: 62px;
  height: 62px;
  color: white;
  border: 2px solid #3a3a3c;
  font-size: 35px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2px;
}

.message-container{
  width: 330px;
  height: 50px;
  line-height: 30px;
  cursor: default;
  color: white;
  background-color: #818384;
  border-radius: 10px;
  font-size: 30px;
  padding: 5px;
  margin-bottom: 10px;
  text-align: center;
}

.message-container p {
  background-color: #818384;
  border-radius: 10px;
  font-size: 30px;
  padding: 5px;
  margin: 0;
  text-align: center;
}
.word-key-container {
  display: flex;
  flex-direction: row;
}
.game-container{
  display: none;
  height: 90vh;
  margin-left: 120px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.control-container {
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#submit {
  height: 40px;
  background-color: green;
  color: white;
  align-items: center;
  width: 120px;
  height: 50px;
  border-radius: 10px;
  border: none;
  font-size: 25px;
  text-shadow: 2px 2px 2px black;
}

#delete {
  height: 120px;
  background-color: red;
  color: white;
  align-items: center;
  width: 120px;
  height: 50px;
  border-radius: 10px;
  border: none;
  font-size: 25px;
  text-shadow: 2px 2px 2px black;
}

.key-container{
  width: 410px;
  margin-left: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  margin-top: 45px;
}

.key-container button {
  width: 35px;
  height: 50px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  color: white;
  text-shadow: 2px 2px 2px black;
  background-color: grey;
  margin: 3px;
}

.key-container button:nth-child(11){
  margin-left: 30px;
}
.key-container button:nth-child(20){
    margin-left: 2px;
}
.key-container button:nth-child(20),
.key-container button:nth-child(28){
  width: 57px;
}

.tile.flip {
    animation: 0.5s linear flipping;
}

@keyframes flipping {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

.grey-overlay{
  background-color: #3a3a3c !important;
  border: none !important;
}
.yellow-overlay{
  background-color: #b59f3a !important;
  border: none !important;
}
.green-overlay{
  background-color: #538d4e !important;
  border: none !important;
}

@media screen and (max-width: 550px){
    .title-container{
      margin-left: -110px;
    }
    .message-container{
      margin-left: -120px;
      margin-bottom: 10px;
    }
      .key-container{
      margin-left: -30px;
      margin-top: 0px;
    }
    .word-key-container {
      display: flex;
      flex-direction: column;
      margin-left: -40px;
    }
}