body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}
.backBtn {
  background-color: #6200ea;
  position: absolute;
  top: 10px;
  color: white;
  padding: 14px 24px;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.game-container {
  background-color: white;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dialogue-box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.character-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin-right: 15px;
  border-radius: 10px; /* Rounded border */
  overflow: hidden; /* Hide anything outside the rounded border */
}

/* Add border styles to match the moods */
#character-image {
  width: 100%;
  height: 100%;
  transition: filter 0.5s ease, border 0.5s ease; /* Smooth transition for mood changes */
}

.happy {
  filter: brightness(1.2) contrast(1.1) saturate(1.3); /* Brighter and more saturated */
  border: 5px solid #ffb3b3; /* Soft pink border for happy mood */
}

.sad {
  filter: brightness(0.6) contrast(0.8); /* Dimmed and less contrast */
  border: 5px solid #3399ff; /* Soft blue border for sad mood */
}

.excited {
  filter: brightness(1.4) contrast(1.3); /* Very bright and high contrast */
  border: 5px solid #ff6666; /* Bright red border for excited mood */
}

.nervous {
  filter: brightness(0.9) contrast(1.1) sepia(0.3); /* Slightly dim with a touch of warmth */
  border: 5px solid #ffcc00; /* Yellow border for nervous mood */
}

.neutral {
  filter: brightness(1) contrast(1); /* Default (neutral) mood */
  border: 5px solid #d3d3d3; /* Gray border for neutral mood */
}

#dialogue-text {
  font-size: 18px;
  color: #333;
}

.choices-container {
  display: flex;
  flex-direction: column;
}

.choice-btn {
  background-color: #ffb3b3;
  border: none;
  padding: 10px;
  margin: 5px 0;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.choice-btn:hover {
  background-color: #ff6666;
}

.score {
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
}
