html {
  scroll-behavior: smooth;
}

body {
  background-color: #04021f;
}

.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 240, 252, 0.5), rgba(255, 29, 142, 0.4));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.link-underline:hover::after {
  transform: scaleX(1);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1rem;
  letter-spacing: 0.25em;
  transition: border-color 200ms ease, color 200ms ease;
}

.badge:hover {
  border-color: rgba(15, 240, 252, 0.8);
  color: #0ff0fc;
}

.timeline-node {
  position: relative;
  padding-left: 1.5rem;
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.4rem;
  height: 100%;
  width: 1px;
  background: linear-gradient(180deg, rgba(15, 240, 252, 0.3), rgba(255, 29, 142, 0.2));
}

.timeline-node:last-child::before {
  height: 60%;
}

.timeline-point {
  position: absolute;
  left: 0;
  top: 0.3rem;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 999px;
  border: 2px solid rgba(15, 240, 252, 0.4);
  background: rgba(255, 29, 142, 0.4);
  box-shadow: 0 0 12px rgba(15, 240, 252, 0.4);
}

@media (max-width: 768px) {
  .timeline-node::before {
    left: 0.4rem;
  }
  .timeline-point {
    left: 0.05rem;
  }
}

