/* Aloitusikkunan tyylit */
.startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333; /* Muuta taustaväriä tarvittaessa */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 1s ease-in-out; /* transition to make light-mode delay visually appealing */
    z-index: 10000; /* Aseta korkea z-index, jotta se on päällimmäisenä */
    animation: slideOut 0.5s ease-in-out forwards;
    animation-delay: 1.2s; /* Viive ennen animaation aloitusta */
}

.light-mode .startup-screen{
    background-color: #f9f9f9;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.startup-logo {
    max-width: 350px; /* Aseta logon koko */
    height: auto;
    animation: pulse 0.6s ease-in-out infinite alternate; /* Skaalausanimaatio */
}

@media only screen and (max-width: 768px) {
    .startup-logo {
        max-width: 250px;
    }
}

/* Animaatio, joka liu'uttaa aloitusikkunan vasemmalle */
@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Logon skaalausanimaatio */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}
