/* 🌙 Style général assombri et moderne */
body {
    background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460);
    color: #eeeeee;
    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 img {
    width: 60px;
    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 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 animations */
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: #222831;
    display: inline-block;
    border-radius: 15px;
}

/* 📌 Cartes d'accomplissements et compétences */
.skills-grid,
.competence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.skill-card,
.competence-card {
    background: #0f3460;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    font-size: 0.9em;
}

.skill-card:hover,
.competence-card:hover {
    transform: rotate(-3deg) scale(1.05);
    background: #1a1a2e;
}

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

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

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

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

/* ✅ Section Rencontres et Ressentis */
.experience-section {
    background: #222831;
    padding: 40px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.experience-text {
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify;
    padding: 20px;
    background: #0f3460;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ✅ Section Mon Avenir */
.future-section {
    padding: 40px;
    background: #16213e;
    border-radius: 15px;
    margin: 40px auto;
}

.future-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.future-bubble {
    background: #00adb5;
    color: #222831;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.future-bubble:hover {
    transform: scale(1.1);
    background: #ff9800;
}

/* ⚡ Footer sombre et classe */
footer {
    background: linear-gradient(90deg, #222831, #0f3460);
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #eeeeee;
}

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: #ffcc00;
}