body {
  width: 100%;
  height: 100%;
  background-image: url(./images/bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
h1 {
  font-size: 128px;
  color: #fff;
  text-shadow: 0 0 12px #f7d757, 0 0 50px #f7d757, 0 0 100px #f7d757;
  text-align: center;
  margin-top: 20%;
  font-family: tangerine;
  z-index: 9999;
}
.snow {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 20px auto;
}

.snow {
  height: 40px;
  width: 40px;
  position: absolute;
  top: -20%;
  left: 80%;
  background-image: url(images/snow.png);
  background-size: 40px 40px;
  opacity: 0.5;
  animation: movement_snowflake 10s linear infinite;
  animation-duration: 5s;
  animation-delay: 0s;
}

#n2.snow {
  height: 30px;
  width: 30px;
  top: -90%;
  left: 10%;
  opacity: 0.5;
  transform: rotate(10deg);
  background-size: 30px 30px;
  animation-duration: 4s;
  animation-delay: 0s;
}

#n3.snow {
  height: 40px;
  width: 40px;
  top: -70%;
  left: 80%;
  opacity: 0.6;
  transform: rotate(-60deg);
  background-size: 40px 40px;
  animation-duration: 8s;
  animation-delay: 0.5s;
}

#n4.snow {
  height: 50px;
  width: 50px;
  top: -50%;
  left: 45%;
  opacity: 0.5;
  transform: rotate(10deg);
  background-size: 50px 50px;
  animation-duration: 7s;
  animation-delay: 0.7s;
}

#n5.snow {
  height: 25px;
  width: 25px;
  top: -95%;
  left: 70%;
  opacity: 0.8;
  transform: rotate(-45deg);
  background-size: 25px 25px;
  animation-duration: 6s;
  animation-delay: 0.4s;
}

#n6.snow {
  height: 50px;
  width: 50px;
  top: -80%;
  left: 5%;
  opacity: 0.7;
  background-size: 50px 50px;
  transform: rotate(20deg);
  animation-duration: 9s;
  animation-delay: 0.1s;
}

#n7.snow {
  height: 40px;
  width: 40px;
  top: -115%;
  left: 35%;
  opacity: 0.8;
  background-size: 40px 40px;
  transform: rotate(-20deg);
  animation-duration: 5.5s;
  animation-delay: 0.4s;
}

#n8.snow {
  height: 30px;
  width: 30px;
  top: -80%;
  left: 20%;
  opacity: 0.6;
  transform: rotate(-30deg);
  background-size: 30px 30px;
  animation-duration: 4.5s;
  animation-delay: 0.2s;
}
#n9.snow {
  height: 60px;
  width: 60px;
  top: -120%;
  left: 90%;
  opacity: 0.5;
  transform: rotate(49deg);
  background-size: 60px 60px;
  animation-duration: 4.5s;
  animation-delay: 0.6s;
}
#n10.snow {
  height: 40px;
  width: 40px;
  top: -110%;
  left: 55%;
  opacity: 0.5;
  transform: rotate(-26deg);
  background-size: 40px 40px;
  animation-duration: 2s;
  animation-delay: 0.1s;
}

@keyframes movement_snowflake {
  from {
    top: 0;
  }
  to {
    top: 120%;
  }
}

#santa {
  position: absolute;
  bottom: 20px;
  left: 0px;
  width: 120px;
  height: 150px;
  background-position: 0 0;
  background-image: url(./images/santa.png);
  animation: play 1.3s infinite steps(16), going 20s linear forwards;
}
@keyframes play {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: -2400px;
  }
}
@keyframes going {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}
#santa2 {
  position: absolute;
  top: 50px;
  left: 90%;
  width: 350px;
  height: 120px;
  background-image: url(./images/santa2.gif);
  background-repeat: no-repeat;
  animation: going2 10s linear forwards;
}

@keyframes going2 {
  from {
    left: 90%;
    top: 350px;
  }
  25% {
    top: 150px;
  }
  50% {
    top: 175px;
  }
  75% {
    top: 225px;
  }
  to {
    left: -350px;
    top: 50px;
  }
}
