html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

#unity-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    position: relative;
}

#unity-canvas {
    background: #000000;
    display: block; /* Ensure the canvas takes up the whole container */
    position: absolute; /* Ensure it can be positioned within the container */
}

#unity-loading-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#unity-logo {
    background: url('logo.png') no-repeat center center;
    background-size: contain;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

#unity-progress-bar-empty {
    width: 90%;
    height: 10px;
    background-color: #555;
    border-radius: 5px;
    overflow: hidden;
}

#unity-progress-bar-full {
    width: 0;
    height: 100%;
    background-color: #4CAF50;
}

#unity-warning {
    display: none;
    color: white;
    background-color: red;
    padding: 10px;
    margin-top: 10px;
}
