body {
    padding: 0;
    margin: 0;
}
#unity-container {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent overflow */
}
#unity-canvas {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0c1e5c, #3422e6, #4f67be); /* Example gradient */
    background-size: 200% 200%; /* Extend background size for the animation */
    animation: scrollGradient 15s linear infinite; /* Apply animation */
}

/* Define the scrolling gradient animation */
@keyframes scrollGradient {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    border-radius: 10px;
}
#unity-logo {
    width: 154px;
    height: 130px;
    background: url('unity-logo-dark.png') no-repeat center;
}
#unity-progress-bar-empty {
    margin-left: auto;
    margin-right: auto;
    width: 141px;
    height: 18px;
    margin-top: 10px;
    background: url('progress-bar-empty-dark.png') no-repeat center;
}
#unity-progress-bar-full {
    width: 0%;
    height: 18px;
    margin-top: 10px;
    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;
}
#unity-loading-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    z-index: 10; /* Ensure it's above the progress bar */
}

