body{
  background-color: rgba(0, 0, 0, 0.5);
}

/* main container for all components */
#main-box{
  display: flex;
  flex-wrap: wrap;
}

/* canvas */
#display{
  border-style: solid;
  border: rgba(0, 0, 0, 1);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
  width: 100vw;
  height: 65vh;
  margin: 0,0,100px,200px;
}

/* control panel */
#control-panel {
  width: 100vw;
  height: 30vh;
  margin-top: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 15px;
  top: 10%;
  left: 10%;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

/* Title of the control panel */
#control-panel h2 {
  text-align: center;
  font-style: bold;
  color: #ffcc00;
}

/* Container for control sections */
.control-section {
  display: flex

}

/* Style for buttons */
input[type="button"] {
  width: 50%;
  margin: 4px;
  background-color: #ffcc00;
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ff9900;
}

/* Style for sliders */
input[type="range"] {
  width: 50%;
  height: 8px;
  border-radius: 5px;
  background: #444;
  appearance: none;
  margin: 10px
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ffcc00;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ffcc00;
  border-radius: 50%;
  cursor: pointer;
}

/* Style for toggle switches */
.toggle-switch {
  display: inline-block;
  width: 60px;
  height: 30px;
  background-color: #444;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
}

.toggle-switch::after {
  content: "";
  width: 26px;
  height: 26px;
  background-color: #ffcc00;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
}

.toggle-switch.active::after {
  transform: translateX(30px);
}

.toggle-switch.active {
  background-color: #44c767;
}

/* Style for text input fields */
input[type="text"], input[type="number"] {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #555;
  background-color: #333;
  color: white;
  font-size: 16px;
}
