/* Zirkus oder Klettergarten? – D&D besede v reke (referenca E04_U05). */

.exercise-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.content-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.columns-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 1rem;
}

.left-column {
  flex: 0 1 32rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

.sentences-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
}

.sentence {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.sentence.sentence-one-line {
  flex-wrap: nowrap;
  white-space: nowrap;
}

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

.image-container {
  width: 100%;
  max-width: 28rem;
  height: auto;
}

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

.drop_element {
  width: 9.5rem;
  min-width: 9.5rem;
  height: 2.5rem;
  border-radius: 1.25rem;
  border: 0.2rem solid #F9B002;
  background-color: rgba(249, 176, 2, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.drop_element.dragover {
  background-color: rgba(249, 176, 2, 0.2);
}

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

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

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

.drag_element {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: grab;
  font-size: 1.1rem;
  user-select: none;
  border-radius: 1.25rem;
  border: 0.2rem solid #00699F;
  background: #fff;
  padding: 0 0.5rem;
  width: 9.5rem;
  min-width: 9.5rem;
  height: 2.5rem;
  box-sizing: border-box;
}

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

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

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

.answers-container {
  display: grid;
  grid-template-columns: repeat(6, 9.5rem);
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (hover: none) {
  .drag_element {
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}
