#photo_header {
    width: 70px;
    margin: 8%;
  }
  
  header {
    display: flex;
    align-items: center;

  }
  
  nav {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
  }
  
  .menu {
    margin: 0 auto; /* Centre horizontalement le menu */
    display: flex;
    gap: 100px;
  }
  
  .menu {
    position: relative; /* Nécessaire pour que les étoiles soient bien placées */
  }
  
  .menu a {
    text-decoration: none;
    color: black;
    font-size: 22px;
    font-family: 'Roboto-Regular', sans-serif;
  }
  
  .menu a:hover {
    text-decoration: underline;
  }
  
  .etoile-header {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    height: 20px;
    width: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
  }
  
  .accueil-link:hover .etoile-header,
  .projets-link:hover .etoile-header,
  .moi-link:hover .etoile-header {
    opacity: 0.6;
    transform: translateY(-50%) scale(1.2);
  }
  
  .projets-link .etoile-header {
    left: 142px;
  }
  .moi-link .etoile-header {
    left: 355px;
  }
  
  .menu-item.active {
    color: #C6AEBC;
  }
  
  /* Burger menu */
  .burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    top:-8px;
    right: 15px;
  }
  
  .burger-menu span {
    width: 30px;
    height: 3px;
    background-color:#C6AEBC;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .burger-menu.open span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  @media (max-width: 1024px) {
    #flecheretour {
        margin-left: 16px;
        margin-top: 5%;
        width: 24px;
        height: auto;
    }
}

/* Image responsive */
@media (max-width: 1024px) {
    .image {
        position: relative;
    }

    .image img {
        display: block;
        margin: 0 auto;
        width: 100%; /* Image prend toute la largeur disponible */
        max-width: 300px;
        height: auto;
    }

    #clic {
        font-size: 16px;
    }
}
@media (max-width: 1024px) {
  #flecheretour {
      margin-left: 16px;
      margin-top: 5%;
      width: 24px;
      height: auto;
  }
}

/* Image responsive */
@media (max-width: 1024px) {
  .image {
      position: relative;
  }

  .image img {
      display: block;
      margin: 0 auto;
      width: 100%; /* Image prend toute la largeur disponible */
      max-width: 300px;
      height: auto;
  }

  #clic {
      font-size: 16px;
  }
}

/* Texte responsive */
@media (max-width: 1024px) {
  #titre {
      font-size: 28px;
      width: auto;
      text-align: center;
  }

  .presentation {
      margin: 5% 5%;
  }

  .texte h2.soustitres {
      font-size: 18px;
  }

  .texte h3.texte2 {
      font-size: 14px;
      line-height: 18px;
  }

  #texte2 {
      font-size: 14px;
      margin-bottom: 5%;
  }
}

/* Disposition verticale pour les téléphones et tablettes */
@media (max-width: 1024px) {
  .container {
      display: flex;
      flex-direction: column;
  }

  .image {
      order: 1;
  }

  .presentation {
      order: 2;
      margin: 3% 3%;
  }

  #titre {
      font-size: 24px;
  }

  .texte h2.soustitres {
      font-size: 16px;
  }

  .texte h3.texte2 {
      font-size: 12px;
  }

  #clic {
      font-size: 14px;
  }
}

/* Styles pour le menu prenant toute la taille de l'écran */
@media screen and (max-width: 768px) {
  .menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 40px;
      width: 100%;
      background-color: white;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: 10;
      gap: 50px;
      padding-top:10px;
      padding-bottom:10px;
      box-sizing: border-box;
      text-align: right;
  }
 
  .menu a {
      padding: 10px;
      margin-right:10px;
  }

  .burger-menu {
      display: flex;
  }

  

  .menu.show {
      display: flex;
  }

  #photo_header {
      margin-top: 10px;
  }
}


/* Version mobile - Menu prenant toute la page */
@media screen and (max-width: 768px) {

  /* Menu plein écran */
  .menu.show {
      display: flex;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: white;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      z-index: 1000;
      padding: 0;
  }

  .menu a {
      font-size: 24px;
      color: black;
  }

  /* Croisement en haut à droite pour la fermeture */
  .burger-menu {
      position: fixed;
      top: 35px;
      right: 20px;
      z-index: 1001;
  }

  /* Styles de la croix en état ouvert */
  .burger-menu.open span {
      background-color: #C6AEBC;
  }

  .burger-menu {
    transition: opacity 0.3s ease;
  }
  
}
