body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  padding: 10px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

.board {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  color: #333;
  text-decoration: underline;
  text-align: center;
  margin-bottom: 3%;
}

.message {
  text-align: center;
  margin-top: 20px;
  font-size: 24px;
  color: #666;
}

button {
  display: block;
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #555;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  max-width: 300px;
  margin: 0 auto;
  margin-top: 20px;
}

.cell {
  width: 100%;
  height: 100px;
  background-color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  cursor: pointer;
}

#music-player-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#music-player-container #player-container {
  text-align: center;
}

#music-player-container .player-button {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background-color: #008CBA; /* Blue */
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#music-player-container .player-button:hover {
  background-color: #004a63;
}

#music-player-container #show-btn {
  display: none;
}

#audio-player {
  width: 0;
  height: 0;
  border: none;
}

.hangman-title {
  margin-top: 20px;
}

.hangman-container {
  margin-top: 50px;
}

.hangman-word {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.hangman-keyboard {
  display: grid;
  grid-template-columns: repeat(9, 1fr); /* Adjust the number of columns as needed */
  justify-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.hangman-keyboard .hangman-button {
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  background-color: #f2f2f2;
  color: #333;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
}

.hangman-lives {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center; /* Add this line to center the text */
}

.hangman-game-over {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center; /* Add this line to center the text */
}

.hangman-message {
  color: red;
  margin-bottom: 20px;
}