body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--background-color);
}

canvas {
  position: absolute;
  display: block;
  background-color: transparent;
  z-index: 2;
}

#moon-cat {
  z-index: -10;
}

.rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
}

.raindrop {
  position: absolute;
  width: 1px;
  height: 10px;
  background-color: var(--highlight-color);
  animation: fall linear infinite;
  z-index: 3;
}

.stars {
  z-index: -10;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  z-index: 1;
  border-radius: 100%;
  background-color: var(--highlight-color);
  box-shadow: 0 0 2px 1px var(--highlight-color); 
  filter: blur(-100px);
}

#lightning-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  z-index: -10;
}

.lightning {
  position: absolute;
  width: 1px;
  height: 100vh;
  background-color: var(--highlight-color);
  animation: fade-out 2s;
  animation: strike 0.5s;
}

.lightning-wrapper {
  position: absolute;
  width: 1px;
  height: 100vh;
  box-shadow: 0 0 10px 5px var(--highlight-color);
  filter: blur(10px);
  z-index: -1;
  animation: strike 0.5s;
}

#shooting-stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  z-index: -10;
}

.shooting-star {
  position: absolute;
  width: 20px; 
  height: 2px;
  background-color: var(--highlight-color); 
  opacity: 0; 
}

.shooting-star.left {
  animation: shooting-star-animation-left 3s linear; 
}

.shooting-star.right {
  animation: shooting-star-animation-right 3s linear; 
}

@keyframes shooting-star-animation-left {
  0% { left: 0; opacity: 1; }
  100% { left: 100%; top: 100%; opacity: 0; }
}

@keyframes shooting-star-animation-right {
  0% { right: 0; opacity: 1; }
  100% { right: 100%; top: 100%; opacity: 0; }
}


@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}


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

@keyframes strike {
  from { height: 0vh; }
  to { height: 100vh; }
}

@media only screen and (max-width: 1299px) {
  #moon {
    left: 5%; 
    position: absolute;
  }
}

@media only screen and (min-width: 1300px) {
  #moon {
    left: 15%;
    position: absolute;
  }
}