* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
}

.ab {
    position: absolute;
}

img {
    display: block;
    width: 100%;
}

.fixed {
    position: fixed;
}

.cl:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    text-align: justify;
    line-height: 1.8;
}

.btn-bg-audio {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 48px;
    height: 30px;
    z-index: 8000;
    background: url(../images/c1c0ded8.png) center top;
    background-size: 100% auto;
    transform-origin: top right;
    transform: scale(.7);
}
.paper-logo{
    position: absolute;
    left: 15px;
    top: 15px;
    width: 40px;
    z-index: 1800;
}
.paper-logo.hide{
    display: none;
}

.btn-bg-audio.mute {
    background-position: center bottom;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../images/246d8213.jpg) no-repeat center;
    background-size: cover;
    overflow: hidden;
}

.page-loading {
    z-index: 2000;
    background: #efe2c0 url(../images/246d8213.jpg) no-repeat center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-box {
    width: 80px;
}

.loading-logo {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 50px;
    transform: translateX(-50%);
}

.page-cover {
    z-index: 1000;
}

.cover-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 5000%;
    background-position: 0 0;
}

.show-cover .cover-frame {
    animation: frame49 steps(49) 3s 1s both 1;
}

.cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/ab4ad6a4.jpg) center no-repeat;
    background-size: cover;
    opacity: 0;
}

.show-cover .cover {
    opacity: 1;
    transition: opacity 1s 4.5s ease;
}

.title-box{
    position: absolute;
    width: 30%;
    left: 50%;
    top: 5%;
    transform: translateX(-50%);
    background: url(../images/40e34fdc.png) 0 0;
    background-size: 100% 1100%;
    opacity: 0;
}
.show-cover .title-box{
    opacity: 1;
    transition: opacity .5s 5s;
    animation: frame10 1s 5s steps(10) both 1;
}
@keyframes frame10{
    to{
        background-position: 0 -1000%;
    }
}
.title-box:before{
    content:'';
    display: block;
    width:100%;
    padding-top:231%;
}

.arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 30px;
    transform: translateX(-50%);
    opacity: 0;
    animation: arrow 1s 0s alternate infinite;
}

.show-cover .arrow {
    opacity: 1;
    transition: all .5s 3.5s ease;
}

.page-intro .arrow {
    opacity: 1;
    transition: all .5s .5s ease;
}

@keyframes arrow {
    to {
        transform: translate(-50%, -10px);
    }
}

@keyframes frame49 {
    to {
        background-position: 0 -4900%;
    }
}

.page-intro {
    z-index: 800;
    background-image: url(../images/3be37623.jpg);
}

.intro-t-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.intro-t-box p {
    position: absolute;
    top: 25%;
    left: 50%;
    width: 85%;
    transition: all 1s .5s ease;
    transform: translate(-50%, -50%);
}

.intro-top,
.intro-bottom {
    position: absolute;
    left: 0;
    width: 100%;
}

#typing-text {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 30px;
    line-height: 1.5;
}

.intro-t-box p.intro-text {
    opacity: 1;
    transition-delay: .5s;
}

.type-end p.intro-text {
    opacity: 1;
}

.type-end #typing-text {
    opacity: 0;

}

.intro-top {
    top: 0;
}

.intro-bottom {
    bottom: 0;
}

.page-army {
    z-index: 700;
    background-image: url(../images/037f9057.jpg);
}

.map-text {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.map-text-1 {
    background-image: url(../images/6e2e4186.png);
}

.map-text-2 {
    background-image: url(../images/12e8aa85.png);
}

.map-text-3 {
    background-image: url(../images/f83047991.png);
}

.army-arrow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/025af486.png) center no-repeat;
    background-size: cover;
}

.btn-army {
    position: absolute;
    width: 18%;
    top: 50%;
    opacity: 0;
}
.btn-army.show-hand{
    opacity: 1;
    transition: all .5s 0s ease;
}

.btn-army::after {
    content: '';
    position: absolute;
    left: 25%;
    top: 100%;
    width: 50%;
    padding-top: 65%;
    background: url(../images/dd4ece55.png) no-repeat center top;
    background-size: 100%;
    transform-origin: center top;
    animation: handTip 1s 0s ease alternate infinite;
}

.show-info .btn-army::after {
    display: none;
}

@keyframes handTip {
    to {
        transform: scale(1.1);
    }
}

.btn-army-9 {
    left: 13%;
    transform: translateY(140%);
}

.btn-army-10 {
    left: 10%;
    transform: translateY(-580%);
}

.army-info-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url(../images/e6e3a1c4.png) no-repeat center;
    background-size: cover;
    opacity: 0;
    transition: all 1s 0s ease;
    z-index: -100;
}

.army-info-wrap,
.pop-wrap,
.qingbao-wrap {
    position: relative;
    margin-top: -20%;
    padding: 25px 15px;
    width: 80%;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .5);
    border-radius: 3px;
    background-color: rgba(255, 255, 255, .4);

}

.army-info {
    display: none;
}

.show-info .army-info-box {
    opacity: 1;
    z-index: 310;
}

.army-info.show {
    display: block;
}

.btn-attack {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.page-stage1 {
    display: none;
    background-image: url(../images/037f9057.jpg);
    z-index: -20;
}

.page-stage1.show-stage1 {
    display: block;
    z-index: 1100;
}

.stage-box {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all .5s 0s ease;
}

.stage:nth-child(1) {}

.stage:nth-child(2) {
    opacity: 0;
}

.switch .stage:nth-child(1) {
    opacity: 0;
}

.switch .stage:nth-child(2) {
    opacity: 1;
}

.fire-box {}

.fire {
    position: absolute;
    display: none;
    width: 8%;
    background-color: red;
}

.fire-army9 {
    top: 50%;
    right: 3%;
    transform: translateY(-300%);
}

.fire-army10 {
    top: 50%;
    right: 43%;
    transform: translateY(-650%);
}

.fire:before {
    content: '';
    width: 100%;
    padding: 100%;
}

.fire.show {
    display: block;
}

.battle-report {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .5);
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.5);
}

.b-report-top {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: #950404;
    font-size: 18px;
    font-weight: bold;
}

.army-name {
    margin-right: 5%;
}

.b-report-icon {
    width: 20px;
}

.b-report-cont {
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
}

.report-cont-stage2 {
    text-align: justify;
}

.warship-report-cont {
    margin-top: 0;
}

.grenade-gif {
    position: absolute;
    top: 50%;
    width: 20%;
    background-position: 0 0;
    background-size: 100% 4800%;
    display: none;
}

.grenade-gif.show {
    display: block;
    animation: frame48 steps(48) 2s 0s forwards infinite;
}

@keyframes frame48 {
    to {
        background-position: 0 -4800%;
    }
}
.grenade-army9 {
    right: 0;
    transform: translateY(-100%);
    background-image: url(../images/ea2960cc.png);
}

.grenade-army9::before {
    content: '';
    display: block;
    padding-top: 130%;
}

.grenade-army10 {
    left: 36%;
    transform: translateY(-315%);
    background-image: url(../images/4244af41.png);
    width: 23%;
}

.grenade-army10::before {
    content: '';
    display: block;
    padding-top: 74%;
}

.btn-attack1,
.btn-attack2 {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 20%;
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.btn-attack1.show,
.btn-attack2.show {
    opacity: 1;
    pointer-events: auto;
    transition: opacity .5s .2s ease;
    animation: beat 1s 0.2s infinite;
}

@keyframes beat {
    0%{
        transform: translateY(150%) scale(1);
    }
    80% {
        transform: translateY(150%) scale(1);
    }

    100% {
        transform: translateY(150%) scale(1.1);
    }
}

.grenades {
    position: absolute;
    right: 2%;
    top: 50%;
    width: 35px;
    display: flex;
    justify-content: flex-start;
    transform: translateY(370%);
    opacity: 0;
}

.grenades.show-grenades {
    transition: all .5s .2s ease;
    opacity: 1;
}

.grenades.hide1 .grenade:nth-child(1),
.grenades.hide2 .grenade:nth-child(2) {
    display: none;
}

.grenades div {
    width: 50%;
}

.pop-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url(../images/e6e3a1c4.png) no-repeat center;
    background-size: cover;
    opacity: 0;
    transition: all 1s 0s ease;
    z-index: -10;
}

.pop-box.show-pop {
    z-index: 2150;
    opacity: 1;
    transition-delay: 1.5s;
}

.pop-wrap {
    padding: 15px 10px;
    width: 100%;
}

.video-wrap,
.gif-wrap {
    display: none;
}

.pop-video .video-wrap,
.pop-gif .gif-wrap {
    display: block;
}

video {
    display: block;
    width: 100%;
}

.pop-disc {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.btn-close {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 150%);
    width: 40px;
}

/* warship */
.page-warship {
    background-image: url(../images/a5cf2d36.jpg);
    z-index: -10;
}

.page-warship.show-warship {
    z-index: 1200;
}

.warship {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../images/c8882f71.png) no-repeat center;
    background-size: cover;
    opacity: 1;
    transition: all .5s 1.5s linear;
}

.warship.hide {
    opacity: 0;
}

.bomb {
    position: absolute;
    top: 50%;
    background-position: 0 0;
    right: 3%;
    width: 35%;
    transform: translateY(-115%);
    display: none;
}

.bomb:before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 194%;
}

.bomb-1 {
    background-image: url(../images/256d578f.png);
    background-size: 100% 4300%;
}

.bomb-1.show {
    display: block;
    animation: frame43 steps(43) infinite 2s 0s;
}

@keyframes frame43 {
    to {
        background-position: 0 -4300%;
    }
}

.bomb-2 {
    background-image: url(../images/e3d9b70c.png);
    background-size: 100% 6000%;
    animation: frame60 steps(60) infinite 2s 0s;
}

.bomb-2.show {
    display: block;
    animation: frame60 steps(60) infinite 2s 0s;
}


@keyframes frame60 {
    to {
        background-position: 0 -6000%;
    }
}

.cannon {
    position: absolute;
    top: 50%;
    width: 10%;
}

.cannon {
    position: absolute;
    top: 50%;
    width: 10%;
}

.cannon1 {
    right: 9%;
    transform: translateY(-100%);
}

.cannon2 {
    right: 3%;
    transform: translateY(-129%);
}

.cannon3 {
    right: -3%;
    transform: translateY(-150%);
}

.cannon-fire {
    position: absolute;
    top: -8%;
    left: 6%;
    width: 20%;
    opacity: 0;
}

.show-fire .cannon-fire {
    opacity: 1;
}

.cannon-fire::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 92.6%;
    background: url(../images/9142c04d.png) center top;
    background-size: 100% 300%;
    animation: frame3 steps(3) .3s 0s infinite forwards;
}

@keyframes frame3 {
    to {
        background-position: 0 -300%;
    }
}

.cannon-balls {
    position: absolute;
    right: 3%;
    top: 50%;
    width: 24px;
    display: flex;
    justify-content: flex-start;
    transform: translateY(330%);
    opacity: 0;
}

.show-warship .cannon-balls {
    opacity: 1;
}

.cannon-balls div {
    width: 30%;
}

.cannon-balls.hide1 .cannon-ball:nth-child(1),
.cannon-balls.hide2 .cannon-ball:nth-child(2),
.cannon-balls.hide3 .cannon-ball:nth-child(3) {
    display: none;
}


.qingbao-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../images/e6e3a1c4.png) center no-repeat;
    background-size: cover;
    opacity: 0;
    transition: all 1s 0s ease;
    z-index: -10;
}

.qingbao-box.show-qingbao {
    opacity: 1;
    z-index: 1250;
}

.qingbao-wrap {
    padding: 25px 10%;
}

.btn-zonggong {
    position: absolute;
    bottom: 20%;
    left: 50%;
    width: 100px;
    transform: translateX(-50%);
}

/* stage2 */
.page-stage2 {
    background-image: url(../images/a5cf2d36.jpg);
    z-index: -600;
}

.page-stage2.show-stage2 {
    z-index: 1300;
}

.stage2-map {
    background-image: url(../images/216b2a89.png);
}

.page-war-end {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    opacity: 0;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    z-index: -10;
}

.page-war-end.show-war-end {
    z-index: 1400;
    opacity: 1;
    transition: opacity .5s 1.5s ease;
}

.show-war-end .arrow {
    opacity: 1;
}

.war-end-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.war-end-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.page-album {
    z-index: -10;
    opacity: 0;
    pointer-events: none;
}

.page-album.show-album {
    z-index: 1500;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .5s 1s ease;
}

.swiper-container {
    margin-top: 10px;
    padding: 10px;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    padding: 25px 20px;
    width: 70%;
    background: url(../images/c8416298.png) no-repeat center;
    background-size: 100% 100%;
}

.pic-disc {
    margin-top: 5px;
    line-height: 1.4;
}

.end-footer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.unit {
    margin: 0 auto 10px;
    width: 55%;
}

.footer-btns {
    display: flex;
    justify-content: space-around;
}

.btn-footer {
    width: 35%;
}

.names {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
}

.poster-box {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    opacity: 0;
    z-index: -10;
    transition: all .5s .5s ease;
}

.poster-box.show-poster {
    opacity: 1;
    z-index: 1520;
}

.poster-tip {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
}
@media screen and  (min-width:1000px){
    .container{
        margin: 0 auto;
        width: 375px;
        height:812px;
    }
}