@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

:root {
    --main: #D9C07E;
    --white: #fff;
    --grey: #D5DDE1;
    --black: #2D3641;
    --main__second: #9EACB9;
    --fontcolor: #454F58;
    --background: rgba(162, 191, 209, 0.445);
    --background__content: rgba(240, 240, 240, 0.5);
    --space: 10px;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-width: 100vw;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px grey;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--background);
    border-radius: 5px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #b30000;
    }

.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 screen and (max-width: 1000px) {
    html {
        max-width: 1000px;
    }
}*/

@media screen and (max-width: 600px) {
    html {
        max-width: 600px;
    }

    :root {
        --space: 5px;
    }
}
