/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #e8f5e9, #fbe9e7);
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

h1 {
  margin-top: 20px;
  font-size: 2rem;
  text-align: center;
  color: #2e7d32; /* Pastel green */
}

.hidden {
  display: none;
}

#questions-container {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.question {
  margin: 20px 0;
  text-align: center;
}

.question h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

/* Image Styling */
.image-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.image-container img,
.question img {
  width: 45%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.question img {
  width: 60%; /* Adjust single image width */
  max-width: 400px;
  margin-bottom: 10px;
}

/* Input and Button Styling */
input[type="number"] {
  width: 70%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background: #f9f9f9;
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background: #ef5350; /* Pastel red */
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #d32f2f; /* Slightly darker pastel red */
}

/* Message Styling */
.message {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #2e7d32; /* Pastel green */
}

/* Final Message Styling */
#final-message {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #388e3c; /* Success green */
  margin-top: 20px;
}

#reveal-section {
  text-align: center;
  margin: 20px 0;
}

#reveal-btn {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background: #42a5f5; /* Pastel blue */
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

#reveal-btn:disabled {
  background: #b0bec5; /* Grey when disabled */
  cursor: not-allowed;
}

#reveal-btn:hover:enabled {
  background: #1e88e5;
}

#final-clue img {
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

.hidden {
  display: none;
}
