@font-face {
    font-family: 'Audiowide';
    font-style: normal;
    font-weight: normal;
    src: url("Audiowide-Regular.ttf") format("opentype");
}

:root {
    color-scheme: dark;
}

body {
    background: black;
    color: white;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    font-family: sans-serif;
}

.avalonia-splash {
    position: absolute;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-flow: column;
}

    .avalonia-splash > div {
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        background-color: #2B2B2B;
        border-radius: 20px;
        padding: 30px 30px;
        border: 2px #383838 solid;
        box-shadow: #25c4ff5c 0px 0px 40px;
    }

    .avalonia-splash a {
        color: gray;
        margin-top: 20px;
        text-decoration: none;
        opacity: 85%;
        text-shadow: 0px 0px 10px black, 0px 0px 5px black;
    }

        .avalonia-splash a:hover {
            color: white;
            text-decoration: underline;
        }

    .avalonia-splash.splash-close {
        transition: opacity 200ms, display 200ms;
        display: none;
        opacity: 0;
    }

.logo {
    font-size: 28px;
    text-align: center;
    font-family: Audiowide;
    color: white;
    width: 150px;
    margin-bottom: 20px;
    text-shadow: 0px 0px 10px black, 0px 0px 10px black;
}

.logo-image {
    width: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    -webkit-filter: brightness(0) invert(1) drop-shadow(0px 0px 7px black);
    filter: brightness(0) invert(1) drop-shadow(0px 0px 7px black);
}

.loader-image {
    width: 50px;
    height: 50px;
    transform-origin: 50% 50%;
    animation: loader-image-spin 880ms steps(12, end) infinite;
    will-change: transform;
    margin-bottom: 20px;
}

.loader-progress {
    width: 250px;
    height: 20px;
    font-size: 17px;
    text-align: center;
    border: 1px solid #555;
    border-radius: 10px;
    transition: opacity ease-in-out 3s;
    box-shadow: 0px 0px 7px #0007;
}

    .loader-progress span {
        color: white;
        line-height: 20px;
        text-shadow: 0px 0px 10px black, 0px 0px 5px black;
    }

.loader-error {
    width: 250px;
    overflow-wrap: break-word;
    color: red;
    font-size: 17px;
    text-align: center;
    display: none;
}

@keyframes loader-image-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
