
body {
    top: 0;
    left: 0;
    margin: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

@media screen and (orientation:portrait) {
 #iload{
      transform: translate(-50%,-50%) rotate(90deg) !important;
   }
}


.application {
    background: black;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.application canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 360px;
    height: 360px;
   
}

.gui{
 display: none;   
 position: absolute;
 top: 1%;
 width: 30vmin;
 text-align: center;
 z-index: 1;
 pointer-events: none; 
}

.gui img{
    height: 20vmin;
}

#gui1{
  right:0;
}

#gui2{
  left:0;
}


#score,#high_score{
  font-family: 'Arial';
  color: white;
  text-shadow: 
		-0   -1px 0   #717171,
		 0   -1px 0   #717171,
		-0    1px 0   #717171,
		 0    1px 0   #717171,
		-1px -0   0   #717171,
		 1px -0   0   #717171,
		-1px  0   0   #717171,
		 1px  0   0   #717171,
		-1px -1px 0   #717171,
		 1px -1px 0   #717171,
		-1px  1px 0   #717171,
		 1px  1px 0   #717171,
		-1px -1px 0   #717171,
		 1px -1px 0   #717171,
		-1px  1px 0   #717171,
		 1px  1px 0   #717171;
  font-size: 6vmin;
  display: inline-block;
}


.gameover{
  position: absolute;
  top: 45%;
  width: 100%;
  text-align: center;
  
  font-family: 'Arial';
  color: white;
  text-shadow: 
		-0   -1px 0   #717171,
		 0   -1px 0   #717171,
		-0    1px 0   #717171,
		 0    1px 0   #717171,
		-1px -0   0   #717171,
		 1px -0   0   #717171,
		-1px  0   0   #717171,
		 1px  0   0   #717171,
		-1px -1px 0   #717171,
		 1px -1px 0   #717171,
		-1px  1px 0   #717171,
		 1px  1px 0   #717171,
		-1px -1px 0   #717171,
		 1px -1px 0   #717171,
		-1px  1px 0   #717171,
		 1px  1px 0   #717171;
  font-size: 10vmin;
  z-index:1;
  display: none;
}

#go_result{
  display:  block;  
  font-size: 5vmin;
  display: block;
}


.quest,.info{
  position: absolute;
  top: 45%;
  width: 100%;
  text-align: center;
  
  font-family: 'Arial';
  color: white;
  text-shadow: 
		-0   -1px 0   #717171,
		 0   -1px 0   #717171,
		-0    1px 0   #717171,
		 0    1px 0   #717171,
		-1px -0   0   #717171,
		 1px -0   0   #717171,
		-1px  0   0   #717171,
		 1px  0   0   #717171,
		-1px -1px 0   #717171,
		 1px -1px 0   #717171,
		-1px  1px 0   #717171,
		 1px  1px 0   #717171,
		-1px -1px 0   #717171,
		 1px -1px 0   #717171,
		-1px  1px 0   #717171,
		 1px  1px 0   #717171;
  font-size: 6vmin;
  z-index:1;
  display: none;
}

.info{
  top: 20vh;
  display: none;
}

.win{
  background: #0d4c70e3;
  position: relative;
  padding: 3vmin;
  width: 70vw;
  font-size: 4vmin;
  margin: 0 auto;
  border-radius: 2vmin;
  font-family: Roboto,Arial;
  font-weight: 300;
  text-shadow: none;
  border: 0.5vmin solid white;
}

.quest .buttons div, .info .buttons div{
  display: inline-block;   
  cursor: pointer;
}

#tmp{
  position: absolute; 
  bottom:1vmin; left:2vmin; 
  color: white; 
  z-index: 100;
  font-size: 3vmin; 
}

#tmp span{
  color: red;   
}


.livebar{
  position: absolute; 
  bottom:0;
  left:2vmin;
  z-index: 1;
}


#livebar{
  width: 20vmin;
  color: white; 
  margin: 1vmin;
}

#livebar .progressbar-text{
  font-size: 6vmin;
  text-shadow: 0 0 1px #a4a4a4;
}

#livebar .livpc{
  font-size: 4vmin;
}

.btnclear{
  display: none;
  justify-content: center;
  align-items: center;
}
.btnclear img{
  height: 60%;
  margin: 0 5px;
}


.ncolors{
  position: absolute; 
  top:3vmin; left:50%;
  /*width: 8vmin;
  height: 8vmin; */

  color: white; 
  z-index: 1;
  transform: translateX(-50%);
}

#ncolors span{
  display: inline-block;
  width: 3vmin;
  height: 3vmin;
  border-radius: 2vmin;
  margin: 0 0.5vmin 0.5vmin 0.5vmin;
  background-color: transparent;
  border: 0.5vmin solid white;
}

#tmstep{
  width: 9.6vmin;
  height: 8vmin;
  margin: auto;
  display: block;
  position: absolute !important;
  top: 5.2vmin;
  left: 10.35vmin;
  /* transform: translateX(-50%);*/
}

.tmstep .progressbar-text{
   display: none;
}



#ver{
  position: absolute; 
  bottom:5px; 
  right: 5px;
  font-size: 2vmin; 
  z-index: 1;
  color: black;
  display: none; 
}


.ichidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 1.0s, opacity 1.0s linear;
}

.icvis {
  visibility: visible;
  opacity: 1;
}


.buttons{
  margin-top: 2vmin;   
  cursor: pointer;
    
}

.button div{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.buttons > div{
  font-family: Arial;
  background: rgba(255, 255, 255,0);
  border-color: #ECEFF1;
  border: 3px solid;
  border-radius: 40px;
  font-weight: 400;
  font-size: 5vmin;
  color: white;
  padding: 0 2vmin ;
  height: 8vmin;
  line-height: 8vmin;
  min-width: 18vmin;
  margin: 0 auto;
  pointer-events: all;
  text-shadow: 
		-0   -1px 0   #717171,
		 0   -1px 0   #717171,
		-0    1px 0   #717171,
		 0    1px 0   #717171,
		-1px -0   0   #717171,
		 1px -0   0   #717171,
		-1px  0   0   #717171,
		 1px  0   0   #717171,
		-1px -1px 0   #717171,
		 1px -1px 0   #717171,
		-1px  1px 0   #717171,
		 1px  1px 0   #717171,
		-1px -1px 0   #717171,
		 1px -1px 0   #717171,
		-1px  1px 0   #717171,
		 1px  1px 0   #717171;
}


#loadscr {
  background: #46a5d5;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  position: absolute;
  display:  block;
}


#iload{
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%,-50%);
 color: white;
 text-align: center;
 font-size: 4vmin;
 
}

#icapt{ 
  margin: 5vmin;
  font-size: 8vmin;
  }



.splash{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-image: url(res/sky.jpg);
  background-repeat: repeat-x;
  background-size: auto 100%;
}


#logo{
  position: absolute;
  left: 50%;  
  top: 50%;  
  z-index: 5;  
  transform: translate(-50%,-50%);
  text-align: center;
}

#logo>img {
  width:70vmin;
}

#loading img{
  width: 10vmin;
  animation: rotate 5s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg)
  }
  100% {
    transform: rotate(360deg)
  }
}


.speaker{
  position: absolute;
  right: 2%;  
  bottom: 2%;
  z-index: 1;  
  display: none;  
}

.zoom{
  position: absolute;
  left: 50%;  
  bottom: 2%;
  z-index: 1;  
  transform: translateX(-50%);
}

.speaker img, .zoom img{
  height: 8vmin;
}


