html,body{margin:0; padding:0; width:100vw; height:100vh; overflow: hidden;}
body{
    font:normal 14px/1.5 "Microsoft Yahei","Lucida Grande",Tahoma,Verdana,STXihei,hei;color:#000;
    background-color:#fdd69d;
}
ul,ol,li,em,p,span,h1,h2{margin:0; padding:0; font-weight:normal; list-style:none; font-style:normal}
a{text-decoration: none; color: #366;}
:focus {outline: 0;}
.show {display: block !important;}
.hide {display: none !important;}

/*loading page*/
.loadpage{position:fixed; width:100%; height:100vh; left:0; top:0;
    background:#e1c38e url("../img/bgs1.jpg") no-repeat center center;
    background-size:100% auto; z-index:200; color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
}
.loader {width: 120px;}
.loader .icon {
    display: block;
    width: 80px; height: 80px;
    text-align: center;
    background:transparent url("../img/c2r1.gif?v3") no-repeat center top;
    background-size: 100%;
    margin: 0 auto 10px;
}
.progress {
    width: 100%; height: 2px; position: relative;
    background-color: rgba(152,36,28,0.2); font-size: 0;
    border-radius: 2px;
}
.progress span {
    height: 2px;
    background-color: rgba(152,36,28,0.5);
    border-radius: 2px;
    display: inline-block;
}


/* active-info */
.active-info{
    position:fixed; right:10px; top:15px; z-index:102; width:50px; height: 50px;
}
.bgaudio a {
    visibility: hidden; width:50px; height: 50px; overflow: hidden;
    background: transparent url(audio.png) 0 0 no-repeat;
    background-size: 100%;
}
.bgaudio .active {display: block; visibility: visible;}
.bgaudio .active span {display: block !important; visibility: visible !important;}

.btn-playing.active {
    -webkit-animation:tips 1s 0.5s infinite linear;
            animation:tips 1s 0.5s infinite linear;
}
.bgaudio a.btn-mute {background-position: 0 bottom;}

/* next arrow */
.tonext {
    position: absolute; z-index: 50;

}
.storywrap .tonext {
    right:15px; bottom: 20px;
    width: 40px; height: 40px;
    margin-left: -20px;
    opacity: 0; visibility: hidden;
    background:transparent url(arrow3.png) no-repeat left top;
    background-size: 100% auto;
    -webkit-animation:swingY infinite 3s ease;
            animation:swingY infinite 3s ease;
}

.yinyan .tonext,
.weixin1 .tonext {
    right:50%; bottom: 10px;
    margin-right: -20px;
    width: 40px;
    height: 40px;
    background:transparent url(arrow3.png) no-repeat left top;
    background-size: 100% auto;
    -webkit-animation:swingY infinite 3s ease;
            animation:swingY infinite 3s ease;
}
.yinyan .tonext {opacity: 0;}


/* swiper container*/
.container {
  width: 100%;
  height: 100vh;
  position: relative; overflow: hidden;
  z-index: 2;
}


.cpage {
    position: absolute; width: 100%; height: 100%; left: 0; top: 0;
    visibility: hidden;
}
.cpage.active {
    visibility: visible;
}
.cpage > div {
    position: absolute; width: 100%; height: 100%; left: 0; top: 0;
}

.cpage .item > div {position: absolute; width: 100%; height: 100%; left: 0; top: 0;}


.cover {
    z-index: 20;
    background: transparent url("../img/bgc.jpg") no-repeat 0 bottom;
    background-size: cover;
}
.cover div:nth-child(1),
.cover div:nth-child(2) {
    width: 120vw;
    height: 30vw;
}
.cover div:nth-child(1) {
    background: transparent url("../img/c-cloud.png") no-repeat 0 0;
    background-size: auto 100%;
}
.cover div:nth-child(2) {
    background: transparent url("../img/c-cloud2.png") no-repeat 0 0;
    background-size: auto 100%;
}
.cover.active div:nth-child(1),
.cover.active div:nth-child(2) {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    transition: transform 50s linear;
}
.cover.active div:nth-child(2) {
    transition-duration: 120s;
}
.cover div:nth-child(3) {
    background: transparent url("../img/c-r1.gif") no-repeat -10vw 30%;
    background-size: 100% auto;
}
.cover div:nth-child(4) {
    background: transparent url("../img/ct.png") no-repeat 0 0;
    background-size: 100% auto;
    opacity: 0;
}
.cover.active div:nth-child(4) {
    opacity: 1;
    transition: opacity 1s 0.5s;
}
.cover div:nth-child(5) {
    background: transparent url("../img/c-r2.gif") no-repeat 0 120%;
    background-size: 100% auto;
}
/* iPhone XS 2436x1125px at 458ppi */
@media only screen
    and (device-width : 375px)
    and (device-height : 812px)
    and (-webkit-device-pixel-ratio : 3) {
    .cover div:nth-child(4) {background-position: 0 6vw;}
    .cover div:nth-child(5) {background-position: 0 98%;}
}
/* iPhone XS Max 2688x1242px at 458ppi */
@media only screen
    and (device-width : 414px)
    and (device-height : 896px)
    and (-webkit-device-pixel-ratio : 3) {
    .cover div:nth-child(4) {background-position: 0 6vw;}
    .cover div:nth-child(5) {background-position: 0 98%;}
}
#btnStart {
    position: absolute;
    width: 120px;
    height: 50px;
    top:auto;
    left: 50%;
    bottom: 15%;
    z-index: 20;
    margin-left: -60px;
    background: transparent url("../img/btn-start.png") no-repeat 0 0;
    background-size: 100% auto;
    opacity: 0;
    -webkit-animation:tips 1s infinite;
    animation:tips 1s infinite;
}
.cover.active #btnStart {
    opacity: 1;
    transition:opacity 1s 1s;
    cursor: pointer;
}
.cover .logo {
    position: absolute;
    width: 50px;
    height: 30px;
    left: 15px;
    top: 15px;
    z-index: 100;
    background: transparent url("paper-logo.png") no-repeat 0 0;
    background-size: 100% auto;
}

.yinyan {
    z-index: 19;
    background: transparent url("../img/bg.jpg") no-repeat 0 0;
    background-size: cover;
}
.yinyan > div {opacity: 0;}

.yinyan.active .tonext {
    opacity: 1; visibility: visible;
    transition: all 1s;
}

.yinyan.active div {
    opacity: 1;
    transition: opacity 2s 0.5s;
}

.yinyan div:nth-child(1) {
    background: transparent url("../img/c2t1.png") no-repeat 0 center;
    background-size: 100% auto;
}
.yinyan div:nth-child(2) {
    background: transparent url("../img/c2t2.png") no-repeat 0 center;
    background-size: 100% auto;
}
.yinyan div:nth-child(3) {
    background: transparent url("../img/c2t3.png") no-repeat 0 center;
    background-size: 100% auto;
}
.yinyan div:nth-child(4) {
    background: transparent url("../img/c2t4.png") no-repeat 0 center;
    background-size: 100% auto;
}
.yinyan div:nth-child(5) {
    background: transparent url("../img/c2t5.png") no-repeat 0 center;
    background-size: 100% auto;
}
.yinyan div:nth-child(6) {
    background: transparent url("../img/c2t6.png") no-repeat 0 center;
    background-size: 100% auto;
}
.yinyan div:nth-child(7) {
    background: transparent url("../img/c2t7.png") no-repeat 0 center;
    background-size: 100% auto;
}
.yinyan.active div:nth-child(1) {transition-delay: 0.8s;}
.yinyan.active div:nth-child(2) {transition-delay: 1.6s;}
.yinyan.active div:nth-child(3) {transition-delay: 2.4s;}
.yinyan.active div:nth-child(4) {transition-delay: 3.2s;}
.yinyan.active div:nth-child(5) {transition-delay: 4s;}
.yinyan.active div:nth-child(6) {transition-delay: 4.8s;}
.yinyan.active div:nth-child(7) {transition-delay: 5.6s;}
.yinyan.active .tonext {transition-delay: 4s;}

.weixin1 {
    z-index: 8;
    background: transparent url("../img/bg-wx1.jpg") no-repeat left top;
    background-size: cover;
}
.weixin1.slideup {
    transform: translateY(-100vh);
    transition: transform 1s 0.3s;
}
.weixin1 .rmsg {
    padding-top: 70%;
    opacity: 1;
    box-sizing: border-box;
}
.weixin1 .rmsg img {
    opacity: 0;
    transform: scale(0.5);
}
.weixin1 div img {
    width: 100%; vertical-align: top;
}
.weixin1.active .rmsg img {
    transform: scale(1);
    transform-origin: center bottom;
    transition: opacity 0.6s ease-in, transform 0.6s ease-in;
    opacity: 1;
}
.weixin1.active .rmsg img:nth-child(2) {transition-delay: 0.3s;}
.weixin1.active .rmsg img:nth-child(3) {transition-delay: 0.6s;}

.weixin2 {
    z-index: 7;
    background: transparent url("../img/bg.jpg") no-repeat left top;
    background-size: cover;
}
.weixin2 .topbar {height: auto; z-index: 10; opacity: 1;}
.weixin2 .bottombar {height: auto; top:auto; bottom: 0; z-index: 10; opacity: 1;}
.weixin2 .bottombar img,
.weixin2 .topbar img,
.weixin2 .dcon div img,
.cpage .dpage div img {
    vertical-align: top; width: 100%;
}
.weixin2 .dcon {
   padding-top: 27vw; height: 90vh; box-sizing: border-box; opacity: 1;
   overflow-x: hidden;
   overflow-y: auto;
}
.weixin2 .dcon div {
    position: relative;
    transform: translateY(100vh);
}
.weixin2 .dcon div span {
    position: absolute; width: 18px; height: 18px; background-color: #ce3c3c;
    left: 12vw; top: 0; border-radius: 10px;
    font-size: 10px; color: #fff; text-align: center; line-height: 18px;
    animation: tips2 0.8s infinite;
}
.weixin2 .dcon div:nth-child(2) span {animation-delay: 0.3s;}

.weixin2 .dcon div .btn-touchtips {
    width: 40px;
    height: 40px;
    left: 50%;
    top: 10px;
    background: transparent url(icon-touch.png) no-repeat center center;
    background-size: auto 100%;
}

.weixin2.active .dcon div {
    transform: translateY(0);
    transition: transform 0.5s;
}
.weixin2.active .dcon div:nth-child(1) {transition-delay: 0.3s;}
.weixin2.active .dcon div:nth-child(2) {transition-delay: 0.5s;}
.weixin2.active .dcon div:nth-child(3) {transition-delay: 0.7s;}
.weixin2.active .dcon div:nth-child(4) {transition-delay: 0.9s;}
.weixin2.active .dcon div:nth-child(5) {transition-delay: 1s;}

.cpage .dpage {
    opacity: 1; z-index: 20;
    overflow: hidden;
    background: transparent url("../img/bg.jpg") no-repeat center center;
    background-size: 100% auto;
    transform: translateX(100vw);
}
.cpage .dpage.active {
    transform: translateX(0);
    transition: transform 0.5s;
}

.cpage .dpage .head,
.cpage .dpage .bar {
    position: absolute; left: 0; width: 100%; height: auto; z-index: 5;
}
.cpage .dpage .head {top: 0;}
.cpage .dpage .bar {bottom: 0;}

.dpage .sdcon {padding-top: 20vw; height: 90vh; box-sizing: border-box; overflow: auto;}
.dpage .sdcon .dwrap {position: relative;}
.dpage .sdcon .dwrap img:nth-child(2),
.dpage .sdcon .dwrap img:nth-child(3),
.dpage .sdcon .dwrap img:nth-child(4),
.dpage .sdcon .dwrap img:nth-child(5) {
    position: absolute; width: 100%; height:auto; left: 0; top: 0; z-index: 2;
    transform: translateY(100vw);
}
.dpage.active .sdcon .dwrap img:nth-child(2),
.dpage.active .sdcon .dwrap img:nth-child(3),
.dpage.active .sdcon .dwrap img:nth-child(4),
.dpage.active .sdcon .dwrap img:nth-child(5) {
    transform: translateY(0);
    transition: transform 0.3s;
}
.dpage.active .sdcon .dwrap img:nth-child(2){transition-delay:0.2s;}
.dpage.active .sdcon .dwrap img:nth-child(3){transition-delay:0.4s;}
.dpage.active .sdcon .dwrap img:nth-child(4){transition-delay:0.6s; transition-duration: 0.5s;}
.dpage.active .sdcon .dwrap img:nth-child(5){transition-delay:0.8s; transition-duration: 0.5s;}

.tips-click {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 60px;
    bottom: 5px;
    z-index: 10;
    background: transparent url(icon-touch.png) no-repeat center center;
    background-size: auto 100%;
    animation: tips 0.5s infinite;
}
.keyboard {height: 0; overflow: hidden; position: relative;}
.keyboard.active {height: auto;}
.keyboard .tips-click {
    opacity: 0;
    right:10px; left: auto;
    top: 10px; bottom: auto;
}
.keyboard.active .tips-click {
    opacity: 1;
    transition: opacity 0.5s 2s;
}
#myWord {position: absolute; width: 100%; left: 0; top: 0;}

.rigui {
    display: none;
    z-index: 5;
    background: #000 url("../img/bg-trans.jpg") no-repeat center center;
    background-size: 100% auto;
}

.rigui.active {
    display: block;
}

.rigui .xiaoren {
    position: absolute; left: 0; top:50%; margin-top: -50vw; z-index: 5;
    height: 100vw;
    width: 100vw;
    background: transparent url("../img/xr.gif") no-repeat center center;
    background-size: 100% auto;
    transform: rotate(0deg);
}
.rigui svg {
    position: absolute;
    height: 150vh;
    width: 150vh;
    margin-left: -75vh;
    margin-top: -75vh;
    top: 50%;
    left: 50%;
    overflow: visible;
    opacity: 1;
    z-index: 1;
}
.rigui svg circle {
    fill: rgba(0, 0, 0, 0);
    stroke: #000;
    stroke-width: 30;
    stroke-dasharray: 0, 95;
    stroke-dashoffset: 87.5;
}
.rigui.active svg circle {
    -webkit-animation: pie1 2s 2s 1 ease forwards;
            animation: pie1 2s 2s 1 ease forwards;
}
@-webkit-keyframes pie1 {
    to {stroke-dasharray: 95, 0;}
}
@keyframes pie1 {
    to {stroke-dasharray: 95, 0;}
}

.rigui.active .xiaoren {
    -webkit-animation: xiaoren 3.5s 0.5s ease forwards;
            animation: xiaoren 3.5s 0.5s ease forwards;
}
@-webkit-keyframes xiaoren {
    0% {transform: rotate(0deg);}
    37.5% {transform: rotate(140deg);}
    50% {transform: rotate(140deg);}
    90% {transform: rotate(450deg); opacity: 1;}
    100% {transform: rotate(460deg); opacity: 0;}
}
@keyframes xiaoren {
    0% {transform: rotate(0deg);}
    37.5% {transform: rotate(140deg);}
    50% {transform: rotate(140deg);}
    90% {transform: rotate(450deg); opacity: 1;}
    100% {transform: rotate(460deg); opacity: 0;}
}

/* bg imgs */
.p1 {
    background: transparent url("../img/bgs1.jpg") no-repeat 0 0;
    background-size: cover;
}
.p2 {
    background: transparent url("../img/bgs2.jpg") no-repeat 0 0;
    background-size: 100% auto;
}
.p3 {
    background: transparent url("../img/bgs3.jpg") no-repeat 0 center;
    background-size: cover;
}
.p4 {
    background: transparent url("../img/bgs4.jpg") no-repeat 0 0;
    background-size: 100% auto;
}
.p5 {
    background: transparent url("../img/bgs5.jpg") no-repeat 0 center;
    background-size: 100% auto;
}
.p6 {
    background: transparent url("../img/bgs6.jpg") no-repeat 0 0;
    background-size: 100% auto;
}

.cpage .maskb {
    position: absolute; width: 100%; height: 60vw; left: 0; top:auto; bottom: 0; z-index: 30;
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.6), rgba(0,0,0,1));
    background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.6), rgba(0,0,0,1));
    box-sizing: border-box;
    padding: 50px 36px 20px;
    transform: translateY(50vh);
}
.maskb.active {
    transform: translateY(0);
    transition: transform 1s;
}

.maskb .inner {
    height: 100%; position: relative;
    background: transparent url("../img/mask-b.png") no-repeat 0 0;
    background-size: 100% auto;
}
.srigui {
    position: absolute; left: 0; top: 0; width: 36vw; height: 36vw;
    background:transparent url(../img/srigui.png) no-repeat left top;
    background-size: 100% auto;
}
.srigui span {
    position: absolute; left: 2vw; bottom: 1vw; width: 30px; height: 30px;
    background:transparent url(../img/c2r1.gif?v2) no-repeat left top;
    background-size: 100% auto;
    animation: maskxr 6s infinite;
}
@-webkit-keyframes maskxr{
    0% {transform: translateX(0) rotateY(0deg);}
    40% {transform: translateX(26vw) rotateY(0deg);}
    59% {transform: translateX(26vw) rotateY(0deg);}
    60% {transform: translateX(26vw) rotateY(-180deg);}
    100% {transform: translateX(0) rotateY(-180deg);}
}
@keyframes maskxr{
    0% {transform: translateX(0) rotateY(0deg);}
    40% {transform: translateX(26vw) rotateY(0);}
    59% {transform: translateX(26vw) rotateY(0deg);}
    60% {transform: translateX(26vw) rotateY(-180deg);}
    100% {transform: translateX(0) rotateY(-180deg);}
}
.srigui div {
    width: 100%; height: 100%;
    background:transparent url(../img/srigui_zz.png) no-repeat left top;
    background-size: 100% auto;
    transform: rotate(0);
    transition: transform 1s 2s;
}
#p1mask.active .srigui div {transform: rotate(15deg);}
#p2mask.active .srigui div {transform: rotate(30deg);}
#p3mask.active .srigui div {transform: rotate(45deg);}
#p4mask.active .srigui div {transform: rotate(60deg);}
#p5mask.active .srigui div {transform: rotate(75deg);}
#p6mask.active .srigui div {transform: rotate(90deg);}

.maskb .inner > span {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 20px;
    margin-left: -10px;
    height: 42px;
    background: transparent url(arrow2.png) no-repeat left top;
    background-size: 100% auto;
    -webkit-animation: swingY infinite 2s ease;
    animation: swingY infinite 2s ease;
}
.maskb .inner img {width: 100%;}

.stuff {z-index: 3;}
.words {z-index: 5;}

/* p1 */
.btn-playpaino {
    position: absolute; width: 160px; height: 40px; left: 50%; bottom:10%; margin-left: -80px; z-index: 20;
    background: transparent url(../img/btn-play.png) no-repeat left top;
    background-size: 100% auto;
    opacity: 0;
}
.p1.active .btn-playpaino {
    opacity: 1;
    transition: opacity 1s 4s ease;
    animation: tips 1s infinite;
}

.p1 .stuff > div:nth-child(1) {
    background: transparent url("../img/p1-r9.gif") no-repeat left 10%;
    background-size: 100% auto;
}
.p1 .stuff > div:nth-child(2) {
    background: transparent url("../img/p1-r10.gif") no-repeat left 13%;
    background-size: 100% auto;
}
.p1 .stuff > div:nth-child(3) {
    background: transparent url("../img/p1-r8.gif") no-repeat 100% 20%;
    background-size: 100% auto;
}
.p1 .stuff > div:nth-child(4) {
    background: transparent url("../img/p1-r7.png") no-repeat left top;
    background-size: 100% auto;
}
.p1 .stuff > div:nth-child(5) {
    background: transparent url("../img/p1-r6.png") no-repeat left center;
    background-size: 100% auto;
}
.p1 .stuff > div:nth-child(6) {
    background: transparent url("../img/p1-r5.png") no-repeat left top;
    background-size: 100% auto;
    -webkit-transform: translateX(50vw);
            transform: translateX(50vw);
}
.p1.active .stuff > div:nth-child(6) {
    -webkit-transform: translateX(-50vw);
            transform: translateX(-50vw);
    transition: transform 50s linear;
}
.p1 .stuff > div:nth-child(7) {
    background: transparent url("../img/p1-r4.gif") no-repeat left 60%;
    background-size: 100% auto;
}
.p1 .stuff > div:nth-child(8) {
    background: transparent url("../img/p1-r1.png") no-repeat left bottom;
    background-size: 100% auto;
}
.p1 .stuff > div:nth-child(9) {
    background: transparent url("../img/p1-r3.gif") no-repeat left 50%;
    background-size: 100% auto;
    opacity: 0;
}
.p1 .stuff > div:nth-child(10) {
    background: transparent url("../img/p1-r2.gif") no-repeat left 50%;
    background-size: 100% auto;
    opacity: 0;
}
.p1 .stuff > div:nth-child(11) {
    background: transparent url("../img/p1-r0.png") no-repeat left bottom;
    background-size: 100% auto;
}
.p1 .stuff .flipitem:nth-child(1),
.p1 .stuff .flipitem:nth-child(2),
.p1 .stuff .flipitem:nth-child(3),
.p1 .stuff .flipitem:nth-child(5),
.p1 .stuff .flipitem:nth-child(7),
.p1 .stuff .flipitem:nth-child(11) {
    opacity: 0;
}
.p1.active .stuff .flipitem:nth-child(1),
.p1.active .stuff .flipitem:nth-child(2),
.p1.active .stuff .flipitem:nth-child(3),
.p1.active .stuff .flipitem:nth-child(5),
.p1.active .stuff .flipitem:nth-child(7),
.p1.active .stuff .flipitem:nth-child(11) {
    opacity: 1;
    transition: opacity 1s;
}
.p1.active .stuff .flipitem:nth-child(2) {transition-delay: 0.2s;}
.p1.active .stuff .flipitem:nth-child(3) {transition-delay: 0.4s;}
.p1.active .stuff .flipitem:nth-child(5) {transition-delay: 0.5s;}
.p1.active .stuff .flipitem:nth-child(7) {transition-delay: 0.6s;}
.p1.active .stuff .flipitem:nth-child(11) {transition-delay: 0.8s;}

.p1 .words div:nth-child(1) {
    background: transparent url("../img/p1-w1.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p1 .words div:nth-child(2) {
    background: transparent url("../img/p1-w2.png") no-repeat 0 top;
    background-size: 100% auto;
}
.p1 .words div:nth-child(3) {
    background: transparent url("../img/p1-w3.png") no-repeat 0 top;
    background-size: 100% auto;
}
.p1 .words div:nth-child(4) {
    background: transparent url("../img/p1-w4.png") no-repeat 0 top;
    background-size: 100% auto;
}

/* p2 */
.p2 .stuff > div:nth-child(1) {
    background: transparent url("../img/p2-r3.png") no-repeat 0 0;
    background-size: 100% auto;
    opacity: 0;
}
.p2.active .stuff > div:nth-child(1) {
    opacity: 1;
    transition: opacity 1s;
}
.p2 .stuff > div:nth-child(2) {
    background: transparent url("../img/p2-r1.gif") no-repeat left 90%;
    background-size: 100% auto;
}
.p2 .stuff > div:nth-child(3) {
    background: transparent url("../img/p2-r2.gif") no-repeat left 90%;
    background-size: 100% auto;
}

.p2 .words div:nth-child(1) {
    background: transparent url("../img/p2-w1.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p2 .words div:nth-child(2) {
    background: transparent url("../img/p2-w2.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p2 .words div:nth-child(3) {
    background: transparent url("../img/p2-w3.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p2 .words div:nth-child(4) {
    background: transparent url("../img/p2-w4.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p2 .words div:nth-child(5) {
    background: transparent url("../img/p2-w5.png") no-repeat 0 bottom;
    background-size: 100% auto;
}
.p2 .words div:nth-child(6) {
    background: transparent url("../img/p2-w6.png") no-repeat 0 center;
    background-size: 100% auto;
}

/* p3 */
.p3 .stuff > div:nth-child(1) {
    background: transparent url("../img/p3-r5.png") no-repeat 0 0;
    background-size: 100% auto;
}
/* .p3 .stuff > div:nth-child(2) {
    background: transparent url("../img/p3-r3.gif") no-repeat left center;
    background-size: 100% auto;
} */
.p3 .stuff > div:nth-child(3) {
    background: transparent url("../img/p3-r2.gif") no-repeat left bottom;
    background-size: 100% auto;
}

.p3 .stuff > div:nth-child(4) {
    background: transparent url("../img/p3-r1.gif") no-repeat left 70%;
    background-size: 100% auto;
}
.p3 .stuff > div:nth-child(5) {
    background: transparent url("../img/p3-r4.gif") no-repeat left bottom;
    background-size: 100% auto;
}

.p3 .words div:nth-child(1) {
    background: transparent url("../img/p3-w1.png") no-repeat 0 top;
    background-size: 100% auto;
}
.p3 .words div:nth-child(2) {
    background: transparent url("../img/p3-w2.png") no-repeat 0 top;
    background-size: 100% auto;
}
.p3 .words div:nth-child(3) {
    background: transparent url("../img/p3-w3.png") no-repeat 0 top;
    background-size: 100% auto;
}
.p3 .words div:nth-child(4) {
    background: transparent url("../img/p3-w4.png?v2") no-repeat 0 top;
    background-size: 100% auto;
}


/* p4 */
.p4 .stuff > div:nth-child(1) {
    background: transparent url("../img/p4-yun.png") no-repeat 0 0;
    background-size: 100% auto;
}
.p4 .stuff > div:nth-child(2) {
    background: transparent url("../img/p4-r5.gif") no-repeat 0 0;
    background-size: 100% auto;
}
.p4 .stuff > div:nth-child(3) {
    background: transparent url("../img/p4-r4.gif") no-repeat 0 0;
    background-size: 100% auto;
}
.p4 .stuff > div:nth-child(4) {
    background: transparent url("../img/p4-r1.gif") no-repeat left top;
    background-size: 100% auto;
}
.p4 .stuff > div:nth-child(5) {
    background: transparent url("../img/p4-r3.png") no-repeat left top;
    background-size: 100% auto;
    -webkit-animation: flashlight 1s infinite;
            animation: flashlight 1s infinite;
}
.p4 .stuff > div:nth-child(6) {
    background: transparent url("../img/p4-r2.gif") no-repeat left 96%;
    background-size: 100% auto;
}

.p4 .words div:nth-child(1) {
    background: transparent url("../img/p4-w1.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p4 .words div:nth-child(2) {
    background: transparent url("../img/p4-w2.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p4 .words div:nth-child(3) {
    background: transparent url("../img/p4-w3.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p4 .words div:nth-child(4) {
    background: transparent url("../img/p4-w4.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p4 .words div:nth-child(5) {
    background: transparent url("../img/p4-w5.png") no-repeat 0 center;
    background-size: 100% auto;
}

/* p5 */
.p5 .stuff > div:nth-child(1) {
    background: transparent url("../img/p5-r3.gif") no-repeat 0 center;
    background-size: 100% auto;
}
.p5 .stuff > div:nth-child(2) {
    background: transparent url("../img/p5-r1.gif") no-repeat left center;
    background-size: 100% auto;
}
.p5 .stuff > div:nth-child(3) {
    background: transparent url("../img/p5-r4.png") no-repeat left center;
    background-size: 100% auto;
}
.p5 .stuff > div:nth-child(4) {
    background: transparent url("../img/p5-r2.gif") no-repeat left center;
    background-size: 100% auto;
}
.p5 .stuff > div:nth-child(5) {
    background: transparent url("../img/p5-r5.png") no-repeat left bottom;
    background-size: 100% auto;
}

.p5 .words div:nth-child(1) {
    background: transparent url("../img/p5-w1.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p5 .words div:nth-child(2) {
    background: transparent url("../img/p5-w2.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p5 .words div:nth-child(3) {
    background: transparent url("../img/p5-w3.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p5 .words div:nth-child(4) {
    background: transparent url("../img/p5-w4.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p5 .words div:nth-child(5) {
    background: transparent url("../img/p5-w5.png") no-repeat 0 center;
    background-size: 100% auto;
}

.selectwrap {
    background-color: rgba(0,0,0,0.6);
    text-align: center;
    padding-top: 120%;
    opacity: 0;
}
.p5.active .selectwrap {
    background-color: rgba(0,0,0,0.6);
    text-align: center;
    padding-top: 50%;
    opacity: 1;
    transition: opacity 1s 10s;
    z-index: 10;
}
.selectwrap img {
    width: 100%; vertical-align: top;
}
.p5 .btn-ganlaji,
.p5 .btn-shilaji {
    display: inline-block; width: 40vw; height: 10vw;
}
.p5 .btn-ganlaji {
    background: transparent url("../img/btn-glj.png") no-repeat 0 0;
    background-size: 100% 100%;
}
.p5 .btn-shilaji {
    background: transparent url("../img/btn-slj.png") no-repeat 0 0;
    background-size: 100% 100%;
}

/* p6 */
.p6 .stuff > div:nth-child(1) {
    background: transparent url("../img/p6-r5.png") no-repeat 0 top;
    background-size: 100% auto;
    width: 142vw;
    transform: translateX(-100vw);
}
.p6.active .stuff > div:nth-child(1) {
    animation: train 3s infinite ease-out;
}

@-webkit-keyframes train {
    0%{opacity: 1; transform: translateX(-100vw);}
    90%{opacity: 1; transform: translateX(200vw);}
    91%{opacity: 0; transform: translateX(200vw);}
    99%{opacity: 0; transform: translateX(-100vw);}
    100% {opacity: 1; transform: translateX(-100vw);}
}
@keyframes train {
    0%{opacity: 1; transform: translateX(-100vw);}
    90%{opacity: 1; transform: translateX(200vw);}
    91%{opacity: 0; transform: translateX(200vw);}
    99%{opacity: 0; transform: translateX(-100vw);}
    100% {opacity: 1; transform: translateX(-100vw);}
}

.p6 .stuff > div:nth-child(2) {
    background: transparent url(../img/p6-r4.png) no-repeat left top;
    background-size: 100% auto;
    animation: shakeloop 1s infinite;
    width: 50px;
    height: 50px;
    top: 42vw;
    left: 46vw;
}
.p6 .stuff > div:nth-child(3) {
    background: transparent url("../img/p6-r3.png") no-repeat left top;
    background-size: 100% auto;
}
.p6 .stuff > div:nth-child(4) {
    background: transparent url("../img/p6-r1.gif") no-repeat left bottom;
    background-size: 100% auto;
}
.p6 .stuff > div:nth-child(5) {
    background: transparent url("../img/p6-r2.gif") no-repeat left bottom;
    background-size: 100% auto;
}

.p6 .words div:nth-child(1) {
    background: transparent url("../img/p6-w1.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p6 .words div:nth-child(2) {
    background: transparent url("../img/p6-w2.png") no-repeat 0 center;
    background-size: 100% auto;
}
.p6 .words div:nth-child(3) {
    background: transparent url("../img/p6-w3.png") no-repeat 0 center;
    background-size: 100% auto;
}

/* p7 */
.p7 {
    background: transparent url("../img/bgs7.jpg") no-repeat 0 0;
    background-size: cover;
}
.p7a {
    background: transparent url("../img/bgs7a.jpg") no-repeat 0 0;
    background-size: cover;
}
.p7a > div:nth-child(1) {
    background: transparent url("../img/p7-r4.png") no-repeat 0 top;
    background-size: 100% auto;
    z-index: 10;
}
.p7a > div:nth-child(2) {
    background: transparent url("../img/p7-w1.png") no-repeat left 64%;
    background-size: 100% auto;
}
.p7a > div:nth-child(3) {
    background: transparent url("../img/p7-w2.png") no-repeat left 64%;
    background-size: 100% auto;
}
.p7a > div:nth-child(4) {
    background: transparent url("../img/p7-w3.png") no-repeat left 64%;
    background-size: 100% auto;
    transform: translateY(50vh);
}
.p7a > div:nth-child(5) {
    background: transparent url("../img/p7-w4.png") no-repeat left bottom;
    background-size: 100% auto;
}
.p7a > div:nth-child(6) {
    background: transparent url("../img/p7-r2.png") no-repeat left bottom;
    background-size: 100% auto;
}
.cpage .p7a .g1 {
    height: 80vw; bottom: 0; top:auto;
}
.cpage .p7a .g1 div {
    position: absolute; height: 100%; width: 100%; left: 0; top: 0;
}
.p7a .g1 div:nth-child(1) {
    background: transparent url("../img/p7-rg1.gif") no-repeat left bottom;
    background-size: 100% auto;
}
.p7a .g1 div:nth-child(2) {
    background: transparent url("../img/p7-rg2.gif") no-repeat left bottom;
    background-size: 100% auto;
}
.p7a .g1 div:nth-child(3) {
    background: transparent url("../img/p7-rg3.gif") no-repeat left bottom;
    background-size: 100% auto;
}
.p7a .g1 div:nth-child(4) {
    background: transparent url("../img/p7-rg4.gif") no-repeat left bottom;
    background-size: 100% auto;
}
.p7a .g1 div:nth-child(5) {
    background: transparent url("../img/p7-rg5.gif") no-repeat left bottom;
    background-size: 100% auto;
}
.p7a > div:nth-child(8) {
    background: transparent url("../img/p7-w5.png") no-repeat left bottom;
    background-size: 100% auto;
}
.p7a > div:nth-child(9) {
    background: transparent url("../img/p7-r3.png") no-repeat left bottom;
    background-size: 100% auto;
    animation: shakeloop 1s infinite;
    transform-origin: center bottom;
    top:2%;
}
.p7a .btn-swipetips {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 40vh;
    background: transparent url(arrow2.png) no-repeat center bottom;
    background-size: 20px auto;
    -webkit-animation: swingY infinite 2s ease;
    animation: swingY infinite 2s ease;
    opacity: 0;
    transform: translateY(100vh);
    z-index: 20;
}

.p7a > div:nth-child(6),
.p7a > .g1 div,
.p7a > div:nth-child(9) {
    transform: translateY(0);
}
.p7a > div:nth-child(2),
.p7a > div:nth-child(3),
.p7a > div:nth-child(4),
.p7a > div:nth-child(5),
.p7a > div:nth-child(8),
.p7a > div:nth-child(9) {
    opacity: 0;
    transform: translateY(50vh);
}
.p7.active > .p7a div:nth-child(2),
.p7.active > .p7a div:nth-child(3),
.p7.active > .p7a div:nth-child(4),
.p7.active > .p7a div:nth-child(5),
.p7.active > .p7a div:nth-child(8),
.p7.active > .p7a div:nth-child(9),
.p7.active > .p7a .btn-swipetips {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s, transform 1s;
}
.p7.active > .p7a div:nth-child(3){transition-delay: 1s;}
.p7.active > .p7a div:nth-child(4){transition-delay: 2s;}
.p7.active > .p7a div:nth-child(5){transition-delay: 3s;}
.p7.active > .p7a div:nth-child(8){transition-delay: 5s;}
.p7.active > .p7a div:nth-child(9){transition-delay: 4.5s;}
.p7.active > .p7a .btn-swipetips {transition-delay: 5.5s;}

.p7a.hidethis {
    opacity: 0;
    transform: translateY(-100vh);
    transition: opacity 0.5s, transform 0.1s 0.6s;
}

/* p7b */
.p7b div:nth-child(1) {
    background: transparent url(../img/p8-r6.png) no-repeat left top;
    background-size: 100% auto;
    opacity: 0;
    transform: translateY(-16vh);
    height: 78vw;
}
.p7b.active div:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s 1s, transform 1s 1s;
}
.p7b div:nth-child(2) {
    background: transparent url(../img/p8-r5.png) no-repeat left top;
    background-size: 100% auto;
    transform: rotateX(-90deg);
    height: 56vw;
}
.p7b.active div:nth-child(2) {
    animation: flipban 1s 0.5s 1 forwards;
}

.p7b .btn-replay,
.p7b .btn-share {
    position: absolute; width: 50vw; height: 15vw; z-index: 20; opacity: 0; visibility: hidden;
    left: 50%; margin-left: -25vw;
}
.p7b.active .btn-replay,
.p7b.active .btn-share {
    opacity: 1; visibility: visible;
    transition: opacity 1s 2s;
}

.p7 .btn-replay {
    top:90vw;
    background: transparent url("../img/btn-replay.png") no-repeat 0 0;
    background-size: 100% 100%;
}
.p7 .btn-share {
    top:110vw;
    background: transparent url("../img/btn-share.png") no-repeat 0 0;
    background-size: 100% 100%;
}

/* transition & delay */
.p1 .words div,
.p2 .words div,
.p3 .words div,
.p4 .words div,
.p5 .words div,
.p6 .words div {opacity: 0;}

.p2.active .words div:nth-child(1),
.p2.active .words div:nth-child(2),
.p2.active .words div:nth-child(3),
.p2.active .words div:nth-child(4),
.p3.active .words div:nth-child(1),
.p3.active .words div:nth-child(2),
.p3.active .words div:nth-child(3),
.p4.active .words div:nth-child(1),
.p4.active .words div:nth-child(2),
.p4.active .words div:nth-child(3),
.p5.active .words div:nth-child(1),
.p5.active .words div:nth-child(2),
.p6.active .words div:nth-child(1),
.p6.active .words div:nth-child(2) {
    -webkit-animation:fadeOut 0.3s linear forwards;
            animation:fadeOut 0.3s linear forwards;
}

.p1.active .words div:nth-child(1),
.p1.active .words div:nth-child(2),
.p2.active .words div,
.p3.active .words div,
.p4.active .words div,
.p5.active .words div:nth-child(1),
.p5.active .words div:nth-child(2),
.p5.active .words div:nth-child(3),
.p6.active .words div {
    opacity: 1;
    transition: opacity 1s;
}
.p5.active .words div {
    transition: opacity 1s;
}

/* 第1组对话 */
.p1.active .words div:nth-child(1),
.p2.active .words div:nth-child(1),
.p3.active .words div:nth-child(1),
.p4.active .words div:nth-child(1),
.p5.active .words div:nth-child(1),
.p6.active .words div:nth-child(1) {
    transition-delay: 1s;
}
.p1.active .words div:nth-child(2),
.p2.active .words div:nth-child(2),
.p3.active .words div:nth-child(2),
.p4.active .words div:nth-child(2),
.p5.active .words div:nth-child(2),
.p6.active .words div:nth-child(2) {
    transition-delay: 2s;
}

.p1.active .words.active div:nth-child(1),
.p1.active .words.active div:nth-child(2) {
    opacity: 0;
    transition-delay: 0s;
}
.p1.active .words.active div:nth-child(3),
.p1.active .words.active div:nth-child(4),
.p1.active .words.active div:nth-child(5) {
    opacity: 1;
    transition: opacity 1s;
}
.p1.active .words.active div:nth-child(3) {transition-delay: 1s;}
.p1.active .words.active div:nth-child(4) {transition-delay: 3s;}

/* 第2组对话 */

.p2.active .words div:nth-child(3),
.p3.active .words div:nth-child(3),
.p4.active .words div:nth-child(3),
.p5.active .words div:nth-child(3),
.p6.active .words div:nth-child(3) {
    transition-delay: 6s;
}
.p2.active .words div:nth-child(4),
.p4.active .words div:nth-child(4) {
    transition-delay: 7s;
}

/* 第3组对话 */
.p2.active .words div:nth-child(5),
.p3.active .words div:nth-child(4),
.p4.active .words div:nth-child(5) {
    transition-delay: 10s;
}
.p2.active .words div:nth-child(6) {
    transition-delay: 11s;
}

/* fadeOut animation */
.p2.active .words div:nth-child(1),
.p2.active .words div:nth-child(2),
.p3.active .words div:nth-child(1),
.p3.active .words div:nth-child(2),
.p4.active .words div:nth-child(1),
.p4.active .words div:nth-child(2),
.p5.active .words div:nth-child(1),
.p5.active .words div:nth-child(2),
.p6.active .words div:nth-child(1),
.p6.active .words div:nth-child(2) {
    animation-delay: 6s;
}
.p2.active .words div:nth-child(3),
.p2.active .words div:nth-child(4),
.p3.active .words div:nth-child(3),
.p4.active .words div:nth-child(3) {
    animation-delay: 9.5s;
}

.btn-sharepage {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 70%;
    top: 18%;
    z-index: 10;
    background: transparent url(icon-touch.png?v2) no-repeat 0 0;
    background-size: 100% auto;
    -webkit-animation: tips 1s infinite;
    animation: tips 1s infinite;
    opacity: 0;
}
.active .btn-sharepage {opacity: 1;}

/* share */
.sharewrap {
    position: absolute; width: 100%; height: 100%; left: 0; top:0; z-index:999;
    opacity: 0; visibility: hidden; overflow: hidden;
    background: rgba(0,0,0,0.9) url(../img/shareimg.jpg) no-repeat center center;
    background-size:70% auto;
}
.sharewrap.active {
    opacity: 1; visibility: visible;
    transition: all 0.5s;
}
.sharewrap .sharerow {
    position: absolute;
    width: 100%;
    height: 44vw;
    left: 0;
    bottom: 0;
    z-index: 10;
    padding: 36vw 0 0px;
    box-sizing: border-box;
    text-align: center;
    background: transparent url(../img/bg-sharerow.png) no-repeat center bottom;
    background-size: 100% auto;
}
.tips-save {
    position: absolute; width: 100%; height: 100%; left: 0; bottom: 0; z-index: 10;
    background: transparent url(../img/tips-save.png) no-repeat center center;
    background-size: 100% auto;
    opacity: 0;
}
.active .tips-save {
    -webkit-animation:tipssave 4s 0.5s 1 forwards;
            animation:tipssave 4s 0.5s 1 forwards;
}
.sharemask {
    display: none;
    position: absolute; width:100%; height:100%; left:0; top:0; z-index:21;
    background: rgba(0,0,0,0.8) url(../img/share.png) no-repeat 0 0;
    background-size: 100% auto;
}
.sharemask.active {
    display: block;
}
.maker {
    width: 100%;
    height: 14px;
    z-index: 5;
    background: transparent url(../img/maker.png?v5) no-repeat 0 0;
    background-size: 100% auto;
    margin: 5px 0 0;
}
.shareimg {
    position: absolute;
    width: 100%;
    height: 86vh;
    left: 0;
    top: 0;
    z-index: 20;
    opacity: 0;
}
#btnclose {
    position: absolute;
    width: 40px;
    height: 40px;
    background: transparent url(../img/btn-close.png) no-repeat center center;
    background-size: 40% auto;
    color: #999;
    left: 50%;
    bottom: 5%;
    margin: 0 0 0 -20px;
    z-index: 25;
    text-align: center;
}

@-webkit-keyframes swingY{
    30% {transform: translateY(-10px);}
    100% { transform: translateY(0);}
}
@keyframes swingY{
    30% {transform: translateY(-10px);}
    100% {transform: translateY(0);}
}

@-webkit-keyframes fadeOut {
    0%{opacity: 1;}
    100%{opacity: 0;}
}
@keyframes fadeOut {
    0%{opacity: 1;}
    100%{opacity: 0;}
}
@-webkit-keyframes shakeloop {
    0%{-webkit-transform: rotate(3deg);}
    50% {-webkit-transform: rotate(-3deg);}
    100% {-webkit-transform: rotate(3deg);}
}
@keyframes shakeloop {
    0%{transform: rotate(3deg);}
    50%{transform: rotate(-3deg);}
    100% {transform: rotate(3deg);}
}
@-webkit-keyframes cloud {
    0%{opacity: 0;}
    10%{opacity: 1;}
    90% {opacity: 1;}
    100% {-webkit-transform: translate3d(-400px,0,0); opacity: 0;}
}
@keyframes cloud {
    0%{opacity: 0;}
    10%{opacity: 1;}
    90% {opacity: 1;}
    100% {transform: translate3d(-400px,0,0); opacity: 0;}
}
@-webkit-keyframes flashlight {
    0%{opacity: 0;}
    50%{opacity: 1;}
    100% {opacity: 0;}
}
@keyframes flashlight {
    0%{opacity: 0;}
    50%{opacity: 1;}
    100% {opacity: 0;}
}

@-webkit-keyframes tips {
    0%{-webkit-transform: scale(1);}
    50%{-webkit-transform: scale(0.9);}
    100% {-webkit-transform: scale(1);}
}
@keyframes tips {
    0%{transform: scale(1);}
    50%{transform: scale(0.9);}
    100% {transform: scale(1);}
}

@-webkit-keyframes tips2 {
    0%{-webkit-transform: scale(1.1);}
    50%{-webkit-transform: scale(0.9);}
    100% {-webkit-transform: scale(1.1);}
}
@keyframes tips2 {
    0%{transform: scale(1.1);}
    50%{transform: scale(0.9);}
    100% {transform: scale(1.1);}
}

@-webkit-keyframes tipssave {
    0%{opacity: 0; -webkit-transform: translate3d(0,100%,0);}
    20%{opacity: 1; -webkit-transform: translate3d(0,0,0);}
    80%{opacity: 1; -webkit-transform: translate3d(0,0,0);}
    100% {opacity: 0; -webkit-transform: translate3d(0,100%,0);}
}
@keyframes tipssave {
    0%{opacity: 0; transform: translate3d(0,100%,0);}
    20%{opacity: 1; transform: translate3d(0,0,0);}
    80%{opacity: 1; transform: translate3d(0,0,0);}
    100% {opacity: 0; transform: translate3d(0,100%,0);}
}


@-webkit-keyframes flipban {
    0% {
        opacity: 0;
        -webkit-transform: rotateX(-90deg);
              transform: rotateX(-90deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: rotateX(0);
              transform: rotateX(0);
    }
}
@keyframes flipban {
    0% {
        opacity: 0;
        -webkit-transform: rotateX(-90deg);
              transform: rotateX(-90deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: rotateX(0);
              transform: rotateX(0);
    }
}
