.cat_aaa {
  fill: rgb(143, 154, 245)
}
.cat_bbb {
  fill: rgb(245, 115, 169)
}
.cat_ccc {
  fill: rgb(186, 247, 106)
}
.cat_ddd {
  fill: rgb(240, 228, 118)
}
.container {
  width: 90%;
  margin: 6px auto;
  border: 1px dotted gray;
  box-sizing: border-box;
  padding: 4px;
}

.selection {
  display: flex;
  flex: 50% 50%;
  flex-wrap: wrap;
  text-align: center;

}
.selection h3 {
  background-color: black;
  color: white;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 6px;;
}
.selection > div {
  width: 100%
}

.container .cmd button {
  box-sizing: border-box;
  margin:  0  6px;
  width: 40%;
  padding: 0.3em;
  font-size: 0.7em;

}
#auto {
 
  width: 10% !important;
 

}
.container .cmd input[type='range'] {
  width: 50%;
  margin-left: 20px;
}
.container .cmd input[type='text'] {
  width: 10%;
  text-align: right;
  padding: 0.2em;
}

svg {
  margin: 10px 0 0;
  border: 1px solid gray;
  min-height: 400px;
  box-sizing: border-box;
  width: 100%;
  font-size: 0.8em;
}
text {
  /* fill: white; */
  /* text-shadow: 0 0 1px #000; */
  stroke:black ;
  stroke-width: 0.5;
}

rect {
  box-shadow: 0 0 10px #000;
  stroke: #000;
  stroke-width: 0.1;
}

/* Portrait */
@media only screen 
  and (max-device-width: 800px) {
    svg {
     
      font-size: 0.5em;
    }
}