.header {
    /*background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);    */
    color: #fff;
    padding: 1em 0;
    border-bottom: 2px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
}


#pulsating-gradient {
    width: 100%;
    height: auto;
    background: linear-gradient(to right, #d6249f, #f06292);
    background-size: 200% 200%;
    animation: pulse 5s ease infinite;
}

@keyframes pulse {
    0% {background-position: 0 0;}
    50% {background-position: 100% 100%;}
    100% {background-position: 0 0;}
}

.banner {
    text-align: center;
}

.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 6vw, 4rem); /* Adaptation automatique */
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    margin: 0;
}

/* Responsive */
@media (max-width: 500px) {
    #title {
        font-size: 3em;
    }

    .banner {
        flex-direction: column;
    }
}

/* Variables */
:root {
    --primary-color: #d6249f;
    --bg-dark: #1e1e1e;
    --text-light: #fff;
    --transition-speed: 0.4s;
    --shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #fff;
    color: var(--text-light);
}

/* Header */
.header {
    background: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: color var(--transition-speed), background var(--transition-speed);
}

.nav-links li a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-speed);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: 100vh;
        width: 220px;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding-top: 80px;
        transition: right var(--transition-speed) ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: flex;
    }

    /* Animation burger */
    .burger.toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .burger.toggle span:nth-child(2) {
        opacity: 0;
    }
    .burger.toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}
