.petal {
  position: fixed;
  top: -10px;
  width: 15px;
  height: 15px;
  background: linear-gradient(to bottom right, #ffb6c1, #ffc0cb);
  border-radius: 50% 50% 0 0;
  opacity: 0.8;
  animation: fall linear infinite;
  z-index: 1000;
}

@keyframes fall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.petal:nth-child(1) {
  left: 10%;
  animation-duration: 6s;
  animation-delay: 0s;
}

.petal:nth-child(2) {
  left: 20%;
  animation-duration: 5s;
  animation-delay: 1s;
}

.petal:nth-child(3) {
  left: 30%;
  animation-duration: 7s;
  animation-delay: 2s;
}

.petal:nth-child(4) {
  left: 40%;
  animation-duration: 6s;
  animation-delay: 3s;
}

.petal:nth-child(5) {
  left: 50%;
  animation-duration: 5s;
  animation-delay: 4s;
}

.petal:nth-child(6) {
  left: 60%;
  animation-duration: 7s;
  animation-delay: 5s;
}

.petal:nth-child(7) {
  left: 70%;
  animation-duration: 6s;
  animation-delay: 6s;
}

.petal:nth-child(8) {
  left: 80%;
  animation-duration: 5s;
  animation-delay: 7s;
}

.petal:nth-child(9) {
  left: 90%;
  animation-duration: 7s;
  animation-delay: 8s;
}

.petal:nth-child(10) {
  left: 95%;
  animation-duration: 6s;
  animation-delay: 9s;
} 