html, body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 250;
    font-style: normal;
    min-height: 100vh;
    /*background: linear-gradient(to bottom, #0b0b2b, #1b2735 40%, #090a0f);*/
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        /*background: url("https://i.postimg.cc/c1Q3njM0/bg2.jpg");*/
        background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("https://i.postimg.cc/c1Q3njM0/bg2.jpg");
        z-index: -1;
        background-size: cover;
        animation: animateBg 50s linear infinite;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
    max-width: 1300px;
    margin: auto; /* This is what center the content div itself. */
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxj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ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

    /* Fullscreen loading layout */
.loading-screen {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
    color: #e5e7eb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Glow orb */
.loading-orb {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #38bdf8, #6366f1, #0f172a);
    box-shadow:
        0 0 30px rgba(56, 189, 248, 0.8),
        0 0 80px rgba(99, 102, 241, 0.8);
    position: relative;
    overflow: hidden;
}

.loading-orb-inner {
    width: 70%;
    height: 70%;
    border-radius: inherit;
    border: 2px solid rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    animation: orbPulse 1.6s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(0.96); opacity: 0.9; }
    50%      { transform: scale(1.05); opacity: 1;   }
}

/* Texts */
.loading-title {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.loading-subtitle {
    font-size: 0.95rem;
    color: #9ca3af;
}

/* Bouncing dots */
.loading-dots {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    opacity: 0.2;
    animation: dotBounce 1s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes dotBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.2; }
    40%          { transform: translateY(-6px); opacity: 1;  }
}

/* Make sure body has no ugly scrollbars during load */
/*html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}*/

/*.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");
    }*/

code {
    color: #c02d76;
}

._stars {
    width: 2px;
    height: 2px;
    position: absolute;
    background: white;
    box-shadow: 2vw 5vh 2px white, 10vw 8vh 2px white, 15vw 15vh 1px white, 22vw 22vh 1px white, 28vw 12vh 2px white, 32vw 32vh 1px white, 38vw 18vh 2px white, 42vw 35vh 1px white, 48vw 25vh 2px white, 53vw 42vh 1px white, 58vw 15vh 2px white, 63vw 38vh 1px white, 68vw 28vh 2px white, 73vw 45vh 1px white, 78vw 32vh 2px white, 83vw 48vh 1px white, 88vw 20vh 2px white, 93vw 52vh 1px white, 98vw 35vh 2px white, 5vw 60vh 1px white, 12vw 65vh 2px white, 18vw 72vh 1px white, 25vw 78vh 2px white, 30vw 85vh 1px white, 35vw 68vh 2px white, 40vw 82vh 1px white, 45vw 92vh 2px white, 50vw 75vh 1px white, 55vw 88vh 2px white, 60vw 95vh 1px white, 65vw 72vh 2px white, 70vw 85vh 1px white, 75vw 78vh 2px white, 80vw 92vh 1px white, 85vw 82vh 2px white, 90vw 88vh 1px white, 95vw 75vh 2px white;
    animation: twinkle 8s infinite linear;
}



@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }
}

/* Additional twinkling stars with different animation timing */
._stars::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    box-shadow: 8vw 12vh 2px white, 16vw 18vh 1px white, 24vw 25vh 2px white, 33vw 15vh 1px white, 41vw 28vh 2px white, 49vw 35vh 1px white, 57vw 22vh 2px white, 65vw 42vh 1px white, 73vw 28vh 2px white, 81vw 48vh 1px white, 89vw 32vh 2px white, 97vw 45vh 1px white, 3vw 68vh 2px white, 11vw 75vh 1px white, 19vw 82vh 2px white, 27vw 88vh 1px white, 35vw 72vh 2px white, 43vw 85vh 1px white, 51vw 92vh 2px white, 59vw 78vh 1px white;
    animation: twinkle 6s infinite linear reverse;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

@keyframes animateBg {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

span.stars {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1),0 0 0 8px rgba(255,255,255,0.1),0 0 20px rgba(255,255,255,0.1);
    animation: animate 3s linear infinite;
}

    span.stars::before {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 300px;
        height: 1px;
        background: linear-gradient(90deg,#fff,transparent);
    }

@keyframes animate {
    0% {
        transform: rotate(315deg) translateX(0);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: rotate(315deg) translateX(-1000px);
        opacity: 0;
    }
}

span.stars:nth-child(1) {
    top: 0;
    right: 0;
    left: initial;
    animation-delay: 0s;
    animation-duration: 1s;
}

span.stars:nth-child(2) {
    top: 0;
    right: 80px;
    left: initial;
    animation-delay: 0.2s;
    animation-duration: 3s;
}

span.stars:nth-child(3) {
    top: 80;
    right: 0px;
    left: initial;
    animation-delay: 0.4s;
    animation-duration: 2s;
}

span.stars:nth-child(4) {
    top: 0;
    right: 180px;
    left: initial;
    animation-delay: 0.6s;
    animation-duration: 1.5s;
}

span.stars:nth-child(5) {
    top: 0;
    right: 400px;
    left: initial;
    animation-delay: 0.8s;
    animation-duration: 2.5s;
}

span.stars:nth-child(6) {
    top: 0;
    right: 600px;
    left: initial;
    animation-delay: 1s;
    animation-duration: 3s;
}

span.stars:nth-child(7) {
    top: 300px;
    right: 0px;
    left: initial;
    animation-delay: 1.2s;
    animation-duration: 1.75s;
}

span.stars:nth-child(8) {
    top: 0px;
    right: 700px;
    left: initial;
    animation-delay: 1.4s;
    animation-duration: 1.25s;
}

span.stars:nth-child(9) {
    top: 0px;
    right: 1000px;
    left: initial;
    animation-delay: 0.75s;
    animation-duration: 2.25s;
}

span.stars:nth-child(9) {
    top: 0px;
    right: 450px;
    left: initial;
    animation-delay: 2.75s;
    animation-duration: 2.75s;
}






/*.shooting-star-blue {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(23, 105, 165, 0.5), transparent);
    animation: shoot 3s infinite ease-in;
    display: block;
}

    .shooting-star-blue:nth-child(1) {
        top: 20%;
        left: -100px;
        animation-delay: 0s;
        overflow-y: hidden;
    }

    .shooting-star-blue:nth-child(2) {
        top: 40%;
        left: -100px;
        animation-delay: 1s;
        overflow-y: hidden;
    }

    .shooting-star-blue:nth-child(3) {
        top: 60%;
        left: -100px;
        animation-delay: 2s;
        overflow-y: hidden;
    }*/

/*.shooting-star-red1 {
    top: -10%;
    left: -100px;
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(243, 27, 27, 0.5), transparent);
    animation: shoot2 3s infinite ease-out;
    animation-delay: 1.5s;
}

.shooting-star-red2 {
    top: 50%;
    left: -100px;
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(243, 27, 27, 0.5), transparent);
    animation: shoot2 3s infinite ease-in;
    animation-delay: 2.5s;
}

.shooting-star-red3 {
    top: 80%;
    left: -100px;
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(243, 27, 27, 0.5), transparent);
    animation: shoot2 3s infinite ease-in;
    animation-delay: 3.5s;
}

    @keyframes shoot {
    0% {
        transform: translateX(0) translateY(0) rotate(25deg);
        opacity: 1;
    }

    100% {
        transform: translateX(120vw) translateY(50vh) rotate(25deg);
        opacity: 0;
    }
}

@keyframes shoot2 {
    100% {
        transform: translateX(0) translateY(0) rotate(25deg);
        opacity: 1;
    }

    0% {
        transform: translateX(120vw) translateY(50vh) rotate(25deg);
        opacity: 0;
    }
}

*/