@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

:root {
  --transparent: oklch(0 0 0 / 0%);
  --purple-100: oklch(0.86 0.08 280);
  --purple-200: oklch(0.82 0.06 280);
  --purple-300: oklch(0.71 0.12 280);
  --purple-400: oklch(0.61 0.18 280);
  --purple-500: oklch(0.5 0.21 280);
  --purple-600: oklch(0.42 0.18 280);
  --purple-800: oklch(0.25 0.15 280);
  --purple-900: oklch(0.13 0.06 280);
  --purple-900: oklch(0.13 0.06 280);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Montserrat";
  background: #000;
  font-weight: 700;
}

h2 {
  font-size: 3em;
  color: #333;
  font-weight: 500;
}

h2 span {
  animation: animate 1s linear infinite;
}

h2 span:nth-child(1) {
  animation-delay: 0s;
}

h2 span:nth-child(2) {
  animation-delay: 0.2s;
}

h2 span:nth-child(3) {
  animation-delay: 0.4s;
}

h2 span:nth-child(4) {
  animation-delay: 0.6s;
}

h2 span:nth-child(5) {
  animation-delay: 0.6s;
}

h2 span:nth-child(6) {
  animation-delay: 0.6s;
}

h2 span:nth-child(7) {
  animation-delay: 0.6s;
}

@keyframes animate {
  0%,
  80% {
    color: #333;
    text-shadow: none;
  }

  100% {
    color: #fff;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #fff, 0 0 80px #fff, 0 0 120px #fff, 0 0 160px #fff;
  }
}

p {
  font-size: 1em;
  color: #fff;
  font-weight: bold;
}

.center {
  display: grid;
  height: inherit;
  place-items: center;
}

.button {
  border: 3px solid;
  border-color: rgb(255, 0, 247); /* Mengubah warna border menjadi biru */
  border-radius: 0.75rem;
  color: rgb(255, 255, 255); /* Mengubah warna teks menjadi putih */
  padding: 0.65rem 2rem;
  text-decoration: none;
  transition: 250ms ease-in-out;
  transition-property: all;
}

.button:hover,
.button:focus {
  color: rgb(0, 0, 0); /* Mengubah warna teks saat tombol dihover menjadi lightblue */
  background-color: rgb(253, 142, 238); /* Mengubah warna tombol saat dihover menjadi darkblue */
  box-shadow: 0 0 1em 0.5em rgb(249, 154, 231); /* Mengubah warna bayangan tombol menjadi navy saat dihover */
}

.text {
  filter: drop-shadow(0 0 1px currentcolor);
}

.button:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.6;
  border-radius: inherit;
  box-shadow: 0 0 1em 0.5em var(--purple-300);
  transition: 250ms ease-in-out;
  transition-property: opacity;
}

.button:hover::after,
.button:focus::after {
  opacity: 0.6;
}