:root {
	--main-dark: #222831;
	--main-mid: #393e46;
	--main-blue: #00adb5;
	--main-blue-hover: #01c6d0;
	--main-white: #eeeeee;
	--error-red: #cc0000;
}

main {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--main-dark);
	padding-top: 2.2em;
	min-height: calc(100vh - 3em);
}

/* -------------------------- */
/*            NAV            */
/* ------------------------ */

#landingHero,
#about,
#projects,
#contact {
	scroll-margin-top: 0px;
}

@media screen and (min-width: 550px) {
	#landingHero,
	#about,
	#projects,
	#contact {
		scroll-margin-top: 15px;
	}
}

nav {
	font-family: "Roboto-condensed", sans-serif !important;
	font-weight: 700;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 7;
}

nav ul {
	color: var(--main-blue);
	background-color: var(--main-dark);
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	height: 2.2em;
}

nav li {
	display: inline;
	justify-content: center;
	align-self: center;
	font-size: 1.3em;
}

nav a {
	color: var(--main-blue);
	cursor: pointer;
	text-decoration: none;
	transition: all 500ms;
}

nav a:hover {
	color: var(--main-blue-hover);
}

.nav-icon {
	font-size: 2em;
}

.nav-dl-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
}

.nav-dl-btn {
	background-color: inherit;
	border: none;
	color: var(--main-dark);
	cursor: pointer;
	font-size: 1em;
	font-family: "roboto-condensed", sans-serif !important;
	font-weight: 700;
}

#nav-download-icon {
	margin-right: 0.2em;
}

#nav-download-btn-spinner {
	color: var(--main-dark);
}

.nav-social-container {
	display: flex;
	justify-content: space-around;
	width: 100%;
	margin-top: 3em;
}

.download-spinner {
	display: flex;
	justify-content: center;
	width: 100%;
}

@media screen and (min-width: 550px) {
	#open-nav-btn,
	#close-nav-btn,
	.nav-contact {
		display: none;
	}
}

@media screen and (max-width: 550px) {
	nav {
		top: 0;
		right: -80vw;
		height: 100vh;
		width: 80vw;
		color: var(--main-dark);
		background-color: var(--main-blue);
		border-left: 1px solid #000;
		transition: right 500ms;
	}

	nav ul {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: 50%;
		background-color: var(--main-blue);
		margin-top: 2rem;
	}

	nav li {
		display: block;
	}

	nav a {
		color: var(--main-dark);
	}

	#open-nav-btn {
		color: var(--main-blue);
		position: fixed;
		top: 0.4em;
		right: 0.4em;
		opacity: 1;
		transition: opacity 800ms 600ms;
		z-index: 6;
	}

	#close-nav-btn {
		display: block;
		color: var(--main-mid);
		height: auto;
		margin-left: 0.5em;
		margin-top: 0.2em;
	}

	/* .show-nav {
		display: block;
	}

	.hide-nav {
		display: none;
	} */

	.nav-slide-in {
		right: 0;
	}

	.nav-slide-out {
		right: -80vw;
	}

	@keyframes nav-in {
		to {
			right: 0;
		}
	}
	@keyframes nav-out {
		to {
			right: -200px;
		}
	}
}

/* Footer */

footer {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--main-dark);
	color: var(--main-blue);
	height: 3em;
}

.footer-contact-container {
	width: 100%;
	margin-bottom: 1em;
}

footer a {
	color: inherit;
	margin: auto 1em;
}
