/* Global styles */
body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 20px;
}

h1 {
  margin-bottom: 20px;
}

/* Input Container styles */
.container {
  max-width: 600px;
  margin: 0 auto;
}

.input-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 20px;
}

/* Styles for the Word Game */
#wordLengthInfo {
  margin-top: 10px;
  font-size: 18px;
}

#guessInput {
  margin-top: 10px;
  font-size: 24px;
  text-transform: uppercase;
}

#submitBtn {
  margin-top: 10px;
  font-size: 18px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#resultDisplay {
  margin-top: 20px;
  font-size: 20px;
}

#correctAnswerMessage {
  display: none;
  margin-top: 20px;
  font-size: 20px;
  color: green;
}

#guessedWordsList {
  margin-top: 20px;
  list-style-type: none;
  padding: 0;
}

/* Styles for the QWERTY keyboard */

#qwertyKeyboard {
  display: grid;
  grid-template-columns: repeat(13, 40px);
  gap: 5px;
  margin: 20px auto; /* Center the QWERTY keyboard */
  justify-content: center;
}

.qwertyBtn {
  font-size: 18px;
  padding: 10px;
  background-color: #ddd;
  border: 1px solid #999;
  border-radius: 5px;
  cursor: pointer;
}

/* Style for the toggled buttons (strikethrough effect) */
.qwertyBtn.toggled {
  text-decoration: line-through;
}

/* Dark mode styles */
.dark-mode {
  background-color: black;
  color: white;

  /* Update the result display text color for Dark Mode */
  #resultDisplay {
    color: white;
  }
}