#page-content{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

#projects-filter{
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#projects-filter > li{
	list-style-type: none;
	margin: 10% 10% 0 0;
}

#projects-filter > li > a{
	color: black;
	text-decoration: none;
	font-family: Jost, sans-serif;
	font-size: 150%;
}

#projects-filter > li > a:hover{
	text-decoration: underline;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, auto);
	grid-auto-rows: 25vh;
	grid-gap: 20px;
	margin: 0 20px;
	padding: 20px;
}

@media screen and (min-width: 800px) {
	.grid {
		grid-template-columns: repeat(3, auto);
		grid-auto-rows: 40vh;
	}
}


.project {
	position: relative;
	overflow: hidden;
	user-select: none;
}

.project > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project > div{
	position: absolute;
	top: -110%;
	left: 0;
	background-color: rgba(0, 0, 0, 0.65);
	color: white;

	width: 100%;
	height: 100%;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;

	transition: top ease-in 0.4s;
}

.project:hover > div{
	top: 0;
}

.project > div > h1{
	color: white;
	font-family: Jost, sans-serif;
	font-size: 300%;
	white-space: normal;
	width: 100%;
	margin: 3%;
}

.project > div > h4{
	color: white;
	font-family: Jost, sans-serif;
	font-size: 125%;
	width: 100%;
	margin: 3%;
}
