/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

:root {
  --purple-dark: #3A1F5D;
  --purple-mid: #6B3FA0;
  --purple-soft: #C7A7FF;

  --yellow-pastel: #FFF6A3;
  --yellow-cream: #FFFBE0;

  --text-light: #F8F4FF;
}




body {
  background-color: #0b0018;
  color: black;
  font-family: Verdana;

  background-size: auto;

  cursor: url("star 4.png") 20 20, auto;

  margin: 0;
  overflow: hidden;
}

.cursor-sparkle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: #FFF6A3;
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
  transform: scale(1);
  animation: sparkleFade 0.6s ease-out forwards;
  z-index: 0; /* put sparkles behind cursor */
}





/* container for all stars */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--yellow-pastel);
  animation: drift var(--speed) linear infinite;
  animation-delay: var(--delay);
}


@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}



.content-box {
  width: 700px;
  z-index: 0;
  position: relative;
  margin: 20px auto;
  padding: 20px;
  background: var(--purple-dark);
  border: 2px solid #000;
  border-radius: 10px;
  pointer-events: none;
}

* {
  cursor: url("star 4.png") 8 8, auto !important;
}
