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

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

/* Content container */
.content-container {
  display: flex;
  flex-direction: column;
  width: 68rem;
  padding: 1rem;
}

/* Columns layout */
.columns-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 2rem;
}

.left-column {
  flex: 3;
  display: flex;
  flex-direction: column;
}

.right-column {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Sentences container: more space between the three dialogues */
.sentences-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Less line spacing between lines within each dialogue */
.dialog-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dialog-group:last-child {
  margin-bottom: 0;
}

.sentence {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-family: 'League Spartan', sans-serif;
}

.sentence-text {
  line-height: 1.25;
}

/* Image container */
.image-container {
  width: 100%;
  max-width: 20rem;
  height: auto;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}

/* Drop element styles */
.drop_element {
  width: 6rem;
  height: 2.5rem;
  border-radius: 1.25rem;
  border: 2px solid #F9B002;
  background-color: rgba(249, 176, 2, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Drag element styles */
.drag_element {
  width: 6rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: grab;
  font-size: 1.2rem;
  font-family: 'League Spartan', sans-serif;
  user-select: none;
  border-radius: 1.25rem;
  border: 2px solid #00699F;
  background: #FFF;
  margin: 0.25rem;
}

.drag_element.dragging {
  opacity: 0.7;
  cursor: grabbing;
}

/* Answers container */
.answers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: .5rem;
  margin-top: .5rem;
  width: 100%;
}

.drop_element.correct, .drag_element.correct {
  border-color: #258174;
}

.drop_element.incorrect, .drag_element.incorrect {
  border-color: #FF0000;
}

.drop_element .drag_element {
  background-color: transparent;
  background: transparent;
  border: 0;
}

