﻿:root {
    --sat: env(safe-area-inset-top);
    --sar: env(safe-area-inset-right);
    --sab: env(safe-area-inset-bottom);
    --sal: env(safe-area-inset-left);
}

/* HTML styles for the splash screen */

.highlight {
    color: white;
    font-size: 2.5rem;
    display: block;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.flexRow {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

#avalonia-splash {
    position: relative;
    height: 100%;
    width: 100%;
    color: whitesmoke;
    background: black;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.logo {
    width: 30vw;
    min-width: 300px;
    height: 50%;
    margin: auto;
}

.splash-close {
    animation: fadeout 1s linear forwards;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #009688;
    border-radius: 50%;
    display: block;
    box-sizing: border-box;
    margin: auto;
    left: 0;
    right: 0;
    animation: rotation 1s linear infinite;
}

.warningText {
    color: red;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeout {
    0% {
        opacity: 100%;
    }

    100% {
        opacity: 0;
        visibility: collapse;
    }
}