/* Font import */
@font-face {
  font-family: 'League Spartan';
  src: url('../assets/fonts/LeagueSpartan-Regular.woff2') format('woff2'),
       url('../assets/fonts/LeagueSpartan-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'League Spartan';
  src: url('../assets/fonts/LeagueSpartan-Bold.woff2') format('woff2'),
       url('../assets/fonts/LeagueSpartan-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Exercise container */
.exercise-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem;
}

/* Content container */
.content-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}

/* Text container */
.text-container {
  width: 100%;
}

.instruction-text {
  font-size: 1.5rem;
  color: #00699F;
  margin-bottom: 1.5rem;
}

/* Email container */
.email-container {
  background-color: #f9f9f9;
  border: 0.1rem solid #ddd;
  border-radius: 0.5rem;
  overflow: hidden;
  /*margin-bottom: 2rem;*/
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
}

.email-header {
  background-color: #e9e9e9;
  padding: 1rem;
  border-bottom: 0.1rem solid #ddd;
}

.email-header p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.email-body {
  padding: .5rem;
  font-size: 1.1rem;
  /*line-height: 1.5;*/
}

.email-body p {
  margin-bottom: 1rem;
}

/* Images container */
.images-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

/* Image item */
.image-item {
  position: relative;
  width: 10rem;
  height: 10rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 0.5rem;
  overflow: hidden;
}

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

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 0.2rem solid transparent;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

/* Selected state */
.image-item.selected img {
  border-color: #F9B002;
}

/* Correct and incorrect states */
.image-item.correct img {
  border-color: #258174;
}

.image-item.incorrect img {
  border-color: #FF0000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-item {
    width: 8rem;
    height: 8rem;
  }
  
  .instruction-text {
    font-size: 1.3rem;
  }
  
  .images-container {
    gap: 1rem;
  }
  
  .email-body {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .image-item {
    width: 6rem;
    height: 6rem;
  }
  
  .instruction-text {
    font-size: 1.2rem;
  }
  
  .images-container {
    gap: 0.8rem;
  }
  
  .email-header p {
    font-size: 0.9rem;
  }
  
  .email-body {
    padding: 1rem;
    font-size: 0.9rem;
  }
} 