/* Style général modernisé */
body {
    background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460);
    color: #eaeaea;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    animation: backgroundAnimation 10s infinite alternate;
}

@keyframes backgroundAnimation {
    0% {
        background-position: left;
    }

    100% {
        background-position: right;
    }
}

/* Taskbar uniforme */
#taskbar {
    background: linear-gradient(90deg, #222831, #393E46);
    padding: 12px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Alignement correct des éléments */
#navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Style du logo */
#logo {
    display: flex;
    align-items: center;
}

#logo img {
    width: 60px;
    /* Taille uniforme */
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Alignement correct du menu */
#nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
}

#nav-links li {
    display: inline-block;
}

#nav-links li a {
    color: #eeeeee;
    padding: 10px 16px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

#nav-links li a:hover {
    background-color: #00adb5;
    color: #222831;
    transform: scale(1.1);
    border-radius: 10px;
}



/* Titres et sections dynamiques */
h1,
h2,
h3 {
    font-size: 1.8em;
    text-shadow: 2px 2px 0px #00adb5, -2px -2px 0px #393E46;
    animation: bounce 1.5s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(8px);
    }
}

.section-title {
    font-size: 2em;
    color: #eeeeee;
    padding: 15px;
    background: #00adb5;
    display: inline-block;
    border-radius: 15px;
}

/* Grille des articles */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.article-card {
    background: #222831;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out;
    font-size: 1em;
}

.article-card:hover {
    transform: scale(1.05);
    background: #00adb5;
    color: #222831;
}

/* Uniformisation des images */
.article-card img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Effet d'apparition */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

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

.container {
    animation: popIn 1s ease-in-out;
}

/* Uniformisation des images */
img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 10px;
}

/* Footer modernisé */
footer {
    background: linear-gradient(90deg, #222831, #393E46);
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #eeeeee;
    font-size: 0.9em;
}

footer p a {
    color: #00adb5;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer p a:hover {
    color: #eeeeee;
}