body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
}

#unity-container {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#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: #231F20;
}

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

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ffffff;
    border-radius: 10px;
    display: block;
}

#unity-logo {
            position: absolute;
            top: calc(50% - 100px); /* Yükleme çubuğunun üstünde yer alır */
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: auto;
}

#unity-progress-bar-empty {
    width: 100%;
    height: 100%;
    position: relative;
    background: url('progress-bar-empty.png') no-repeat center;
    background-size: cover;
}

#unity-progress-bar-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #4caf50;
    border-radius: 8px;
    transition: width 0.3s ease;
}

#unity-footer {
    position: relative;
}

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

#unity-webgl-logo {
    float: left;
    width: 204px;
    height: 38px;
    background: url('webgl-logo.png') no-repeat center;
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #ffffff;
}

#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;
    border: 1px solid #ccc;
    border-radius: 5px;
}
