@keyframes animate-in {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate-out {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

#splashscreen {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;

    opacity: 1;
    background-color: white;
    z-index: 999999;
    
    display: flex;
    align-items: center;
    justify-content: center;

    animation-name: animate-in;
    animation-duration: 400ms;
    animation-timing-function: cubic-bezier(0.75, 0.35, 0.35, 0.75);
    animation-iteration-count: 1;
}


#splashscreen.animate-out {
    animation-name: animate-out;
    animation-duration: 200ms;
    transform: scale(0.9);
    pointer-events: none;
    opacity: 0;
}
