body,html{
    width: 100%;
    height: 100%;
    margin: 0 auto;

}
.main_content{
    width: 100%;
    height: 100%;
    background: url("../images/banner.jpg") no-repeat;
    background-size: 100% 100%;
    position: relative;
    margin-top: 105px;
}
.snow_content{
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --transform1:rotate(25deg);
    --transform2:rotate(-10deg);
    --transform3:rotate(-15deg);
    --transformScale1:scale(0.4,0.4);
    --transformScale2:scale(0.5,0.5);
    --transformScale3:scale(0.6,0.6);

}
#box{
    max-width:865px;
    /*max-height: 960px;*/
    height: 100%;
    perspective: 1200px;
    background:url(../images/tree.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;

}
.pag1{
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -20px;
    transform-style:preserve-3d;
    transistion:1s all ease;
    transform-origin:right center;
    background:url(../images/tree.png) no-repeat left top;
    background-size: 209% 100%;
}
.pag1 span{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.front1{
    /*background-image: url(../images/tree.png);*/
    background-repeat: no-repeat;
    background-position: left top;
    transform: translateZ(1.1px);
    background-size: 209% 100%;
}
.back1{
    background-image: url(../images/tree.png);
    background-repeat: no-repeat;
    background-position: right top;
    /*background: url(../images/tree.png) no-repeat right top;*/
    transform: translateZ(-1.1px) scale(-1,1);
    background-size: 192% 100%;
}
.pag2{
    width: 50%; height: 100%;
    position: absolute;
    top: 0;
    right: 20px;
    transform-style:preserve-3d;
    transistion:1s all ease;
    transform-origin:left center;
    background:url(../images/tree.png) no-repeat right top;
    background-size: 192% 100%;
}
.pag2 span{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.front2{
    /*background: url(../images/tree.png) no-repeat right top;*/
    transform: translateZ(1.1px);
    background-size: 192% 100%;
}
.back2{
    background: url(../images/tree.png) no-repeat left top;
    transform: translateZ(-1.1px) scale(-1,1);
    background-size: 209% 100%;
}
.nav_text{
    width: 50px;
    height: 60px;
    z-index: 222;
    position: absolute;
    top: 48%;
    cursor: pointer;
}
.nav-prev{
    left: -11%;
    background: url(../images/next_banner.png) no-repeat;
    background-size: 100% 100%;
    transform: rotate(-180deg);
}
.nav-next{
    right: -11%;
    background: url(../images/next_banner.png) no-repeat;
    background-size: 100% 100%;
}

#box:hover .nav-prev{
    animation: arrow 3s cubic-bezier(0.5, 0, 0.1, 1) infinite;
    -webkit-animation: arrow 3s cubic-bezier(0.5, 0, 0.1, 1) infinite;
}

#box:hover .nav-next{
    animation: arrowRight 3s cubic-bezier(0.5, 0, 0.1, 1) infinite;
    -webkit-animation: arrowRight 3s cubic-bezier(0.5, 0, 0.1, 1) infinite;
}

#box .nav-prev:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

#box .nav-next:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}
@keyframes arrow {
    0%,100% {
        left: -11%;
        opacity: 1;
    }

    50% {
        left: -13%;
        opacity: .5
    }
}

@-webkit-keyframes arrow {
    0%,100% {
        left: -11%;
        opacity: 1;
    }

    50% {
        left: -13%;
        opacity: .5
    }
}

@keyframes arrowRight {
    0%,100% {
        right: -11%;
        opacity: 1;
    }

    50% {
        right: -13%;
        opacity: .5
    }
}

@-webkit-keyframes arrowRight {
    0%,100% {
        right: -11%;
        opacity: 1;
    }

    50% {
        right: -13%;
        opacity: .5
    }
}

.rule_button{
    padding: 10px 15px;
    background-color: #fddf62;
    border-radius: 5px;
    color: #413352;
    font-size: 20px;
    position: absolute;
    top: 5%;
    right: 5%;
    cursor: pointer;
    font-weight: bold;
}
.layer_content{
    width: 800px;
    height: 60%;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 20px;
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: none;
}
::-webkit-scrollbar{
    width: 0;
}
.layer_content p{
    line-height: 2;
}
.layer_title{
    text-align: center;
    padding-bottom: 20px;
    font-size: 20px;
}
.layer_tag{
    color:#44aaee;
    font-weight: bold
}
.text_title{
    font-weight: bold;
    display: inline-block;
}
.layer_close{
    width: 30px;
    height: 30px;
    background: url(../images/close.png) top right no-repeat;
    outline: none;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    opacity: 0.7;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}
/*底部雪*/
.bottom_snow{
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 3;
}
.bottom_snow img{
    width: 100%;
    height: auto;
}
/*dot_tree*/
.dot_content{
    position: absolute;
    left: 50%;
    bottom: 25px;
    z-index: 5;
    transform: translate(-50%, 0%);
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.dot_list{
    width: 40px;
    height: 50px;
    background-image: url("../images/tree_dot.png");
    background-size: cover;
    float: left;
    margin-left: 10px;
    text-align: center;
    line-height: 75px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.active{
    transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
}
.snow_img_large{
    display: block;
}
.snow_img_m{
    display: none;
}
/*图片放大*/
.work-item {
    position: relative;
    height: 100%;
}
.work-pic{
    width: 50px;
    height: 50px;
    background-size: cover;
    position: absolute;
    left: 44%;
    top: 21px;
    border: 2px solid #fff;
    box-shadow: 10px 10px 10px 1px rgba(0, 0, 0, 0.4);
    z-index: 3;
}
.work-pic img{
    position: absolute;
}
.work-pic img{
    left: 46%;
    top: -12px;
    width: 6px;
}
.img_content a:nth-child(1) .work-pic{
    left: 44%;
    top: 12.5%;
}
.img_content a:nth-child(2) .work-pic{
    top: 23%;
    left: 55%;
    transform: rotate(
            10deg) scale(1.1,1.1);
}
.img_content a:nth-child(3) .work-pic{
    top: 22%;
    left: 44%;
    transform: rotate(
            0deg) scale(1.1,1.1);
}
.img_content a:nth-child(4) .work-pic{
    top: 23%;
    left: 33%;
    transform: rotate(
            -10deg) scale(1.1,1.1);
}
.img_content a:nth-child(5) .work-pic{
    top: 35%;
    left: 62%;
    transform: rotate(
            20deg) scale(1.2,1.2);
}
.img_content a:nth-child(6) .work-pic{
    top: 33.5%;
    left: 50%;
    transform: rotate(
            10deg) scale(1.3,1.3);
}
.img_content a:nth-child(7) .work-pic{
    top: 33.5%;
    left: 36%;
    transform: rotate(
            -10deg) scale(1.3,1.3);
}
.img_content a:nth-child(8) .work-pic{
    top: 35.5%;
    left: 24%;
    transform: rotate(
            -10deg) scale(1.2,1.2);
}
.img_content a:nth-child(9) .work-pic{
    top: 50%;
    left: 18%;
    transform: rotate(
            -15deg) scale(1.3,1.3);
}
.img_content a:nth-child(10) .work-pic{
    top: 48.5%;
    left: 32%;
    transform: rotate(
            -10deg) scale(1.4,1.4);
}
.img_content a:nth-child(11) .work-pic{
    top: 48%;
    left: 45%;
    transform: rotate(
            0deg) scale(1.5,1.5);
}
.img_content a:nth-child(12) .work-pic{
    top: 67%;
    left: 10%;
    transform: rotate(
            -10deg) scale(1.5,1.5);
}
.img_content a:nth-child(13) .work-pic{
    top: 66%;
    left: 25%;
    transform: rotate(
            -10deg) scale(1.6,1.6);
}
.img_content a:nth-child(14) .work-pic{
    top: 48%;
    left: 59%;
    transform: rotate(
            0deg) scale(1.5,1.5);
}
.img_content a:nth-child(15) .work-pic{
    top: 49%;
    left: 72%;
    transform: rotate(
            10deg) scale(1.4,1.4);
}
.img_content a:nth-child(16) .work-pic{
    top: 67%;
    left: 85%;
    transform: rotate(10deg) scale(1.6,1.6);
}
.img_content a:nth-child(17) .work-pic{
    top: 66%;
    left: 41%;
    transform: rotate(
            0deg) scale(1.7,1.7);
}
.img_content a:nth-child(18) .work-pic{
    top: 66%;
    left: 57%;
    transform: rotate(
            0deg) scale(1.6,1.6);
}
.img_content a:nth-child(19) .work-pic{
    top: 66%;
    left: 71%;
    transform: rotate(10deg) scale(1.6,1.6);
}
/*灯闪烁*/
.outer{
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-top: 300px;
    border-radius: 50%;
    /*background-color: #333;*/
}
.inner{
    float: left;
    width: 150px;
    height: 150px;
    background-color: #ec9a1f;
    box-shadow: #ec9a1f 0px 0px 80px ;
    border-radius: 50%;
    opacity: 1;
    animation-name: move;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes move{
    from{
        opacity: 0.1;
    }
    50%{opacity: 1}
    to{
        opacity: 0.1
    }
}
@media screen and (max-width: 768px) {
    .bottom_snow{
        bottom: 0;
    }
    .snow_img_large{
        display: none;
    }
    .snow_img_m{
        display: block;
    }
    .dot_content {
        bottom: 4%;
    }
    .main_content{
        background: url("../images/banner_m.jpg") no-repeat;
        background-size: 100% 100%;
        top: 0;
        height: 100%;
    }
    #box{
        max-width: 100%;
        background-size: 100% 100%;
        top: 10%;
        height: 90%;
    }
    .nav-prev{
        left: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    .nav-next{
        right: 0;
        transform: scale(0.5);
    }
    .layer_content{
        width: 90%;
    }
    .rule_button{
        top: 10%;
        font-size: 14px;
    }
    .work-pic{
        width: 55px;
        height: 55px;
    }
}
@media all and (max-width: 576px){
    .main_content{margin-top: 50px}
    .dot_list{
        width: 24px;
        height: 32px;
        line-height: 50px;
        font-size: 12px;
    }
    footer{
        position: relative;
        z-index: 1000;
    }
    @keyframes arrow {
        0%,100% {
            left: 0;
            opacity: 1;
        }

        50% {
            left: 5px;
            opacity: .5
        }
    }

    @-webkit-keyframes arrow {
        0%,100% {
            left: 0;
            opacity: 1;
        }

        50% {
            left: 5px;
            opacity: .5
        }
    }

    @keyframes arrowRight {
        0%,100% {
            right: 0;
            opacity: 1;
        }

        50% {
            right: 5px;
            opacity: .5
        }
    }

    @-webkit-keyframes arrowRight {
        0%,100% {
            right: 0;
            opacity: 1;
        }

        50% {
            right: 5px;
            opacity: .5
        }
    }
    #box{
        top: 25%;
        height: 80%;
    }
    .pag1{left: -10px}
    .pag2{right: 10px}
    .dot_content {
        bottom: 2%;
    }
    .img_content a:nth-child(1) .work-pic{
        left: 39%;
        top: 12.5%;
        transform: rotate(
                0deg) scale(0.6,0.6);
    }
    .img_content a:nth-child(2) .work-pic{
        top: 23%;
        left: 55%;
        transform: rotate(
                10deg) scale(0.6,0.6);
    }
    .img_content a:nth-child(3) .work-pic{
        top: 22%;
        left: 41%;
        transform: rotate(
                0deg) scale(0.6,0.6);
    }
    .img_content a:nth-child(4) .work-pic{
        top: 23%;
        left: 28%;
        transform: rotate(
                -10deg) scale(0.6,0.6);
    }
    .img_content a:nth-child(5) .work-pic{
        top: 35%;
        left: 62%;
        transform: rotate(
                20deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(6) .work-pic{
        top: 33.5%;
        left: 48%;
        transform: rotate(
                10deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(7) .work-pic{
        top: 33.5%;
        left: 34%;
        transform: rotate(
                -10deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(8) .work-pic{
        top: 34.5%;
        left: 19%;
        transform: rotate(
                -10deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(9) .work-pic{
        top: 50%;
        left: 13%;
        transform: rotate(
                -15deg) scale(0.8,0.8);
    }
    .img_content a:nth-child(10) .work-pic{
        top: 48.5%;
        left: 30%;
        transform: rotate(
                -10deg) scale(0.8,0.8);
    }
    .img_content a:nth-child(11) .work-pic{
        top: 48%;
        left: 45%;
        transform: rotate(
                0deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(12) .work-pic{
        top: 66%;
        left: 4%;
        transform: rotate(
                0deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(13) .work-pic{
        top: 66%;
        left: 20%;
        transform: rotate(
                0deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(14) .work-pic{
        top: 48%;
        left: 59%;
        transform: rotate(
                0deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(15) .work-pic{
        top: 49%;
        left: 72%;
        transform: rotate(
                10deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(16) .work-pic{
        top: 66%;
        left: 81%;
        transform: rotate(0deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(17) .work-pic{
        top: 66%;
        left: 36%;
        transform: rotate(
                0deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(18) .work-pic{
        top: 66%;
        left: 51%;
        transform: rotate(
                0deg) scale(0.7,0.7);
    }
    .img_content a:nth-child(19) .work-pic{
        top: 66%;
        left: 66%;
        transform: rotate(0deg) scale(0.7,0.7);
    }
}