/* The loading screen draws the wordmark the app's launch animation starts from: same size, same place, same colours,
   so that the handoff to the first Flutter frame cannot be seen. */
html,
body {
    background: #ffffff;
}

.loading {
    height: 40px;
    width: auto;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* A slow breath tells that the app is still downloading. */
    animation: loading-pulse 1.6s ease-in-out infinite;
}

@keyframes loading-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@media (prefers-color-scheme: dark) {
    html,
    body {
        background: #000000;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loading {
        animation: none;
    }
}
