﻿/* litds-activities.html: custom styles extracted from the page markup. */

* {
        box-sizing: border-box;
    }

    body {
        font-family: "Inter", sans-serif;
    }

    /* =====================================================
       ACTIVITY CARD ANIMATION
    ===================================================== */

    .activity-card {
        opacity: 0;
        transform: translateY(30px);
        animation: activityReveal 0.7s ease forwards;
        transition:
            border-color 0.4s ease,
            transform 0.4s ease,
            box-shadow 0.4s ease;
    }

    @keyframes activityReveal {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .activity-card:hover {
        border-color: rgba(59, 130, 246, 0.4);
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    }

    /* =====================================================
       IMAGE
    ===================================================== */

    .activity-image {
        transition: transform 0.7s ease;
    }

    .activity-card:hover .activity-image {
        transform: scale(1.06);
    }

    /* =====================================================
       SCROLLBAR
    ===================================================== */

    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #020617;
    }

    ::-webkit-scrollbar-thumb {
        background: #334155;
        border-radius: 20px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #475569;
    }

    /* =====================================================
       LOADING SPINNER
    ===================================================== */

    .loader {
        width: 45px;
        height: 45px;
        border: 4px solid rgba(255, 255, 255, 0.1);
        border-top-color: #3b82f6;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }


