body {
    padding: 0;
    margin: 0;
}

#unity-container {
    position: absolute;
}

#unity-container.unity-desktop {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    background: #001880;
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%;
}

#unity-loading-bar {
    position: absolute;
    left: 50%; /* Position it horizontally centered */
    top: 50%;
    transform: translate(-50%, -40%);
    display: none;
}

#unity-logo {
    position: absolute;
    left: 50%; /* Position it horizontally centered */
    top: 30%;
    transform: translate(-50%, -60%);
    width: 500px;
    height: 500px;
    background: url('unity-logo-dark.png') no-repeat center;
}

#unity-progress-bar-empty,
#unity-progress-bar-full {
    position: absolute;
    left: calc(50% - 70.5px); /* Adjust the left position */
    top: calc(80% + 28px); /* Adjust the top position */
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
}

#unity-progress-bar-empty {
    width: 141px;
    /*background-image: url('progress-bar-empty-dark.png');*/
}

#unity-progress-bar-full {
    position: absolute;
    left: calc(50% - 70.5px); /* Adjust the left position */
    top: calc(60% + 38px); /* Adjust the top position with 38px padding */
    width: 0%;
    height: 10px;
    background-image: url('progress-bar-full-dark.png');
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 5px; /* Half of the height for a circular border */
}

#unity-footer {
    position: relative;
}

.unity-mobile #unity-footer {
    display: none;
}

#unity-webgl-logo {
    float: left;
    width: 204px;
    height: 38px;
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: Arial;
    font-size: 18px;
}

#unity-fullscreen-button {
    cursor: pointer;
    float: right;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none;
}
