:root {
    --primary: #facc11;
    --secondary: #1f1f1f;
    --text: #4b5563;
    --text-light: #f3f4f6;
    --background: #f9fafb;
}

/* Base */
body {
    font-family: "Gellix", "Poppins", sans-serif;
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Titres */
h1,
h2,
h3,
h4,
h5 {
    font-family: "Gellix", "Poppins", sans-serif;
    color: var(--secondary);
    font-weight: 600;
}

/* Liens */
a {
    color: var(--secondary);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--primary);
}

/* Boutons */
.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 10px 25px;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 8px;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

/* Loader */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.loader-dot {
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    animation: pulse 1.2s infinite ease-in-out;
}

.loader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
    animation-delay: 0.4s;
}


@keyframes dropdown-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-dropdown-in {
    animation: dropdown-in 0.2s ease-out forwards;
}


.animate-spin {
    animation: spin 1s linear infinite;
}

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

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

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Improve readability for prose */
.prose {
    line-height: 1.6;
}

.prose p {
    margin-bottom: 1rem;
}

.prose ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li {
    margin-bottom: 0.5rem;
}