/* animations.css */

/* Fade Up con prefissi => Safari/Opera */
.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s forwards;
  animation-delay: 0.2s;
  -webkit-animation: fadeUp 0.8s forwards;
  -webkit-animation-delay: 0.2s;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

/* Clicked Glow */
.clicked-glow {
  animation: clickedGlow 0.5s ease-in-out;
  -webkit-animation: clickedGlow 0.5s ease-in-out;
}
@keyframes clickedGlow {
  0% {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(152,97,246,0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}
@-webkit-keyframes clickedGlow {
  0% {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  50% {
    -webkit-transform: scale(1.03);
    box-shadow: 0 0 25px rgba(152,97,246,0.6);
  }
  100% {
    -webkit-transform: scale(1);
    box-shadow: none;
  }
}
