@charset "utf-8";

body{
	background-color: #f2e2c7;
  /*background-color: #fff;*/
  height: 100%;
  font-family: Arial,"Apple LiGothic Black", "Impact", "微軟正黑體";
  font-size: 14px;


  background: url('../images/bg.jpg') top left;
  background-size:100% auto;
  background-repeat: repeat-y;
}


img{
  pointer-events: none;
    /*border: 1px solid #ff0000;*/
}

input{
  font-size:13px;

}

/* block Long Pause */
.BLP{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}






.refH{
    display: block;
    width: 100%;

    position: absolute;
    /*position: relative;*/
    top: 0;
    left: 0;

    opacity: 0;
}





/*/////////////////////////////////////////////*/
/*/////////////////// index ///////////////////*/
/*/////////////////////////////////////////////*/

.bodyContent{
  display: block;
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;

  /*border: 1px solid #ff00ff;*/

}


.indexBG{
  display: block;
  width: 100%;

  position: relative;
  top:0;
  left: 0;

  margin-top: 12vw;
}



.btnLogin{
  display: block;
  width: 40%;

  position: relative;
  top:0;
  left:30%;
  margin-top: -22vw;

  pointer-events: auto;
}

.clickme{
  display: block;
  width: 15%;

  position: relative;
  top: 0;
  left: 62%;
  margin-top: -15vw;
}









/*/////////////////////////////////////////////*/
/*/////////////////// MENU ///////////////////*/
/*/////////////////////////////////////////////*/
.headContent{
  display:block; ;
  width: 100%;

  position: relative;
  position: absolute;
  top: 0;
  left: 0;

  margin-top: 2vw;

  /*border: 1px solid;*/
}

.logo{
  display: inline-block;
  width: 15%;
  position: relative;
  /*margin-top: 2vw;*/
  margin-left: 3vw;  

  /*z-index: 11;*/
}


.btnMenu,
.btnBgmON,
.btnBgmOff
{
  display: block;
  width: 11vw;

  position: absolute;
  left:85%;
  top:0%;
  margin-top: 1vw;

  pointer-events: auto;
}

.btnMenuClose,
.btnBgmON{
  display: block;
  display: none;
  z-index: 20;

  pointer-events: auto;
}

/*.btnBgmON{ display: block; }*/
.menuContent{
  display: block;
  width: 100%;
  height: 100%;

  position: absolute;
  position: fixed;
  top: 0;
  left: 0;

  background-color: rgba(255,255,255,.6);
}

.menuBG{
  display: block;
  width: 100%;

  position: relative;
  top: 0;
  left: 0;

  margin-top: 15vw;
}

.menuContent ul{
  display: block;
  width: 80%;

  position: absolute;
  top: 0;
  left: 0;

  /*border: 1px solid;*/
  margin-top: 40vw;

  left: 50%;
  transform: translateX(-50%);
}

.menuContent ul li{
  display: block;
  width: 100%; 

  /*border: 1px solid #dff000;*/
  margin-bottom: 3vw;
}

.menuContent ul li img{
  display: block;
  height: 10vw;
}

.menuGrounp{
  display: block;
  display: none;
}

.navs{
  pointer-events: auto;
}

/*/////////////////////////////////////////////*/
/*/////////////////// about ///////////////////*/
/*/////////////////////////////////////////////*/
.aboutContent{
  display: block;
  display: none;
  width: 100%;
  height: 100%;

  position: fixed;
  top: 0%;
  left: 0%;

  background-color: rgba(255,255,255,.6);
}


.termsContainer{
  display: block;
  width: 90%;
  height: 90%;

  position: relative;
  top: 5%;
  left: 5%;

  /*overflow: hidden;*/
  overflow-x: hidden;
  /*border: 1px solid #fff;*/
  border-radius: 5px;
}
.aboutBG{
  display: block;
  width: 100%;

  position: relative;
  top: 0%;
  left: 0%;
}

.btnTermsClose{
  display: block;
  width: 6%;

  position: absolute;
  top: 0%;
  left: 0%;

  margin-top: 20px;
  margin-left: 90%;

  pointer-events: auto;
}



/*/////////////////////////////////////////////*/
/*/////////////////// result ///////////////////*/
/*/////////////////////////////////////////////*/
.resultWin,
.resultLost
{
  display: block;
  width: 100%;
  /*height: 500px;*/

  position: relative;
  top: 0;
  left: 0;

}

.resultWin{display: none;}
.resultLost{display: none;}

.resBG{
  display: block;
  width: 100%;

  position: relative;
  top:0;
  left: 0;

  margin-top: 2vw;
}
.resultWin > .resBG{ margin-top: 2vw; }
.resultLost > .resBG{ margin-top: 10vw; }

.score{
  font-family: "Tahoma","Arial";
  font-weight: bold;
  font-size: 30px;
  font-size: 8vw;
  /*text-align: right;*/

  display: block;
  width: 25%;

  position: relative;
  top: 0;
}

.resultWin > .score{
  left: 47%;

  margin-top: -17.5vw;
  color:#ffef34;
  text-align: center;
}

.resultLost > .score{
  left: 37%;

  margin-top: -37vw;
  color:#444;
  text-align: right;
}

.lostBG{
  display: block;
  width: 100%;

  position: relative;
  top:0;
  left: 0;
}

.btnReplay{
  display: block;
  width: 50%;

  position: relative;
  top:0%;
  left: 25%;

  margin-top: -18vw;
  margin-bottom: 10vw;

  pointer-events: auto;
}

.recipe{
  display: none;
  width: 100%;

  position: relative;
  top: 0;
  left: 0;
  margin-top: 3vw;
}

/*.r1{ display: block; }*/

.formPannel{
  display: block;
  width: 100%;

  position: relative;
  top:0;
  left: 0;
  margin-top: 3vw;
}

.formBG{
  display: block;
  width: 100%;

  position: relative;
  top: 0;
  left: 0;
}
.formUl{
  display: block;
  width: 90%;

  position: absolute;
  top:18%;
  left: 5%;

  /*border: 1px solid;*/
}

.formUl li{
  display: block;
  width: 100%;

  position: relative;
  top: 0;
  left: 0;
  /*border:  1px solid #ff00ff;*/
  /*margin-top: 1%;
  margin-bottom: 2%;*/
}

.lblName,
.lblPhone,
.lblMail{
  display: block;
  width: 100%;
  
  position: relative;
  top: 0;
  left: 0;

  text-align: center;
  margin-bottom: 2%;
}

/*.lblName{ margin-top:  }*/

.insertName,
.insertPhone,
.insertEmail{
  display: block;
  width: 95%;

  position: relative;
  top:0;
  left: 0;

  background-color: #e5e5e5;
  color:#333;
  font-size: 18px;
  height: 40px;
  height: 10vw;
  
  border-radius: 10px;
  border: 0;
  padding-left: 5%;

  margin-bottom: 4%;
}
/*::placeholder{ color:#fff; }*/

.chk{
 display: block; 

 position: absolute;
 top: 0;
 left: 0;
}

.txtRead{
  display: block;
  width: 95%;

  position: absolute;
  top: 0;
  left: 5%;

  font-size:10px;
  color:#000;
}

.aAbout{
  text-decoration: underline;
  color:#000;
}

.btnSubmit{
  display: block;
  width: 50%;

  position: relative;
  top:0;
  left: 25%;

  margin-top: 12%;

  pointer-events: auto;
}


.btnFormOpen{
  display: block;
  width: 12%;

  position: relative;
  top: 0;
  left: 44%;
  margin-top: -7vw;

  pointer-events: auto;
}


.formGroup1{ display: none; }
.formGroup2{ display: none; }


.buttons{
  display: block;
  width: 100%;

  position: relative;
  top:0;
  left:0;

  margin-top: 5vw;
  /*border: 1px solid;*/
  /*height: 100px;  */
}

.buttons img{
  display: inline-block;
  width: 40%;

  position: relative;
  top:0;
  left: 0;

  margin-left: 5%;
  margin-bottom: 3vw;

  pointer-events: auto;
}





/*/////////////////////////////////////////////*/
/*///////////// recipe  productBG  /////////////*/
/*/////////////////////////////////////////////*/
.recipeBG,.productBG{
  display: block;
  width: 100%;

  position: relative;
  top: 0;
  left: 0;
}

.btnHome{
  display: block;
  width: 50%;

  position: relative;
  top: 0;
  left: 25%;
  margin-bottom: 5vw;

  pointer-events: auto;
}


.home1{ margin-top: -17vw; }
.home2{ margin-top: -25vw; }
/*.home3{margin-top:5}*/



/*/////////////////////////////////////////////*/
/*////////////////////// rank  ////////////////*/
/*/////////////////////////////////////////////*/

.rankBG{
  display: block;
  width: 60%;

  position: relative;
  top: 5vw;
  left: 15%;
}


.rankUl{
  display: block;
  width: 90%;

  position: relative;
  top: 0;
  left: 5%;

  /*border: 1px solid;*/
  margin-top: 7vw;
  margin-bottom: 5vw;
}

.rankUl li{
  position: relative;
  /*border: 1px solid;*/
  margin-bottom: 1vw;
}

.rankUl li img{
  display: block;
  width: 100%;

  position: relative;
  top: 0;
  left: 0;

}


.rankUl span,
.rankName,
.rankScore{
  display: block;
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
}




.rankUl span{
  /*display: inline-block;*/
  width: 10%;
  left: 1%;

  font-family: "Tahoma","Arial";
  font-weight: bold;
  font-size: 5vw;
  color:#fff100;
  /*border: 1px solid;*/
  text-align: center;
}



.rankName{
  color:#fff;
  font-size: 20px;
  left: 15%;
}

.rankScore{
  width: 30%;
  right: 5%;

  color:#fff;
  font-size: 20px;
  font-family: "Tahoma","Arial";
  font-weight: bold;
  text-align: right;
}

.userLi{ display: none; }

.userName{ 
  font-size: 15px;
  font-weight: bold;
}



/*/////////////////////////////////////////////*/
/*/////////////////// game  ///////////////////*/
/*/////////////////////////////////////////////*/

.gameCanvas{
  background: url(../images/game-bg-1.png) center center no-repeat;
    background-size: 100% 100%;
}

.btn-tut{
  pointer-events: auto;
}

.boardContainer{
  display: block;
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;

  /*border: 1px solid #000;*/
  margin-top: 20vw;
}

.boardContainer img{
  display: inline-block;
  position: relative;
  top: 0;
  left: 0;

}

.timeBG{
  width: 40%;
  margin-left: 3%;
}
.scoreBG{
  width: 45%;
  margin-left: 8%;
}

.game-score,
.game-time
{
  display: inline-block;
  width: 20%;
  /*border: 1px solid;*/
  
  position: absolute;
  top: 60%;
  left: 14%;
  transform: translateY(-50%);

  font-family: "Tahoma","Arial";
  font-weight: bold;
  font-size: 6vw;
 
  text-align: right;
  color:#e61a0f;
}

.game-score{
  font-size: 5vw;
  left: 72%;
  color:#fff;

}


.comboContent{
  display: block;
  display: none;
  width: 100%;

  position: relative;
  position: fixed;
  left: 0;
  top: 0;
  /*margin-top: -30vw;*/
  margin-top: 90vw;
}

.comboBG{
  display: block;
  width: 100%;

  position: relative;
  top:0;
  left:0;
}

.comboNum{
  display: block;
  width: 20%;

  position: absolute;
  top:24%;
  left: 68%;

  font-family: "Tahoma","Arial";
  font-weight: bold;
  font-size: 12vw;
  color:#be2721;
}

#timeBar{
  display: block;
  display: none;
  position: absolute;
  left: 0;

  width: 100%;
  height: 2px;

  margin-top: 34vw;
}

#timeBar div{
    display: block;
    position: relative;
    top: 0;
    left:0; 

    width: 100%;
    height: 100%;
    background-color: #f2971c;
}

.ruleContainer,
.timeupContent
{
  display: block;
  width: 100%;
  height: 100%;

  position: fixed;
  top:0;
  left: 0;

  /*display: none;*/
}

.ruleBG{
  display: block;
  width: 100%;
  height: 100%;

  position: absolute;
  top:0;
  left: 0;

  /*border: 1px solid;*/
  background-color: rgba(0,0,0,.5);
}

.rule{
  display: block;
  width: 100%;

  position: relative;
  top: 5%;
  left: 0;
}

.tut_demo{
    display: block;
    width: 76%;
    position: relative;
    top: 0;
    left: 12%;
    margin-top: -97vw;
    margin-bottom: 33vw;
}


.btnStart{
  display: block;
  width: 40%;

  position: relative;
  top:0;
  left: 30%;

  pointer-events: auto;
}

.countToStartContent{
  display: block;
  width: 100%;

  position: fixed;
  top: 0;
  left: 0;

  /*border: 1px solid;*/
  /*pointer-events: none;*/
  /*background-color: #000;*/
}

.countBG{
  display: block;
  width: 100%;

  position: relative;
  position: absolute;
  top:0;
  left: 0;
}

.count0,
.count1,
.count2,
.count3
{ display: block;
  width: 100%;

  position: absolute;
  top:10%;
  left: 0; 

  display: none;
}


.timeupContent{
  display: block;
  display: none;


  text-align: center;
  font-family: "Tahoma","Arial";
  font-weight: bold;
  color: #fff;
}

.timeupContent span{
  display: block;
  width: 100%;
  position: relative;
  top: 0%;
  left: 0;
  /*text-align: center;
  font-family: "Tahoma";
  font-weight: bold;*/
  font-size: 12vw;
  /*color: #be2721;*/
  /*margin-top: 50vw;*/
  margin-top: 65vw;
  margin-bottom: 5vw;
}

.timeupContent img{
  display: block;
  width: 100%;

  position: absolute;
  top: 0%;
  left: 0;

}


.timeupContent h2,
.timeupContent label{
  display: block;
  width: 100%;
  position: relative;
  font-size: 8vw;
}

.finalScore{
  color:#fff;
  /*font-size: 10vw;*/
}


.awardList{
  display: block;
  width: 100%;
  position: relative;
  margin-top: 15%;
}



/* mobile */
@media (min-width: 300px) and (max-width: 640px) 
/*@media screen and (max-width: 640px) */
/*@media screen and (min-width: 640px) */
{

  body{
    background-color: #f2e2c7;
  }


}









.hide{ display: none; }


.whiteCover{
    display: block;
    width: 100%;
    height: 100%;
    height: 2000px;
    background-color: #fff;
    position: absolute;
    top:0;
    left: 0;

    color: #ccc;
    z-index: 999;
}

.whiteCover span{
    display: block;
    position: absolute;
    top:4%;
    left:10%;
    font-size: 10vw;
}



.loadinggif{
    display: block;
    width: 20%;

    position: absolute;
    left: 40%;
    top:30%;
}





.scale-in-center {
  -webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate-reverse both;
          animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate-reverse both;
}


/**
 * ----------------------------------------
 * animation scale-in-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}


.whiteCover{
  display: block;
  width: 100%;
  height: 100%;

  position: fixed;
  top: 0;
  left: 0;

  background-color: #f2e2c7;
  z-index: 999;

}






