body{
	transition: all 5s ease;
}

#conteneur{
	width: 1200px;
	height: 700px;
	margin: 60px auto;

	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	grid-gap: 20px;
}


article{
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#premier {
  position: relative;
  font-family: 'Panchang-Regular', sans-serif; /* ✅ ici la police s’applique au texte */
  font-weight: 200;
  font-size: 0.55em;
  color: transparent;
  transition: color 0.5s ease;
}

#premier::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.5s ease;
}

#premier:hover {
  color: black; /* texte devient visible */
}

#premier:hover::after {
  width: 100%; /* trait qui s’étend */
}


#premier{
	grid-column: 1/2;
	grid-row: 1/4;
	background-image: url(../images/Fleurs7bis.webp);
	background-position: center;   /* centre l'image */
  	background-repeat: no-repeat;  /* pas de répétition */
  	background-size: contain;      /* entière dans la case (ou "cover" pour remplir) */
}

#premier:hover{
	background-image: url(../images/case1.gif);
}

#deux {
  position: relative;
  font-family: 'Panchang-Regular', sans-serif; /* ✅ ici la police s’applique au texte */
  font-weight: 200;
  font-size: 0.55em;
  color: transparent;
  transition: color 0.5s ease;
}

#deux::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.5s ease;
}

#deux:hover {
  color: black; /* texte devient visible */
}

#deux:hover::after {
  width: 100%; /* trait qui s’étend */
}

#deux{
	grid-column: 2/4;
	grid-row: 1/3;
	background-image: url(../images/Fleurs6bis.webp);
	background-position: center;   /* centre l'image */
  	background-repeat: no-repeat;  /* pas de répétition */
  	background-size: contain;      /* entière dans la case (ou "cover" pour remplir) */
}

#deux:hover{
	background-image: url(../images/case2.gif);
}

#trois {
  position: relative;
  font-family: 'Panchang-Regular', sans-serif; /* ✅ ici la police s’applique au texte */
  font-weight: 200;
  font-size: 0.55em;
  color: transparent;
  transition: color 0.5s ease;
}

#trois::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.5s ease;
}

#trois:hover {
  color: black; /* texte devient visible */
}

#trois:hover::after {
  width: 100%; /* trait qui s’étend */
}

#trois{
	grid-column: 4/5;
	grid-row: 1/2;
	background-image: url(../images/Fleurs1biss.webp);
	background-position: center;   /* centre l'image */
  	background-repeat: no-repeat;  /* pas de répétition */
  	background-size: contain;      /* entière dans la case (ou "cover" pour remplir) */
}

#trois:hover{
	background-image: url(../images/case3.gif);
}

#quatre {
  position: relative;
  font-family: 'Panchang-Regular', sans-serif; /* ✅ ici la police s’applique au texte */
  font-weight: 200;
  font-size: 0.55em;
  color: transparent;
  transition: color 0.5s ease;
}

#quatre::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.5s ease;
}

#quatre:hover {
  color: black; /* texte devient visible */
}

#quatre:hover::after {
  width: 100%; /* trait qui s’étend */
}

#quatre{
	grid-column: 4/5;
	grid-row: 2/3;
	background-image: url(../images/Fleurs8bis.webp);
	background-position: center;   /* centre l'image */
  	background-repeat: no-repeat;  /* pas de répétition */
  	background-size: contain;      /* entière dans la case (ou "cover" pour remplir) */
}

#quatre:hover{
	background-image: url(../images/case4.gif);
}

#cinq {
  position: relative;
  font-family: 'Panchang-Regular', sans-serif; /* ✅ ici la police s’applique au texte */
  font-weight: 200;
  font-size: 0.55em;
  color: transparent;
  transition: color 0.5s ease;
}

#cinq::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.5s ease;
}

#cinq:hover {
  color: black; /* texte devient visible */
}

#cinq:hover::after {
  width: 100%; /* trait qui s’étend */
}

#cinq{
	grid-column: 2/3;
	grid-row: 3/4;
	background-image: url(../images/Fleurs5bis.webp);
	background-position: center;   /* centre l'image */
  	background-repeat: no-repeat;  /* pas de répétition */
  	background-size: contain;      /* entière dans la case (ou "cover" pour remplir) */
}

#cinq:hover{
	background-image: url(../images/case5.gif);
}

#six {
  position: relative;
  font-family: 'Panchang-Regular', sans-serif; /* ✅ ici la police s’applique au texte */
  font-weight: 200;
  font-size: 0.55em;
  color: transparent;
  transition: color 0.5s ease;
}

#six::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.5s ease;
}

#six:hover {
  color: black; /* texte devient visible */
}

#six:hover::after {
  width: 100%; /* trait qui s’étend */
}

#six{
	grid-column: 3/4;
	grid-row: 3/4;
	background-image: url(../images/Fleurs3bis.webp);
	background-position: center;   /* centre l'image */
  	background-repeat: no-repeat;  /* pas de répétition */
  	background-size: contain;      /* entière dans la case (ou "cover" pour remplir) */
}

#six:hover{
	background-image: url(../images/case6.gif);
}

#sept {
  position: relative;
  font-family: 'Panchang-Regular', sans-serif; /* ✅ ici la police s’applique au texte */
  font-weight: 200;
  font-size: 0.55em;
  color: transparent;
  transition: color 0.5s ease;
}

#sept::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.5s ease;
}

#sept:hover {
  color: black; /* texte devient visible */
}

#sept:hover::after {
  width: 100%; /* trait qui s’étend */
}

#sept{
	grid-column: 4/5;
	grid-row: 3/4;
	background-image: url(../images/Fleurs2bis.webp);
	background-position: center;   /* centre l'image */
  	background-repeat: no-repeat;  /* pas de répétition */
  	background-size: contain;      /* entière dans la case (ou "cover" pour remplir) */
}

#sept:hover{
	background-image: url(../images/case7.gif);
}

#huit {
  position: relative;
  font-family: 'Panchang-Regular', sans-serif; /* ✅ ici la police s’applique au texte */
  font-weight: 200;
  font-size: 0.55em;
  color: transparent;
  transition: color 0.5s ease;
}

#huit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.5s ease;
}

#huit:hover {
  color: black; /* texte devient visible */
}

#huit:hover::after {
  width: 100%; /* trait qui s’étend */
}

#huit{
	grid-column: 5/6;
	grid-row: 1/4;
	background-image: url(../images/Fleurs4bis.webp);
	background-position: center;   /* centre l'image */
  	background-repeat: no-repeat;  /* pas de répétition */
  	background-size: contain;      /* entière dans la case (ou "cover" pour remplir) */

}

#huit:hover{
	background-image: url(../images/case8.gif);
}
