body{
  background:#000;
  padding:0;
  margin:0
}
#generatorInput {
  background:#000;
  border:#fff solid 1px;
  margin-left:10px;
  margin-top:10px;
}
canvas{
  padding:0;
  margin:auto;
  display:block;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index:-1
}
.collapsible{
  background-image:linear-gradient(180deg,#000,#000,#383838,#f1f1f1);
  cursor:pointer;
  padding-top:5px;
  width:200px;
  text-align:left;
  font-size:15px;
  border:0;
}
.active,.collapsible:hover{
  background-color:#000;
}
.content{
  display:none;
  overflow:hidden;
  background-color:#f1f1f1;
}
.collapsible:after{
  margin-top:-25px;
  content:'\2193';
  font-size:13px;
  color:#fff;
  float:right
}
.active:after{
  content:"\2190"
}
input[type=text]{
  width:120px;
  margin:5px
}
input[type=range]{
  margin-top:0;
  width:140px
}
#generatorInput{
  position:absolute;
  display:flex;
  flex-direction:column
}
textarea{
  text-align:center;
  width:190px;
  margin:5px;
  padding:0
}
h1{
  font-family:'IBM Plex Mono',monospace;
  font-weight:500;
  color:#fff;
  font-size:14px;
  margin-bottom:5px;
  margin-top:0
}
h2{
  font-family:'IBM Plex Mono',monospace;
  font-size:18px;
  font-weight:300;
  text-align:center;
  color:#fff;
  margin:5px;
  text-transform:uppercase
}
h3{
  font-family:'IBM Plex Mono',monospace;
  font-size:14px;
  font-weight:500;
  padding-left:5px;
  margin:0
}
.titleh2{
  background-color:#000
}
.module p{
  font-family:'IBM Plex Mono',monospace;
  font-weight:200;
  font-style:italic;
  color:#00f;
  font-size:10px;
  margin-bottom:0;
  margin-top:0
}
.textureEdit{
  margin-bottom:5px
}
select{
  width:190px;
  margin:5px
}
input[type=color]{
  /* -webkit-appearance:none; */
  border:1px solid #000;
  outline:0;
  margin:0;
  padding:0;
  width:95px;
  height:20px
}
input[type=color]::-webkit-color-swatch-wrapper{
  padding:0
}
input[type=color]::-webkit-color-swatch{
  border:none
}
.module2{
  padding-bottom:10px;
  width:130px
}
p {
  font-family:'IBM Plex Mono',monospace;
  font-size:10px;
  font-weight:500;
  color:#fff;
  text-align:center;
  margin-top:2px
}
a{
  color:#fff;
  font-weight:500;
  text-decoration:underline
}
button {
  width:200px;
}
.coupling1 {
  display:flex;
  flex-direction:row;
  padding-top:10px;
  padding-bottom:10px;
  margin-left:5px;
}
.coupling2 {
  display:flex;
  flex-direction:column;
  padding-top:10px;
  padding-bottom:10px;
}
label {
  font-family:'IBM Plex Mono',monospace;
  font-size:14px;
  font-weight:500;
  margin-top:2px
}
div.coupling_label{
  padding-right:10px;
}
div.module{
  margin-bottom: 10px;
}
#recStatus {
  display:none;
  margin-top:-5px;
  padding-top: 7px;
  padding-bottom: 1px;
  background-color:red;
}

button.dropbtn {
  width:90px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 100;
  text-align: center;
  color: #000;
  background-color: #FFF;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: fixed;
  top:0;
  right:0;
  padding-right:20px;
  padding-top:10px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 90px;
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  font-family:'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 100;
  text-align: center;
  color: black;
  text-decoration: none;
  display: block;
  padding-top:5px;
  padding-bottom:5px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #0000ff;
  color: #ffffff;
}


/* switch */
#widget {
  display: block;
}

.switch {
  position: absolute;
  bottom:0px;
  left:50%;

  transform: translate(-50%,0);

  display: inline-block;
  width: 38px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}
