*,
*::before,
*::after {
  box-sizing: border-box;
  position: absolute;
  transform-style: preserve-3d;
}

body {
  margin: 0;
  background: linear-gradient(
    315deg,
    rgba(0, 0, 0, 1) 3%,
    rgba(0, 28, 87, 1) 38%,
    rgba(0, 69, 144, 1) 68%,
    rgba(0, 153, 196, 1) 98%
  );
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
  background-attachment: fixed;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  perspective: 50vmin;
  background-size: 100vw 100vh;
}

@keyframes gradient {
  0% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 100%;
  }

  100% {
    background-position: 0% 0%;
  }
}

.point {
  position: absolute;
  width: 100vw;
  height: 100vh;
}

.point::before,
.point::after {
  content: "";
  width: 200vw;
  height: 200vh;
  left: -50vw;
  top: -50vh;
  border-radius: 100%;
  opacity: 0;
  transform: translateZ(-50vmin);
  background-image: repeating-conic-gradient(
      #fff8 0%,
      transparent 0.0002%,
      transparent 0.075%,
      transparent 0.65%
    ),
    repeating-conic-gradient(
      #fff 0%,
      transparent 0.0004%,
      transparent 0.05%,
      transparent 0.495%
    );
  animation: pointsMovement 5s ease-in 0s infinite;
  z-index: 1;
}

.point::after {
  animation-name: pointsMovement2;
  animation-delay: 1s;
}

.point + .point + .point::before {
  animation-delay: 2s;
}

.point + .point + .point::after {
  animation-delay: 3s;
}

@keyframes pointsMovement {
  0% {
    transform: translateZ(-50vmin);
    opacity: 0;
  }

  30%,
  70%,
  90% {
    opacity: 1;
  }

  100% {
    transform: translateZ(50vmin) rotate(15deg);
    opacity: 0;
  }
}

@keyframes pointsMovement2 {
  0% {
    transform: translateZ(-50vmin) rotate(180deg);
    opacity: 0;
  }

  30%,
  70%,
  90% {
    opacity: 1;
  }

  100% {
    transform: translateZ(50vmin) rotate(195deg);
    opacity: 0;
  }
}

h1 {
  position: absolute;
  top: 140px;
  color: white;
  font-family: cursive;
  text-align: center;
  z-index: 55;
  width: 100%;
}
