body {
    padding: 0;
    margin: 0;
    background-color: #000000;
}

#unity-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#unity-container.unity-desktop {
    width: 800px;  /* Set fixed width for desktop */
    height: 600px; /* Set fixed height for desktop */
}

.unity-mobile {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;  /* Full viewport width */
    height: 100vh; /* Full viewport height */
}

#unity-canvas {
    background: #000000;
    width: 100%;  /* Ensure the canvas fills the container */
    height: 100%; /* Ensure the canvas fills the container */
    object-fit: contain; /* Ensures the canvas fits within the viewport without cutting off */
}

.unity-mobile #unity-canvas {
    width: 100%;  /* 100% of the container */
    height: 100%; /* 100% of the container */
    object-fit: contain; /* Fit to the screen, maintaining aspect ratio */
}

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

#unity-logo {
    width: 154px;
    height: 130px;
    background: url('unity-logo-dark.png') no-repeat center;
}

#unity-progress-bar-empty {
    width: 141px;
    height: 18px;
    margin-top: 10px;
    margin-left: 6.5px;
    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-footer {
    position: relative;
}

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