#liste-projets {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}

.banniere-projet {
	position: relative;
	width: 256px;
	height: 256px;
	margin: 15px;
	cursor: pointer;
}

.img-projet {
	width: 100%;
	height: 100%;
}

.infos-projet {
	position: absolute;
	background-color: rgba(0, 0, 0, 0.75);
	top: 0;
	left: 0;
	text-align: left;
	padding: 15px;
	color: white;
	width: 100%;
	box-sizing: border-box;
}

.cat {
	display: inline-block;
	position: absolute;
	padding: 5px 8px;
	transform: translateX(-50%);
	left: 50%;
	min-width: 50px;
	text-align: center;
}

.nom-projet {
	font-size: 1.5em;
	text-align: center;
	margin: 10px 0;
}

.desc-projet {
	line-height: 0;
	opacity: 0;
	margin: 0;
	text-align: left;
	transition: 0.35s;
}

.banniere-projet:hover .desc-projet,
.banniere-projet:active .desc-projet {
	opacity: 1;
	line-height: 1.2;
}

.date {
	position: absolute;
	font-size: 0.7em;
	right: 5px;
	bottom: 5px;
}

#pages {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

#pages a,
#pages a:visited {
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
	padding: 10px 0;
	width: 175px;
	color: var(--theme-color);
	background-color: var(--secondary-color);
	border: 2px solid var(--theme-color);
	border-radius: 3px;
	transition: 0.25s;
	font-size: 0.8em;
	outline: none;
	cursor: pointer;
}

#pages a:hover {
	color: var(--hover-color);
	background-color: var(--theme-color);
}

#pages a.disabled,
#pages a.disabled:visited,
#pages a.disabled:hover {
	pointer-events: none;
	opacity: 0.5;
}

#popup {
	display: none;
	position: absolute;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
}

#iframe-container {
	position: relative;
	margin: 15vh auto;
	width: 80%;
	max-height: calc(100% - 30vh);
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	overflow: hidden;
}

#iframe {
	display: block;
	width: 100%;
	height: 100%;
}

#close-iframe {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 45px;
	height: 45px;
}

.close-iframe-cross {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 10%;
	background-color: rgb(206, 8, 8);
}

#close-iframe-cross-part-1 {
	transform: translate(-50%) rotate(45deg);
}

#close-iframe-cross-part-2 {
	transform: translate(-50%) rotate(-45deg);
}