body {
      margin: 0;
      padding: 0;
      font-family: 'Arial', sans-serif;
      background-color: #6b4a2b; /* marron comme sur la photo */
      color: #fff;
      text-align: center;
    }

    /* Switch langues */
    .lang-switch {
      position: absolute;
      top: 20px;
      left: 20px;
    }
    .lang-switch button {
      background: #4a3320;
      color: #fff;
      border: none;
      padding: 8px 14px;
      margin: 0 5px;
      border-radius: 20px;
      cursor: pointer;
      font-weight: bold;
    }
    .lang-switch button:hover {
      background: #fff;
      color: #4a3320;
    }

    /* Images rondes */
    .images {
      margin-top: 70px;
    }
    .images img {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 20px;
    }

    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');


    /* Titre */
    h1 {
      margin-top: 20px;
      font-size: 2.5em;
      letter-spacing: 4px;
      font-family: "Bebas Neue", sans-serif;
    }

    /* Texte */
    .intro {
      max-width: 800px;
      margin: 20px auto;
      font-size: 1.0em;
      font-family: 'Poppins', sans-serif;
      line-height: 1.6;
    }

    .intro a {
      color: #fff;
      text-decoration: underline;
      font-weight: bold;
    }

    /* section */

    .section {
        opacity: 0;
        transition: opacity 0.6s ease;
        display: none; 
    }

    .section.active {
        opacity: 0;
        display: block;
    }

    /* about me section*/

    /* Images rondes */
    .images-about {
      margin-top: 30px;
    }
    .images-about img {
      width: 140px;
      height: 140px;
      border-radius: 5%;
      object-fit: cover;
      margin: 0 20px;
    }

    /* contact section */

    /* cibler les icônes dans le conteneur .icones */
    .icones i {
        font-size: 30px; 
        margin: 0 20px; 
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    /* effet au survol */
    .icones i:hover {
        transform: scale(1.2);
    }

    .icones a {
    color: #fff; /* couleur de ton choix, ici marron */
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s ease;
    text-decoration: none; /* supprime le soulignement */
}

.icones a:hover {
    color: #e6b5a3; /* couleur au survol */
}

    /* centrer les icônes si besoin */
    .icones {
        text-align: center;
        margin-top: 20px;
    }


    /* work section */

.content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.text-box {
    flex: 2;
    padding: 20px;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    margin-top: 70px;
}

.list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 600px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.list-item {
    background-color: #fff; /* Couleur des items de la liste */
    color: #6b4a2b; /* Couleur du texte dans les items */
    padding: 30px 40px;
    border-radius: 20px; /* Bords arrondis pour ressembler à la forme */
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.list-item:hover {
    background-color: #e6b5a3; /* Nouvelle couleur de fond au survol */
    transform: scale(1.05); /* Augmente légèrement la taille */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée */
}

.list-item.clicked {
    /* Styles pour l'état cliqué */
    background-color: #ffffff; 
    transform: scale(1); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); 
    cursor: default; 
    padding: 15px 20px; 
    width: 600px; 
    max-width: 600px;   
    margin: 0 auto;    
    display: block;
}

/* Optionnel : si tu veux que le hover ne s'applique jamais à l'élément cliqué */
.list-item.clicked:hover {
    transform: scale(1);
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/*.separatorsection {
    height: 2px;
    background-color: #fff; /* couleur du séparateur 
    margin: 20px 0;
    width: 100%;
}*/

.list-item p {
    margin: 0;
}


    /* projet details */

    #back-btn {
      margin-bottom: 20px;
      padding: 8px 16px;
      background-color: #e6b5a3;
      border: none;
      border-radius: 10px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s ease;
    }

#back-btn:hover {
    background-color: #d19986;
}

.project-detail {
    display: flex;
    flex-direction: column;   /* Empile les projets verticalement */
    align-items: center;      /* Centre la liste horizontalement */
    gap: 30px;                /* Espacement entre les projets */
    margin-top: 30px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#back-to-top-text {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

#back-to-top-text:hover {
    color: #ffcc00;
}


.project-detail.active {
    opacity: 1;
    transform: scale(1);
}

.project-item {
    display: flex; 
    align-items: flex-start;  
    gap: 20px;                
    margin-bottom: 20px;      
    opacity: 0; /* Rendre l'élément invisible au début */
    transition: opacity 0.5s ease-in;
}

.project-item.show-project {
    opacity: 1; /* Rendre l'élément visible */
}
.project-image img {
    object-fit: cover;
    filter: blur(5px);
    transition: filter 0.3s ease;
    border-radius: 15px;
    width: 200px;             /* Largeur fixe de l'image */
    height: auto;
}

.project-image img:hover {
    filter: blur(0);
}

.project-info {
    max-width: 400px;
    text-align: left;
}

.project-info h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #fff;
}

.project-info p {
    /*font-size: 1.1em;
    line-height: 1.5;
    color: #ddd;*/
    flex: 1;
}


    /* Séparateur */
    .separator {
      width: 100px;
      height: 2px;
      background: #fff;
      margin: 25px auto;
    }

    /* Menu */
    nav {
      margin-top: 20px;
    }
    nav a {
      display: inline-block;
      margin: 12px;
      padding: 14px 36px;
      border: 1px solid #fff;
      border-radius: 10px;
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      letter-spacing: 2px;
      transition: 0.3s;
    }
    nav a:hover {
      background: #fff;
      color: #4a3320;
    }