body {
    padding: 0;
    margin: 0
}

#unity-container {
    position: absolute
}

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

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

#unity-canvas {
    background: #231F20
}

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

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

#unity-logo {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    background: url('unity-logo-dark.png') no-repeat center;
    background-size: cover;
}

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

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

#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-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}

.progress-bar {
    background-color: #1a1a1a;
    height: 18px;
    padding: 3px;
    width: 280px;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
}


#background-full {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    background: url('background-full.png') no-repeat center;
    background-size: cover;
}


.progress-bar span {
    display: inline-block;
    height: 100%;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
    /* transition: width .4s ease-in-out; */
}

.blue span {
    background-color: #34c2e3;
}

.orange span {
    background-color: #f78f18;
    background-image: linear-gradient(top, #fecf23, #fd9215);
}

.green span {
    background-color: #a5df41;
    background-image: linear-gradient(top, #a5df41, #4ca916);
}

.stripes span {
    background-size: 30px 30px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%,
            transparent 25%,
            transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
            transparent 75%, transparent);
    animation: animate-stripes 3s linear infinite;
}

@keyframes animate-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 0;
    }
}


.shine span {
    position: relative;
}

.shine span::after {
    content: '';
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    border-radius: 3px;
    animation: animate-shine 2s ease-out infinite;
}

@keyframes animate-shine {
    0% {
        opacity: 0;
        width: 0;
    }

    50% {
        opacity: .5;
    }

    100% {
        opacity: 0;
        width: 95%;
    }
}

.glow span {
    box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset,
        0 -5px 5px rgba(255, 255, 255, .7) inset;
    animation: animate-glow 1s ease-out infinite;
}

@keyframes animate-glow {
    0% {
        box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset,
            0 -5px 5px rgba(255, 255, 255, .7) inset;
    }

    50% {
        box-shadow: 0 5px 5px rgba(255, 255, 255, .3) inset,
            0 -5px 5px rgba(255, 255, 255, .3) inset;
    }

    100% {
        box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset,
            0 -5px 5px rgba(255, 255, 255, .7) inset;
    }
}
