/* 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: 100%;
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  padding-top: 6rem;
}

/* Main Container */
.exercise-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  height: 34rem;
  padding: 1rem;
  overflow-y: auto;
}

/* Poem Container */
.poem-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
}

/* Poem Line */
.poem-line {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00699F;
  text-align: center;
  line-height: 1.4;
  transition: transform 0.2s ease;
}

.poem-line:hover {
  transform: scale(1.05);
}

/* Images Container */
.images-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.image-placeholder {
  aspect-ratio: 4/3;
  background-color: #f0f0f0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

footer {
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 48rem) { /* 768px */
  .exercise-container {
    height: auto;
    min-height: 34rem;
  }
  
  .poem-line {
    font-size: 1.3rem;
  }
  
  .images-container {
    grid-template-columns: 1fr;
  }
}

/* Larger Screens */
@media (min-width: 64rem) { /* 1024px */
  .exercise-container {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .poem-container {
    width: 50%;
  }
  
  .images-container {
    width: 50%;
  }
}