/* 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;
  gap: 2rem;
  padding: 1rem;
  position: relative;
  margin-top: 2rem;
}

/* Audio Container */
.audio-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

/* Audio Button*/
.audio-button {
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.audio-button:focus {
  outline: none;
}

.audio-button img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease;
} 

.audio-button .pause-icon {
  opacity: 0;
}

.audio-button.playing .play-icon {
  opacity: 0;
}

.audio-button.playing .pause-icon {
  opacity: 1;
}

/* Content Container */
.content-container {
  display: flex;
  margin-left: 5rem; /* Space for audio button */
  gap: 2rem;
  width: calc(100% - 5rem);
}

/* Photo Column */
.photo-column {
  flex: 0 0 auto;
  width: 20rem;
  max-height: 30rem;
  overflow: hidden;
}

.student-photo {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Statements Column */
.statements-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Statement Row */
.statement-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

/* Statement Text */
.statement-text {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.4;
  padding: 0.5rem 0;
}

/* Options Container */
.options-container {
  display: flex;
  gap: 1rem;
}

/* Option Buttons - Using styles from assets/main.css */
.option-button {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 0.2rem solid #00699F;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Button text */
.option-button::before {
  content: 'R';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: #999;
  z-index: 1;
}

.option-button.falsch::before {
  content: 'F';
}

/* Selected state */
.option-button.selected {
  background-color: #00699F;
}

.option-button.selected::before {
  color: white;
}

/* Correct state */
.option-button.correct {
  border-color: #258174;
  border-width: 0.25rem;
}

/* Incorrect state */
.option-button.incorrect {
  border-color: #FF0000;
  border-width: 0.25rem;
}

/* Selected and correct */
.option-button.selected.correct {
  background-color: #00699F;
}

/* Selected and incorrect */
.option-button.selected.incorrect {
  background-color: #00699F;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .content-container {
    flex-direction: column;
    margin-left: 0;
    margin-top: 5rem;
    width: 100%;
  }
  
  .audio-container {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .photo-column {
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
  }
  
  .statement-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .options-container {
    align-self: flex-end;
  }
} 