/* body { width: 1920px; height: 1080px; padding: 0; margin: 0 ; background: url('Bg.png') no-repeat center; background-size: cover;  background-color: black;}
#unity-container { position: fixed; width: 100%; height: 100%; background: url('Bg.png') no-repeat center;}
#unity-canvas { width: 100%; height: 100%; background: url('Bg.png') no-repeat center;}
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
#unity-logo { width: 490px; height: 252px; background: url('niftylogo.png') no-repeat center; background-size: contain; margin: 0 auto; display: block; }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 20px; background: url('progress-bar-empty-dark.png') no-repeat center;  }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 20px; background: url('progress-bar-full-dark.png') no-repeat center  ;}
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none } */

body { 
    width: 100%; 
    height: 100%; 
    padding: 0; 
    margin: 0; 
    background: url('Bg.png') no-repeat center center; 
    background-size: cover; 
}

#unity-container { 
    position: fixed; 
    width: 100%; 
    height: 100%; 
    background: url('Bg.png') no-repeat center center;
    background-size: cover;
}

#unity-canvas { 
    width: 100%; 
    height: 100%;  
    background: none; /* Remove the white screen issue */
}
#unity-loading-bar {
    position: absolute;
    left: 50%;
    bottom: 50px; /* distance from bottom */
    transform: translateX(-50%);
}
#unity-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 400px;
    background: url('niftylogo.png') no-repeat center;
    background-size: contain;
}
#unity-progress-bar-empty {
    margin: 0 auto;
    width: 1000px;
    height: 40px;
    background: url('progress-bar-empty.png') no-repeat center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    border-radius: 23px; /* match rounded corners */
}

#unity-progress-bar-full {
    height: 40px;
    background: url('progress-bar-full.png') no-repeat left center;
    background-size: cover;
    width: 0%; /* Unity will update this */
    border-radius: 23px;
}
#unity-warning { 
    position: absolute; 
    left: 50%; 
    top: 5%; 
    transform: translate(-50%); 
    background: white; 
    padding: 10px; 
    display: none;
}


@media screen and (orientation: portrait) {
    #unity-logo {
        width: 500px;   /* smaller logo */
        height: 320px;
        top: 50%;
    }

    #unity-progress-bar-empty {
        width: 250px;   /* smaller progress bar */
        height: 20px;
        border-radius: 10px;
    }

    #unity-progress-bar-full {
        height: 20px;
        border-radius: 10px;
    }

    #unity-loading-bar {
        bottom: 100px; /* move progress bar up */
    }

    /* (Optional) Portrait background image */
    #unity-container { 
        background: url('BgPortrait.png') no-repeat center center;
        background-size: cover;
    }
}
