﻿html {
    overflow-y: auto;
    scrollbar-gutter: stable;
    min-width: 300px;
    overscroll-behavior: none;

    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
}

body {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

#blazor-error-ui {
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 300;
}

#blazor-error-ui * {
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 300;
}

.zeus-lobster-font-family {
    font-family: 'Lobster', sans-serif !important;
    font-weight: 300;
}

.zeus-lobster2-font-family {
    font-family: 'Lobster Two', sans-serif !important;
    font-weight: 300;
}

.zeus-sharetechmono-font-family {
    font-family: 'Share Tech Mono', sans-serif !important;
    font-weight: 300;
}

.zeus-orbitron-font-family {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 400;
}

.zeus-jetbrainsmono-font-family {
    font-family: 'JetBrains Mono', sans-serif !important;
    font-weight: 400;
}

.zeus-cursor-blinking {
    animation: zeus-cursor-blinking-animation 1s ease-in-out infinite;
}

.zeus-opacity-30 {
    opacity: 0.3;
}

.zeus-opacity-50 {
    opacity: 0.5;
}

.zeus-opacity-80 {
    opacity: 0.8;
}

.zeus-noselect {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
}

.zeus-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zeus-mud-image-fix {
    margin-bottom: -5px;
}

.zeus-height-100 {
    height: 100%;
}

.scroll-locked {
    padding-right: 0 !important;
}

.scroll-locked .mud-layout .mud-appbar {
    padding-right: 0 !important;
}

@keyframes zeus-cursor-blinking-animation {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.zeus-glassmorphism {
    background: rgba( 0, 0, 0, 0.2 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 5px );
    -webkit-backdrop-filter: blur( 5px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.zeus-visibility-hidden {
    visibility: hidden;
}

.zeus-success {
    animation: zeus-success-animation 0.6s ease-out forwards;
}

@keyframes zeus-success-animation {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    60% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.zeus-fade-in-fast {
    animation: zeus-fade-in-fast-animation 0.3s ease-out forwards;
}

@keyframes zeus-fade-in-fast-animation {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zeus-deferred-visibility {
    opacity: 0;
    animation: zeus-deferred-visibility-animation 0.2s ease-in-out forwards;
}

@keyframes zeus-deferred-visibility-animation {
    0%, 99% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.zeus-orange-background-pulse {
    animation: zeus-orange-background-pulse-animation 3s ease-in-out infinite;
}

@keyframes zeus-orange-background-pulse-animation {
    0% {
        background-color: #ff962e;
    }
    50% {
        background-color: #ffb770;
    }
    100% {
        background-color: #ff962e;
    }
}

#camera-view > video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.mud-overlay.mud-overlay-dialog {
    backdrop-filter: blur(4px);
}