
/* css/splash.css */

.splash-page {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000;
}

.splash {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #000;
    animation: splashIn .8s ease forwards;
}

.splash-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 260px;
    max-width: 80vw;
    max-height: 80vw;
    animation: logoIn 1.2s ease forwards;
}

.splash-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.splash-out {
    animation: splashOut .7s ease forwards;
}

@keyframes splashIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes logoIn {
    from {
        opacity: 0;
        transform: scale(.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splashOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .splash,
    .splash-logo,
    .splash-out {
        animation: none;
    }
}
