/* Google Font - League Spartan */
@font-face {
  font-family: 'League Spartan';
  src: url('../assets/fonts/LeagueSpartan-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}

/* Main Container */
.exercise-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.25rem;
  position: relative;
  margin-top: 2.25rem;
}

/* Dialogue Container - Two Column Layout */
.dialogue-container {
  display: flex;
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  gap: 2rem;
}

/* Dialogue Column - Left Side */
.dialogue-column {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Image Column - Right Side */
.image-column {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Dialogue Image */
.dialogue-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Dialogue Row */
.dialogue-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

/* Dialogue Text */
.dialogue-text {
  font-size: 1.2rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* Dropdown Container */
.dropdown-container {
  position: relative;
  width: 5rem;
  font-family: "League Spartan", sans-serif;
  display: inline-block;
  margin: 0 0.25rem;
}

/* Dropdown Button */
.dropdown-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #FEE9B2; /* Light yellow background */
  border: 0.2rem solid #FFBF00; /* Darker yellow border */
  border-radius: 1rem; /* Rounded corners */
  color: #333333; /* Dark text color */
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* Subtle shadow */
  height: 2rem;
  padding: 0.25rem 0.5rem;
}

.dropdown-button:hover {
  background-color: #FFD966; /* Darker yellow for hover */
}

/* Dropdown Text */
.dropdown-text {
  flex-grow: 1;
  text-align: center;
}

/* Dropdown Icon (triangle) */
.dropdown-icon {
  color: #FFBF00; /* Darker yellow color */
  font-size: 0.8rem;
  transition: transform 0.2s ease;
  margin-left: 0.25rem;
}

/* Rotate icon when dropdown is open */
.dropdown-button.active .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 0; /* Align with button */
  left: 0;
  width: 100%;
  background-color: #FEE9B2; /* Light yellow background */
  border: 0.2rem solid #FFBF00; /* Darker yellow border */
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* Subtle shadow */
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
}

/* Show dropdown menu when active */
.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item {
  padding: 0 0.5rem;
  color: #333333; /* Dark text color */
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 0.1rem solid #FFBF00; /* Darker yellow border */
  text-align: center;
  background-color: #FEE9B2; /* Light yellow background */
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #FFD966; /* Darker yellow for hover */
}

/* Selected Item Styling */
.dropdown-item.selected {
  background-color: #FFD966; /* Darker yellow for selected */
  font-weight: 600;
}

/* Correct and Incorrect States */
.dropdown-button.correct {
  border-color: #258174; /* Green border for correct */
}

.dropdown-button.incorrect {
  border-color: #FF0000; /* Red border for incorrect */
}

.bullet {
  display: inline-block;
  width:2rem;
  min-width: 2rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}