
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden;
}

body {
    background-color: aqua;
    width: 100vw;
    min-height: 100vh;
}

/* Canvas container should NOT size itself to content */
#Canvas_container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Responsive canvas */
#BackgroundCanvas {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid black;
    border-radius: 10px;
    background-color: rgb(0, 0, 0);
}

/* Controls panel */
#Controlls {
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* Make sliders responsive */
#Controlls input[type="range"] {
    width: 100%;
}

/* Optional: make labels readable */
#Controlls label {
    font-size: 16px;
    font-weight: 500;
}