@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;800&display=swap");

:root {
  --bg: #fefefe;
  --clr-1: #00c2ff;
  --clr-2: #33ff8c;
  --clr-3: #ffc640;
  --clr-4: #e54cff;

  --blur: 1rem;
  /* --fs: clamp(3rem, 40vh, 15rem); */
  --fs: clamp(3rem, 40vw, 20rem);
  --ls: clamp(-1.75px, -0.25vw, -3.5px);
/*   --first: 6s;
  --second: 12s;
  --third: 8s;
  --fourth: 24s; */
  --first: 12s;
  --second: 24s;
  --third: 16s;
  --fourth: 48s;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: var(--bg);
  color: #0088FF;
  font-family: "IBM Plex Mono", monospace; 
  user-select: none;
  -webkit-user-select: none; /* For Safari */
  -moz-user-select: none;    /* For Firefox */
  -ms-user-select: none;
  overflow: hidden;
}

*,
*::before,
*::after {
  font-family: inherit;
  box-sizing: border-box;
}

.content {
  text-align: center;
}

.title {
  font-size: var(--fs);
  font-weight: 800; 
  letter-spacing: var(--ls);
  position: relative;
  overflow: hidden;
  background: var(--bg);
  margin: 0; text-shadow:
                -2px -2px 0 #eee,
                2px -2px 0 #eee,
                -2px 10px 0 #eee,
                2px 2px 0 #eee,
                -3px 0px 0 #eee,
                3px 0px 0 #eee,
                0px -3px 0 #eee,
                0px 3px 0 #eee; text-shadow:
                -2px -2px 0 #fefefe,
                2px -2px 0 #fefefe,
                0px 20px 0 #fbfbfb,
                2px 2px 0 #fefefe,
                -3px 0px 0 #fefefe,
                3px 0px 0 #fefefe,
                0px -3px 0 #fefefe,
                0px 3px 0 #fefefe; 
}

.subtitle {
}

.aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;   
  /* filter: blur(30px); */
  mix-blend-mode: screen;
  pointer-events: none;
  filter: blur(var(--blur));
}

.aurora__item {
  overflow: hidden;
  position: absolute;
  /* width: 100vw;
  height: 60vw; */
  width: 100vw;
  height: max(100vw, 100vh);
  background-color: var(--clr-1);
  border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  filter: blur(var(--blur));
  mix-blend-mode: overlay;
}

.aurora__item:nth-of-type(1) {
  top: -50%;
  animation: aurora-border var(--first) ease-in-out infinite,
    aurora-1 var(--second) ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(2) {
  background-color: var(--clr-3);
  right: 0;
  top: 0;
  animation: aurora-border var(--first) ease-in-out infinite,
    aurora-2 var(--second) ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(3) {
  background-color: var(--clr-2);
  left: 0;
  bottom: 0;
  animation: aurora-border var(--first) ease-in-out infinite,
    aurora-3 var(--third) ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(4) {
  background-color: var(--clr-4);
  right: 0;
  bottom: -50%;
  animation: aurora-border var(--first) ease-in-out infinite,
    aurora-4 var(--fourth) ease-in-out infinite alternate;
}

@keyframes aurora-1 {
  0% {
    top: 0;
    right: 0;
  }

  50% {
    top: 100%;
    right: 75%;
  }

  75% {
    top: 100%;
    right: 25%;
  }

  100% {
    top: 0;
    right: 0;
  }
}

@keyframes aurora-2 {
  0% {
    top: -50%;
    left: 0%;
  }

  60% {
    top: 100%;
    left: 75%;
  }

  85% {
    top: 100%;
    left: 25%;
  }

  100% {
    top: -50%;
    left: 0%;
  }
}

@keyframes aurora-3 {
  0% {
    bottom: 0;
    left: 0;
  }

  40% {
    bottom: 100%;
    left: 75%;
  }

  65% {
    bottom: 40%;
    left: 50%;
  }

  100% {
    bottom: 0;
    left: 0;
  }
}

@keyframes aurora-4 {
  0% {
    bottom: -50%;
    right: 0;
  }

  50% {
    bottom: 0%;
    right: 40%;
  }

  90% {
    bottom: 50%;
    right: 25%;
  }

  100% {
    bottom: -50%;
    right: 0;
  }
}

@keyframes aurora-border {
  0% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }

  25% {
    border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%;
  }

  50% {
    border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%;
  }

  75% {
    border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%;
  }

  100% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }
}