body > :not(.pace),body:before,body:after {
  -webkit-transition:opacity .4s ease-in-out;
  -moz-transition:opacity .4s ease-in-out;
  -o-transition:opacity .4s ease-in-out;
  -ms-transition:opacity .4s ease-in-out;
  transition:opacity .4s ease-in-out
}
body:not(.pace-done) > :not(.pace),body:not(.pace-done):before,body:not(.pace-done):after {
  opacity:0
}

* {text-decoration: none; padding:0; margin:0; -webkit-user-select: none;outline: none}
html {
    color: #000;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Courier';
    outline: none;
    -webkit-user-select: none;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

#sansho{
    color: #333;
    z-index: 999999999999;
    position: absolute;
    bottom: 20px;
    left: 25px;
    cursor: pointer;
    font-size: 0.7em;
    text-decoration: none;
}

#waveform{
  width: 300px;
  top: -30px;
  right: 30px;
  position: absolute;
  z-index: 30;
}

#curated{
  display: flex;
  position: absolute;
  justify-content: center;
  left: 0px;
  width: 100%;
  bottom: 15px;
}

.curated1{
  color: yellow;
}
.twentypx{
  margin-right: 40px;
  color: yellow;
}
.curated1{
    border-bottom:2px solid transparent;
}
.curated1:hover{
  border-bottom:2px solid yellow;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

wave{
  border-right-style: none!important;
}

#reloader{
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
}

audio,
canvas,
iframe,
img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */



.videosection video
{
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
}




.permissions{
    position: fixed;
    width: auto;
    height: auto;
    background-color: red;
}

/*video
{
    width: 100%;
    height: auto;
    min-height: 100%;
}*/

#intro {
    z-index: 10;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: yellow;
    color: black;
}


.logo{
    width: 100px;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    top: 38px;
    transition:ease 1s;
}


.logo_active{
    width: 200px;
    position: absolute;
    left: 50%;
    margin-left: -100px;
    top: 50%;
    margin-top: -100px;
}


.logo2{
    width: 100px;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    top: 50%;
    margin-top: -50px;
    z-index: 999;
  }


.box{
/*    position: absolute;
    left: 20vw;
    width: 60vw;
    top: 40%;
    text-align: center;*/
    position: absolute;
    left: calc(50% - 250px);
    width: 500px;
    width: auto;
    top: 40%;
    text-align: center;
    border: 2px solid black;
    padding: 30px;
}
.box span{
    color: #000;
}
#webcam{
    width: 200px;
    height: 200px;
    position: fixed;
    left: 30px;
    top: 0;
    z-index: 99;
    margin: 0;
    padding:0;
}

#imprint{
  z-index: 12;
  width: 100%;
  min-height: 100%;
  background: yellow;
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 9999999;
  display: none;
}

.imprint{
  width: 80%;
  margin-top: 30px;
  margin-left: 30px;
  padding-bottom: 20px;
}

.imprintlink{
  color: #333;
  z-index: 999999999999;
  position: fixed;
  bottom: 20px;
  right: 50px;
  cursor: pointer;
  font-size: 0.7em;
}

.imprintlink:after{
  content: 'imprint';
}
.active:after{
  content: 'close';
}

#privacy{
  z-index: 12;
  width: 100%;
  min-height: 100%;
  background: yellow;
  position: absolute;
  z-index: 99999999;
  left: 0px;
  top: 0px;
  display: none;
}

.privacy{
  width: 80%;
  margin-top: 30px;
  margin-left: 30px;
  padding-bottom: 20px;
}

.privacylink{
  color: #333;
  z-index: 999999999999;
  position: fixed;
  bottom: 20px;
  right: 120px;
  cursor: pointer;
  font-size: 0.7em;
}

.privacylink:after{
  content: 'privacy';
}
.active:after{
  content: 'close';
}


/* ANIMATION LOADING */
.loader{
  animation: animationFrames linear 1.5s;
  animation-iteration-count: infinite;
  transform-origin: 50% 50%;
  -webkit-animation: animationFrames linear 1.5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-transform-origin: 50% 50%;
}

@keyframes animationFrames{
  0% {
    transform:  rotate(0deg) ;
  }
  5% {
    transform:  rotate(0deg) ;
  }
  15% {
    transform:  rotate(90deg) ;
  }
  25% {
    transform:  rotate(90deg) ;
  }
  44% {
    transform:  rotate(180deg) ;
  }
  54% {
    transform:  rotate(180deg) ;
  }
  54% {
    transform:  rotate(180deg) ;
  }
  70% {
    transform:  rotate(270deg) ;
  }
  80% {
    transform:  rotate(270deg) ;
  }
  94% {
    transform:  rotate(360deg) ;
  }
  100% {
    transform:  rotate(360deg) ;
  }
}

@-webkit-keyframes animationFrames {
  0% {
    -webkit-transform:  rotate(0deg) ;
  }
  5% {
    -webkit-transform:  rotate(0deg) ;
  }
  15% {
    -webkit-transform:  rotate(90deg) ;
  }
  25% {
    -webkit-transform:  rotate(90deg) ;
  }
  44% {
    -webkit-transform:  rotate(180deg) ;
  }
  54% {
    -webkit-transform:  rotate(180deg) ;
  }
  54% {
    -webkit-transform:  rotate(180deg) ;
  }
  70% {
    -webkit-transform:  rotate(270deg) ;
  }
  80% {
    -webkit-transform:  rotate(270deg) ;
  }
  94% {
    -webkit-transform:  rotate(360deg) ;
  }
  100% {
    -webkit-transform:  rotate(360deg) ;
  }
}





.speakCircle {
  position: absolute;
  z-index: 999;
  width: 30vw;
  left: 35vw;
  top: 45vh;
}

.blink {
  animation: blink 1s steps(3, start) 2 forwards;
  -webkit-animation: blink 1s steps(3, start) 2 forwards;
  transition:ease 0.3s;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink {
  to {
    visibility: hidden;
  }
}

.recognitionwrapper {
  display: none;
}

#end{
  background-color: transparent;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
}
#end endWrapper{

  width: 100%;
  position: absolute;
  top: 35%;
  font-size: 2rem;
  display: flex;
}

#end endWrapper span{
  margin: 0 auto;
  font-size: 2rem;
  color: yellow;
  text-align: center;
  width: 100%;
}

#end img{
  width: 50px;
  cursor: pointer;
  border-bottom:3px solid transparent;
}
#end img:hover{
  border-bottom:3px solid yellow;
}

#norecognition{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
}

.alertbox{
  z-index: 9999;
  width: 300px;
  height: auto;
  background: black;
  border: 2px solid yellow;
  position: absolute;
  left: 50%;
  margin-left:-150px;
  top: 50%;
  margin-top: -100px;
  color: yellow;
  text-align: center;
  padding: 20px;
}
#refreshButton{
  background: yellow;
  color: black;
  padding: 3px 5px;
  border: none;
  margin-top: 20px;
}

#notchrome, #nomedia{
  z-index: 99999999999;
  width: 100vw;
  height: 100vh;
  background: yellow;
  position: fixed;
  top: 0px;
  left: 0px;
  display: none;
}
#notchrome span{
  width: 300px;
  text-align: center;
  height: 30px;
  position: absolute;
  left: 50%;
  margin-left: -150px;
  top: 50%;
  margin-top: 100px;
}
#nomedia span{
  width: 60%;
  text-align: center;
  height: 30px;
  position: absolute;
  left: 20%;
  top: 40%;
}

#notdesktop{
  z-index: 999999999999;
  width: 100vw;
  height: 100vh;
  background: yellow;
  position: fixed;
  top: 0px;
  left: 0px;
  display: none;
}

#notdesktop p{
  width: 90vw;
  text-align: center;
  height: 30px;
  position: absolute;
  top: 20%;
  margin-top: 100px;
  margin-left: 5vw;
  float: none;
}

#notdesktop p a {
    float: none;
}

#noAutoplay{
  z-index: 99999999999;
  width: 100vw;
  height: 100vh;
  background: yellow;
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 2rem;
  display: none;

}

#noAutoplay .readyButton{
  background-color: black;
  padding: 10px 25px 10px 25px;
  cursor: pointer;
  margin-top: 25px;
  margin-bottom: 10vh;
  transition: all 0.3s ease;
}

.readyButton:hover {
  transform: scale(1.1);
}

#noAutoplay .readyButton p {
  color: yellow;
  font-size: 1.6rem;
}

#subtitle{
  position: absolute;
  left: 0;
  bottom: 50px;
  color: yellow;
  text-align: center;
  width: 100%;
  pointer-events:none;
  font-size: 2em;
  font-weight: 400;
}

.typewrite{pointer-events:none;}

#redFlash {
  background-color: red;
/*  background-color: #ffff00;*/
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  mix-blend-mode: multiply;
  z-index: 999;
}

.prePermissions {
  z-index: 99999999;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}








.resulz{
  width: auto!important;
  height: auto!important;
  display: inline-block!important;
  position: relative!important;
  top: 0!important;
  left: 0!important;
}

/* CAM */
#cam_overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  -o-transform : scaleX(-1);
  -webkit-transform : scaleX(-1);
  transform : scaleX(-1);
  -ms-filter : fliph; /*IE*/
  filter : fliph; /*IE*/
}

#videoel {
  -o-transform : scaleX(-1);
  -webkit-transform : scaleX(-1);
  transform : scaleX(-1);
  -ms-filter : fliph; /*IE*/
  filter : fliph; /*IE*/
}

#cam_container {
position: absolute;
width: 370px;
z-index: 11;
left: 30px;
top: 30px;
transform-origin: 0 0;
transition:ease 0.2s;
}
.container_small{
  transform: scale(0.5);
}
.container_big{
  transform:scale(1);
}

.factors{
    position: absolute;
    width: 300px;
    word-spacing: 10px;
    left: 22px;
    color: yellow;
    font-size: 13px;
    top: -8px;
    text-align: left;
}


/*#emotion_chart {
margin: 0 auto;
width: 400px;
position: absolute;
left: 0;
bottom: 20px;
}*/

#emotion_chart {
    margin: 0 auto;
    width: 300px;
    text-align: center;
    position: absolute;
    left: calc(50% - 150px);
    top: 30px;
}

#weite40{
  transform: translateX(-14px);
}
#weite100{
  transform: translateX(-10px);
}
#weite160{
  transform: translateX(-2px);
}
#weite220{
  transform: translateX(5px);
}

@media only screen and (max-width: 600px) {
.box{
  transform: scale(0.7);
  border: none;
}
}





@-webkit-keyframes typing {
    from { width: 100%;  }
    to { width:0% }
}
.h1, .h2, .h3, .h4, .h5 { 
    position: relative; 
    float:left;
}
a span {
    position:absolute;
    top:0;
    right:0;
    width:100%;
    background: black;
    box-sizing: border-box;
}
.h1.go span{
     -webkit-animation: typing 1.9s steps(27) forwards;
}

.h2.go span{
     -webkit-animation: typing 2s steps(39) forwards;
                        animation-delay: 2.1s;
}
.h3.go span{
     -webkit-animation: typing 2.1s steps(47) forwards;
                        animation-delay: 4.1s;
}

.h4.go span{
     -webkit-animation: typing 2s steps(31) forwards;
                        animation-delay: 7.1s;
}

.h5.go span{
     -webkit-animation: typing 1.7s steps(23) forwards;
                        animation-delay: 9.1s;
}

/* INTERFACE RESPONSIVE */

@media (max-width: 1000px) {
#emotion_chart {
    left: 3px;
    top: 171px;
    z-index: 99;
    transform: scale(0.9);
}
#waveform{
    top: 180px;
    left: 30px;
    width: 240px;
}
.container_big{
  transform: scale(0.8);
}
}
@media (max-width: 850px) {
  #curated{
    font-size: 0.8em;
  }
  .twentypx{
    margin-right: 15px;
  }
}



html{
  background: black;
}

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background-color: rgba(255, 255, 0, 1);
  position: fixed;
  z-index: -1;
  top: 0;
  right: 100%;
  bottom: 0;
  width: 100%;
}


.pace .pace-progress:after {
  display: block;
  position: fixed;
  top: 50vh;
  right: 100px;
  content: attr(data-progress-text);
  font-family: 'Courier';
  font-size: 5rem;
  line-height: 1;
  text-align: right;
  color: black;
}