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 {
    position: fixed;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    background: linear-gradient(180deg, #000000 0%, #000000 55%, #000000 100%);
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

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

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

#unity-logo {
    width: 180px;
    height: 180px;
    background: url('unity-logo-dark.png') no-repeat center center;
    background-size: contain;

    margin: 0 auto;

    /* Breathing Animation */
    animation: logoBreath 2.5s ease-in-out infinite;
    transform-origin: center center;
}

#unity-loading-bar .unity-loading-text {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: white;
    margin-top: 40px;

    /* Breathing Animation */
    animation: textBreath 1s ease-in-out infinite;
}

/* Logo Breathing */
@keyframes logoBreath {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

/* Loading Text Breathing */
@keyframes textBreath {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.03);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

#unity-progress-bar-empty {
    width: 261px;
    height: 18px;
    margin: 10px auto 0 auto;
    /* Centers horizontally */
    background: url('progress-bar-empty-dark.png') no-repeat center;
    /* background-size: cover; */
    position: relative;
    border-radius: 9px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 18px;
    background: url('progress-bar-full-dark.png') no-repeat left center;
    border-radius: 9px;
}

#unity-footer {
    position: relative
}

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

#unity-logo-title-footer {
    float: left;
    width: 102px;
    height: 38px;
    background: url('unity-logo-title-footer.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
}