/* animations.css */

/* Slide-in from left with fade */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-20px); /* Smaller distance */
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInFromLeft 0.7s ease-out forwards;
}

/* Slide-in from right with fade */
@keyframes slideInFromRight {
    0% {
        transform: translateX(20px); /* Smaller distance */
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInFromRight 0.7s ease-out forwards;
}

/* Slide-in from top with fade */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-10px); /* Smaller distance */
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-top {
    animation: slideInFromTop 0.5s ease-out forwards;
}

/* Fade in */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
