/* 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;
}

/* Cartes en grille */
.skills-grid,
.competence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.skill-card,
.competence-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;
    color: #eeeeee;
}

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

/* Uniformisation des images */
img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 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;
}

/* 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;
}

/* Style pour le tableau des certifications */
table {
    width: 100%;
    /* Le tableau prend toute la largeur */
    border-collapse: collapse;
    /* Fusionne les bordures des cellules */
    margin-top: 20px;
    background-color: #222831;
    color: #eaeaea;
}

th,
td {
    border: 1px solid #eaeaea;
    /* Ajoute une bordure aux cellules */
    padding: 12px;
    text-align: center;
}

th {
    background-color: #00adb5;
    color: #222831;
    font-weight: bold;
}

/* Centrer les images des certifications */
.certification-img {
    width: 90px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Ajouter des marges et une ombre autour des sections */
section {
    margin: 30px 0;
    padding: 20px;
    background: #222831;
    border-radius: 15px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

/* Animation pour le titre des sections */
h2 {
    font-size: 2.5em;
    color: #eeeeee;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 1.5s infinite alternate;
}