body {
    margin: 0;
    background-color: #141414;
    color: #fff;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  
  #canvasContainer {
    flex: 1;
    position: relative;
  }
  
  canvas {
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgb(20,20,20);
  }
  
  /* Updated Controls section to center contents */
  #controls {
    background-color: rgb(30,30,30);
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #controls h1 {
    margin: 0 0 10px;
    text-align: center;
    font-size: 24px;
  }
  
  /* Color Changing Text */
  #changingText {
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
    animation: colorChange 5s linear infinite;
  }
  
  /* Animation keyframes for color changing text */
  @keyframes colorChange {
    0%   { color: red; }
    20%  { color: orange; }
    40%  { color: yellow; }
    60%  { color: green; }
    80%  { color: blue; }
    100% { color: violet; }
  }
  
  /* Set a max width and center the control rows */
  .control-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    width: 80%;
    max-width: 400px;
    justify-content: space-between;
  }
  
  .control-row label {
    width: 80px;
    text-align: left;
  }
  
  .control-row input[type="range"] {
    flex: 1;
    margin: 0 10px;
  }
  
  .control-row input[type="number"] {
    width: 60px;
  }
  
  /* Button row remains centered */
  .button-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }
  
  .button-row button, .button-row input[type="color"] {
    padding: 8px 12px;
    background-color: rgb(50,50,50);
    color: white;
    border: none;
    cursor: pointer;
  }
  
  .button-row button:hover, .button-row input[type="color"]:hover {
    background-color: rgb(70,70,70);
  }
  