@tailwind base;
@tailwind components;
@tailwind utilities;



@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-up.delay-200 {
    animation-delay: 0.2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(10px) translateX(-10px);
    }
    75% {
        transform: translateY(-10px) translateX(5px);
    }
}

@keyframes grow-pot {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes grow-stem {
    0% {
        stroke-dasharray: 0 100;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        stroke-dasharray: 100 0;
        opacity: 1;
    }
}

@keyframes grow-leaf-left {
    0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
    }
    50% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes grow-leaf-right {
    0% {
        transform: scale(0) rotate(20deg);
        opacity: 0;
    }
    60% {
        transform: scale(0) rotate(20deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes grow-leaf-top-left {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    70% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes grow-leaf-top-right {
    0% {
        transform: scale(0) rotate(10deg);
        opacity: 0;
    }
    80% {
        transform: scale(0) rotate(10deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.animate-float {
    animation: float linear infinite;
}

.animate-grow-pot {
    animation: grow-pot 1s ease-out forwards;
}

.animate-grow-stem {
    animation: grow-stem 1.5s ease-out forwards;
}

.animate-grow-leaf-left {
    animation: grow-leaf-left 2s ease-out forwards;
}

.animate-grow-leaf-right {
    animation: grow-leaf-right 2s ease-out forwards;
}

.animate-grow-leaf-top-left {
    animation: grow-leaf-top-left 2s ease-out forwards;
}

.animate-grow-leaf-top-right {
    animation: grow-leaf-top-right 2s ease-out forwards;
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}