/* Magic Animations */

/* Shining effect for titles */
.shining-title {
  position: relative;
  overflow: hidden;
}

.shining-title::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shine 5s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Floating effect for images */
.floating-image {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Glow effect on hover for portfolio items */
.portfolio-stack__inner:hover {
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  transition: box-shadow 0.3s ease-in-out;
}
