/* Falling Snow Effect */

@keyframes snowfall {
  0% {
    transform: translateY(-10vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) translateX(100px);
    opacity: 0;
  }
}

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

.snowflake {
  position: absolute;
  top: -10vh;
  color: white;
  font-size: 1.5em;
  user-select: none;
  animation: snowfall linear infinite;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Mobile optimization - smaller snowflakes on small screens */
@media (max-width: 768px) {
  .snowflake {
    font-size: 1em;
  }

  .snowflake:nth-child(1) { font-size: 0.8em; }
  .snowflake:nth-child(2) { font-size: 1.2em; }
  .snowflake:nth-child(3) { font-size: 0.9em; }
  .snowflake:nth-child(4) { font-size: 1.1em; }
  .snowflake:nth-child(5) { font-size: 0.85em; }
  .snowflake:nth-child(6) { font-size: 1.15em; }
  .snowflake:nth-child(7) { font-size: 1em; }
  .snowflake:nth-child(8) { font-size: 0.95em; }
  .snowflake:nth-child(9) { font-size: 1.05em; }
  .snowflake:nth-child(10) { font-size: 1.2em; }
  .snowflake:nth-child(11) { font-size: 0.8em; }
  .snowflake:nth-child(12) { font-size: 1em; }
}

/* Individual snowflake positions and timings */
.snowflake:nth-child(1) {
  left: 5%;
  animation-duration: 10s;
  animation-delay: 0s;
  font-size: 1.2em;
}

.snowflake:nth-child(2) {
  left: 15%;
  animation-duration: 12s;
  animation-delay: 2s;
  font-size: 1.8em;
}

.snowflake:nth-child(3) {
  left: 25%;
  animation-duration: 9s;
  animation-delay: 4s;
  font-size: 1.4em;
}

.snowflake:nth-child(4) {
  left: 35%;
  animation-duration: 11s;
  animation-delay: 1s;
  font-size: 1.6em;
}

.snowflake:nth-child(5) {
  left: 45%;
  animation-duration: 13s;
  animation-delay: 3s;
  font-size: 1.3em;
}

.snowflake:nth-child(6) {
  left: 55%;
  animation-duration: 10s;
  animation-delay: 5s;
  font-size: 1.7em;
}

.snowflake:nth-child(7) {
  left: 65%;
  animation-duration: 11s;
  animation-delay: 0s;
  font-size: 1.5em;
}

.snowflake:nth-child(8) {
  left: 75%;
  animation-duration: 12s;
  animation-delay: 2s;
  font-size: 1.4em;
}

.snowflake:nth-child(9) {
  left: 85%;
  animation-duration: 9s;
  animation-delay: 4s;
  font-size: 1.6em;
}

.snowflake:nth-child(10) {
  left: 10%;
  animation-duration: 13s;
  animation-delay: 1s;
  font-size: 1.8em;
}

.snowflake:nth-child(11) {
  left: 20%;
  animation-duration: 10s;
  animation-delay: 3s;
  font-size: 1.2em;
}

.snowflake:nth-child(12) {
  left: 90%;
  animation-duration: 11s;
  animation-delay: 5s;
  font-size: 1.5em;
}
