/**************************************************************
 SIHP (www.sihp.fr)
 Copyright 2009-2025 Develop'it
 
 Version : 6.5.7
 Date    : 14/02/2025
 Fichier : css/IllustrationArticle.css
**************************************************************/

/*************************** secIllustration ***************************/
#secIllustration {
  background-color: rgba(254, 254, 254, 1);
  padding: 20px 0;
/*
*/
background-color: rgb(var(--clr-bleufonce),0.20);
  background-image: url("../image/Une-Fond.jpg");
  background-position: center center;
  background-size: cover;
}
#secIllustration h2 {
  text-align: center;
}
#secIllustration h2::after {
  transform: translateX(-50%);
  left: 50%;
}

/*************************** ListeArticleUne ***************************/
.ListeArticleUne {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
}

.ArticleUne {
  position: relative;
  overflow: hidden;
  max-height: 150px;
  aspect-ratio: 1200 / 800;
  border-radius: 5px;
}

.ArticleUne img {
  height: 100%;
}
.ArticleUne:hover img {
  transform: scale(1.05);
}

.ArticleUne .Titre {
  background-color: rgb(var(--clr-bleufonce),0.80);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 15px;
  color: rgba(254, 254, 254, 1);
  display: flex;
  height: 50px;
  position: absolute;
  bottom: 0;
  width: 100%;
  line-height: 1.0em;
  padding: 0 1em;
  align-items: center;
  backdrop-filter: blur(5px);
}

.ArticleUne.gUne {
  grid-column: 1;
}

.ArticleUne.gDeux {
  grid-column: 2;
}

.ArticleUne.gTrois {
  grid-column: 3;
}
@media only screen and (max-width: 639px) {
  .ListeArticleUne {
    display: inline-grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    /*  width: 100%;*/
    justify-items: center;
  }
  .ArticleUne img {
    height: auto;
  }

  .ArticleUne.gUne {
    grid-column: 1;
    grid-row: 1;
  }
  .ArticleUne.gDeux {
    grid-column: 1;
    grid-row: 2;
  }
  .ArticleUne.gTrois {
    grid-column: 1;
    grid-row: 3;
  }
}
/*************************** ListeBouton ***************************/
#secIllustration .ListeBouton {
  display: inline-flex;
  height: 100%;
  width: 100%;
  padding: 7px 0;
  margin-top: 1em;
  margin-bottom: 1em;
  align-content: center;
  flex-direction: column;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

#secIllustration .Bouton {
  display: flex;
  height: 30px;
  width: 30px;
  color: rgb(40, 40, 40);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.6em;
  line-height: 1.1em;
  font-weight: bold;
  border-radius: 3px;
  border-radius: 50%;
  align-items: center;
  padding: 0 0px;
  justify-content: center;
  position: relative;
  opacity: 0.5;
}
#secIllustration .Bouton:hover {
  color: rgba(254, 254, 254, 1);
  opacity: 1.0;
}
#secIllustration .Bouton svg {
  fill: currentColor;
  width: 16px;
}
/*
#secIllustration .Bouton .Libelle {
  display: none;
}
*/
#secIllustration .Bouton .Libelle {
  position:absolute;
  width: 100px;
  background-color: rgba(60,60,60,1.0);
  color:rgba(254,254,254,1.0);
  padding: 3px 5px;
  border-radius: 3em;
  font-size: 13px;
  font-weight: normal;
  text-align: center;
  justify-content: center;
  top:50px;
  z-index: 1;
  display: none;
}
#secIllustration .Bouton .Libelle::before {
content:"";
display: block;
position: absolute;
width: 6px;
height: 6px;
border: 3px solid rgba(60,60,60,1.0);
transform: rotateZ(45deg);
top: -3px;
left: calc(50% - 4px);
z-index: -1;
}
#secIllustration .Bouton:hover > .Libelle {
  display: flex;
}

@media only screen and (max-width: 1023px) {
  #secIllustration .ListeBouton {
    width: unset;
    margin-top: 1em;
    margin-bottom: 1em;
    gap:10px;
  }
  #secIllustration .Bouton {
    height: 40px;
    width: 40px;
    font-size: 16px;
  }
}
@media only screen and (max-width: 639px) {
  #secIllustration .Bouton {
    height: 36px;
    width: 36px;
    padding: 0;
    justify-content: center;
    margin-bottom: 2px;
  }
  #secIllustration .Bouton svg {
    margin: 0;
    width: 22px;
  }
/*
  #secIllustration .Bouton .Libelle {
    display: none;
  }
*/
  #secIllustration .ListeBouton {
    position: sticky;
    height: auto;
    top: 70px;
    justify-content: flex-start;
  }
}
