body {
    padding: 0;
    margin: 0
}

#unity-container {
    position: absolute;
}

#unity-container.unity-desktop {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    /* overflow: auto;  */
    max-width: 100%;
}

@media (max-width: 800px) {
    #unity-container.unity-desktop {
        top: 58%;
    }
    #section-canvas {
        margin-top: 14vh;
    }
  }

#unity-container.unity-mobile {
    width: 100%;
    height: 100%
}

#unity-canvas {
    /* background: #231F20 */
    /* background-color: rgba(0, 0, 0, 0.55); */
    /* background-color: black; */
    background: url('/img/canvas_back.png') no-repeat center;
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}

#unity-loading-bar {
    position: absolute;
    width: 100%;
    height: 100%;
    /* top: 0; */
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    /* opacity: 1; */
    /* transition: 0.5s; */
    background-color: transparent;
    /* background-color: black; */
    /* --background-start-rgb: 106, 140, 254;
    --background-end-rgb: 157, 135, 254;
    background: linear-gradient(to right, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb)); */
    bottom: 120px;
}

#unity-loading-bar.hide {
    opacity: 0;
}

#unity-logo {
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
    /* width: calc(801px * 0.3);
    height: calc(376px * 0.3);
    background: url(logo.png) no-repeat center;
    background-size: contain; */
}

#unity-progress-bar-empty {
    /* transform: scale(1); */
    /* width: 141px;
    height: 18px; */
    width: 480px;
    height: 25px;
    /* margin-top: 30px; */
    background-color: transparent;
    border-radius: 12px;
    border: 2px solid rgb(216, 216, 216);
    
    /* background-color: black; */
    /* background: url('/img/progress-bar/progress-bar-empty-dark.png') no-repeat center; */
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    border-radius: 8px;
    /* background-color: white; */
    background: linear-gradient(#bdbec6, #eef1ef);
    /* background: linear-gradient(217deg, #bdbec6, rgba(255,0,0,0) 70.71%),
            linear-gradient(127deg, #eef1ef, rgba(0,255,0,0) 70.71%),
            linear-gradient(336deg, white, rgba(0,0,255,0) 70.71%); */
    /* background: url('/img/progress-bar/progress-bar-full-dark.png') no-repeat center; */
}

span#unity-progress-message {
    margin-left: 10px;
}
#unity-footer {
    position: relative;
    height: 38px;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    gap: 0.5vw;
    min-width: 1280px;
}

.unity-mobile #unity-footer {
    display: none
}

#unity-webgl-logo {
    float: left;
    width: 204px;
    height: 38px;
    background: url('/img/webgl-logo.png') no-repeat center
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: arial;
    font-size: 18px
}

#unity-infectious-text {
    font-size: 20px;
    color: white;
}

#unity-fullscreen-button {
    float: right;
    width: 38px;
    height: 38px;
    background: url('/img/main/fullscreen-button.png') no-repeat center;
    cursor: pointer;
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}