/* Make the animal images nicely sized and consistent */

#feedback {
  font-size: 18px;
  text-align: center;
}

.animal-img {
  width: 100px;
  height: auto;
  object-fit: contain;
  margin: 5px;
}

/* Layout for image grid */
.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

/* Optional: style the question container */
.answer {
  font-family: Arial, sans-serif;
  padding: 15px;
  max-width: 400px;
  margin: auto;
}

button {
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 1rem;
}

#score {
  margin-top: 15px;
  font-weight: bold;
}
.question-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 5px;
}

.find-two-wrapper {
  display: flex;
  flex-direction: row; /* Make content side-by-side */
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 15px;
  gap: 0px;
  padding: 10px;
  border-radius: 8px;
}

.find-two-grid {
  display: flex;
  flex-direction: row; /* Images flow in a row */
  flex-wrap: nowrap; /* Prevent wrapping to next line */
  gap: 2px;
  align-items: center;
}

.ballon-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.ballon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* TAble */
/* Container around table image */
.option-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.option-btn {
  background-color: #f2f2f2;
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
  user-select: none;
}

.option-btn:hover {
  background-color: #eaeaea;
}

.option-btn.selected {
  border: 3px solid #000;
  background-color: #f4742c;
  color: white;
}

/*.             BALL     */

/* Container for the basket image */
/* Ball that user drags */
/* 🔁 SMALLER basketball setup */
.round-ball {
  width: 40px; /* Adjust freely */
  cursor: grab;
  margin: 4px;
}

.mini-ball {
  width: 24px;
  margin: 2px;
  pointer-events: none;
}

.hoop-wrapper {
  width: 120px;
  height: 140px;
  position: relative;
  text-align: center;
}

.hoop-back {
  width: 100%;
  display: block;
}

.hoop-front {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  pointer-events: none;
  z-index: 2;
}

.hoop-net {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  z-index: 1;
}

.hoop-court {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}
/*.basketball game   */
.basket-container {
  position: relative;
  width: 120px;
  height: 180px;
  margin: 20px auto;
}

.game img {
  width: 100%;
  height: auto;
  display: block;
}

.rim {
  position: absolute;
  top: 30;
  left: 0;
  width: 100%;
  z-index: 0;
}

.basket {
  position: absolute;
  bottom: 35px;
  left: 0;
  width: 100%;
  z-index: 1;
}

.balls-area {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ball {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: grab;
}

.ball img {
  width: 80%;
}

/*size compare*/
.question-text {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

.image-choices {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  gap: 60px; /* Space between images */
  height: 300px; /* Optional: gives vertical room */
}

.animal-image {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.animal-image:hover {
  transform: scale(1.05);
}

.score-display {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}

/*size Tall or Shorter */
.height-quiz-question {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

.height-quiz-options {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
  height: 300px;
}

.height-quiz-image {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.height-quiz-image:hover {
  transform: scale(1.05);
}

.height-quiz-tall {
  height: 240px;
}

.height-quiz-small {
  height: 150px;
}

.height-quiz-score {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}
/*size long or Short */

.length-quiz-question {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

.length-quiz-options {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
  height: 300px;
}

.length-quiz-image {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.length-quiz-image:hover {
  transform: scale(1.05);
}

.length-quiz-long {
  width: 240px;
}

.length-quiz-short {
  width: 150px;
}

.length-quiz-score {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}

.weight-quiz-question {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

.weight-quiz-options {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
  height: 300px;
}

.weight-quiz-image {
  height: 180px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.weight-quiz-image:hover {
  transform: scale(1.05);
}

.weight-quiz-score {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}
