body {
	font-family: "Poppins", sans-serif;
}

.content-wrapper {
	max-width: 90%;
	margin: 0 auto;
	padding: 0 1rem;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4rem 0;
}

.navbar .left {
	font-size: 2rem;
	font-weight: 700;
}

.navbar .right {
	width: 400px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar .right a {
	text-decoration: none;
	color: black;
}

.navbar .right a:hover {
	text-decoration: underline;
}

.navbar .right img {
	width: 1.5rem;
	height: 1.5rem;
}

.hamburger .bar1,
.hamburger .bar2,
.hamburger .bar3 {
	background-color: rgb(55, 54, 54);
	height: 4px;
	width: 100%;
	border-radius: 15px;
}

.navbar .hamburger {
	width: 2rem;
	height: 1.25rem;
	display: none;
}

.navbar .hamburger:hover {
	cursor: pointer;
}

.mobileNav {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: white;
	height: 100vh;
	width: 60px;
	position: fixed;
	top: 0;
	right: -160px;
	padding: 1rem;
	z-index: 2;
	transition: transform 0.5s;
}

.openDrawer {
	transform: translateX(-160px);
}

.mobileNav img {
	width: 1.5rem;
	height: 1.5rem;
}

.mobileNav a {
	text-decoration: none;
	color: black;
	margin: 1rem 0;
}

.mobileNav a:hover {
	text-decoration: underline;
}

.project-grid {
	width: 100%;
	display: grid;
	grid-template-areas:
		"sea sea tangerines"
		"sea sea neon"
		"night warsaw neon"
		"sheep cyber cyber"
		"sheep cyber cyber"
		"library library tea"
		"library library tea";
	gap: 1rem;
}

#sea {
	grid-area: sea;
}
#tangerines {
	grid-area: tangerines;
}
#neon {
	grid-area: neon;
}
#warsaw {
	grid-area: warsaw;
}
#night {
	grid-area: night;
}
#sheep {
	grid-area: sheep;
}
#cyber {
	grid-area: cyber;
}
#library {
	grid-area: library;
}
#tea {
	grid-area: tea;
}

.project {
	position: relative;
}

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

.project .overlay {
	background-color: rgba(255, 255, 255, 0.1);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 2.25rem;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	margin: 0;
	letter-spacing: 2px;
	opacity: 0;
	transition: opacity 0.2s;
}

.project .overlay:hover {
	opacity: 1;
	cursor: pointer;
}

.overlay.light {
	color: rgba(255, 255, 255, 0.8);
}

.footer {
	text-align: center;
	padding: 4rem;
}

@media only screen and (max-width: 1000px) {
	.project-grid {
		grid-template-areas:
			"sea sea"
			"tangerines neon"
			"night warsaw"
			"cyber cyber"
			"sheep library"
			"tea tea";
		gap: 0.5rem;
	}

	.content-wrapper {
		max-width: 100%;
	}

	.footer {
		padding: 3rem;
	}
}

@media only screen and (max-width: 650px) {
	.project-grid {
		grid-template-areas:
			"sea sea"
			"tangerines tangerines"
			"neon neon"
			"night warsaw"
			"cyber cyber"
			"sheep sheep"
			"library library"
			"tea tea";
		row-gap: 0.5rem;
		column-gap: 0;
		margin-top: 5rem;
	}

	.project .overlay {
		font-size: 1.5rem;
		text-align: center;
	}

	.content-wrapper {
		max-width: 100%;
	}

	.footer {
		padding: 2rem;
		font-size: 0.8rem;
	}

	.navbar .right {
		display: none;
	}

	.navbar .hamburger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.navbar .hamburger:hover {
		cursor: pointer;
	}

	.navbar {
		padding: 1rem 1.5rem;
		box-sizing: border-box;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 3;
		display: flex;
		justify-content: space-between;
		background-color: rgba(255, 255, 255, 0.85);
		width: 100%;
	}

	.animateBar1 {
		animation: 0.5s rotate-top forwards;
	}

	@keyframes rotate-top {
		0% {
			transform: rotate(0);
		}
		100% {
			transform: rotate(45deg) translate(4px, 7px);
		}
	}

	.animateBar2 {
		animation: 0.5s fade-middle forwards;
	}

	@keyframes fade-middle {
		0% {
			opacity: 1;
			transform: scaleX(1);
		}
		100% {
			opacity: 0;
			transform: scaleX(0);
		}
	}

	.animateBar3 {
		animation: 0.5s rotate-bottom forwards;
	}

	@keyframes rotate-bottom {
		0% {
			transform: rotate(0);
		}
		100% {
			transform: rotate(-45deg) translate(4px, -7px);
		}
	}
}
