﻿html {
    width: 100%;
    height: 100%;
}

:root {
    --main-layout-overflow: hidden
}

body {
    width: 100%;
    height: 100%;
    overflow: var(--main-layout-overflow);
}

#app {
    width: 100%;
    height: 100%;
}

.main {
    flex: 1;
    height: 100%;
}

.application {
    height: 100%;
}

.toolbar-logo {
    display: flex;
    align-items: center;
}

.toolbar-logo-icon {
    color: white;
}

.toolbar-logo-text {
    font-family: "Oxanium", "Roboto", "sans-serif";
    font-weight: 300;
    color: white;
    font-size: 1.688rem;
    margin: 3px 24px 0 8px;
}

.tool-bar-user-menu {
    margin-left: 24px;
}

.tool-bar-user-menu-name {
    margin-left: 8px;
    margin-top: 4px;
}

.mud-typography {
    word-wrap: break-word;
}

pre code.hljs {
    background: var(--mud-palette-background);
    border-radius: 4px;
}

.loading-image {
    background-color: #1a1e22ff;
    background: linear-gradient(156deg, #1a1e22ad, #000000 100%), url(/images/bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .loading-image h1 {
        font-family: "Oxanium", "Roboto", "sans-serif";
    }

.body-message-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-family: var(--mud-typography-h6-family);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #ababab;
    outline: none;
}

.body {
    position: absolute;
    animation: speeder 0.4s linear infinite;
    top: 28px;
}

    .body > span {
        height: 5px;
        width: 35px;
        background: #ababab;
        position: absolute;
        top: -19px;
        left: 60px;
        border-radius: 2px 10px 1px 0;
    }

.base span {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-right: 100px solid #ababab;
    border-bottom: 6px solid transparent;
}

    .base span:before {
        content: "";
        height: 22px;
        width: 22px;
        border-radius: 50%;
        background: #ababab;
        position: absolute;
        right: -110px;
        top: -16px;
    }

    .base span:after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-top: 0 solid transparent;
        border-right: 55px solid #ababab;
        border-bottom: 16px solid transparent;
        top: -16px;
        right: -98px;
    }

.reduce-mud-text-size {
    --mud-typography-body2-size: 0.8rem;
    --mud-typography-body1-size: 0.9rem;
}

.hover-grow {
    transition: transform 0.2s ease-in-out;
    -webkit-transition: transform 0.2s ease-in-out; /* Safari */
}

    .hover-grow:hover {
        transform: scale(1.05);
        -webkit-transform: scale(1.05); /* Safari */
    }

.face {
    position: absolute;
    height: 12px;
    width: 20px;
    background: #ababab;
    border-radius: 20px 20px 0 0;
    transform: rotate(-40deg);
    right: -125px;
    top: -15px;
}

    .face:after {
        content: "";
        height: 12px;
        width: 12px;
        background: #ababab;
        right: 4px;
        top: 7px;
        position: absolute;
        transform: rotate(40deg);
        transform-origin: 50% 50%;
        border-radius: 13px 2px 7px 4px;
    }

.body > span > span:nth-child(1),
.body > span > span:nth-child(2),
.body > span > span:nth-child(3),
.body > span > span:nth-child(4) {
    width: 30px;
    height: 1px;
    background: red;
    position: absolute;
    animation: fazer1 0.2s linear infinite;
}

.body > span > span:nth-child(2) {
    top: 3px;
    animation: fazer2 0.4s linear infinite;
    background: green;
}

.body > span > span:nth-child(3) {
    top: 1px;
    animation: fazer3 0.4s linear infinite;
    animation-delay: -1s;
    background: red;
}

.body > span > span:nth-child(4) {
    top: 4px;
    animation: fazer4 1s linear infinite;
    animation-delay: -1s;
    background: green;
}

@keyframes fazer1 {
    0% {
        left: 0;
    }

    100% {
        left: -80px;
        opacity: 0;
    }
}

@keyframes fazer2 {
    0% {
        left: 0;
    }

    100% {
        left: -100px;
        opacity: 0;
    }
}

@keyframes fazer3 {
    0% {
        left: 0;
    }

    100% {
        left: -50px;
        opacity: 0;
    }
}

@keyframes fazer4 {
    0% {
        left: 0;
    }

    100% {
        left: -150px;
        opacity: 0;
    }
}

@keyframes speeder {
    0% {
        transform: translate(2px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -3px) rotate(-1deg);
    }

    20% {
        transform: translate(-2px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 3px) rotate(-1deg);
    }

    60% {
        transform: translate(-1px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-2px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(2px, 1px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.longfazers {
    position: absolute;
    width: 100%;
    height: 100%;
}

    .longfazers span {
        position: absolute;
        height: 2px;
        width: 20%;
        background: #ababab;
    }

        .longfazers span:nth-child(1) {
            top: 20%;
            animation: lf 0.6s linear infinite;
            animation-delay: -5s;
            background: red;
        }

        .longfazers span:nth-child(2) {
            top: 40%;
            animation: lf2 0.8s linear infinite;
            animation-delay: -1s;
            background: green;
        }

        .longfazers span:nth-child(3) {
            top: 60%;
            animation: lf3 0.6s linear infinite;
            background: red;
        }

        .longfazers span:nth-child(4) {
            top: 80%;
            animation: lf4 0.5s linear infinite;
            animation-delay: -3s;
            background: green;
        }

@keyframes lf {
    0% {
        left: 200%;
    }

    100% {
        left: -200%;
        opacity: 0;
    }
}

@keyframes lf2 {
    0% {
        left: 200%;
    }

    100% {
        left: -200%;
        opacity: 0;
    }
}

@keyframes lf3 {
    0% {
        left: 200%;
    }

    100% {
        left: -100%;
        opacity: 0;
    }
}

@keyframes lf4 {
    0% {
        left: 200%;
    }

    100% {
        left: -100%;
        opacity: 0;
    }
}

.spin-15 {
    animation-name: spin;
    animation-duration: 1500ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*min mean is will not turn on until it ()*/
/*max mean is will not turn on over it*/

@media only screen and (max-width: 1280px) {
    .toolbar-logo-text {
        font-size: 1.3rem;
        margin: 3px 24px 0 6px;
    }

    .currency-menu {
        gap: 6px;
    }

        .currency-menu > .mud-chip {
            margin: 0;
        }

        .currency-menu > .mud-chip {
            font-size: 0.8rem;
            height: 26px;
            padding: 0 6px
        }

            .currency-menu > .mud-chip > .mud-icon-size-small {
                font-size: 1.1rem;
            }

    .tool-bar-user-menu {
        margin-left: 10px;
    }

    .tool-bar-user-menu-name {
        font-size: 0.9rem;
        margin-left: 3px;
        margin-top: 5px;
    }
}

@media only screen and (max-width: 900px) {
    .mud-toolbar {
        padding-left: 14px;
        padding-right: 14px;
    }

    .toolbar-logo-text {
        margin: 3px 10px 0 4px;
    }

    .currency-menu {
        gap: 4px;
        justify-content: flex-end;
        width: 290px;
    }

        .currency-menu > .mud-chip {
            margin: 0;
        }

    .tool-bar-user-menu {
        margin-left: 10px;
    }
}

@media only screen and (max-width: 700px) {
    .tool-bar-user-menu-name {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .mud-appbar .mud-toolbar-appbar {
        height: 64px;
    }
}

@media only screen and (max-width: 490px) {
    .mud-toolbar {
        padding-left: 12px;
        padding-right: 12px;
    }

    .toolbar-logo-text {
        font-size: 1rem;
    }

    .toolbar-logo-icon {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 440px) {
    .toolbar-logo-icon {
        font-size: 1.25rem;
    }

    .toolbar-logo-text {
        display: none;
    }
}
