#L1_section {
    background: var(--step-1);
}

#L2_section {
    background: var(--step-2);
}

#L3_section {
    background: var(--step-3);
}

.L0-opa-level-section {
    height: 100vh;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* Parent container */
.L0-opa-pre-vid-and-canvas-div {
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.L0-opa-pre-vid-and-canvas-div {
    width: 90vw;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1 / 1;
}


/* Video wrapper to ensure smooth fading */
.L0-opa-pre-vid-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Video styling */
.L0-opa-pre-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.8);
    transition: opacity 0.5s ease;
}

/* Overlay container for the canvas */
.L0-opa-pre-vid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    /* Ensures it's above the video */
    opacity: 0;
    /* Initially hidden */
    pointer-events: none;
}

/* Canvas styling */
.L0-opa-pre-vid-canvas {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}


.L0-opa-pre-vid-overlay {
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(0);
}

.opa-play-button {
    position: absolute;
    z-index: 3;
    font-size: 48px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: auto;
  }
  