body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Sacramento', cursive;
}
video {
  width: 0;
  height: 0;
}
canvas {
  position: absolute;
}

#wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#expression-pending {
  font-size: 2em;
  text-align: center;
}
#expression-txt {
  font-size: 4em;
}
#chipContainer {
  transform: rotateZ(90deg);
  position: absolute;
  margin-left: -100px;
  margin-top: 55px;
  display: flex;
}
#imgBox {
  height: 100%;
}

#loader {
  position: absolute;
  margin-left: 4px;
  margin-top: 3px;
}
#statusBox {
  background-image: linear-gradient(
    108.7deg,
    rgba(34, 219, 231, 1) -0.9%,
    rgba(52, 118, 246, 1) 88.7%
  );
  width: 0;
  border-radius: 10px;
  height: 30px;
  transition: all 200ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#status {
  background: #11acf4;
  width: 100%;
  text-align: -webkit-right;
  text-align: right;
  /* font-size: 1.2em; */
  /* margin-left: 57px; */
}
#statusCode {
  position: absolute;
  left: 50px;
  top: 7px;
  color: #fff;
}
#avatarMale,
#avatarFemale {
  display: none;
}
#avatarFaces.female {
  position: absolute;
  top: 125px;
  left: 136px;
}
#avatarFaces.male {
  position: absolute;
  top: 116px;
  left: 60px;
}
#panelBox {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 0;
}

#date {
  width: 210px;
  color: #03a9f4;
  background: none;
  border-radius: 10px;
  transform: rotateZ(90deg);
  position: absolute;
  left: -123px;
  top: 100px;
}
#stopStreaming {
  display: none;
  position: absolute;
  right: -30px;
  top: 10px;
  color: #bbbbbb;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
code.label {
  background: none;
  border-radius: 0.1rem;
  color: #ffffff;
}

.img-avatar,
.img-avatar-start {
  /* opacity: 0; */
  display: none;
  position: absolute;
  left: 20px;
  transition: all 200ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.avatar-blur {
  animation: image_blur 3s ease 0s infinite;
  -webkit-animation: image_blur 3s ease 0s infinite;
  -moz-animation: image_blur 3s ease 0s infinite;
}

.panel {
  position: absolute;
  box-sizing: border-box;
  height: 35px;
  width: 300px;
  border-radius: 10px;
  background: aliceblue;
  border: none;
  padding: 5px;
  box-shadow: 1px 5px 20px -8px;
  transition: all 200ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.chip {
  font-size: 1.5em;
  border-radius: 0;
  height: 30px;
}
.gender-chip,
.age-chip {
  flex: 1;
  font-size: 3.2em;
  height: 30px;
}
.age-chip {
}
.gender-chip {
}
.loading {
  position: absolute;
  margin-left: 10px;
  margin-top: 1px;
}
.loading:after {
  animation: loading 0.5s infinite linear;
  border: 0.1rem solid rgba(0, 0, 0, 0.95);
  border-radius: 50%;
  border-right-color: transparent;
  border-top-color: transparent;
  content: '';
  display: block;
  height: 0.8rem;
  left: 50%;
  margin-left: -0.4rem;
  margin-top: -0.4rem;
  position: absolute;
  top: 50%;
  width: 0.8rem;
  z-index: 1;
}
.avatar-lamp {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 90px;
  filter: blur(1px);
}

/**** ANIMATIONS ****/

.progress-animation {
  animation-name: colorchanger;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: running;
}

@keyframes image_blur {
  0%,
  90% {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
  }
  50% {
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
  }
}

@keyframes colorchanger {
  0% {
    background-image: linear-gradient(
      72.5deg,
      rgba(0, 175, 255, 1) 27.9%,
      rgba(0, 224, 254, 1) 84.2%
    );
  }
  50% {
    background-image: radial-gradient(
      circle farthest-corner at 10% 20%,
      rgba(220, 217, 249, 1) 0%,
      rgba(172, 224, 217, 1) 89.8%
    );
  }
  100% {
    background-image: linear-gradient(
      108.7deg,
      rgba(34, 219, 231, 1) -0.9%,
      rgba(52, 118, 246, 1) 88.7%
    );
  }
}
