@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

html {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* HeroCards background shadow */
.shadow {
  position: absolute;
  background: hsl(var(--primary) / 50%);
  border-radius: 24px;
  rotate: 0deg;

  width: 260px;
  top: 260px;
  height: 260px;
  filter: blur(150px);
  animation: 
    shadow-breathe 4s ease-in-out infinite alternate,
    shadow-slide 15s linear infinite alternate;
}

@keyframes shadow-breathe {
  from {
    transform: scale(1);
    opacity: 0.5;
  }
  to {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes shadow-slide {
  from {
    right: 460px;
  }
  to {
    right: 160px;
  }
}

@media (max-width: 1024px) {
  .shadow {
    top: 70px;
  }

  @keyframes shadow-slide {
    from {
      right: 400px;
    }
    to {
      right: 200px;
    }
  }
}

@media (max-width: 768px) {
  .shadow {
    top: 70px;
    width: 100px;
    height: 350px;
    filter: blur(60px);
  }

  @keyframes shadow-breathe {
    from {
      transform: scale(1);
      opacity: 0.3;
    }
    to {
      transform: scale(1.2);
      opacity: 0.5;
    }
  }

  @keyframes shadow-slide {
    from {
      right: 280px;
    }
    to {
      right: 100px;
    }
  }
}