#twinkling-stars-container {
  position: ab;
  top: 0;
  left: 0;
  width: 100%;
/*   height: 100%; */
  pointer-events: none;
  z-index: 1000;
}

/*       .star {	  
        position: absolute;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        opacity: 0;
        animation: blink 1.5s infinite ease-in-out,
          flare 1.5s infinite ease-in-out;
      } */
.star {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0;
  animation: blink 2s infinite ease-in-out, 
             flare 2s infinite ease-in-out, 
             rotate-scale-up 2s linear infinite alternate,
             fadeOut 2s ease-in-out forwards; /* Dodaj fadeOut */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px; 
  color: white;
}

.star::before {
  content: "★"; 
}

@keyframes fadeOut {
  0%, 80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(0) rotateZ(0);
            transform: scale(0) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(1) rotateZ(180deg);
            transform: scale(1) rotateZ(80deg);
  }
  100% {
    -webkit-transform: scale(0) rotateZ(360deg);
            transform: scale(0) rotateZ(180deg);
  }
}

      @keyframes blink {
        0%,
        100% {
          opacity: 0;
          transform: scale(1);
        }
        50% {
          opacity: 1;
          transform: scale(1.5);
        }
      }
      @keyframes flare {
        0%,
        100% {
          box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
        }
        25% {
          box-shadow: 3px 3px 10px 17px rgba(255, 255, 49, 0.9);
        }
        50% {
          box-shadow: 3px 3px 12px 17px rgba(255, 255, 49, 0.9);
        }
        75% {
          box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
        }
      }
      @keyframes flare {
        0%,
        100% {
          box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
        }
        25% {
          box-shadow: 3px 3px 15px 12px rgba(255, 251, 0, 0.411);
        }
        50% {
          box-shadow: 3px 3px 100px 12px rgba(255, 251, 0, 0.575);
        }
        75% {
          box-shadow: 3px 3px 100px 12px rgba(255, 251, 0, 0.575);
        }
      }
