@import url('main-layout.css');

[theme~="light"] {
    --lumo-font-family: "Notosans", system-ui;
}

[theme~="dark"] {
    --lumo-base-color: hsl(206, 100%, 33%);
    --lumo-font-family: "Notosans", system-ui;
}

.v-status-message {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
}

.v-loading-indicator {
    position: fixed; /* Occupy whole screen even if scrolled */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* stop all mouse events */
    pointer-events: none;
    /* Animated with delay to prevent flashing, fadein-effect is defined below */
    animation: fadein 0.3s ease-in-out 0.1s normal 1 both;
    z-index: 2147483647;
}

@keyframes fadein {
    0% {
        background: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px); /* Blur-Effect */
        -webkit-backdrop-filter: blur(0px); /* Safari-Support */
    }

    100% {
        background: rgba(0, 0, 0, 0.5); /* Darkens the UI */
        backdrop-filter: blur(5px); /* Blur-Effect */
        -webkit-backdrop-filter: blur(5px); /* Safari-Support */
        background-image: url('gifs/painting loaders blue.gif');
        background-size: 300px 300px;
        background-position: center;
        background-repeat: no-repeat;
    }
}