.image-container {
  position: relative;
  width: 100%;
  max-width: 800px;
}
.image-container img {
  width: 100%;
}
.fly-in-heading-down,
.fly-in-heading-up {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.fly-in-heading-down {
  top: -100px;
}
.fly-in-heading-up {
  bottom: -100px;
}
.is-visible .fly-in-heading-down {
  animation: flyInDown 2.6s ease-out forwards;
}
@keyframes flyInDown {
  0% {
    top: -100px;
    transform: translate(-50%, 0);
    opacity: 0;
  }
  100% {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
.js-scroll-trigger * {
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-out;
}
.js-scroll-trigger.is-visible *,
.is-visible * {
  opacity: 1;
}
.montserrat-200 {
  font-family: 'Montserrat', sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
} /* Allt som rör kundanpassat tema i Tailwind v4 */
@theme {
  --animate-aurora: aurora 12s ease infinite;
  --keyframes-aurora: {
    0% {
      background-position: 0% 50%;
      transform: scale(1);
    }
    25% {
      background-position: 50% 100%;
    }
    50% {
      background-position: 100% 50%;
      transform: scale(1.05);
    }
    75% {
      background-position: 50% 0%;
    }
    100% {
      background-position: 0% 50%;
      transform: scale(1);
    }
  }
}
.aurora-bg-button {
  background: radial-gradient(circle at top left, #3bb1b1 0%, transparent 35%),
    radial-gradient(circle at top right, #6e62da 0%, transparent 35%),
    radial-gradient(circle at bottom, #8bc1ba 0%, transparent 40%),
    linear-gradient(135deg, #32565d, #6288b0);
  background-size: 200% 200%;
  filter: blur(1px);
  @apply animate-aurora [animation-duration:8s];
}
.animated-border::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.2s ease;
}
.is-visible .animated-border::after {
  transform: scaleX(1);
}
