*{margin: 0;padding: 0;}
html,body{width: 100%;height: 100%;overflow: hidden;}
ul{list-style: none}
.container{
    width: 100%;
    height:100%;
    position: relative;
}
.snowFlower{
    width: 100%;
    height: 85%;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 999999999;
}
.box1{
    width: 100%;
    height: 100%;
    background: url(../img/background.jpg) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.snowMan{
    width: 150px;
    height: 150px;
    position: absolute;
    bottom: 12%;
    left: 23%;
    transition: all 0.3s;
    z-index: 1000000;
}
.snowManImg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../img/snow_1-noBg.png) no-repeat;
    background-size: 100% 100%;
}
.snowMan .icon1{
    width: 130px;
    height: 120px;
    background:url(../img/icon_1.png) no-repeat;
    background-size: 100% 100%;
    position:absolute;
    top: -90px;
    right: -50px;
    display: none;
}
.snowMan .icon1 .text1,
.snowMan .icon1 .text3,
.snowMan .icon2 .text1{
    color: red;
    position: absolute;
    bottom: 50px;
    left: 20px;
    font-size: 12px;
}
.snowMan .icon1 .text2,
.snowMan .icon2 .text2{
    color: red;
    position: absolute;
    bottom: 30px;
    left: 15px;
    font-size: 12px;
    pointer-events: none;
}
.snowMan .icon1 .text1{
    bottom: 59px;
    left: 27px;
}
.snowMan .icon1 .text2{
    bottom: 41px;
    left: 13px;
}
.snowMan .icon1 .text3{
    bottom: 27px;
    left: 28px;
}
.icon2{
    width: 120px;
    height: 100px;
    background:url(../img/qipao1.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: -90px;
    left: -80px;
}
.snowMan .icon2 .text1{
    left: 10px;
    bottom: 47px;
}
.snowMan .icon2 .text2{
    left: 25px;
}
.snowMan .icon1 .text3{

}
.widthNull {
    transition: all 1s;
    width: 0;
}
.box2{
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    background: url("../img/snow.png") no-repeat;
    background-size: 100% 100%;
}
.widthMax {
    transition: all 1s;
    width: 100%;
}
.box2 .title{
    width: 100%;
    height: 10%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    opacity: 0;
    transition: all 3s;
}
.box2 .title .titleText{
    height: 100%;
    width: 14.2%;
    text-align: center;
    line-height: 60px;
    font-size: 26px;
    color: red;
}
.box2 .snowF{
    width: 100%;
    height: 75%;
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999999;
}
.box2 .tree{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.box2 .tree .pine{
    width: 80px;
    height: 60px;
    background: url("../img/pine.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: calc(50% + 20px);
    top: 20%;
    animation: fangda 3s linear infinite;
    transition: all 2s;
    display: none;
}
.box2 .tree .pineTree{
    width: 70%;
    /*height: 65%;*/
    /*margin-left: 120px;*/
    background: url("../img/pineTree.png") no-repeat;
    background-size: 100% 100%;
    height: 0;
    transition: all 2s;
    position: relative;
}
.lightStar{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 3s;
}


@keyframes fangda {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.15);
    }
    100%{
        transform: scale(1);
    }
}

.pineTree .topStar {
    width: 100px;
    height: 100px;
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    top: -16px;
    z-index: 10;
    left: 75px;
    animation: starLight 1s ease-out infinite alternate;
    display: none;
}

.musicBtn{
    width: 50px;
    height: 50px;
    background: url("../img/musicBtn.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 30px;
    top: 80px;
    opacity: 0;
    transition: all 0.5s;
}

@keyframes xuanzhuan {
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}

@keyframes starLight {
    0% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 42%, rgba(255, 242, 173, 0.2) 58%, rgba(255, 255, 255, 0.1) 100%);
    }

    /*15% {*/
    /*    background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 41%, rgba(255, 242, 173, 0.2) 59%, rgba(255, 255, 255, 0.1) 100%);*/
    /*}*/

    /*25% {*/
    /*    background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 40%, rgba(255, 242, 173, 0.2) 60%, rgba(255, 255, 255, 0.1) 100%);*/
    /*}*/

    /*35% {*/
    /*    background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 39%, rgba(255, 242, 173, 0.2) 61%, rgba(255, 255, 255, 0.1) 100%);*/
    /*}*/

    50% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 58%, rgba(255, 242, 173, 0.2) 42%, rgba(255, 255, 255, 0.1) 100%);
    }

    /*65% {*/
    /*    background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 37%, rgba(255, 242, 173, 0.2) 63%, rgba(255, 255, 255, 0.1) 100%);*/
    /*}*/

    /*75% {*/
    /*    background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 36%, rgba(255, 242, 173, 0.2) 64%, rgba(255, 255, 255, 0.1) 100%);*/
    /*}*/

    /*85% {*/
    /*    background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 35%, rgba(255, 242, 173, 0.2) 65%, rgba(255, 255, 255, 0.1) 100%);*/
    /*}*/

    100% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 34%, rgba(255, 242, 173, 0.2) 66%, rgba(255, 255, 255, 0.1) 100%);
    }
}

.toys {
    display: grid;
    position: absolute;
    gap: 5px;
    grid-template-columns: repeat(9, 20px);
    grid-template-rows: repeat(12, 20px);
    left: calc(50% - 100px);
    top: calc(50% - 135px);
    z-index: 2;
    width: 100%;
    height: 100%;
}

.toys .star {
    top: -30px;
    left: 10px;
    position: relative;
    border-right: 100px solid transparent;
    border-bottom: 70px solid gold;
    border-left: 100px solid transparent;
    transform: rotate(35deg) scale(0.2);
}

.toys .star:before {
    border-bottom: 80px solid gold;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    position: absolute;
    top: -45px;
    left: -65px;
    content: '';
    transform: rotate(-35deg);
}

.toys .star:after {
    position: absolute;
    top: 3px;
    left: -105px;
    border-right: 100px solid transparent;
    border-bottom: 70px solid gold;
    border-left: 100px solid transparent;
    transform: rotate(-70deg);
    content: '';
}

.toys .ball {
    width: 20px;
    height: 20px;
    background-color: #f00;
    border-radius: 50%;
    z-index: 1;
    position: absolute;
}

.toys .b1,
.toys .b4,
.toys .b5,
.toys .b8,
.toys .b11,
.toys .b13,
.toys .b16,
.toys .b18 {
    background-color: red;
    box-shadow: -1px -1px 6px inset #600, 1px 1px 8px inset #ffc9c9;
}

.toys .b2,
.toys .b6,
.toys .b9,
.toys .b12,
.toys .b14,
.toys .b17,
.toys .b20 {
    background-color: gold;
    box-shadow: -1px -1px 6px inset #3a3101, 1px 1px 8px inset #ffffff;
}

.toys .b3,
.toys .b7,
.toys .b10,
.toys .b15,
.toys .b19 {
    background-color: #ececec;
    box-shadow: -1px -1px 6px inset #615f5f, 1px 1px 8px inset #ffffff;
}

.toys .b1 {
    grid-area: 3 / 5;
    top: -25px;
    left: 10px;
}

.toys .b2 {
    grid-area: 4 / 4;
    top: -60px;
    left: -5px;
}

.toys .b3 {
    grid-area: 4 / 6;
    top: -7px;
    left: -13px;
}

.toys .b4 {
    grid-area: 5 / 5;
    top: -16px;
    left: -18px;
}

.toys .b5 {
    grid-area: 6 / 2;
    left: 10px;
    top: 9px;
}

.toys .b6 {
    grid-area: 6 / 4;
    top: -30px;
    left: -30px;
}

.toys .b7 {
    grid-area: 6 / 6;
    top: -10px;
    left: -5px;
}

.toys .b8 {
    grid-area: 6 / 8;
    top: 42px;
    left: -20px;
}

.toys .b9 {
    grid-area: 7 / 1;
    top: 88px;
    left: 78px;
}

.toys .b10 {
    grid-area: 7 / 3;
    top: 4px;
    left: 19px;
}

.toys .b11 {
    grid-area: 7 / 5;
    top: -10px;
    left: -10px;
}

.toys .b12 {
    grid-area: 7 / 7;
    top: -4px;
    left: 3px;
}

.toys .b13 {
    grid-area: 8 / 2;
    top: 65px;
    left: 14px;
}

.toys .b14 {
    grid-area: 8 / 4;
    top: -8px;
    left: 40px;
}

.toys .b15 {
    grid-area: 8 / 6;
    top: 62px;
    left: -122px;
}

.toys .b16 {
    grid-area: 8 / 8;
    top: 21px;
    left: -110px;
}

.toys .b17 {
    grid-area: 9 / 1;
    top: -17px;
    left: 25px;
}

.toys .b18 {
    grid-area: 9 / 6;
    top: 16px;
    left: 27px;
}

.toys .b19 {
    grid-area: 9 / 10;
    top: 30px;
    left: -101px;
}

.toys .b20 {
    grid-area: 8 / 10;
    top: 64px;
    left: -40px;
}

.light {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    position: absolute;
    background-color: #fff;
    animation: lights 1.5s ease-in infinite alternate;
}

.l1 {
    grid-area: 2 / 5;
    top: 5px;
    left: 5px;
}

.l2 {
    grid-area: 3 / 4;
    animation-delay: 0.4s;
}

.l3 {
    grid-area: 3/ 5;
    top: -5px;
    left: -5px;
    animation-delay: 0.6s;
}

.l4 {
    grid-area: 3 / 5;
    top: 15px;
    left: 0px;
    animation-delay: 0.8s;
}

.l5 {
    grid-area: 2 / 5;
    top: 5px;
    left: 5px;
    animation-delay: 1s;
}

.l7 {
    grid-area: 4 / 5;
    top: 5px;
    left: 15px;
}

.l8 {
    animation-delay: 0.4s;
    grid-area: 5 / 7;
    top: -10px;
    left: 10px;
}

.l9 {
    animation-delay: 0.6s;
    grid-area: 5 / 6;
}

.l10 {
    animation-delay: 0.8s;
    grid-area: 5 / 3;
    top: -5px;
    left: 15px;
}

.l11 {
    animation-delay: 1s;
    grid-area: 5 / 4;
    top: 5px;
    left: 10px;
}

.l12 {
    grid-area: 6 / 5;
    left: 5px;
}

.l13 {
    animation-delay: 0.4s;
    grid-area: 6 / 7;
    left: 5px;
    top: 3px;
}

.l14 {
    animation-delay: 0.6s;
    grid-area: 7 / 6;
    left: 5px;
}

.l15 {
    animation-delay: 0.8s;
    grid-area: 6 / 3;
    top: 8px;
}

.l16 {
    animation-delay: 1s;
    grid-area: 7 / 4;
}

.l17 {
    grid-area: 8 / 5;
}

.l18 {
    animation-delay: 0.4s;
    grid-area: 9 / 6;
}

.l19 {
    animation-delay: 0.6s;
    grid-area: 8 / 7;
    top: 5px;
    left: 7px;
}

.l20 {
    animation-delay: 0.8s;
    grid-area: 8 / 2;
    top: -15px;
    left: 5px;
}

.l21 {
    animation-delay: 1s;
    grid-area: 8/ 3;
    left: 5px;
    top: 5px;
}

.l22 {
    animation-delay: 0.4s;
    grid-area: 7 / 8;
    top: 15px;
    left: 20px;
}

.l23 {
    animation-delay: 0.6s;
    grid-area: 9 / 1;
    left: 15px;
    top: 15px;
}

.l24 {
    animation-delay: 0.8s;
    grid-area: 9 / 3;
}

.l25 {
    animation-delay: 1s;
    grid-area: 9 / 8;
    top: 5px;
    left: 15px;
}

.l6 {
    grid-area: 2 / 5;
    top: 10px;
    left: 20px;
}

@keyframes starLight {
    0% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 42%, rgba(255, 242, 173, 0.2) 58%, rgba(255, 255, 255, 0.1) 100%);
    }

    15% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 41%, rgba(255, 242, 173, 0.2) 59%, rgba(255, 255, 255, 0.1) 100%);
    }

    25% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 40%, rgba(255, 242, 173, 0.2) 60%, rgba(255, 255, 255, 0.1) 100%);
    }

    35% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 39%, rgba(255, 242, 173, 0.2) 61%, rgba(255, 255, 255, 0.1) 100%);
    }

    50% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 38%, rgba(255, 242, 173, 0.2) 62%, rgba(255, 255, 255, 0.1) 100%);
    }

    65% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 37%, rgba(255, 242, 173, 0.2) 63%, rgba(255, 255, 255, 0.1) 100%);
    }

    75% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 36%, rgba(255, 242, 173, 0.2) 64%, rgba(255, 255, 255, 0.1) 100%);
    }

    85% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 35%, rgba(255, 242, 173, 0.2) 65%, rgba(255, 255, 255, 0.1) 100%);
    }

    100% {
        background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5) 34%, rgba(255, 242, 173, 0.2) 66%, rgba(255, 255, 255, 0.1) 100%);
    }
}

@keyframes lights {
    0% {
        box-shadow: 0 0 0px 0px #fff;
    }

    25% {
        box-shadow: 0 0 1px 1px #fff;
    }

    50% {
        box-shadow: 0 0 2px 2px #fff;
    }

    75% {
        box-shadow: 0 0 3px 3px #fff;
    }

    100% {
        box-shadow: 0 0 4px 4px #fff;
    }
}

