body {
  background: linear-gradient(to left, #9ad0d6 50%, #e5f3f4 50%);
  background-size: 200% 100%;
  animation: slicingBackground 22s infinite;
  color: #333333; /* Noir doux */
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

header {
  background-color: #2474a6; /* Bleu royal */
  width: 100%; /* Prend toute la largeur */
  padding: 40px 0; /* Espacement pour agrandir le header */
}

a {
  font-size: 24px;
  color: #ffffff;
  text-decoration: none;
}
a:hover {
  color: #333;
}

header h2 {
  font-size: 2.5em;
  margin: 0;
  color: #ffffff;
  text-align: center;
  border-bottom: 0px solid;
}

.first_section,
section {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto; /* Centrer les sections */
}

h2,
h3,
h4 {
  color: #2474a6;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #2474a6;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

h4 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

p {
  font-size: 1em;
  color: #333; /* Noir doux */
  margin-bottom: 10px;
}

article {
  margin-bottom: 20px;
  padding: 15px;
  border-left: 4px solid #2474a6;
  background-color: #f9f9f9; /* Fond léger */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Légère ombre pour effet relief */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transition fluide */
}

article:hover {
  background-color: #e0ecf6; /* Changement de fond au survol */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Augmentation de l'ombre */
}

form {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding: 15px;
  border-left: 4px solid #2474a6; /* Bordure bleu royal */
  background-color: #f9f9f9; /* Fond léger */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Légère ombre pour effet relief */
}

label {
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
}

input,
textarea {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #2474a6;
  color: white;
  border: none;
  cursor: pointer;
  padding: 15px;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #36454f;
}
footer {
  background-color: #2474a6;
  height: 10%;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
}
img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 20px;
}
@media screen and (max-width: 767px) {
  .nav-list ul {
    list-style-type: none; /* Retire les puces */
    padding: 0;
    margin: 0;
    text-align: center;
  }
}
@media screen and (min-width: 768px) {
  .nav-list ul {
    list-style-type: none; /* Retire les puces */
    padding: 0;
    display: flex;
    justify-content: center;
    a {
      margin: 15px;
    }
  }
}

@keyframes slicingBackground {
  0% {
    background-position: 0% 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}
