body {
    margin: 0;
    overflow: hidden;
    font-family: sans-serif;
    background-color: #111;
    color: #eee;
}

/* Style for the main title */
h1 {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #eee;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    z-index: 11; /* Ensure it's above the UI */
    margin: 0;
    padding: 0;
    font-size: 2em; /* Make it prominent */
}


#three-canvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

#editor-ui {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

#editor-ui label {
    display: inline-block;
    width: 60px;
}

#editor-ui input[type="range"] {
    vertical-align: middle;
    width: 150px;
}

#editor-ui input[type="color"] {
     vertical-align: middle;
     padding: 0;
     border: none;
     height: 25px;
     width: 50px;
}

#editor-ui input[type="file"] {
    width: 100%;
    box-sizing: border-box;
}

#scale-value {
    margin-left: 5px;
    display: inline-block;
    width: 40px;
}

/* Adjusted h3 inside the UI to be a subtitle */
#editor-ui h3 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.2em; /* Smaller than h1 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}