html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

html, body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    position: fixed;
    inset: 0;
    touch-action: none;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
    -webkit-user-select: none;
    user-select: none;
}

canvas {
    display: block;
}

body {
    margin: 0;
    background: #1a1d20;
}

#unity-container {
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
    overflow: hidden;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: #1a1d20;
    outline: none;
    touch-action: none;
}

.unity-mobile {
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%;
}

#loading-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#unity-logo {
    text-align: center;
    max-width: 250px;
    margin-bottom: 20px;
}

#unity-progress-bar-empty {
    width: 250px;
    height: 25px;
    text-align: left;
    border: 2px solid #ffffff;
    border-radius: 2px;
    padding: 2px;
    max-width: 250px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: #006cfa;
    border-radius: 2px;
}

.light #unity-progress-bar-empty {
    border-color: black;
}

.light #unity-progress-bar-full {
    background: black;
}

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 5em;
    height: 5em;
}

.spinner {
    margin: 10px;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #006cfa;
    transform: translateZ(0);
    animation: spinner-spin 1.1s infinite linear;
}

@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}

#circularLoad {
    background-color: beige;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab) 0 0/300% 300%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999,
}

#icon {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    position: absolute;
    margin-top: -50px
}

#loader {
    margin-top: -50px;
    border-width: 0.35rem;
    border-style: solid;
    border-color: #026dfa #00ffda #d300ff #00ff05;
    border-radius: 50%;
    display: block;
    width: 10rem;
    height: 10rem;
    animation: rotate 1.2s linear infinite
}

#tips {
    position: absolute;
    margin-top: 240px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    letter-spacing: 10px
}
