* {font-family:'Roboto'}


html, body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* transition: all 0.5s ease; */
}

canvas {
  display: block;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50%));
}

#overlay {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: white;
  z-index: 9999;
  opacity: 0.8;
  transition: all 0.5s ease;
}

.header {
  position: fixed;
  width: 100vw;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  color: black;
  z-index: 1000;
  opacity: 0.8;
}

.header > div {
  padding: 0 10px;
}

a {
  color: black;
  text-decoration: none;
}

.title {
  font-size: 1.5em;
  flex:auto;
  padding: 0;
  text-align: center;
}

@media screen and (min-width: 360px) {
  .title {
    font-size: 2em;
  }
}

.logo {
  display: none;
}

.licence {
  display: none;
}

@media screen and (min-width: 768px) {
  .logo {
    display: block;
    position: fixed;
    width: 80px;
    bottom: 5px;
    right: 10px;
    z-index: 2000;
  }

  .licence {
    display: block;
    position: fixed;
    bottom: 5px;
    left: 10px;
    z-index: 2000;
  }
}

.interface {
  display: flex;
  position: fixed;
  width: calc(100% + -20px);
  padding: 0 10px 15px;
  bottom: 0;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-size: 0.8em;
}

@media screen and (min-width: 360px) {
  .interface {
    font-size: 1em;
  }
}


.interface > div,
.interface > input,
.interface > button {
  margin: 5px;
}

.setting {
  text-align: center;
}

.interface button {
  display: flex;
  min-width: 3em;
  background: white;
  border: solid black 2px;
  border-radius: 3px;
  font-size: 1em;
  padding: 5px;
  align-items: center;
  justify-content: center;
}

button svg {
  height: 1.5em;
}

.interface button:hover {
  color: white !important;
  background: black;
}

/* button.save {
    background: url(assets/camera-solid.svg) no-repeat center center;
    background-size: 1.5em;
    min-height: 2em;
    min-width: 3em;
} */

.slider {
  position: fixed;
  top: 50%;
  right: calc(-15vh + 25px);
  width: 30vh;
  transform: rotate(-90deg);
  background: none;
  /* background: white;
  padding: 1px;
  border-radius: 10px; */
}

input[type="color"] {
  font-size: 16px;
  padding: 0;
  background: none;
  border: none;
}

input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}

input[type=range] {
  height: 17px;
  -webkit-appearance: none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 17px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #50555C;
  background: #FFFFFF;
  border-radius: 8.5px;
  border: 2px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #2EFFCE;
  height: 13px;
  width: 13px;
  border-radius: 6.5px;
  background: #000000;
  cursor: pointer;
  -webkit-appearance: none;
  /* margin-top: 4.5px; */
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #FFFFFF;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 17px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #50555C;
  background: #FFFFFF;
  border-radius: 8.5px;
  border: 2px solid #000000;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #2EFFCE;
  height: 13px;
  width: 13px;
  border-radius: 6.5px;
  background: #000000;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 17px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 8.5px;
  box-shadow: 0px 0px 0px #50555C;
}
input[type=range]::-ms-fill-upper {
  background: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 8.5px;
  box-shadow: 0px 0px 0px #50555C;
}
input[type=range]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #2EFFCE;
  height: 13px;
  width: 13px;
  border-radius: 6.5px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #FFFFFF;
}
input[type=range]:focus::-ms-fill-upper {
  background: #FFFFFF;
}

.message {
  font-size: 1.5em;
  position: fixed;
  max-width: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  text-align: center;
}
