.leaves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 9999;
}

.leaf {
  position: absolute;
  animation-name: blow;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes blow {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(1000px, 600px) rotate(270deg); }
  50%  { transform: translate(2000px, 900px) rotate(540deg); }
  75%  { transform: translate(3000px, 1700px) rotate(810deg); }
  100% { transform: translate(4000px, 2000px) rotate(1080deg); }
}

@media (prefers-reduced-motion: reduce) {
  .leaves { display: none; }
}