* {
  border: 0;
  margin: 0;
  padding: 0;
}

video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  overflow: clip;
}

#logo {
  position: absolute;
  top: 6vh;
  left: 2vh;
  height: 10vh;
  width: 10vh;
  background: url(../img/logo.png) 0 0/100% 100%;
}

#menu {
  position: absolute;
  top: 6vh;
  right: 2vh;
  height: 6vh;
  width: 6vh;
  background: url(../img/menu-blue.svg) 0 0/100% 100%;
}

#ring {
  position: absolute;
  top: 29vh;
  left: 50vw;
  margin-left: -16vh;
  height: 32vh;
  width: 32vh;
  background: url(../img/scale.png) 0 0/100% 100%;
  border-radius: 15vh;
  transition: transform 0.1s linear;
}

#output {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 35vh;
  left: 50vw;
  margin-left: -10vh;
  height: 20vh;
  width: 20vh;
  background: #446897;
  border-radius: 10vh;
}

#output p {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 2em;
}

#needle {
  position: absolute;
  top: 61vh;
  left: 50vw;
  margin-left: -1.5vh;
  height: 0; 
  width: 0; 
  border-left: 1.7vh solid transparent;
  border-right: 1.7vh solid transparent;
  border-bottom: 3vh solid #c00;
}
.slidecontainer {
  position: absolute;
  bottom: 5vh;
  left: 50vw;
  margin-left: -20vh;
  width: 40vh;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6vh;
  width: 100%;
  background: rgba(99, 99, 99, 0.3);
  outline: none;
  border-radius: 3vh;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  height: 6vh;
  width: 6vh;
  background: #c00;
  border-radius: 50%;
}

.slider::-moz-range-thumb {
  border: 0;
  height: 6vh;
  width: 6vh;
  background: #c00;
  border-radius: 50%;
}

#message1, #message2, #about {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #446897;
}

#rotate, #camera {
  position: fixed;
  top: 50%;
  left: 50%;
  height: 20vw;
  width: 20vw;
  margin: -10vw 0 0 -8.625vw;
}

#close {
  float: right;
  height: 6vh;
  width: 6vh;
}
#qr {
  float: left;
  height: 20vh;
  width: 20vh;
  margin: 0 2vh 2vh 0;
 }
 
#about p {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.2em;
  padding: 6vh 2vh 2vh 2vh;
}

#about p a {
  color: #fff;
}

@media (orientation:landscape) {
  #message1 {
    display: block;
  }
}
@media (orientation:portrait) {
  #message1 {
    display: none;
  }
}
