
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-collapse: collapse;
  line-height: 1;
  font-family: sans-serif;
}

*:not(body) {
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}

body {
  position: relative;
}

[hidden] {
  display: none !important;
}

ul, ol, menu {
  list-style: none;
}

a {
  color: inherit;
}

fieldset {
  border: none;
}

@font-face {
  font-family: 'Simplifica';
  src: url("../fonts/Simplifica.eot") format('embedded-opentype'),
       url("../fonts/Simplifica.woff2") format('woff2'),
       url("../fonts/Simplifica.woff") format('woff'),
       url("../fonts/Simplifica.ttf") format('truetype'),
       url("../fonts/Simplifica.svg") format('svg');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: #CCC;
  color: white;
}

canvas {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.Ui {
  position: relative;
  z-index: 5;
  padding: 20px;
  padding-top: 35px;
  width: 100%;
  height: 100%;
}

h1 {
  position: absolute;
  width: 60px;
  bottom: 15px;
  opacity: 0.6;
}

h1 img {
    width: 100%;
    display: block;
}

.Pickers {
  position: absolute;
  bottom: 5%;
  left: 5%;
}

.Pickers span {
    font-size: 24px;
    font-size: 1.5rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.Pickers input[type=range] {
    -webkit-appearance: none;
    outline: none;
    /* border-radius: 5px */
    cursor: pointer;
    /* spline-dance-shadow: 0px 0px 0px 1px #eee */
    width: 200px;
    height: 2px;
    display: inline-block;
    vertical-align: middle;
}

.Pickers input::-webkit-slider-thumb {
    -webkit-appearance: none;
            appearance: none;
    background: black;
    cursor: pointer;
    -webkit-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    opacity: 0;
}

.Pickers input::-webkit-slider-thumb:hover {
      border: 1px solid white;
}

.Pickers input::-moz-range-thumb {
    -moz-appearance: none;
         appearance: none;
    opacity: 0;
}

.Pickers > div {
    padding: 10px;
}

.Pickers .Field {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.Pickers .Field .current-color {
      left: calc(100% - 10px);
}

.Pickers .Field .current-scale {
      left: calc(50% - 10px);
}

.Pickers .Field:hover .Field-result {
        -webkit-box-shadow: 0px 0px 20px white;
                box-shadow: 0px 0px 20px white;
}

.Pickers .Field .Field-result {
      width: 30px;
      height: 30px;
      position: absolute;
      display: inline-block;
      background: white;
      border-radius: 50%;
      -webkit-transform: all 200ms linear;
              transform: all 200ms linear;
      top: 0;
      bottom: 0;
      margin: auto;
      pointer-events: none;
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
}

.ColorPicker {
  background: -webkit-gradient(linear, left top, right top, from(red), color-stop(yellow), color-stop(lime), color-stop(aqua), color-stop(blue), color-stop(fuchsia), color-stop(red), to(white));
  background: linear-gradient(to right, red, yellow, lime, aqua, blue, fuchsia, red, white);
  background: -webkit-gradient(linear,
    left top, right top,
    from(hsl(0, 50%, 50%)),
    color-stop(hsl(60, 50%, 50%)),
    color-stop(hsl(120, 50%, 50%)),
    color-stop(hsl(180, 50%, 50%)),
    color-stop(hsl(240, 50%, 50%)),
    color-stop(hsl(300, 50%, 50%)),
    color-stop(hsl(0, 50%, 50%)),
    to(hsl(0, 0, 0))
  );
  background: linear-gradient(to right,
    hsl(0, 50%, 50%),
    hsl(60, 50%, 50%),
    hsl(120, 50%, 50%),
    hsl(180, 50%, 50%),
    hsl(240, 50%, 50%),
    hsl(300, 50%, 50%),
    hsl(0, 50%, 50%),
    hsl(0, 0, 0)
  );
}

.ScalePicker {
  background: white;
}

.Pickers ::-moz-range-track {
  background: none;
}

.Pickers ::-moz-focus-inner,
.Pickers ::-moz-focus-outer {
  border: 0;
}

html, body {
  font-family: 'Simplifica', sans-serif;
  letter-spacing: 1px;
}

html .split-char, body .split-char {
    display: inline-block;
    text-shadow: 0px 0px 0px white;
}

.Header {
  position: absolute;
  left: 5%;
  top: calc(35px + 5%);
  font-size: 32px;
  font-size: 2rem;
  line-height: 1.5;
  width: 40%;
}

/* letter-spacing: 1px */

.Header p {
    font-size: 24px;
    font-size: 1.5rem;
    opacity: 0.8;
}

.Cursor {
  position: absolute;
  opacity: 0;
  width: 30px;
  height: 30px;
  z-index: 99;
  border-radius: 50%;
  pointer-events: none;
  -webkit-transition: opacity 200ms linear;
  transition: opacity 200ms linear;
}

.Cursor svg {
    fill: white;
}

.Loader {
  position: absolute;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: black;
  -webkit-transition: all 400ms linear;
  transition: all 400ms linear;
  top: 0;
  left: 0 ;
  pointer-events: none;
}

.Loader svg {
    position: absolute;
    width: 30px;
    height: 30px;
    fill: white;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50, -50);
            transform: translate(-50, -50);
}

.Loader.hidden {
    opacity: 0;
    /* display: none */
}

/* dat.gui */

.SnapBtn {
  position: absolute;
  right: 5%;
  bottom: 5%;
  cursor: pointer;
}

.SnapBtn svg {
    fill: white;
    width: 30px;
    height: 30px;
    opacity: 0.6;
    -webkit-transition: all 200ms linear ;
    transition: all 200ms linear ;
}

.SnapBtn:hover svg {
      opacity: 1;
}

video {
  position: absolute;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: black;
  -webkit-transition: all 400ms linear;
  transition: all 400ms linear;
  top: 0;
  left: 0 ;
  pointer-events: none;
}

.dg.ac {
  z-index: 100 !important;
}

@media screen and (max-device-width : 375px) {
  .Header {
    padding: 5%;
    font-size: 1rem;
    line-height: 1;
    width: 100%;
  }
    /* letter-spacing: 1px */
    .Header p {
      font-size: 0.5rem;
  }
    .Pickers span {
      font-size: 1rem;
  }
}