


body {background-color: #F5FFFA;}


.nom {
  	text-align: center; font-family: 'Brush Script MT', cursive; color: darkgray; display: flex;
        width: 80%;
        height: 80px;
        margin: auto;
        align-items:center;
        justify-content:center;	
}

.metier {
  	text-align: center; font-family: Helvetica, Arial, sans-serif; color: darkgray; display: flex;
  	width: 50%;
        height: 50px;
        margin: auto;
        align-items:center;
        justify-content:center;
}


.flex-container {
  	display: flex;
	flex-wrap: wrap;
        align-items:center;
        justify-content:center;

}

.flex-container > div {
	font-family: 'Courier New', monospace; 
	color:#000066;
  	margin: 5px;
  	text-align: center;
  	line-height: 30px;
  	font-size: 20px;
	display: flex;  
  	flex-wrap: wrap;
	padding: 20px;
	background-color: #7FFFD4;
}

a:link {
  	text-decoration: none; color:#483D8B; 
	transition-property: color;
	transition: color 1s;
}

a:hover {
	text-decoration: none; 
	color: #a6140f;
}

shadow {
	drop-shadow(5px 5px 5px #222); 
} 


@keyframes slideshow__fade {
  0% {
    opacity: 0;
    z-index: 2;
  }
  6.6666666667% {
    opacity: 1;
  }
  26.6666666667% {
    opacity: 1;
  }
  27.6666666667% {
    opacity: 0;
    z-index: 1;
  }
  100% {
    opacity: 0;
  }
}
.slideshow {
  position: relative;


}

.slideshow img:not(:first-child) {

  position: absolute;
  left: 0;
  top: 0;
  margin: 0 auto;
  width: 100%;
  animation-duration: 26s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-name: slideshow__fade;
  animation-timing-function: ease-in;
  transition: opacity 2s ease-in;
}

.slideshow img:nth-child(1) {
  animation-delay: 0s;

width: 100%;
}
.slideshow img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow img:nth-child(3) {
  animation-delay: 6s;
}
.slideshow img:nth-child(4) {
  animation-delay: 9s;
}
.slideshow img:nth-child(5) {
  animation-delay: 12s;
}
.slideshow img:nth-child(6) {
  animation-delay: 15s;
}
.slideshow img:nth-child(7) {
  animation-delay: 18s;
}
.slideshow img:nth-child(8) {
  animation-delay: 21s;
}


/*mariage*/

.grid-container {
	gap: 50px; /* Space between grid items */
	padding: 20px;
  	display: flex;
  	justify-content: center;

	
}

.grid-item {
	background-color: lightcoral;
	padding: 20px;
	text-align: center;
	max-width: 400px;
	
}

.grid-deco {
	position: relative; 

}

.absolute-imagedeco {
	position: absolute; 
	top: -70px;  /* Position the image from the top of the grid item */
	right: -15px; /* Position the image from the left of the grid item */
	height: 80px;
	
}

.wrap-container {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
	justify-content: center;
	padding: 20px;
	
}

.wrap-container > div {
	height: fit-content;

}

.flex-fixed {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
  
}

.flex-fixed > div {
  	background-color:lightcoral;
  	width: 400px;
	height: 400px;
  	margin: 10px;
  	text-align: left;
  	line-height: 30px;
 	padding: 20px;


}


.flex-footer {
	display: flex;
	justify-content: center;
	/* flex-wrap: nowrap; */
	width: 100%;
}

.flex-footer > div {
	background-color: #7FFFD4;

}


.hover-image {
  transition: transform 0.5s ease-in-out;
  
}

.hover-image:hover {
  transform: scale(2.0); /* Scale the image to 110% */
}
