/* Fond général */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* Centrer horizontalement */
  align-items: center; /* Change de flex-start à center */
  flex-direction: column;
}
  
  /* Menu de navigation */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a73e8;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
  
  nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #f4a261;
  }
  
  /* Conteneur de contenu principal */
  .container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 800px; /* Taille max du bloc */
    padding: 30px;
    margin-top: 100px;
    text-align: center;
    /* Centrer horizontalement avec margin automatique */
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Titre */
  h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  /* Image d'introduction */
  .intro-image img {
    width: 50%; /* Réduit l'image à 50% de la largeur du conteneur */
    max-width: 300px; /* Empêche l'image d'être trop grande */
    height: auto; /* Garde le bon ratio */
    border-radius: 8px;
    margin-bottom: 30px;
}
  
  /* Liste de projets */
  ul {
    list-style-type: none;
    padding: 0;
  }
  
  li {
    margin: 15px 0;
  }
  
  /* Liens des projets */
  a {
    text-decoration: none;
    color: #1a73e8;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
  }
  
  a:hover {
    color: #d32f2f;
    transform: scale(1.05);
  }
  
  /* Nouveau bloc pour un autre repository GitHub */
  .extra-block {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .extra-block h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  /* Bloc supplémentaire avec un autre lien */
  .additional-block {
    margin-top: 50px; /* Espace entre le bloc central et ce bloc */
    /* Centrer horizontalement avec margin automatique */
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Footer */
  footer {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #888;
    text-align: center; /* Centrer le texte dans le footer */
    width: 100%; /* S'assurer qu'il prend toute la largeur */
  }
  
  .main-links {
    background-color: #f9f9f9; /* Même couleur que .extra-block */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Effet surélevé */
    margin-top: 30px;
  }