﻿@font-face {
    font-family: 'Tai Lue';
    src: url('../fonts/ntailu.ttf') format('truetype'); /* Safari, Android, iOS */
}

.calistoga-regular {
    font-family: "Calistoga", serif;
    font-weight: 400;
    font-style: normal;
}

﻿
.mud-nav-menu {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mud-nav-link-bottom {
    margin-top: auto;
}

html, body {
    /*background-color: #32333d;*/
}


.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

@media print {
    .no-print {
        display: none;
    }

    .map {
        display: block !important;
        visibility: visible !important;
    }

    .maphilighted { /* or the class applied by maphilight */
        display: block !important;
        visibility: visible !important;
    }
}

/* custom loading animation with logo */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(to bottom right, #f0f4ff, #dbeafe);
    font-family: 'Segoe UI', sans-serif;
}

.loading-logo {
    width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
    animation: fadeIn 1.5s ease-in-out;
}

.loading-greeting {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-in-out;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    animation: rotate 2s linear infinite;
}

    .loading-spinner .track {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 8;
    }

    .loading-spinner .indicator {
        fill: none;
        stroke: #1976d2;
        stroke-width: 8;
        stroke-linecap: round;
        stroke-dasharray: 180;
        stroke-dashoffset: 0;
        transform-origin: center;
        animation: dash 1.5s ease-in-out infinite;
    }

.loading-text {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #333;
    animation: fadeIn 1.5s ease-in-out infinite alternate;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}
