#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0D1319; /* Black background */
    z-index: 99999; /* Ensure it's on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 1;
    transition: opacity 0.7s ease-out, visibility 0s linear 0.7s; /* Smoother fade-out */
    visibility: visible; /* Ensure it's visible initially */
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden; /* Hide after transition */
    pointer-events: none; /* Allow clicks to pass through when hidden */
}

#splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

img.splash-logo {
    display: block;
    margin: 0 auto; /* Center the logo */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
}

img.splash-logo.main-logo {
    max-width: 70%; /* Adjust as needed */
    max-height: 50vh; /* Adjust as needed */
    margin-bottom: 15px; /* Space below main logo */
}

p.splash-from-text {
    font-size: 1.1em;
    color: #cccccc; /* Light gray text */
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.2;
}

img.splash-logo.secondary-logo {
    max-width: 50%; /* Adjust as needed */
    max-height: 20vh; /* Adjust as needed */
    margin-top: 5px; /* Space above secondary logo */
}

/* Optional: If you add loading text */
#splash-content p.splash-loading-text {
    font-size: 1.2em;
    color: #ffffff; /* White text for contrast on black background */
    margin-top: 20px;
}

/* Remove default h1 styling if only logo is shown */
/* #splash-content h1 {
    font-size: 2.5em; 
    color: #ffffff; 
    margin-bottom: 15px;
} */

/* Remove default p styling if only logo is shown */
/* #splash-content p {
    font-size: 1.2em; 
    color: #ffffff; 
} */