/* Add this class to elements you want to fade in */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  visibility: visible;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Add this class to elements you want to slide in from the left */
.slide-in-left {
  transform: translateX(-100%);
  animation: slideInLeft 1s ease-in-out forwards;
  visibility: visible;
}

/* Add this class to elements you want to slide in from the right */
.slide-in-right {
  transform: translateX(100%);
  animation: slideInRight 1s ease-in-out forwards;
  visibility: visible;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Add this class to elements you want to spin */
.spin {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
