@import url("common.css");

.gallery {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.galleryCover {
	position: relative;
	overflow: hidden;
	max-width: 300px;
	max-height: 200px;
}

.galleryCover img {
	display: block;
	width: 100%;
	filter: contrast(0.5);
	transition: filter 0.1s ease-out;
}

.galleryCover:hover img {
	filter: none;
}

.galleryCover>div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
}

.galleryCover>div>div {
	width: 100%;
	align-items: center;
	padding: 8px;

	background-color: rgb(255, 255, 255, 0.75);
	color: black;
	font-size: 24px;
	font-weight: bold;
	text-shadow: 0px 0px 4px white;

	user-select: none;
}
