body {
	overflow-y: scroll;
}
header > h1 {
	text-align: center;
	padding-top: var(--navHeight);
}
.container {
	display: flex;
	padding: 30px;
	justify-content: center;
	flex-wrap: wrap;
	cursor: default;
	max-width: 100%;
}

.project {
	display: flex;
	flex-direction: column;
	justify-content: end;
	align-content: center;
	align-items: center;
	text-align: center;
	color: white;
	flex-wrap: wrap;
	width: 320px;
	height: 320px;
	margin: 20px;
	border-radius: 15px;
	background-color: var(--secondaryColor);
	transition: all 0.5s;
	transform: none;
	-webkit-transform: translateZ(0);
}
.project > h2 {
	padding-bottom: 25px;
	transition: all 0.5s;
}
.description {
	width: 100%;
	transition: all 0.5s;
	transform: none;
	-webkit-transform: translateZ(0);
	overflow-y: auto;
	height: 0;
}
.description > p {
	padding: 10px;
	font-size: 16px;
}

.project-active {
	height: 500px;
	border-radius: 15px 15px 0 0;
}
.project-active > h2 {
	padding-bottom: 0;
}
.project-active .description {
	height: 180px;
	background-color: var(--secondaryColor);
	padding-bottom: 30px;
}

.imageContainer img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	pointer-events: none;
}

.imageContainer {
	width: 300px;
	height: 200px;
	margin: 0 10px 0 10px;
	overflow: hidden;
}

#returnButton {
	position: absolute;
	top: 10px;
	left: 10px;
	color: white;
	cursor: pointer;
	padding: 20px;
	background-color: var(--secondaryColor2);
	transition: all 0.2s;
	border-radius: 50px;
}
#returnButton:hover {
	background-color: var(--secondaryColorHover2);
}

.linkButton {
	padding: 5px;
	text-decoration-color: transparent;
	background-color: var(--tertiaryColor);
	color: var(--primaryColor);
	border-radius: 5px;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
}
.linkButton:hover {
	text-decoration-color: var(--primaryColor);
}
.page-header {
	text-align: center;
	margin: 0;
}
.page-header > h1 {
	margin: 0;
}
h2 {
	font-size: 20px;
}
#description {
	font-size: 30px;
}
.newsletter-content {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.newsletter-button {
	display: flex;
	background-color: var(--secondaryColor);
	align-items: center;
	width: 80%;
	cursor: pointer;
	transition: all 0.2s;
}
.newsletter-button:hover {
	background-color: var(--secondaryColorHover);
	padding: 5px 20px 5px 20px;
}

.newsletter-button > p {
	margin-left: 30px;
}
.newsletter-button > a {
	margin-left: 50px;
	text-decoration: underline;
	text-decoration-color: transparent;
	transition: all 0.1s;
}
.newsletter-button > a:hover {
	margin-left: 50px;
	text-decoration-color: var(--linkColor);
}

.divider {
	width: 80%;
	border-top: 1px solid gray;
}

@media screen and (max-width: 550px) {
	.page-header > h1 {
		font-size: 2.5em;
	}
	.page-header > h2 {
		font-size: 1em;
	}
	#description {
		font-size: 1.5em;
	}
	.newsletter-button > a {
		margin-left: 20px;
		padding-right: 8px;
	}
	.newsletter-button > p {
		margin-left: 10px;
	}
}
@media screen and (max-width: 600px) {
	#returnButton {
		padding: 10px;
		font-size: 8px;
	}
}
@media screen and (max-width: 1145px) {
	.project {
		width: 220px;
		height: 220px;
		margin: 10px;
	}
	.project-active {
		height: 320px;
	}
	.imageContainer {
		width: 200px;
		height: 100px;
		margin: 0 5px 0 5px;
		overflow: hidden;
	}
	.container {
		padding: 10px;
	}
	.project-active .description {
		height: 100px;
	}
}
