#nav-area,
#nav-area a {
	color: black;
}

.menu-icon svg {
	fill: black;
}

#overlay {
	display: none;
	background-color: rgba(255, 255, 255, 0.75);
}

#grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	max-width: 900px;
	margin: 120px auto 0;
	opacity: 0;
}

.grid-item {
	position: relative;
	display: grid;
	grid-template: 1fr/1fr;
	margin-bottom: 60px;
}

.grid-item canvas,
.grid-item img {
	grid-area: 1/1/2/2;
	width: 100%;
}

.grid-item img {
	opacity: 0;
	height: 0;
}

.grid-item canvas {
	background-color: #fafafa;
}

.portrait {
	width: calc(50% - 30px);
}

.portrait.left {
	margin-right: 60px;
}

.portrait.center {
	width: 50%;
}

.landscape {
	width: 100%;
}

.item-overlay {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: 0.4s;
	display: none;
}

.item-overlay h2 {
	margin: 20px;
	font-size: 20px;
	font-weight: 300;
	color: white;
	transform: translateY(50px);
	transition: 0.4s;
}

.item-overlay.revealed {
	opacity: 1;
}

.item-overlay.revealed h2 {
	transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
	.item-overlay:hover {
		opacity: 1;
	}

	.item-overlay:hover h2 {
		transform: translateY(0);
	}
}

@media only screen and (max-width: 900px) {
	#grid {
		margin: 63px 0 0 0;
	}
}

@media only screen and (max-width: 600px) {
	.grid-item {
		width: 100% !important;
		margin: 0 0 30px !important;
	}
}
