header {
    background-color: #fbf5f0;
    border-bottom: 2px dashed #d8b8b8;
    padding: 2rem 1rem;
    text-align: center;
    font-family: 'Dancing Script', cursive;
  }
  
  header h1 {
    font-size: 2.8rem;
    margin: 0;
    color: #701d36;
  }
  
  header p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #4a2f2f;
    margin: 0.5rem 0 1.5rem;
  }
  
  nav {
    margin-top: 1rem;
  }
  
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  nav ul li a {
    display: inline-block;
    font-family: 'Lora', serif;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    background-color: #f4d9df;
    color: #1e1e1e;
    border-radius: 25px;
    transition: all 0.3s ease;
  }
  
  nav ul li a:hover,
  nav ul li a:focus {
    background-color: #701d36;
    color: #ffffff;
    outline: none;
  }
  

/* Global */
body {
    margin: 0;
    font-family: 'Lora', serif;
    background-color: #fffafa;
    color: #1e1e1e;
    line-height: 1.6;
    padding: 0 1rem;
  }
  
  /* Header */
  header {
    background-color: #fbf5f0;
    border-bottom: 2px dashed #d8b8b8;
    padding: 2rem 0;
    text-align: center;
    font-family: 'Dancing Script', cursive;
  }
  
  header h1 {
    font-size: 2.8rem;
    margin: 0;
    color: #701d36;
  }
  
  header p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #4a2f2f;
    margin: 0.5rem 0 1.5rem;
  }
  
  /* Navigation */
  nav {
    margin-top: 1rem;
  }
  
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  nav li a {
    display: inline-block;
    font-family: 'Lora', serif;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    background-color: #f4d9df;
    color: #1e1e1e;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  nav li a:hover,
  nav li a:focus {
    background-color: #701d36;
    color: #ffffff;
    outline: 2px dashed #701d36;
    outline-offset: 4px;
  }
  
  /* Chaque bloc de contenu */
  body > div {
    max-width: 900px;
    margin: 2rem auto;
    background-color: #fff0f3;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(112, 29, 54, 0.1);
  }
  
  /* Titres */
  body > div h2 {
    font-family: 'Dancing Script', cursive;
    color: #701d36;
    font-size: 2rem;
    margin-top: 0;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #4a2f2f;
    background-color: #fbf5f0;
    border-top: 2px dashed #d8b8b8;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    header h1 {
      font-size: 2rem;
    }
  
    body > div {
      font-size: 0.95rem;
      padding: 1rem;
      margin: 1.5rem 1rem;
    }
  
    body > div h2 {
      font-size: 1.6rem;
    }
  }
  
  

  /* Style général du loader */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #fceef1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    /* font-family: 'Dancing Script', cursive; */
    text-align: center;
  }
  
  /* Image du gif */
  .loader-gif {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
  }
  
  /* Texte animé */
  .writing-animation {
    font-size: 2.2rem;
    color: #a83f56;
    animation: blink 1s steps(2, start) infinite;
    word-wrap: break-word;
  }
  
  /* Effet de clignotement */
  @keyframes blink {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.4;
    }
  }
  
  /* Responsive: ajuste la taille du texte sur petits écrans */
  @media (max-width: 600px) {
    .writing-animation {
      font-size: 1.6rem;
    }
  }
  #content {
    display: none;
  }
  
  
  .socialMediaNetworks {
    text-align: center;
    padding: 1rem;
  }
  
  .socialMediaNetworks span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
  }
  ul{list-style: none;}
  .socialMediaNetworks ul {
    /* list-style: none; */
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap; /* Important pour la responsivité */
  }
  
  .socialMediaNetworks li {
    display: flex;
  }
  
  .socialMediaNetworks img {
    height: 30px;
    width: auto;
    max-width: 100%;
    transition: transform 0.3s ease;
  }
  
  .socialMediaNetworks img:hover {
    transform: scale(1.1);
  }
  

  #certificates {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    text-align: left;
  }
  
  #certificates table {
    width: 100%;
    border-collapse: collapse;
  }
  
  #certificates th,
  #certificates td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
  }
  
  #certificates h1 {
    text-align: center;
    margin-bottom: 20px;
  }

  #certificates img{
    height: 50%;
    width: 50%;
  }



  /* Conteneur du formulaire */
form {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 10px;
  background-color: #f9f9f9; /* Tu peux changer la couleur ici */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Titres du formulaire */
form h1, form h2, form h3 {
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

/* Groupes de champs */
.form-group {
  margin-bottom: 1.5rem;
}

/* Étiquettes */
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Champs texte, email, etc. */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #999; /* Changeable */
}

/* Boutons */
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-color: #ddd; /* Changeable */
  transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
  background-color: #ccc; /* Changeable */
}

/* Message d'erreur */
.error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 600px) {
  form {
    padding: 1.5rem;
  }
}
