body {
	background-color: #252525;
	color: #fff;
	font-family: Arial, sans-serif;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 20px;
	padding: 20px;
}

.gallery img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
	transform: scale(1.1);
}

.gallery img.expanded {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: 100vw;
	max-height: 100vh;
	object-fit: contain;
	z-index: 999;
	border-radius: 0;
	box-shadow: none;
}

.gallery.expanded {
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(50px);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 998;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery.expanded::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(50px);
	z-index: -1;
}
.gallery.blurred {
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px); /* pour Safari */
  }
  .gallery.expanded::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('Blur.jpg');
	background-size: cover;
	background-position: center;
	filter: blur(50px);
	z-index: -1;
  }
  /* Couleur de fond de la scrollbar */
::-webkit-scrollbar {
	background-color: #262626;
  }
  
  /* Style de la poignée de la scrollbar */
  ::-webkit-scrollbar-thumb {
	background-color: #555;
	border-radius: 10px;
	border: 3px solid #262626;
  }
  
  /* Style de la poignée de la scrollbar au survol */
  ::-webkit-scrollbar-thumb:hover {
	background-color: #777;
  }
  
  /* Style de la piste de la scrollbar */
  ::-webkit-scrollbar-track {
	background-color: #262626;
  }
  .home-link {
	position: fixed;
	top: 20px;
	left: 20px;
	padding: 10px;
	background-color: #555;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	z-index: 100;
  }
  
  .home-link:hover {
	background-color: #777;
  }
  .home-button {
	display: inline-block;
	background-color: #333;
	color: #fff;
	border: none;
	padding: 10px 20px;
	font-size: 16px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.home-button:hover {
	background-color: #555;
}
#cartoon-fair-btn {
	background-color: #1abc9c;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: background-color 0.2s ease;
  }
  
  #cartoon-fair-btn:hover {
	background-color: #16a085;
  }
  
  .cartoon-fair-text {
	color: white;
	text-align: center;
	position: absolute;
	top: 5%;
	left: 50%;
	transform: translate(-50%, -50%);
  }
  .page-title {
	color: white;
	text-align: center;
  }
  