body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.container {
width: 100%;
max-width: 1000px; /* Set to the same as the chart container */
margin: 20px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}

h1 {
font-size: 24px;
margin-bottom: 20px;
color: #333;
}

form {
display: grid;
grid-template-columns: 1fr 1fr 1fr  ; /* 2 columns */
gap: 10px;
}

label {
font-size: 14px;
color: #555;
}

input[type="color"],
input[type="range"] {
width: 200px;
height: 30px;
border: none;
cursor: pointer;
margin-bottom: 10px;
}

input[type="range"] {
margin-top: -10px;
}
.text {
width: 200px;
height: 30px;
/*margin-top: -10px;*/
}
button {
grid-column: 1 / span 3; /* Span across both columns */
padding: 10px;
background-color: #1b813e;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}

button:hover {
background-color: #145c2e;
}

#chart-container {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}

canvas {
width: 100% !important;
height: auto !important;
}
