.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s, visibility 0.35s, height 0.35s;
	overflow: hidden;
	background: black;
	z-index: -1;
}

#main-menu {
	display: block;
	height: 100px;
	width: 100%;
	background: #3d0e61;
	margin: 0px;
	z-index: 9;
}

#main-menu ul {
	max-width: 800px;
	width: 100%;
	height: 100%;
	margin: 0px auto;
	padding: 0px;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	z-index: 9;
}

#main-menu li {
	list-style-type: none;
	font-size: 2rem;
}

#main-menu a {
	color: #b9faf8;
	font-size: 1.5rem;
	text-decoration: none;
}

#main-menu a:hover {
	text-decoration: underline;
}

#hamburger-input {
	display: none;
}

/*Hamburger Button Styling*/
#hamburger-menu {
	position: fixed;
	top: 40px;
	right: 15px;
	width: 25px;
	height: 25px;
	display: none;
	border: none;
	padding: 0px;
	margin: 0px;
	font-family: "Noto Sans", sans-serif;
	background: linear-gradient(
		to bottom,
		#000,
		#000 20%,
		white 20%,
		white 40%,
		#000 40%,
		#000 60%,
		white 60%,
		white 80%,
		#000 80%,
		#000 100%
	);
}

/*Common Settings: Hamburger Button & Sidebar Styling*/
#hamburger-menu #sidebar-menu {
	visibility: hidden;
	position: fixed;
	top: 0;
	left: -250px;
	width: 200px;
	height: 100%;
	background-color: #012714cd; /*20% transparency*/
	transition: 0.3s;
	padding: 20px 10px;
	box-sizing: border-box;
}

#hamburger-menu h4 {
	color: #b9fab9;
	font-size: 2.2rem;
	padding-top: 10%; /*Clearing for site logo*/
}

#hamburger-menu ul {
	padding-left: 0px;
}

#hamburger-menu li {
	list-style-type: none;
	line-height: 2.5rem; /*LINE HEIGHT OF MENU ITEMS*/
}

#hamburger-menu ul .subsub {
	padding-left: 20px; /*Left indenting OF SubMENU ITEMS*/
}

#hamburger-menu a {
	color: #b9faf8;
	font-size: 1rem; /*FONT SIZE OF MENU ITEMS*/
	text-decoration: none;
}

#hamburger-menu a:hover {
	text-decoration: underline;
}

#hamburger-input:checked + #hamburger-menu #sidebar-menu {
	visibility: visible;
	left: 0;
}
#hamburger-input:checked ~ .overlay {
	visibility: visible;
	opacity: 0.4;
}

@media screen and (max-width: 1340px) {
	#main-menu {
		display: none;
	}
	#hamburger-menu {
		display: inline;
		z-index: 9;
	}
	.overlay {
		z-index: 8;
	}
}
