#page-content{
	display: flex;
	flex-direction: column;
}

#project-title{
	text-align: center;
	margin: 2%;
	font-family: Jost, sans-serif;
	font-size: 125%;
}

#project-content{
	display: flex;
	flex-direction: row;
}

#project-medias{
	display: flex;
	flex-direction: column;
	flex-basis: 70%;
	align-items: center;
}

.project-media{
	width: 100%;
	cursor: pointer;
	position: relative;
}

.project-media > img, .project-media > video{
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: fill;
	/*margin-top: 2%;*/
	/*margin-bottom: 2%;*/
}

.project-media > div{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: background-color ease-in 0.5s;
}

@media only screen and (min-width: 768px){
	.project-media > div{
		background-color: rgba(0, 0, 0, 0.25);
	}
}

.project-media > div:hover{
	background-color: rgba(0, 0, 0, 0);
}

#project-description{
	display: flex;
	flex-direction: column;
	flex-basis: 30%;
	/*background-color: #9ad5f4;*/

	font-family: Jost, sans-serif;
	font-size: 125%;
	padding: 2%;
	height: 100vh;
	overflow: auto;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
}

#project-description > *{
	padding: 2%;
}

#overlay {
	position: fixed; /* Sit on top of the page content */
	display: none; /* Hidden by default */
	width: 100%; /* Full width (cover the whole page) */
	height: 100%; /* Full height (cover the whole page) */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5); /* Black background with opacity */
	z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
	cursor: pointer; /* Add a pointer on hover */

	justify-content: center;
	align-items: center;
}

#overlay > img, #overlay > video{
	width: 80%;
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
}

#overlay-close{
	position: absolute;
	top: 10px;
	right: 10px;
	color: white;
}