/* styles.css */
body {
    margin: 0;
    overflow: hidden;
    background: #000; /* Dark background for space effect */
}

canvas {
    display: block; /* Ensure canvas fills the screen */
}

#ui {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff; /* White text for contrast */
    font-family: 'Arial', sans-serif;
    background: rgba(0, 0, 0, 0.7); /* Slightly transparent background */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
    z-index: 1; /* Ensure it stays on top of the canvas */
}

#ui label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#ui select,
#ui input {
    margin: 5px 0;
    padding: 10px;
    border: 2px solid #444; /* Dark border */
    border-radius: 5px;
    background: #333; /* Dark background for input fields */
    color: #fff; /* White text */
    font-size: 16px;
    width: 100%;
}

#ui select:focus,
#ui input:focus {
    border-color: #666; /* Lighter border color on focus */
    outline: none; /* Remove default outline */
    background: #444; /* Slightly lighter background on focus */
}

#ui input[type="range"] {
    width: 100%; /* Full-width slider */
    -webkit-appearance: none; /* Remove default styling */
    background: #444; /* Background of the slider */
    height: 8px; /* Slider height */
    border-radius: 5px; /* Rounded slider */
}

#ui input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #fff; /* Thumb color */
    border-radius: 50%; /* Circular thumb */
    height: 20px; /* Thumb height */
    width: 20px; /* Thumb width */
    cursor: pointer; /* Pointer cursor on hover */
}

#ui input[type="range"]::-moz-range-thumb {
    background: #fff; /* Thumb color */
    border-radius: 50%; /* Circular thumb */
    height: 20px; /* Thumb height */
    width: 20px; /* Thumb width */
    cursor: pointer; /* Pointer cursor on hover */
}

#ui input[type="range"]::-ms-thumb {
    background: #fff; /* Thumb color */
    border-radius: 50%; /* Circular thumb */
    height: 20px; /* Thumb height */
    width: 20px; /* Thumb width */
    cursor: pointer; /* Pointer cursor on hover */
}

