.galleries-wrapper {
	display: flex;
	gap: 20px;
	flex-direction: column;
}
.gallery-card {
	position: relative;
}
.gallery-card h2 {
	margin: 0;
	padding: 10px;
	background-color: #602d91;
}
.gallery-card h2 a:link,
.gallery-card h2 a:visited {
	color: white;
	text-decoration: underline;
}
.gallery-card h2 a:hover,
.gallery-card h2 a:active {
	text-decoration: none;
}
.gallery-card h2 a::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.gallery-card h2 a:hover::after {
	box-shadow: -4px -4px 0 #6095D4;
}

@media screen and ( min-width: 600px ) {
	.galleries-wrapper {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.gallery-card {
		width: calc(50% - 10px);
	}
}

@media screen and ( min-width: 1024px ) {
	.galleries-wrapper {
		gap: 30px;
	}
	.gallery-card {
		width: calc(33% - 20px);
	}
	.gallery-card h2 {
		padding: 15px;
	}
}