/* General Reset */
body, h1, div, button, img {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styles */
body {
  background-color: rgb(221, 225, 235);
  font-family: Arial, sans-serif;
}

/* Style for the Reset button */
#reset-button {
  font-size: 18px;
  padding: 10px 20px;
  margin: 20px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

#reset-button:hover {
  background-color: #0056b3;
}

/* Container for the Hangman game */
#hangman-container {
  background-color: white;
  border: 2px solid black;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
    height: auto; /* Adjust the height of the container */
  min-height: 300px; /* Set a minimum height to ensure content fits */
}

/* Hangman Game Elements */
#word-display {
  font-size: 24px;
  margin: 20px 0;
}

#letter-buttons {
  margin: 20px 0;
}

.letter-button {
  font-size: 16px;
  margin: 5px;
  padding: 10px;
}

.correct {
  background-color: lightgreen;
  color: white;
}

.missed {
  background-color: lightcoral;
  color: white;
  text-decoration: line-through;
}

#guesses-left {
  font-size: 18px;
  margin: 20px 0;
}

#hangman-image {
  width: 200px; /* Adjust as needed */
  height: auto;
  margin: 20px 0;
}

/* Hint Style */
#hint-display {
  font-style: italic; /* Make the hint italic */
}