html {
}

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

body {
  position: fixed;
  height: 100vh;

  overflow: hidden;

  /* style text */
  text-align: center;
  font-size: 14px;
  font-family: "Lab Grotesque", Sans-Serif;

  /* color text */
  color: #444;
}

a:active {
  color: inherit;
}

h1 {
  /* position the heading */
  position: absolute;
  width: 100%;

  /* make sure that the heading is drawn on top */
  z-index: 1;
}

#scene-container {
  /* tell our scene container to take up the full page */
  position: fixed;
  width: 100%;
  height: 100%;
}

#video-canvas {
  /* tell our scene container to take up the full page */
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
}

#monitor {
  position: fixed;
  display: none;
}

#device-selection {
  position: fixed;
  top: 10px;
  right: 10px;
}

#device-selection img {
  width: 72px;
}

#gui {
  position: absolute;
  right: 0;
  top: 22px;
}

#gui {
  position: absolute;
  right: 0;
  top: 50px;
}

#ui {
  position: fixed;
  width: 100%;
  height: 100%;
}

#ui img {
  transform: scaleX(-1);
  height: 120%;
}

.hidden {
  display: none;
}

.flipped {
  transform: scaleX(-1);
}

.fade-in {
  opacity: 0.6;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 1s;
}

.fade-out {
  opacity: 0;
  animation-name: fadeOutOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 1s;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.6;
  }
}

@keyframes fadeOutOpacity {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
  }
}

video.landscape {
  width: 100%;
  height: 100%;
}

div.landscape {
  width: 100%;
}

video.portrait {
  height: 100%;
}

div.portrait {
  height: 100%;
}

.portrait #drawingCanvas {
  width: 100%;
  height: 100%;
}

#ui {
  position: fixed;
  top: 80px;
  background: rgb(194, 194, 194);
  color: black;
  font-size: 30px;
  padding: 10px;
  margin: 13px;
  border-radius: 10px;
}

.carousel {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  margin-left: -20px;
}

.carousel img {
  height: 50px;
  width: 50px;
  border-radius: 100%;
  border: rgb(238, 238, 238) solid 3px;
  box-shadow: 0 5px 5px black;
}

.carousel img.selected {
  height: 60px;
  width: 60px;
  margin-bottom: -5px;
}

.carousel li {
  display: inline;
  margin: 10px;
}

#sidebar {
  position: fixed;
  right: 15px;
  bottom: 195px;
  text-align: center;
  font-size: 15px;
  max-width: 95px;
}

#sidebar img {
  height: 100px;
  margin-bottom: 20px;
}

#scale-slider {
  margin-right: 10px;
}

#scale-slider p {
  color: #fff;
}

#change-finger {
  color: white;
  text-decoration: none;
}

.disable-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.slidecontainer {
  width: 100%; /* Width of the outside container */
  transform: rotate(-90deg);
  margin-top: 120px;
  margin-left: 5px;
}

/* The slider itself */
.slider {
  -webkit-appearance: none; /* Override default CSS styles */
  appearance: none;
  width: 150px; /* Full-width */
  height: 10px; /* Specified height */
  background: #ffffff; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 1; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: 0.2s; /* 0.2 seconds transition on hover */
  transition: opacity 0.2s;
  border-radius: 5px;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 26px; /* Set a specific slider handle width */
  height: 26px; /* Slider handle height */
  background: #d6d6d6; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 50%;
  border: none;
  box-shadow: -2px 0 2px black;
}

.slider::-moz-range-thumb {
  width: 26px; /* Set a specific slider handle width */
  height: 26px; /* Slider handle height */
  background: #d6d6d6; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 50%;
  border: none;
  box-shadow: -2px 0px 2px black;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
}

#onboarding {
  background-color: white;
}

#onboarding video {
  width: 150px;
}

#onboarding,
#tracking-ux {
  position: fixed;
  padding: 20px;
  color: black;
  font-size: 14px;
  opacity: 1;
  border-radius: 10px;
  top: 12%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 250px;
}

#onboarding img,
#tracking-ux img {
  width: 80%;
}

.external {
  display: table;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.middle {
  display: table-cell;
  vertical-align: middle;
}

.internal {
  margin-left: auto;
  margin-right: auto;
  width: 400px;
}

#loading {
  position: fixed;
  background-color: black;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.confirm {
  padding: 5px 12px;
  font-size: 14px;
  background-color: #7ad87a;
  border: 0 black;
  border-radius: 7px;
  width: 100%;
}

.confirm:hover {
  background-color: #5fab5f;
}
