body {
    margin: 0;
}

.loader {
    position: fixed; /* stays on top of everything */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .loader img {
        height: auto;
    }

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

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

    .animate-fade-in-up.delay-400 {
        animation-delay: 0.4s;
    }

.animate-spin-slow {
    animation: spinSlow 3s linear infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.nav-link {
    cursor: pointer;
    padding-bottom: 0.25rem;
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #2563eb; /* Tailwind blue-600 */
        transition: width 0.3s ease-out;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .nav-link.text-blue-600::after {
        width: 100%;
    }

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}
