:root {
  --color-bg: #000;
  --color-text-main: #000000;
  --color-primary: #FFFF00;
  --wrapper-height: 87vh;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "HK Grotesk";
  --font-family-header: "HK Grotesk";
}


* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}


@font-face {
  font-family: HK Grotesk;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
    format("opentype");
}
@font-face {
  font-family: HK Grotesk;
  font-weight: bold;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
    format("opentype");
}



body {
  font-family: HK Grotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #000;
  margin: 0 auto;
  display: flex;
  align-content: flex-end;
  justify-content: center;
  align-items: flex-end;
  flex-direction: row;
  height: 100vh;
  padding: 1rem;
  padding-bottom: 8rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
}


p.credit {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #241f40;
    text-transform: none;
    letter-spacing: initial;
    /*     font-weight: normal; */
    opacity: .9;
    mix-blend-mode: difference;
    background: #fff;
    padding: 0.2rem .75rem;
    border-radius: 2rem;
}

a.link-in-credit {
  color: #241f40;
}

a.link-in-credit :visited, a.link-in-credit:focus {
  color: #241f40;
}

.slider-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  background: #241f20;
  width: 100%;
  border-radius: 1rem;
  padding: 1.65rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  transition: all 0.6s cubic-bezier(0.83, 0, 0.17, 1);
}

.mode-wrap {
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.controls {
  width: 100%;
  /*     background: #241f20; */
  padding: 0rem;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  /*     border-radius: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem; */
  max-width: 30vw;
/*   position: relative; */
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.83, 0, 0.17, 1);
}

@media screen and (max-width: 1024px) {
  .controls {
    max-width: 70vw;
  }
}

@media screen and (max-width: 700px) {
  .controls {
    max-width: 85vw;
  }
}


p {
  font-size: 0.98rem;
  color: #fff;
  margin: 0rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

#panel {
  width: 100vw;
  height: 100vh;
  background: hsl(360deg, 100%, 100%, 100);
  position: absolute;
  z-index: 0;
  top: 0rem;
  left: 0rem;
  opacity: 100%;
  z-index: 1;
}

#valBox {
  display: none;
}

input[type=range] {
  height: 26px;
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
  background:none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 24px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #FFFFFF;
  border-radius: 20px;
  border: 0px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 2px solid #FFFFFF;
  height: 24px;
  width: 24px;
  border-radius: 25px;
  background: #241f20;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: 0px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #FFFFFF;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 24px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #FFFFFF;
  border-radius: 20px;
  border: 0px solid #000000;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 2px solid #FFFFFF;
  height: 24px;
  width: 24px;
  border-radius: 25px;
  background: #000000;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 24px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #FFFFFF;
  border: 0px solid #000000;
  border-radius: 40px;
  box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-fill-upper {
  background: #FFFFFF;
  border: 0px solid #000000;
  border-radius: 40px;
  box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px #000000;
  border: 2px solid #FFFFFF;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #000000;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #FFFFFF;
}
input[type=range]:focus::-ms-fill-upper {
  background: #FFFFFF;
}


.brightness-icon svg,
.temperature-icon svg,
.hsl-icon svg {
  width: 100%;
}

.brightness-icon,
.temperature-icon,
.hsl-icon {
  width: 2.25rem;
  margin-right: 0.8rem;
}

.info-wrap {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

.brightness-head,
.temp-head,
.hsl-head {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

.hsl-sliders,
.brightness-slider,
.kelvin-slider {
  width: 100%;
}

.button {
  background: none;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  margin-right: 1rem;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.1rem;
  font-size: 0.9rem;
  color: #ffffff;
  border: 2px solid #ffffff;
  transition: all 0.6s cubic-bezier(0.83, 0, 0.17, 1);
  mix-blend-mode: exclusion;
}

#how.button {
  background: none;
  text-transform: none;
  border-radius: 2rem;
  margin-right: 1rem;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: inherit;
  font-size: 1.12rem;
  color: #fff;
}

.button.active {
  background: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  margin-right: 1rem;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.1rem;
  font-size: 0.9rem;
  color: #000;
  transition: all 0.6s cubic-bezier(0.83, 0, 0.17, 1);
  mix-blend-mode:difference;
/*   -webkit-font-smoothing: none; */
}

.hide {
  display: none;
}

.unit-holder {
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.unit-holder input {
  padding-left: 1rem;
  padding-right: 1rem;
}

.unit-holder p {
  min-width: 40px;
  text-align: center;
  pointer-events:none;
}