.stjarngnister {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.stjarngnister span {
  position: absolute;
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: gnistra 4s linear infinite;
}

@keyframes gnistra {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: scale(2.2);  
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}