body {
    padding: 0;
    margin: 0;
}

#loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loader-screen .logo {
    background-image: url('./logo.png');
    width: 100%;
    height: 62.8vw;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70% 70%;
}

#error-message {
    z-index: 1001;

}

#unity-container {
    position: absolute
}

#unity-container.unity-desktop {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%
}

#unity-canvas {
    background: #231F20
}

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

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

#unity-logo {
    width: 154px;
    height: 130px;
    background: url('unity-logo-dark.png') no-repeat center
}

#unity-progress-bar-empty {
    width: 141px;
    height: 18px;
    margin-top: 10px;
    margin-left: 6.5px;
    background: url('progress-bar-empty-dark.png') no-repeat center
}

#unity-progress-bar-full {
    width: 0%;
    height: 18px;
    margin-top: 10px;
    background: url('progress-bar-full-dark.png') no-repeat center
}

#unity-footer {
    position: relative
}

.unity-mobile #unity-footer {
    display: none
}

#unity-webgl-logo {
    float: left;
    width: 204px;
    height: 38px;
    background: url('webgl-logo.png') no-repeat center
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: arial;
    font-size: 18px
}

#unity-fullscreen-button {
    cursor: pointer;
    float: right;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}

.lds-circle,
.lds-circle div {
    box-sizing: border-box;
}

.lds-circle {
    display: inline-block;
    transform: translateZ(1px);
}

.lds-circle>div {
    width: 64px;
    height: 64px;
    background: url("coinSprite.png") no-repeat 0 0%;
    background-size: 600%;
    animation: moveSpritesheet 0.2s steps(6) infinite;
    background-position: 0px;
}

iframe {
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background-color: white;
}

.fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 2rem;
    background-color: #000000a0;
    z-index: 10000;
    box-sizing: border-box;
}

.fullscreen .close {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    cursor: pointer;
    color: black;
    font-size: 2rem;
    font-weight: bold;
    z-index: 10001;
    transform: rotate(45deg);
}


@keyframes moveSpritesheet {
    from {
        background-position: 0px;
    }

    to {
        background-position: -381px;
    }
}