@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;300&family=Poppins:wght@100;200&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Cuprum', sans-serif;
}


body {
  margin: auto;
  padding: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  border: 2px solid black;
  margin: auto;
  z-index: -1;
  --scrollbarBG: green;
  --thumbBG: #e93e0a;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
}

#treenode {
  z-index: 3;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  opacity: 0.3;
  display: none;
}

.sourcecodeNOTINUSE {
  position: relative;
  text-align: center;
  top: 11%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Source Code Pro', monospace;
}

.sourcecode {
  font-size: 1.2em;
}

/* Start Of: Custom Social Media Icons */
ul {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  display: flex;
}

ul li {
  list-style: none;
}

ul li a {
  position: relative;
  width: 66px;
  height: 66px;
  background: #f1f1f1;
  display: block;
  text-align: center;
  margin: 0 10px;
  border-radius: 50%;
  padding: 6px;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(0deg, #ddd, #fff);
  transition: .5s;
}

ul li a:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

ul li a .fa {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(0deg, #fff, #ddd);
  border-radius: 50%;
  line-height: calc(60px - 12px);
  font-size: 34px;
  color: #262626;
  transition: .5s;
}

ul li:nth-child(1) a:hover .fa {
  color: #3b5998;
  /* facebook */
}

ul li:nth-child(2) a:hover .fa {
  color: #bb0000;
  /* youtube */
}

ul li:nth-child(3) a:hover .fa {
  color: #00aced;
  /* twitter */
}

ul li:nth-child(4) a:hover .fa {
  color: #dd4b39;
  /* google plus */
}

ul li:nth-child(5) a:hover .fa {
  color: #007bb6;
  /* linkedin */
}

ul li:nth-child(6) a:hover .fa {
  color: #b26a8d;
  /* instagram*/
}

/* End Of: Custom Social Media Icons */
/* Start Of: Custom Checkboxes */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.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: 4px;
  bottom: 4px;
  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(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#Options {
  display: none;
  border-color: rgb(139, 1, 194);
  /*
border: 3px dotted rgb(139, 1, 194);
border-style: dotted;
*/
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
}

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

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

#canvasfractal2 {
  position: absolute;
  background: white;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* End Of: Custom Checkboxes */
@font-face {
  font-family: myFirstFont;
  src: url(sansation_light.woff);
}

#myFirstFont {
  font-family: myFirstFont;
}

#fractal {
  position: absolute;
  background: white;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#fractal_font {
  font-family: 'Zilla Slab', serif;
  font-size: 1.5em;
}

.refresh {
  position: absolute;
  top: 1%;
  left: 1%;
  cursor: pointer;
  width: inherit;
  border: 1px solid;
  padding: 10px;
  box-shadow: 5px 10px;
  z-index: 100;
}

.generate-tree-button {
  cursor: pointer;
  outline: none;
  border: none;
  position: absolute;
  left: 0;
  bottom: 5%;
  z-index: 10;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 20px 30px;
  border-radius: 50px;
  background: green;
  color: white;
  width: 300px;
  overflow: hidden;
}

.generate-tree-button:hover {
  color: white;
}

#hexColor {
  position: relative;
  bottom: 4%;
  left: 1%;
  z-index: 300;
  color: green;
  background-color: grey;
  border: 1px thin black;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

/* Start of: Slider GUI controls */
.slidecontainer {
  position: absolute;
  top: 8%;
  background-color: #663300;
  margin: auto;
  padding: 0;
  right: 0.5%;
  bottom: 0%;
  width: 11%;
  height: 87%;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  /* display: flex; */
  font-family: 'Zilla Slab', serif;
  font-size: 1.2em;
  font-weight: bold;
  border-style: outset;
  border-color: green;
  border-width: thick;
  /* border: 1px solid; */
  padding: 10px;
  box-shadow: 2px 2px 4px 7px;
  width: fit;
  z-index: 140
}

.slidecontainerInner {
  background-color: #804000;
  position: block;
  border-style: inset;
  border-color: white;
  height: 100%;
  top: 2%;
  left: 50%;
  text-align: center;
  justify-content: center;
  color: white;
  font-weight: 300;
}

.hamburgerMenu {
  position: absolute;
  z-index: 500;
  top: 0%;
  right: 0%;
  margin: 1%;
  padding-top: 1px;
  cursor: pointer;
}

#hamburger:hover {
  -webkit-animation: change-color 2s ease 0s infinite normal;
  -moz-animation: change-color 2s ease 0s infinite normal;
  -ms-animation: change-color 2s ease 0s infinite normal;
  animation: change-color 2s ease 0s infinite normal;
  padding: 4px;
  border: 1px solid black;
  box-shadow: 1px 1px 2px black;
  /* filter: hue-rotate(); */
}

img {
  cursor: pointer;
}

#hamburger {
  cursor: pointer;
}

#colorpicker {
  cursor: pointer;
  color: white;
  /* animation: round 2s infinite; */
}

#colorpicker:hover {
  animation: round 2s infinite;
}

#alphaBranch {
  padding-bottom: 1px;
}

#bg-color {
  margin-top: 4px;
}

#bgImage {
  margin-top: 8px;
  padding-top: 11px;
}

#bgImageToggle {
  margin-bottom: -4px;
  padding-bottom: -12px;
}

/* Start of: Audio and Visualizers */
#music {
  position: absolute;
  bottom: 2%;
  left: 2%;
  z-index: 1000;
  width: 100px;
  height: 100px;
  transition: all 1s ease-in-out;
}

.music:hover {
  transform: scale(1.2);
  opacity: 0.5;

}

.ftg {
  transition: all 1s ease-in-out;
}

.ftg:hover {
  background-color: rgb(101, 156, 29);
  border: 1px solid black;
  color: black;
}

#fractal_tree {
  position: absolute;
  cursor: pointer;
  width: 200px;
  height: auto;
  bottom: 2%;
  left: 8%;
  transition: all 1s ease-in-out;
}


#fractal_tree:hover {
  transform: scale(1.5) .5s ease-in-out;
  filter: invert();
}

#dat-gui {
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: 2%;
  right: 14%;
  z-index: 1000;
  width: 100px;
  height: 100px;
  transition: all 1s ease-in-out;
}

.dat-gui:hover {
  border: 1px solid black;
  transform: scale(1.2);
  /* opacity: 0.5; */

}

/* End of: Audio and Visualizers */


#playpause {
  position: relative;
  z-index: 54;
}

/* The slider itself */

.slider {
  border: 1px solid black;
  background-color: rgb(156, 110, 25);
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: green;
}


.slider:before {
  /* background-color: #b8b8b8; */
}

.sliderRange {
  -webkit-appearance: none;
  /* Override default CSS styles */
  appearance: none;
  width: 100%;
  /* Full-width */
  height: 25px;
  /* Specified height */
  background: #04AA6D;
  /* Grey background */
  outline: none;
  /* Remove outline */
  opacity: 0.7;
  /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s;
  /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

/* Mouse-over effects */
.sliderRange:hover {
  opacity: 1;
  border: 1px solid black;
  /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.sliderRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #e68a00;
  cursor: pointer;
  box-shadow: 4px 4px 3px rgb(0, 0, 0);
  border: 1px solid black;
  transition: all 0.5s ease-in-out;
}

.sliderRange::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.sliderRange::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #e68a00;
  cursor: pointer;
  box-shadow: 4px 4px 3px rgb(0, 0, 0);
  border: 1px solid black;
  transition: all 0.5s ease-in-out;
}

.sliderRange::-moz-range-thumb:hover {
  transform: scale(1.3);
}

.slider .round {
  background-color: green;
  ;
}

/* End of: Slider GUI Controls */

/* Start of: Animations */
@keyframes round {
  0% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(60deg);
  }

  20% {
    transform: rotate(120deg);
  }

  40% {
    transform: rotate(180deg);
  }

  60% {
    transform: rotate(240deg);
  }

  80% {
    transform: rotate(300deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes change-color {
  0% {
    background-color: green;
  }

  100% {
    background-color: rgb(2, 97, 19);
  }
}

@keyframes change-color {
  0% {
    background-color: green;
  }

  100% {
    background-color: rgb(2, 97, 19);
  }
}

/* End of: Animations */