/* 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-style: normal;
  font-display: swap;
}

/* Exercise Wrapper */
.exercise-wrapper {
  width: 80rem;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

/* Exercise Container */
.exercise-container {
  width: 80rem;
  max-width: 80rem;
  height: 36rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-y: visible;
}

/* Pronunciation Container */
.pronunciation-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80rem;
  height: 100%;
  padding: 1rem;
}

/* Pronunciation Row */
.pronunciation-row {
  width: 80rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* Pronunciation Card */
.pronunciation-card {
  width: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.pronunciation-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Pronunciation Image */
.pronunciation-image {
  width: 100%;
  height: auto;
  max-height: 24rem;
  object-fit: contain;
  border-radius: 0.25rem;
}

/* Pronunciation Title */
.pronunciation-title {
  font-size: 1.25rem;
  color: #00699F;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
  width: 100%;
}

.pronunciation-card:hover .pronunciation-title {
  background-color: #f0f0f0;
}

/* Hide elements */
.hidden {
  display: none;
}

footer {
  display: none;
}

/* Responsive Design */
@media (max-width: 64rem) {
  .pronunciation-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .pronunciation-card {
    width: 90%;
    max-width: 35rem;
  }
  
  .exercise-container {
    height: auto;
    overflow-y: auto;
  }
}

@media (max-width: 48rem) {
  .pronunciation-card {
    width: 100%;
  }
  
  .pronunciation-image {
    max-height: 18rem;
  }
}