a {
  color: #426CF5;
  text-decoration: none;
}

#navig {
  position: sticky;
  top :0;
  overflow: hidden;
  z-index: 100;
}

#navig a {
  font-weight: bold;
  display : inline-block;
  margin : 20px;
  
}

a:hover {
color : #CF7900;
position : relative;
bottom : 2px;
}

h1 a {
color: #333332;}

body, h4, h5 {
  text-align: center;
  align-content: center;
  color: #333332;
  font-family: "Libre Baskerville", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body main article {
  text-align:justify;
}

#legend {
  z-index: 1030; /* Pour être au-dessus du contenu */
  width: 180px;
}

@media (max-width: 992px) {
  #legend {
    display: none; /* On cache la légende sur mobile pour éviter de gêner la lecture */
  }  
  #social-fixed { display: none; }
}

#social-fixed a {
  font-size: 1.5rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#social-fixed a:hover {
  transform: scale(1.1);
  transition: 0.2s;
}
#social-fixed a[title^='Facebook']  {
  background-color: #0866FF;
  color: #FFF;
}
