body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #121213;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin: 20px 0;
}

#game-board { 
  display: grid;
  grid-template-columns: repeat(5, 60px);
  grid-gap: 10px;
  margin-bottom: 20px;
}

.tile {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  border: 2px solid #3a3a3c;
  text-transform: uppercase;
  background-color: #121213;
  color: white;
}

.flip {
  animation: flip 0.6s ease;
}

@keyframes flip {
  0% {
    transform: rotateX(0);
  }
  50% {
    transform: rotateX(90deg);
    background-color: #121213;
  }
  100% {
    transform: rotateX(0);
  }
}

.correct {
  background-color: #538d4e;
  border-color: #538d4e;
}

.present {
  background-color: #b59f3b;
  border-color: #b59f3b;
}

.absent {
  background-color: #3a3a3c;
  border-color: #3a3a3c;
}

#keyboard {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  justify-content: center;
}

.key {
  margin: 5px;
  padding: 10px 15px;
  background-color: #818384;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}
