
@media only screen and (max-width: 1024px) {
  
  .year_bg{
    width: 100%;
    background: #a50000;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
  }
  .newyear_logo{
    width: 3.44rem;
    padding: .4rem 0 0 .64rem;
    position: relative;
    z-index: 999;
  }
  .newyear{
    width: 4rem;
    margin: .5rem 0 0 .5rem;
  }
  .newyear_bg1{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }
  .snake_con{
    display:flex;
    position: relative;
    z-index: 3;
    align-items: flex-start;
    justify-content: end;
  }
  .snake_txt{
    width: 2.8rem;
    margin:.5rem .1rem 0 .1rem;
  }
  .snake{
    width: 4.5rem;
    margin-right: -0.3rem;
    margin-top: .3rem;
  }
  .newyear_txt1{
    font-size:.32rem;
    color: #f8dc89;
    text-align: center;
    position: relative;
    z-index: 3;
    margin: .7rem 0 0;
    font-weight: bold;
  }
  .newyear_txt2{
    color: #f8dc89;
    font-size: .22rem;
    text-align: center;
    position: relative;
    z-index: 3;
    margin: .15rem 0 .3rem;
    font-weight: bold;
  }
  .newyear_txt3{
    text-align: center;
    position: relative;
    z-index: 3;
  }
  .newyear_txt3 img{
    width: 4.67rem;
  }
  .light{
    width:3rem;
    position: absolute;
    top: 2rem;
    right: -.5rem;
    z-index: 5;
  }
  .yanhua{
    width: 1.76rem;
    position: absolute;
    animation: spring_i2 linear 4s .2s infinite;

  }
  .yanhua1{
    top: .3rem;
    right: -.4rem;
  }
  .yanhua2{
    top: 4.5rem;
    left: 1.4rem;
    transform: scale(0.5);
    animation-delay: .5s;
  }
  .yanhua3{
    bottom: 25%;
    right: .2rem;
    transform: scale(0.8);
    animation-delay: .3s;
  }
  @keyframes spring_i2 {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    30% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}




}
  