body {
    margin: 0;
    overflow: hidden;
  }
  
  .milky-way {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: url('imgs/milkyway.jpg') center/cover fixed; /* Replace 'milky_way.jpg' with the path to your Milky Way image */
    z-index: -1;
    overflow-y: auto; /* Enable vertical scrolling if content exceeds viewport height */
    overflow-x: hidden;
    perspective: 10px;
    position: relative;
    transform-style: preserve-3d;
  }
  
  .stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow-y: auto; /* Enable vertical scrolling if content exceeds viewport height */

  }
  
  .starlink {
    position: absolute;
    background: white;
    width: 1px;
    height: 1px;
  }
  .star {
    position: absolute;
    background: white;
    width: 1px;
    height: 1px;
    animation: twinkle linear infinite;
  }
  
  @keyframes twinkle {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  .constellation-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 2s ease;
  }

  .constellation-star.polaris {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 10px 2px white;
  }

  .constellation-star.bright {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 10px 2px white;
  }

  .constellation-line {
    position: absolute;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform-origin: left center;
    opacity: 0;
    transition: opacity 2s ease;
  }

  .constellation-line.visible {
    opacity: 1;
  }