body {
  font-family: "Inter", sans-serif;
  padding-top: 4px;
}

/* Animation from contact page */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Fade in up animation */
.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accordion fade animation */
@keyframes accordionFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: white;
  z-index: 9999;
  pointer-events: none;
}

#progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #f97316 50%, #2563eb 100%);
  background-size: 200% 100%;
  transition: width 0.15s ease-out;
  animation: gradientShift 3s ease infinite;
  will-change: width;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Header adjustment */
header {
  margin-top: 4px;
}
