body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #1e1e1e; /* Fond sombre */
    color: #f0f0f0; /* Texte clair */
    padding: 10px;
}

/* Variables CSS pour faciliter la personnalisation */
:root {
    --container-bg-color: #2a2a2a;
    --accent-color: #00ff00;
    --text-color-dark: #1e1e1e;
}

/* Barre de navigation */
.navbar {
    background-color: var(--container-bg-color);
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Liens de navigation */
.nav-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-item {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.nav-item:hover {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
}

/* Menu hamburger (mobile) */
.nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    margin: 4px 0;
    transition: transform 0.3s, background 0.3s;
}

/* Nav cachée par défaut */
.nav-items {
    display: flex;
    justify-content: space-between;
}

/* Nav ouverte sur mobile avec deux colonnes */
.nav-items.open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-item {
        padding: 8px 10px;
        font-size: 0.9rem;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-items {
        display: none;
    }

    .nav-items.open {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #2a2a2a; /* Fond légèrement plus clair pour le conteneur */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

h1 {
    color: #00ff00; /* Vert pour le titre principal */
    text-align: center;
}

h2 {
    color: #00ff00; /* Vert fluo pour les sous-titres */
    margin-top: 20px;
    border-bottom: 2px solid #00ff00; /* Bordure verte */
    padding-bottom: 5px;
}

h3 {
    color: #f0f0f0; /* Couleur claire pour les titres des projets */
    margin-top: 15px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.project {
    margin-bottom: 30px;
    padding: 15px;
    background: #3a3a3a; /* Fond plus clair pour les projets */
    border-radius: 5px;
    border-left: 5px solid #00ff00; /* Bordure à gauche en vert */
}

/* Footer */
footer {
    background-color: var(--container-bg-color);
    color: var(--text-color-light);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container p {
    margin: 5px 0;
    line-height: 1.4;
}

.footer-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #00cc00;
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}


.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.image-container img {
    width: 100px; /* Taille fixe pour les images */
    height: 100px; /* Taille fixe pour les images */
    object-fit: cover; /* Pour garder le ratio */
    border-radius: 5px; /* Coins arrondis pour les images */
}