/*
body, html{
  background: #fff;
  margin:0; padding:0;
  width: 100%; height:100%;
  overflow:hidden;
  font-family: Arial, Helvetica, sans-serif;
}
*/
/*
body{
  display:none;
}*/

#container{
  position: fixed;
  width: 100%; height:100%;
  top:0;
  /*display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  min-height: 100vh;
  min-height: 100vh;*/
}
#videoBackground{
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background: url('../img/capa.png') no-repeat;
  background-size: cover;
  opacity:0.35;
  transition: 1s opacity;
}
#videoBackground video{
  height:100%;
}

#container canvas{
  /*width: 100%; height:100%;*/
}
#fuelBar{
  position: absolute;
  top: 20px; right: 20px;
  width: 154px; height:10px;
  border: 1px solid #fff;
  padding: 2px;
  display:none;
}
#fuelLeft{
  position: relative;
  width: 100%; height: 10px;
  background: #fff;
}


#distanceBox{
  font-size: 20px;
  position: fixed; right:7px; top:100px;
  text-align: center;
  width: 90px;
  #color: #604b46;
  opacity:0.7;
}
#optionsBlock{
  position: fixed;
  top: 10px; right: 6px;
  z-index:10;
  display:none;
}
#numBox{
  font-size: 32px;
  position: fixed; right:7px; top:18px;
  text-align: center;
  width: 90px;
  color: #fff;
  opacity:0.9;
}
#pauseButton{
  display: block;
  position: fixed;
  width: 160px; height: 30px;
  overflow: hidden;
  background: transparent url('../img/pause-bt.svg') no-repeat;
  background-position: left top;
  background-size: 100% auto;
  bottom:10px; left: 10px;
  z-index:10;
  opacity:0.6;
}
#pauseButton.paused{
  background-position: left -30px;
}
#soundButton{
  display: block;
  position: fixed;
  width: 30px; height: 30px;
  overflow: hidden;
  background: transparent url('../img/sound-bt.svg?v=1.0.1') no-repeat;
  background-position: left top;
  background-size: 100% auto;
  bottom:10px; right: 10px;
  z-index:1001;
  opacity:0.9;
  color: #fff;
}
#soundButton.noSound{
  background-position: left -30px;
}

/* radial */
#scoreCounter{
  position: absolute;
  top: 0px; right: 14px;
  width: 62px; height:62px;
  z-index:10;
}
#scoreImage{
  position: absolute;
  top: 0px; right: 0px;
  width: 90px; height: 90px;
  z-index:9;
}

#circBar{
  -ms-transform: rotate(180deg); /* IE 9 */
  -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
  transform: rotate(180deg);
}
.sound{
  display:none;
}
#resultOverlay{
  background: rgba(255,255,255,0.7);
  width: 100%; height: 100%;
  position: fixed; top: 0; left:0;
  z-index: 1000;

  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  min-height: 100vh;
  min-height: 100vh;
  opacity:0;
}
#helpOverlay{
  background: rgba(255,255,255,0.95);
  width: 100%; height: 100%;
  position: fixed; top: 0; left:0;
  z-index: 1009;
}
#helpOverlay .message{
  width: 100%;
  max-width: 450px;
  font-size: 2rem;
  top:50%; left: 50%;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 1rem 1rem 2rem 1rem;
  border: 1px solid #dedede;

  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
#helpOverlay .figureHolder{
  width:2000px;
  margin-top: 1em;
  white-space: nowrap;
}

#helpOverlay h4{
  color: #555;
  font-size: 2em;
  text-align: center;
  text-transform: uppercase;
  font-family: 'flamabold';
  margin-bottom: 1.5rem;
}
#helpOverlay a.closeButton{
  position: absolute;
  right: 10px; top:10px;
  display: block;
  width: 30px; height: 30px;
  /*border-radius: 15px;*/
  background: #dedede;
  color: #fff;
  font-family: 'flamabook';
  text-align: center;
  text-decoration: none;
}
#helpOverlay a.numButton{
  display: inline-block;
  width: 30px; height: 30px;
  border-radius: 15px;
  background: #fff;
  color: #604b46;
  font-family: 'flamabook';
  text-align: center;
  text-decoration: none;
  border: 1px solid #604b46;
  font-size: 1.1em;
}
#helpOverlay a.numButton:hover, #helpOverlay a.numButton.selected{
  background: #604b46;
  border: 1px solid #604b46;
  color: #ffffff;
}
#helpOverlay .figure{
  width: 100%;
  max-width: 450px;
  margin: 1rem 1rem 0 0;
  display: inline-block; float: left;
  white-space: normal;
}
#helpOverlay .figure img{
  width:100%; height: auto;
  display: block;
  height: auto;
  margin-right:10px;
  margin-bottom: 10px;
}

#tutorialOverlay, #tutorialEndOverlay{
  /*background: rgba(255,255,255,0.75);*/
  position: fixed; top: 1rem; left:50%;
  z-index: 1009;
  padding: 1rem;
  border-radius: 0.5rem;
  display: inline-block;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-align:center;

  transform: translateX(-50%);
  display: none;
}






#rotateScreenOverlay{
  background: rgba(255,255,255,0.95);
  width: 100%; height: 100%;
  position: fixed;
  top:0; left:0;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  min-height: 100vh;
  min-height: 100vh;
  z-index: 10009;
  display:none;
  color: #604b46;
}

#rotateScreenOverlay .rotateIcon{
  width: 90px;
}

#rotateScreenOverlay .main, #rotateScreenOverlay .texto p{
  padding: 0;
  color: #604b46;
}
#rotateScreenOverlay h4{
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  color: #604b46;
}

#loaderOverlay{
  background: rgba(0,0,0,0.85);
  width: 100%; height: 100%;
  position: fixed; top: 0; left:0;
  z-index: 1000;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  min-height: 100vh;
  min-height: 100vh;
}
#loadDisclaimer{
  font-size: 1.15rem;
  text-transform: uppercase;
  text-align: center;
}
.loader {
  margin: 0;
  font-size: 10px;
  position: absolute;
  margin-left: -3em;
  margin-top:1rem; left: 50%;
  text-indent: -9999em;
  border-top: 0.3em solid rgba(255, 255, 255, 0.1);
  border-right: 0.3em solid rgba(255, 255, 255, 0.1);
  border-bottom: 0.3em solid rgba(255, 255, 255, 0.1);
  border-left: 0.3em solid  #674a44;
  z-index: 100;

  /*display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;*/

  -webkit-transform: translateX(-50%) translateZ(0) translateY(-50%);
  -ms-transform: translateX(-50%) translateZ(0) translateY(-50%);
  transform: translateX(-50%) translateZ(0) translateY(-50%);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
.loader,
.loader:after {
  border-radius: 50%;
  width: 6em;
  height: 6em;
  -webkit-transform: translateX(-50%)translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Redes Sociais
   ========================================================================== */

#shareBar{
  /*width: 120px;
  height: 40px;
  float: right;
  margin-top: -25px;
  right: 2.2em !important;
  font-size: 2.6rem;
  */
  position: fixed;
  top:5px;right: 5px;

  display: block;
  font-size: 2rem;
  margin-top:20px;
  /*-webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);*/

}

#shareBar a {
  width: 25px; height: 25px;
  margin: 5px;
  display:block; float: left;
  color:#fff;
}

#shareBar i {
  display:block; float:left;
  text-decoration: none;
  height: 30px;
  top:50%; left:50%;

  cursor: pointer !important;
  opacity: 0.9;
  color:#604b46;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;

  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  /*background: transparent url('https://infograficos.estadao.com.br/geral/img/social-icons-round.png') no-repeat center top;*/
}

#shareBar i:hover {
  opacity: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#shareBar i span{
  font-size: 1.4rem;
  vertical-align: bottom;
  padding: 0 12px 0 6px;
  overflow: auto;
}/*
/*#shareBar a#btFbShare{ background-position: -40px 0; margin-left: 0; }
#shareBar a#btFbShare:hover{ background-position: -40px -40px; }
#shareBar a#btGPlusShare{ background-position: -80px 0; }
#shareBar a#btGPlusShare:hover{ background-position: -80px -40px; }
#shareBar a#btTwitterShare{ background-position: 0 0; }
#shareBar a#btTwitterShare:hover{ background-position: 0 -40px; }*/



@media screen and (max-width: 1200px){
  #tutorialOverlay, #tutorialEndOverlay{
    top: 0.5rem;
    font-size: 1.2rem;
  }

}

@media screen and (max-width: 860px){

  #tutorialOverlay, #tutorialEndOverlay{
    top: 0.3rem;
    font-size: 1rem;
  }
  /*#shareBar{
    font-size: 1.8em;
    margin-left:14px;
    text-align: center;
    position: fixed;
    top:auto;
    bottom:25px; right: 0px; left: 50%;

    -webkit-transform: translate(-50%, 0);
      -ms-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  }*/
  #shareBar a {
    width: 25px; height: 25px;
    margin: 0px;
    display:inline-block; float: none;
  }
  #scoreCounter{
    position: fixed;
    top: 7px; right: 14px;
    width: 54px; height: 54px;
    z-index:10;
  }
  #numBox{
    top: 12px;
    width: 70px;
  }
  #distanceBox{
    width: 60px;
    top:80px;
    font-size: 15px;
  }
  #scoreImage{
    position: fixed;
    top: 10px; right: 6px;
    width: 70px; height: 70px;
    z-index:9;
  }
  #pauseButton{
    display: block;
    position: fixed;
    width: 100px; height: 22px;
  }
  #pauseButton.paused{
    background-position: left -22px;
  }
}
@media screen and (orientation : portrait){
  #rotateScreenOverlay{
    display: flex;
    display: -webkit-flex;
  }
}
