body {
  font-family: "Poppins", sans-serif;
}
#mainContent {
  position: relative;
}
#hearts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

.heart {
  position: absolute;
  width: 5px;
  height: 5px;
  background: url("https://content.mycutegraphics.com/graphics/hearts/pink-heart.png")
    no-repeat;
  background-size: contain;
  opacity: 0.8;
  animation: twinkle 1.5s infinite alternate;
}

@keyframes twinkle {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

#stars {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

.dark #stars {
  display: block;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate(-50%, -50%) scale(1);
  will-change: transform, opacity;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  opacity: 0.9;
  animation-name: twinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.star.small {
  width: 2px;
  height: 2px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}
.star.medium {
  width: 3.5px;
  height: 3.5px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}
.star.large {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
  }
}
