body {
  font-family: "Georgia", serif;
  background-color: #f4f0e6;
  margin: 0;
  padding: 0;
}

#game-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fdfaf3;
  border: 3px solid #8b5e3c;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #8b5e3c;
  font-family: "Times New Roman", serif;
}

.game-intro {
  text-align: center;
  font-size: 16px;
  color: #3e2723;
  margin: 20px 0;
}

#stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 20px;
}

.stat {
  width: 30%;
  text-align: center;
  margin-bottom: 10px;
}

.stat p {
  margin: 0;
  font-size: 16px;
}

.stat-desc {
  font-size: 12px;
  color: #5d4037;
  font-style: italic;
}

.stat-value {
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 5px;
}

.stat-green {
  color: #006400;
}

.stat-yellow {
  color: #d4a017;
}

.stat-red {
  color: #b22222;
}

#scenario-container {
  text-align: center;
  margin-top: 20px;
}

#scenario-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: #3e2723;
}

.btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  width: 80%;
  padding: 10px;
  margin: 5px;
  background-color: #8b0000;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-family: "Georgia", serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#next-btn {
  display: block;
  width: 100%;
  margin: 10px auto;
  text-align: center;
}

.btn:hover {
  background-color: #5a1f0e;
}

#historical-note {
  margin-top: 20px;
  font-style: italic;
  color: #5d4037;
  font-family: "Georgia", serif;
}

#start-btn {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  background-color: #8b0000;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Georgia", serif;
}

#start-btn:hover {
  background-color: #5a1f0e;
}

#info-section {
  margin-top: 20px;
  text-align: center;
}

#scenario-image {
  margin-top: 15px;
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

#image-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto; /* Enable horizontal scrolling if needed */
}

#image-container img {
  max-height: 150px;
  object-fit: cover; /* Maintain aspect ratio and fill available space */
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease;
}

#image-container img:hover {
  transform: scale(1.1); /* Slight zoom on hover */
}

#image-overlay {
  display: none; /* Default: hidden */
}
