/* Default light mode */
body {
    background-color: white;
    color: black;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Ensure full height */
    margin: 0;
    /* Remove default margins */
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: white;
    }
}

/* Center the loader */
#loading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    /* Ensure it takes full width */
}

/* Logo styling */
#loading-logo {
    width: 100px;
    height: 100px;
    animation: bounce 1.5s infinite alternate ease-in-out;
}

/* Bounce animation */
@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

/* Fade-out effect when Flutter loads */
.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}