
#instructions {
	font-size: 18px;
	z-index: 2;
	padding: 25px;
}

#canvas{
	display:block;
}

#switches{
	display:flex;
	flex-direction:column;
	justify-content: center;
	gap: 20px;
	font-size: 25px;
}

#sliders{
	margin-top:20px;
	padding:20px;
	font-size: 25px;
}

.switch{
	width:300px;
}

show{
	display:block;
}

hide{
	display:hidden;
}

input[type=number]{
  border-radius: 20px;
  padding: 5px;
}

body {
	margin: 0px;
	font-family: 'K2D', sans-serif;
}

* {
  box-sizing: border-box;
}

/* Menu Styling */
.menu__toggler {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 999;
  height: 28px;
  width: 28px;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.menu__toggler span,
.menu__toggler span::before,
.menu__toggler span::after {
  position: absolute;
  content: "";
  width: 28px;
  height: 2.5px;
  background: #000;
  border-radius: 20px;
  transition: 500ms cubic-bezier(0.77, 0, 0.175, 1);
}
.menu__toggler span::before {
  top: -8px;
}
.menu__toggler span::after {
  top: 8px;
}
.menu__toggler.active > span {
  background: transparent;
}
.menu__toggler.active > span::before, .menu__toggler.active > span::after {
  background: #005c9c;
  top: 0px;
}
.menu__toggler.active > span::before {
  transform: rotate(-225deg);
}
.menu__toggler.active > span::after {
  transform: rotate(225deg);
}

/*
 * SLIDING MENU PANEL
 */
.menu {
  position: absolute;
  left: -500px;
  z-index: 998;
  color: #005c9c;
  background-image: linear-gradient(to bottom right, #7b99ef94, #75ed9f85);
  -webkit-clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  width: 400px;
  height: 100%;
  padding: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 300ms left cubic-bezier(0.77, 0, 0.175, 1);
}
@media only screen and (max-width: 600px) {
  .menu {
    width: 250px;
    left: -500px;
    padding: 50px;
  }
}
.menu.active {
  left: 0;
}
.menu p {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}


/* Switch styling */

input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

input[type=checkbox]:focus {
  outline: 0;
}

.toggle {
  height: 32px;
  width: 72px;
  border-radius: 16px;
  display: inline-block;
  position: relative;
  margin: 0px 0px -6px 0px;
  border: 2px solid rgba(219, 24, 5, 1);
  background: black;
  transition: all 0.2s ease;
}
.toggle:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  transition: all 0.2s cubic-bezier(0.5, 0.1, 0.75, 1.35);
}
.toggle:checked {
  border-color: rgb(94, 235, 52);
}
.toggle:checked:after {
  transform: translatex(40px);
}