* {
    font-family: "Comic Sans MS", cursive, sans-serif;
    color:white;
}



body {
  background: linear-gradient(135deg, #9BAFD9, #103783);
  background-size: 150% 150%;
  animation: gradientShift 6s ease infinite;
}

nav{
    background: rgba(28, 38, 112, 0.3);
    backdrop-filter: blur(25px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li {
    border-style: ridge;
    border-color: rgba(77, 217, 227, 0.3);
    background-color: rgba(41, 15, 75, 0.1);
    border-width: 2.5px;
    padding: 0.7rem 0.7rem;
    border-radius: 8px;
}

.mainbody {
  text-align: center;
  padding: 5rem 2rem;
}

.mainbody > h2{
    font-size: 3rem;
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(90deg, hsla(152, 100%, 50%, 1) 0%, hsla(186, 100%, 69%, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mainbody > p{
  font-size:1.25rem;

}


.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.particle {
  position: absolute;
  top: -10px;
  background: white;
  border-radius: 50%;
  animation: fall linear infinite;
}

@keyframes fall-sway-left {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateY(50vh) translateX(-20px); 
  }
  100% {
    transform: translateY(105vh) translateX(10px); 
    opacity: 0;
  }
}

@keyframes fall-sway-right {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateY(50vh) translateX(25px);
  }
  100% {
    transform: translateY(105vh) translateX(-15px);
    opacity: 0;
  }
}


.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; animation: fall-sway-left 5s linear infinite; animation-delay: 0s; }
.particle:nth-child(2) { width: 8px; height: 8px; left: 20%; animation: fall-sway-right 7s linear infinite; animation-delay: 1.5s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 35%; animation: fall-sway-left 4s linear infinite; animation-delay: 0.8s; }
.particle:nth-child(4) { width: 6px; height: 6px; left: 50%; animation: fall-sway-right 6s linear infinite; animation-delay: 2s; }
.particle:nth-child(5) { width: 5px; height: 5px; left: 70%; animation: fall-sway-left 5.5s linear infinite; animation-delay: 1.2s; }
.particle:nth-child(6) { width: 7px; height: 7px; left: 85%; animation: fall-sway-right 8s linear infinite; animation-delay: 0.5s; }



@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}
