body {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#unity-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;          /* Add these three lines */
    align-items: center;    /* for centering */
    justify-content: center;/* the canvas */
}

#unity-container.unity-desktop {
    width: 100vw;
    height: 100vh;
}

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

#unity-canvas {
    width: 100vw;
    height: 100vh ;
    background: #231F20;
    display: block;
}

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

#custom-loading-screen {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    z-index: 10;
}

#loading-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../StreamingAssets/image.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
}

#loading-progress {
    position: absolute;
    bottom: 10%;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

.progress-container {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.3s ease;
}

.progress-text {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

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