html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background:
    radial-gradient(circle at 50% 50%,
    rgba(24, 42, 44, 0.10) 0%,
    rgba(10, 16, 18, 0.18) 22%,
    rgba(5, 7, 8, 0.94) 52%,
    rgba(2, 3, 4, 1) 100%),
    linear-gradient(
    180deg,
    rgba(6, 10, 12, 1) 0%,
    rgba(3, 4, 5, 1) 100%
    );
  background-color: #020304;
}

#particles-js {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.phrase-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.ambient-phrase {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0;
  text-shadow: 0 0 2.4px rgba(114, 255, 210, 0.12), 0 0 7px rgba(67, 217, 255, 0.08);
  white-space: nowrap;
  pointer-events: auto;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  animation-name: ambient-phrase;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  transition: text-shadow 900ms ease;
}

.ambient-phrase:hover {
  text-shadow:
    0 0 0.35px currentColor,
    0 0 1.2px rgba(89, 243, 255, 0.34),
    0 0 3px rgba(114, 255, 210, 0.22);
}

@keyframes ambient-phrase {
  0% {
    opacity: 0;
    transform: translate(-50%, -44%);
  }

  16% {
    opacity: 0.24;
  }

  76% {
    opacity: 0.2;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -56%);
  }
}
