/* Intro Animation Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

/* Intro Animation Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* Fully opaque background */
    z-index: 9999;
    transition: opacity 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes tearPage {
    0% { transform: rotate(-5deg) translateX(-100%); opacity: 0; }
    50% { transform: rotate(2deg) translateX(0); opacity: 1; }
    100% { transform: rotate(-3deg) translateX(0); opacity: 1; }
}

.tear-page {
    animation: tearPage 0.8s ease-in-out forwards;
}

#intro-image {
    max-width: 80%;
    max-height: 80%;
    opacity: 1 !important; /* Keep intro images at 100% visibility */
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}



.fade-out {
    opacity: 0;
    pointer-events: none;
}
