@import "reset.css";
/*  */
#loading {
	display:block;
	background:#1a1a1a url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/loading.gif) center no-repeat;
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:999999;
}
#loading p {
	width:100%;
	height:50px;
	text-align:center;
	position:absolute;
	top:50%;
	margin-top:-15px;
	left:0;
	font-family: Arial, Helvetica, sans-serif;
	font-size:1.5em;
	color:#999;
	z-index:999999999;
}
/* index */
.p-index {position:relative;height: 100%; width: 100%; min-width:320px;max-width:640px;margin:0 auto;overflow: hidden;display: none; transform-style: preserve-3d;-webkit-transform-origin: 0px 0px 0px;-webkit-perspective: 200px; -webkit-backface-visibility: hidden; }
.portrait .p-index { -webkit-transform: scale(0.4); margin-top: -44%; }
/* m- */
.m-page{position:absolute;left:0;top:0%;height:100%;width:100%;min-width:320px;max-width:640px;-webkit-transform-origin: 50px 0px 0px;display:none;}
.m-page.cur{ display:block;z-index:3;}

.m-img{width:100%;height:100%;}
/* page0 */
.m-img1 { 
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/bg.gif) top center no-repeat;
	background-size: 100% 100%;
	position: relative;
}
.homgPage {
	width: 100%;
	height: 100%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/bg.gif) center center no-repeat;
	background-size: 100% 100%;
	position: relative;
	/*display: none;*/
}
.muse1{
	width: 22%;
    height: 10%;
    position: absolute;
    top: 7.11%;
    left: 71%;
    background: url(../images/mune.png) top center no-repeat;
    background-size: auto 100%;
}
.homgPage .zhu{
	width: 100%;
	height: 100%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/homepage.png) center center no-repeat;
	background-size: 100% 100%;
	position: absolute;
}
.homgPage p:nth-child(1) {
	width: 40%;
	height: 8.24%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/start.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	z-index: 1;
	top: 82%;
	left: 30%;
}
.logo{
	width:32%;
    height: 19.11%;
    background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/logo_01.png) top center no-repeat;
    background-size: auto 100%;
    position: absolute;
    z-index: 1;
    top: 1%;
    left: 10px;
}
.homgPage p:nth-child(2) {
	width:32%;
    height: 19.11%;
    background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/logo_01.png) top center no-repeat;
    background-size: auto 100%;
    position: absolute;
    z-index: 1;
    top: 1%;
    left: 10px;
}
/*rule*/
.rule{
	display: none;
	width: 100%;
	height: 100%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/bg.gif) no-repeat;
	background-size: 100% 100%;  
}
.rule .test{
	width: 82.8%;
    height: 68.54%;
    position: absolute;
    top: 13%;
    left: 10%;
	
}
.rule .test img{
	width: 100%;
	height: 100%;
	opacity: 1;
	
}
.close {
	width: 40%;
    height: 12.24%;
    position: absolute;
    z-index: 1;
    top: 84%;
    right: 30%;
    background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/but.png) top center no-repeat;
    background-size: auto 100%;
}
/* look for */
.lookFor {
	width: 100%;
	height: 100%;
	position: absolute;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/bg.gif) top center no-repeat;
	background-size: cover;
	top: 0;
	left: 0;
	display: none;
}
.lookFor img{
	width: 100%;
	height: 100%;
}
.lookFor h2:nth-child(1) {
	width: 82%;
	height: 5.39%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/text1.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 3.1%;
	left: 9%;
}
.lookFor p:nth-child(2) {
	width: 33.47%;
	height: 18.89%;
	/*background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/head_dog.png) top center no-repeat;
	background-size: auto 100%;*/
	position: absolute;
	top: 13.64%;
	left: 10.53%;
}
.lookFor p:nth-child(3) {
	width: 33.47%;
	height: 27.29%;
	/*background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/head_dog.png) top center no-repeat;
	background-size: auto 100%;*/
	position: absolute;
	top: 36.83%;
	left: 10.53%;
}
.lookFor p:nth-child(4) {
	width: 33.47%;
	height: 24.14%;
	/*background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/head_peacock.png) top center no-repeat;
	background-size: auto 100%;*/
	position: absolute;
	top: 70.84%;
	left: 10.53%;
}
.lookFor p:nth-child(5) {
	width: 24.8%;
	height: 18.89%;
	/*background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/tail_peacock.png) top center no-repeat;
	background-size: auto 100%;*/
	position: absolute;
	top: 13.64%;
	left: 64%;
}
.lookFor p:nth-child(6) {
	width: 18.4%;
	height:15.29%;
	/*background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/tail_pig.png) top center no-repeat;
	background-size: auto 100%;*/
	position: absolute;
	top: 46.63%;
	left: 68.27%;
}
.lookFor p:nth-child(7) {
	width: 23%;
	height: 19.71%;
	/*background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/tail_dog.png) top center no-repeat;
	background-size: auto 100%;*/
	position: absolute;
	top: 74.43%;
	left: 67.6%;
}
.lookFor p img{
	width: 100%;
	height: 100%;
}
.lookFor-p2-animate {
	-webkit-animation:positionChange2 1s .2s ease both;
}
@-webkit-keyframes positionChange2{
0%{opacity:1;
-webkit-transform:translate(0,0)}
100%{opacity:0;
-webkit-transform:translate(100px,280px)}
}
.lookFor-p6-animate {
	-webkit-animation:positionChange6 1s .2s ease both;
}
@-webkit-keyframes positionChange6{
0%{opacity:1;
-webkit-transform:translate(0,0)}
100%{opacity:0;
-webkit-transform:translate(-100px,30px)}
}
.lookFor-p3-animate {
	-webkit-animation:positionChange3 1s .2s ease both;
}
@-webkit-keyframes positionChange3{
0%{opacity:1;
-webkit-transform:translate(0,0)}
100%{opacity:0;
-webkit-transform:translate(100px,30px)}
}
.lookFor-p7-animate {
	-webkit-animation:positionChange7 1s .2s ease both;
}
@-webkit-keyframes positionChange7{
0%{opacity:1;
-webkit-transform:translate(0,0)}
100%{opacity:0;
-webkit-transform:translate(-100px,-200px)}
}
.lookFor-p4-animate {
	-webkit-animation:positionChange4 1s .2s ease both;
}
@-webkit-keyframes positionChange4{
0%{opacity:1;
-webkit-transform:translate(0,0)}
100%{opacity:0;
-webkit-transform:translate(120px,-250px)}
}
.lookFor-p5-animate {
	-webkit-animation:positionChange5 1s .2s ease both;
}
@-webkit-keyframes positionChange5{
0%{opacity:1;
-webkit-transform:translate(0,0)}
100%{opacity:0;
-webkit-transform:translate(-120px,250px)}
}
/*wrong*/
.wrong{
	display: none;
    width: 40.8%;
    height: 19.74%;
    position: absolute;
    top: 68%;
    left: 27%;
}
.wrong img{
	width: 100%;
	height: 100%;
	
}
/* result */
.result {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.result p {
	display: none;
}
.result p:nth-child(1) {
  background-color: rgb(253, 69, 74);
  width: 150%;
  height: 20%;
  -webkit-transform:rotate(-10deg);
  position: absolute;
  top: 22.63%;
  right: -30%;
  opacity: 0;
}
.result p:nth-child(2) {
  background-color: rgb(253, 216, 69);
  width: 150%;
  height: 20%;
  -webkit-transform:rotate(-10deg);
  position: absolute;
  top: 42.63%;
  right: -30%;
  opacity: 0;
}
.result p:nth-child(3) {
  background-color: rgb(49, 170, 255);
  width: 150%;
  height: 20%;
  -webkit-transform:rotate(-10deg);
  position: absolute;
  top: 62.63%;
  right: -30%;
  opacity: 0;
}
/*.result-p2-animate {
	-webkit-animation:fadeIn .8s .2s ease both;
}*/
.result-p1-animate {
	-webkit-animation:bounceInRight .8s .8s ease both;
}
.result-p2-animate {
	-webkit-animation:bounceInRight .8s 1.4s ease both;
}
.result-p3-animate {
	-webkit-animation:bounceInRight .8s 2s ease both;
}
@-webkit-keyframes bounceInRight{
0%{opacity:0;
-webkit-transform:rotate(-10deg) translateX(2000px)}
60%{opacity:1;
-webkit-transform:rotate(-10deg) translateX(-30px)}
80%{opacity:1;-webkit-transform:rotate(-10deg) translateX(10px)}
100%{opacity:1;-webkit-transform:rotate(-10deg) translateX(0)}
}
/* wholeImg */
.wholeImg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.wholeImg p {
	opacity: 0;
}
.wholeImg p:nth-child(1) {
	width: 69%;
    height: 35.43%;
    background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/wolfwhole_03.png) top center no-repeat;
    background-size: auto 100%;
    position: absolute;
    top: 35.08%;
    left: 21%;
	/*-webkit-animation:fadeIn .8s 2.6s ease both;*/
}
.wholeImg p:nth-child(2) {
	width: 56.13%;
    height: 35.73%;
    background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/lionwhole_03.png) top center no-repeat;
    background-size: auto 100%;
    position: absolute;
    top: 32.28%;
    left: 24.27%;
}
.wholeImg p:nth-child(3) {
	width: 58.13%;
	height:39.88%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/tigerwhole_03.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 31.93%;
	left: 20.8%;
}
.wholeImg-p-animate {
	-webkit-animation:fadeIn .8s 2.6s ease both;
}
@-webkit-keyframes fadeIn{
0%{opacity:0}
100%{opacity:1}
}
/* thankyou */
.thankyou {
	width: 100%;
	height: 100%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/thankYou.png) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.thankyou #onceMore {
	width: 22%;
    height: 10.51%;
    background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/playagain1.png) top center no-repeat;
    background-size: auto 100%;
    position: absolute;
    top: 81.11%;
    left: 8%;
    -webkit-animation: rotate 3s linear infinite;
}
@-webkit-keyframes rotate{
0%{-webkit-transform:rotate(0deg)}
100%{-webkit-transform:rotate(360deg)}
}
.muse{
	width: 22%;
    height: 10%;
    position: absolute;
    top: 82.11%;
    left: 68%;
    background: url(../images/mune.png) top center no-repeat;
    background-size: auto 100%;
}
.musetext{
	width: 30.13%;
    height: 2.3%;
    position: absolute;
    top: 93.11%;
    left: 65%;
    background: url(../images/musetext.png) top center no-repeat;
    background-size: auto 100%;
}
.erweima{
	width: 25%;
	height: 13.56%;
	position: absolute;
	top: 2.09%;
	right: 4.6%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/erweimapict.png) top left no-repeat;
	background-size: auto 100%;
	overflow: hidden;
}
.code-animate {
	-webkit-animation:codesport 1.6s ease infinite;
}
@-webkit-keyframes codesport{
0%{-webkit-transform:scale(1)}
50%{-webkit-transform:scale(1.1)}
100%{-webkit-transform:scale(1)}
}
.playtext{
	width: 20.13%;
    height: 3.6%;
    position: absolute;
    top: 93.11%;
    left: 7%;
    background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/playagaintext_03.png) top center no-repeat;
    background-size: auto 100%;
}
.rewie{
	display: none;
	width: 100%;
	height: 100%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/ransebg_02.gif) 0 0 no-repeat;
	background-size: 100% 100%;
	position:relative;
	z-index: 1;
	overflow: hidden;
}
.share{
	width: 36%;
	height: 11.84%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/btn_share.png) top right no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 2%;
	right: 1%;
	-webkit-animation:sharesport 1.6s ease infinite;
}
.close1{
	width: 20%;
	height: 9%;
	background: url(http://live.babyfs.cn/web/H5/wjy/foundail20170308/close.png) top left no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 5%;
	left: 5%;
	z-index: 999;
}
@-webkit-keyframes sharesport{
0%{
-webkit-transform:translateY(-10px)}
50%{
-webkit-transform:translateY(0px)}
100%{
-webkit-transform:translateY(-10px)}
}
.rewie-animate{
	-webkit-animation:rewiesport 2s .2s ease both;
}
@-webkit-keyframes rewiesport{
	0%{opacity:1;-webkit-transform:scale(1) translate(0)}
	100%{opacity:0.3;-webkit-transform:scale(0.3) translate(300px,-2200px)}
}
.er{
	width:51.73%;
	height:29.09%;
	position: absolute;
	top: 44.68%;
	left: 24.53%;
}
.er img{
	width: 100%;
	height: 100%;
}
