body {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url("BG_EAVWebGL.png") no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

#unity-container {
    position: absolute;
}

#unity-container.unity-desktop {
     width: 90vw;
    height: 90vh;
    max-width: calc(90vh * 16 / 9);
    max-height: calc(90vw * 9 / 16);
}

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

#unity-canvas {
    background: transparent;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 100vh;
    max-width: 100vw;
}

.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: 512px;
    height: 211px;
    display: block;
    margin: 40px auto 20px auto;
    object-fit: scale-down;
    background: url('loadingicon2.png') no-repeat center
}

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

#unity-progress-bar-empty {
    background-color: #e0e0e0;
    border-radius: 4px;
    height: 20px;
    margin: 0 auto;
    width: 70%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

#unity-progress-bar-full {
    background: linear-gradient(90deg, #03CB73, #005D6B);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease-in-out;
    border-radius: 4px;
}

#unity-footer {
    position: relative
}

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

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