/* Exercise Container */
.exercise-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 68rem;
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.content-container {
    width: 68rem;
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 2rem;
    align-items: start;
    padding-top: 1rem;
}

/* Audio Container */
.audio-container {
    width: 5rem;
    grid-column: 1;
}

/* Exercise Content */
.exercise-content {
    width: 60rem;
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Scene with background image and dropzones */
.scene-container {
    position: relative;
    width: 52rem;
    height: 32rem;
    z-index: 0;
}

.scene-container > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scene-drop {
    position: absolute;
    z-index: 2;
}

/* Positions of the six target dropzones on the scene (all sizes in rem),
   centered inside the 2×3 snap grid */
.scene-drop.drop1 {
    top: 1.4rem;
    left: 18.6rem;
}

.scene-drop.drop2 {
    top: 2.8rem;
    left: 30.6rem;
}

.scene-drop.drop3 {
    top: 8.4rem;
    left: 46.6rem;
}

.scene-drop.drop4 {
    top: 26.0rem;
    left: 10.8rem;
}

.scene-drop.drop5 {
    top: 25.2rem;
    left: 32.1rem;
}

.scene-drop.drop6 {
    top: 23.5rem;
    left: 49.1rem;
}

.scene-drop.drop-snap {
    z-index: 1;
    border: 0;
    background-color: transparent;
}

.scene-drop.drop7 {
    top: 2.3rem;
    left: 15.7rem;
    width: 13rem;
    height: 16.7rem;
    border: 0;
    background-color: transparent;
}

.scene-drop.drop8 {
    top: 2.3rem;
    left: 30.2rem;
    width: 13rem;
    height: 16.7rem;
}

.scene-drop.drop9 {
    top: 2.3rem;
    left: 44.8rem;
    width: 13rem;
    height: 16.7rem;
}

.scene-drop.drop10 {
    top: 20.1rem;
    left: 15.7rem;
    width: 13rem;
    height: 16.7rem;
}

.scene-drop.drop11 {
    top: 20.1rem;
    left: 30.2rem;
    width: 13rem;
    height: 16.7rem;
}

.scene-drop.drop12 {
    top: 20.1rem;
    left: 44.8rem;
    width: 13rem;
    height: 16.7rem;
}

/* Common styles for drag and drop elements */
.drag_element {
    width: 9rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    border-radius: 1.25rem;
    margin: 0.25rem;
    padding: 0.25rem;
    cursor: grab;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    background-color: transparent;
    border: none;
    overflow: hidden;
}

.drag_element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.drag_element.correct {
    border-color: #258174;
    background-color: rgba(37, 129, 116, 0.1);
}

.drag_element.incorrect {
    border-color: #FF0000;
    background-color: rgba(255, 0, 0, 0.1);
}

/* Drop Element Specific */
.drop_element {
    width: 9rem;
    height: 5.5rem;
    border-radius: 1.25rem;
    transition: all 0.3s ease;
    border: 2px solid #F9B002;
    background-color: rgba(255, 255, 255, 0.8);
}

.scene-container .drop_element.scene-drop:not(.drop-snap) {
    border: 0;
    background-color: transparent;
}



.scene-container .drop_element.scene-drop:not(.drop-snap).correct {
    border: 0.35rem solid #258174;
    background-color: transparent;
}

.scene-container .drop_element.scene-drop:not(.drop-snap).incorrect {
    border: 0.35rem solid #FF0000;
    background-color: transparent;
}

/* Answers Container */
.answers-container {
    grid-column: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 5rem;
    align-content: start;
    position: relative;
    z-index: 2;
}

