@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono");

html,
body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  font-size: 13px;
  font-family: "Roboto Mono", sans-serif;
  filter: hue-rotate(0deg);

  color: #ffffff;
  background-color: black;
}

canvas {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  /*   filter: blur(1px); */
}

.sliderContainer {
  position: absolute;
  top: 0vh;
  opacity: 1;
}

.butterfly {
  position: absolute;
  top: 1vh;
}

.forewing {
  position: absolute;
  top: 31vh;
}

.hindwing {
  position: absolute;
  top: 61vh;
}

.slider {
  -webkit-appearance: none;
  background: transparent;
  outline: solid #7fff00;
  border-radius: 10px;
  cursor: pointer;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  width: 100px;
}

.hue {
  position: fixed;
  top: 85vh;
}

#hue {
  width: 50px !important;
}

/* #hueRotateRange p {
  position: absolute;
  top: 81vh;
} */

button {
  position: absolute;
  top: 95vh;
  color: #ffffff;
  background-color: transparent;
  cursor: pointer;
  border-color: #7fff00;
  border-style: solid;
  border-radius: 10px;
  /*   border-width: 0.1em; */
  font-size: 13px;
  font-family: "Roboto Mono", sans-serif;
}

#credits {
  height: 100%;
  width: 100%;
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: "Roboto Mono", sans-serif;
  color: #7fff00;
  opacity: 0;
  z-index: -1;
}

h1 {
  position: absolute;
  top: 35vh;
}

h4 {
  position: absolute;
  top: 45vh;
}

#credits p {
  position: absolute;
  top: 52vh;
}
a {
  color: #ff1493;
}

a:hover {
  color: violet;
}

.slider.switch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.slider::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
  background: #ff1493;
  cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

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

.slider.switch:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 0px;
  bottom: 0px;
  background-color: #ff1493;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 10px;
}

input:checked + .slider {
  background-color: #7fff00;
}

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

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