  body {
    font-family: sans-serif;
    background-color: #222;
    color: #eee;
	font-family: 'Monsterrat', Arial, Helvetica, sans-serif;
    display: flex;
	flex-direction: column;
    width: 1024px;           /* all content constrained to this width */
    gap: 5px;	

  }
  h1{
	  color: #44444444;
	font-size: 48px;
	  width: 1024px;
	  text-align: center;
      padding: 0px;
	   margin-top: 2px;   
  text-shadow:
    inset 0 5px 5px rgba(255,255,255,1), /* highlight */
    0 5px 5px rgba(0,0,0,1);             /* inner depth */
  }
  h2{
	  font-size: 18px;
	  text-align: left;
      padding: 0px;
  }
.subpanel{
	background: #444;
    border: 1px inset #555;
	border-radius: 8px;
	padding: 8px;
	font-size: 14px;
}
.top_panel {
    width: 1024px;
    height: 64px;
	display: flex;
	flex-direction: column;
    box-sizing: border-box;
	background: 
    linear-gradient(to right, #666, #f6f),  /* horizontal gradient */
    linear-gradient(to bottom, #333, #3f3); /* vertical gradient */
    background-blend-mode: screen; /* combine them */
    border: 2px outset #555;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }

  #panel {
    background: linear-gradient(to bottom, #666, #444);
    width: 1024px;
    height: 128px;
    display: flex;
    padding: 8px;
    box-sizing: border-box;
    border: 2px outset #777;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }
  #preview {
    width: 106px;
    height: 106px;
    border: 2px inset #555;
	border-radius: 6px;
    margin-right: 8px;
  }

 .panel {
    width: 1024px;
    padding: 8px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #555, #543); 
    border: 2px outset #777;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }
.sliders {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  min-width: 0;   /* <— important */
}
  .slider-group {
    display: flex;
    justify-content: space-between;
  }
  .slider-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 8px;
  }
  .slider-row {
    display: flex;
    align-items: center;
	gap: 12px;
  }
  .slider-row label {
    font-size: 12px;
    width: 20px;
  }
  .slider-row input[type="range"] {
    flex: 1;
    margin: 4px;
	align-items: stretch; 
  }
  .slider-value {
    width: 36px;
    text-align: right;
    font-size: 12px;
	margin-right: 30px;
  }
input[type="text"]{
    width: 80px;
    padding: 4px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #222;
    color: #eee;
    margin-top: 0px;
  }
input[type="range"] {
  -webkit-appearance: none;
  height: 10px;
  background: #111;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  border-radius: 5px;
    border-style: inset;
  border-width: 2px;
   border-color: #222;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 15px;
  background: #777;
  cursor: pointer;
  border-radius: 10px;
  border-style: outset;
  border-width: 2px;
}

input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 15px;
  background: #777;
  cursor: pointer;
  border-radius: 10px;
  border-style: outset;
  border-width: 2px;
  border-color: #666;
}
.input[type="range"]:hover {
  opacity: 1;
}
.button {
  background: #666;
  color: #fff;
  font-family: sans-serif;
  font-size: 14px;
  padding: 0px 20px;
  border-radius: 6px;
  cursor: pointer;

  border: 2px outset #888;         /* main dark border */
  outline: 1px inset #555;        /* lighter outer edge */
  outline-offset: 1px;           /* pulls outline inside, creating “embedded” rim */
  transition: background 0.15s ease-in-out;
}

.button:hover {
  background: #777;
}

.button:active {
  background: #555;
  border-color: #333;
  outline-color: #999;
}
