@font-face {
    font-family: 'ProximaNova';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/ProximaNova-Regular.woff2);
}

@font-face {
    font-family: 'ProximaNova';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/ProximaNova-Bold.woff2);
}

@font-face {
    font-family: 'ProximaNova';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    font-stretch: condensed;
    src: url(../fonts/ProximaNovaCond-Regular.woff2);
}

@font-face {
    font-family: 'Olympicons';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/olympicons.ttf);
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

h1:focus {
    outline: none;
}

.loadingScreen {
    background-color: #0c0b0b;
}

.blinker {
    animation: blink-animation 1.5s ease-in-out infinite;
}

@keyframes blink-animation {
    from {
        opacity: 0;
        transform: scale(0.5) rotateY(0deg);

    }

    to {
        opacity: 0.5;
        transform: scale(1) rotateY(360deg);
    }
}

dialog {
    font-family: ProximaNova;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    background-color: white;
}

    dialog p {
        margin-bottom: 0;
    }

    dialog::backdrop {
        background: #0d0d0d;
    }

.dialog-content {
    margin-bottom: 10px;
}

.dialog-footer {
    display: grid;
    place-items: center;
}

.refresh-button {
    background-color: #0d0d0d;
    color: white;
    border-radius: 3px;
    padding: 10px 20px;
    margin: 5px;
    transition: background-color linear 0.3s;
    cursor: pointer;
}

    .refresh-button:hover {
        background-color: #3e3e3e;
    }

.bounce {
    animation: bounce 1s ease-in-out, fade-in 0.5s ease-in;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(5px);
    }
}

#blazor-error-ui {
    background-color: red !important;
    color: white !important;
    font-family: system-ui;
    display: none;
    position: fixed;
    bottom: 50px !important;
    left: calc(100vw/2) !important;
    transform: translatex(-50%);
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    width: 350px !important;
    border-radius: 5px;
    box-shadow: 0 0 3px #ccc;
    z-index: 1000;
    animation: fade-in 0.5s ease-in;
}

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

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.btn {
    min-width: 113px;
    height: fit-content;
    padding: 8px;
}

    .btn > span {
        font-size: 14px;
        text-transform: none;
        font-weight: 400;
    }

.btn-circle {
    border-radius: 100%;
}

h1 {
    font-size: 24px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--mud-palette-primary);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

html, body {
    padding: 0;
    margin: 0;
}

.loading-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    gap: 75px;
    background-color: rgb(27, 27, 27);
    transition: background-color linear 0.3s;
}

.loading-component {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px;
}

.circle {
    height: 8px;
    width: 8px;
    border-radius: 100%;
    background-color: #148ff8;
    animation: blinking 0.8s infinite;
}

.circle-1 {
    animation-delay: 0.1s;
}

.circle-2 {
    animation-delay: 0.3s;
}

.circle-3 {
    animation-delay: 0.6s;
}

@keyframes blinking {
    0% {
        background-color: rgba(255, 255, 255, 0.5);
        transform: scale(1);
    }

    50% {
        background-color: rgba(255, 255, 255, 1);
        transform: scale(1.1);
    }

    100% {
        background-color: rgba(255, 255, 255, 0.5);
        transform: scale(1);
    }
}

.slogan {
    position: absolute;
    bottom: 50px;
}

.loading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.linear-progress {
    background: #ffffff22;
    width: 75px;
    height: 6px;
    border-radius: 10rem;
    overflow: hidden;
    position: relative;
}

    .linear-progress:after {
        content: '';
        position: absolute;
        inset: 0;
        background: white;
        scale: var(--blazor-load-percentage, 0%) 100%;
        transform-origin: left top;
        transition: scale ease-out 0.5s;
    }

.loading-text {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    animation: blinking alternate ease infinite 1s;
}

.loading-label {
    font-family: 'ProximaNova', system-ui, sans-serif;
    font-stretch: condensed;
    color: white;
    font-size: 14px;
}

.linear-progress-text:before {
    content: var(--blazor-load-percentage-text, "Loading");
    font-family: 'ProximaNova', system-ui, sans-serif;
    font-stretch: condensed;
    color: white;
    font-size: 14px;
}

@keyframes blinking {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 0.2;
    }
}

.rotate-phone-message {
    display: none;
    height: 100vh;
    width: 100vw;
    place-content: center;
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    font-size: 24px;
    text-align: center;
    /* Apply a background color with some transparency */
    background-color: #ffffff;
    /* Apply a backdrop-filter with a blur value */
    backdrop-filter: blur(5px);
    border-radius: 5px;
    opacity: 0;
}

.rotate-phone-message-content {
    width: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .rotate-phone-message-content img {
        transform: rotate(-90deg);
    }

    .rotate-phone-message-content p {
        font-family: 'Proxima Nova';
        color: #3a3a3a;
        font-size: 12px;
        font-stretch: condensed;
    }

@media (max-height: 420px) and (orientation:landscape) {
    .rotate-phone-message {
        display: flex;
        opacity: 1;
        transition: opacity 0.5s;
    }

    header {
        position: relative !important
    }

    [removeTopMargin] {
        margin-top: 0 !important;
    }

    [adjustHeight] {
        height: calc(var(--mud-appbar-height) - var(--mud-appbar-height) / 4) !important;
    }
}

.invalid-browser-message {
    display: none;
    height: 100vh;
    width: 100vw;
    place-content: center;
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    font-size: 24px;
    text-align: center;
    /* Apply a background color with some transparency */
    background-color: #ffffff;
    /* Apply a backdrop-filter with a blur value */
    backdrop-filter: blur(5px);
    border-radius: 5px;
    opacity: 0;
}

    .invalid-browser-message[displayed] {
        display: flex;
        opacity: 1;
        transition: opacity 0.5s;
    }

.invalid-browser-message-content {
    width: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .invalid-browser-message-content p {
        font-family: 'Proxima Nova' system-ui;
        color: #3a3a3a;
        font-size: 14px;
        font-stretch: condensed;
    }

dt {
    font-weight: bold;
    min-width: 150px;
}

    dt::after {
        content: ':';
    }

.glossary-term {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

@media (max-width: 600px) {
    dd {
        margin-bottom: 10px;
    }

    .glossary-term {
        display: flex;
        flex-direction: column;
    }
}

/* Disclaimer styles */

.disclaimer-alert {
    padding: 15px;
    background-color: var(--mud-palette-primary-lighten);
    color: var(--mud-palette-text-primary);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    color: var(--mud-palette-primary);
}

    .alert-header strong {
        font-size: 18px;
        color: var(--mud-palette-primary);
    }

.alert-text strong {
    color: var(--mud-palette-primary);
}

.alert-text {
    font-size: 16px;
    margin-left: 30px;
}

.content {
    background-color: var(--mud-palette-primary-lighten);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 15px;
    line-height: 28px;
}

h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--mud-palette-primary);
    margin-top: 15px;
}

h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--mud-palette-primary);
}

h4 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--mud-palette-primary);
}

.table-of-content {
    line-height: 22px;
}

    .table-of-content ul {
        list-style: circle;
        margin-top: 15px;
        margin-left: 25px;
    }

ul {
    list-style: disc;
    margin-left: 16px;
}

li ol {
    margin-left: 15px;
}

li {
    margin-left: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 15px;
}

    table td {
        border-top: solid 1px var(--mud-palette-primary);
        padding: 5px 10px;
    }

li ul {
    list-style-type: disc;
    margin-left: 16px;
}

.leftIndentDiv {
    display: flex;
    gap: 5px;
}

/* End of Disclaimer styles */

.block-display {
    display: none !important;
}

#launcher {
    bottom: 72px !important;
}


.balance-tooltip {
    width: 340px;
    padding: 10px
}

.balance-tooltip .d-block {
    width: 100%;
}
