/* font-family: 'Cinzel Decorative', serif; (BOLD)*/
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&display=swap");

/* font-family: 'Cinzel Decorative', serif; (REGULARE)*/
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative&display=swap");

/* font-family: 'Crimson Text', serif; (ITALIC) [P] */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:ital@1&display=swap");

/* font-family: 'Inter', sans-serif;  (LIGHT) [H4] */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap");

/* font-family: 'Merriweather', serif; (BOLD) [H1] */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@900&display=swap");

/* font-family: 'Neuton', serif; (LIGHT) [H2]*/
@import url("https://fonts.googleapis.com/css2?family=Neuton:wght@300&display=swap");

/* font-family: 'Cormorant Garamond', serif; (MEDIUM) [H3] */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap");

body {
  max-width: 1300px;
  margin: 20px auto;
  background: rgba(37, 37, 37, 0.873);
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  body {
    max-width: 710px;
    margin: 20px 20px;
    background: rgba(37, 37, 37, 0.873);
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  body {
    max-width: 430px;
    margin: 20px 20px;
    background: rgba(37, 37, 37, 0.873);
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 30px;
  background-image: url("../assets/img/LOGO_FRUSANETCOM_v2_30pourcent.png"); /* Chemin vers l'image */
  background-repeat: no-repeat; /* Pour éviter la répétition de l'image */
  background-position: center; /* Centrer l'image dans le header */
  background-size: contain; /* Adapte la taille de l'image à son conteneur */
  height: 150px; /* Hauteur du header, ajustez selon vos besoins */
  width: 100%; /* Largeur du header */
}

nav {
  display: flex;
  text-align: center;
  justify-content: space-around;
  width: 100%;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 0;
  margin: 0;
}

nav li {
  list-style-type: none;
}

nav a {
  color: rgba(253, 253, 253, 0.965); /* Couleur du lien */
  text-decoration: none;
}

nav a:link,
nav a:visited,
nav a:hover,
nav a:active {
  color: rgba(253, 253, 253, 0.965);
  text-decoration: none;
}

/* Cacher les sous-menus par défaut */
nav .subnav-content {
  display: none;
}

/* Optionnel: Styles pour les sous-menus affichés, activé par JavaScript */
nav .subnav.active .subnav-content {
  display: block;
}

main .Blog {
  display: grid;
  grid-template-columns: 1fr;
  margin: auto;
}

.LogoBlog {
  background-image: url("../assets/img/LOGO_BLOG.png");
  background-repeat: no-repeat;
  background-size: contain; /* Ajuste l'image à la taille de la div */
  background-position: center; /* Centre l'image horizontalement */
  height: 300px;
}

@media (max-width: 768px) {
  .LogoBlog {
    background-image: url("../assets/img/LOGO_BLOG.png");
    background-repeat: no-repeat;
    background-size: contain; /* Ajuste l'image à la taille de la div */
    background-position: center; /* Centre l'image horizontalement */
    height: 200px;
  }
}

@media (max-width: 480px) {
  .LogoBlog {
    background-image: url("../assets/img/LOGO_BLOG.png");
    background-repeat: no-repeat;
    background-size: contain; /* Ajuste l'image à la taille de la div */
    background-position: center; /* Centre l'image horizontalement */
    height: 100px;
  }
}

#EnteteArticle h1 {
  font-family: "Merriweather", serif;
  font-size: calc(1.2rem + 0.5vw);
  color: rgba(243, 239, 234, 0.892);
  padding: 3px 10px 3px 10px;
  margin: 5px 0 5px 0;
}

#EnteteArticle p {
  font-family: "Crimson Text", serif;
  text-align: justify;
  font-size: calc(0.4rem + 0.5vw);
  margin-bottom: 1em;
  color: antiquewhite;
  padding: 3px 10px 3px 10px;
  margin: 5px 0 5px 0;
}

#Article h2 {
  font-family: "Neuton", serif;
  font-size: calc(1rem + 0.5vw);
  color: rgba(207, 185, 157, 0.899);
  text-align: justify;
  padding: 3px 10px 3px 10px;
  margin: 5px 5px 5px 5px;
}

#Article h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: calc(0.8rem + 0.5vw);
  color: rgba(75, 177, 102, 0.939);
  text-align: justify;
  padding: 3px 10px 3px 10px;
  margin: 5px 5px 5px 5px;
}

#Article h4 {
  font-family: "Inter", sans-serif;
  font-size: calc(0.6rem + 0.5vw);
  color: rgba(122, 139, 217, 0.946);
  text-align: justify;
  padding: 3px 10px 3px 10px;
  margin: 5px 5px 5px 5px;
}

#Article p {
  font-family: "Crimson Text", serif;
  font-size: calc(0.4rem + 0.5vw);
  color: rgba(246, 246, 170, 0.939);
  text-align: justify;
  padding: 3px 10px 3px 10px;
  margin: 5px 5px 5px 5px;
}

.trait-animate {
  width: 0;
  height: 4px;
  background-color: rgba(237, 100, 118, 0.883);
  box-shadow: 2px 2px 2px rgba(236, 236, 236, 0.6);
  margin: 20px auto; /* Centrage du trait */
  animation: drawLine 10s forwards; /* Animation nommée drawLine sur 5 secondes */
}

@keyframes drawLine {
  to {
    width: 800px; /* Longueur finale du trait */
  }
}

@media (max-width: 768px) {
  .trait-animate {
    width: 0;
    height: 4px;
    background-color: rgba(237, 100, 118, 0.883);
    box-shadow: 2px 2px 2px rgba(236, 236, 236, 0.6);
    margin: 20px auto; /* Centrage du trait */
    animation: drawLine 10s forwards; /* Animation nommée drawLine sur 5 secondes */
  }
  @keyframes drawLine {
    to {
      width: 400px; /* Longueur finale du trait */
    }
  }

}


@media (max-width: 480px) {
  .trait-animate {
    width: 0;
    height: 4px;
    background-color: rgba(237, 100, 118, 0.883);
    box-shadow: 2px 2px 2px rgba(236, 236, 236, 0.6);
    margin: 20px auto; /* Centrage du trait */
    animation: drawLine 10s forwards; /* Animation nommée drawLine sur 5 secondes */
  }
  @keyframes drawLine {
    to {
      width: 250px; /* Longueur finale du trait */
    }
  }

}

a {
  color: rgba(243, 243, 243, 0.932); /* Couleur du lien */
  text-decoration: none; /* Supprime le soulignement */

  /* Appliquer les mêmes styles pour les différents états du lien */
  &:link,
  &:visited,
  &:hover,
  &:active {
    color: rgba(243, 243, 243, 0.932);
    text-decoration: none;
  }
}

.grillefooter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: rgb(253, 253, 253, 0.965);
  padding: 20px;
  text-align: center;
}

.footerImg {
  background-image: url("../assets/img/LOGO_HLG_LLC_v2_5.png");
  background-repeat: no-repeat;
  background-size: contain; /* ou 'cover' selon le besoin */
  background-position: center;
  height: 100px; /* Hauteur de la div, ajustez selon vos besoins */
  width: 100%; /* Largeur de la div */
}

.footer {
  padding: 5px;
}

.footer h3 {
  margin-bottom: 15px;
  font-size: calc(0.6rem + 0.5vw);
  font-family: "Inter", sans-serif;
}

.footer p {
  margin-bottom: 15px;
  font-size: calc(0.6rem + 0.5vw);
  font-family: "Neuton", serif;
}

@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  nav ul {
    flex-direction: column;
  }
}

@media screen and (max-width: 270px) {
  nav ul {
    flex-direction: column;
  }
}