/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#loading-screen.show {
    display: flex; /* Show when needed */
}

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

.loading-logo {
    width: 150px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Ensure the main content is hidden initially */
body {
    overflow: hidden;
}

body.loaded {
    overflow: auto;
}

