* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: #f8ede3;
	font-family: 'Open Sans', sans-serif;
}

/* ## Navbar ## */

nav {
	display: none;
	justify-content: space-between;
	flex-wrap: wrap;
	transition: ease-in-out 0.4s;
	/* position: sticky; */
	position: fixed;
	width: 100%;
	top: 0;
	background-color: #f8ede3;
}

nav a {
	text-decoration: none;
	color: black;
}

.nav__left {
	padding: 0.5em 1em;
	font-size: 1.25em;
	display: flex;
}

.nav__left img {
	margin-left: 1.5em;
	margin-top: 0.2em;
}

.nav__left img:hover {
	border: solid #bdd2b6;
	border-top: none;
	border-left: none;
	border-right: none;
	margin-bottom: -3px;
}

.nav__left--logo:hover {
	text-decoration: underline;
	text-decoration-color: #bdd2b6;
	text-underline-offset: 8px;
}

.nav__right {
	padding: 0.5em 1em;
	font-weight: bold;
}

.nav__right ul {
	display: flex;
	list-style-type: none;
}

.nav__right li {
	padding: 0.5em;
	font-size: 1.25em;
}

.nav__right li:hover {
	text-decoration: underline;
	text-decoration-color: #bdd2b6;
	text-underline-offset: 4px;
}

/* ## Title ## */

.title {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
}

.title__content {
	padding: 10em 0;
	display: flex;
	align-items: center;
	flex-direction: column;
	font-family: 'PT Sans Narrow', sans-serif;
	letter-spacing: 0.1em;
	line-height: 6em;
	text-align: center;
	justify-self: center;
	width: 80%;
}

#title__content--name {
	color: black;
	font-size: 4em;
}

.title__content p {
	color: #798777;
	margin-top: -1em;
	font-size: 1.5em;
}

.title__content img {
	margin-top: 3em;
}

/* ## Bounce Arrow ## */

.bounce {
	animation: bounce 2s infinite;
	margin-top: 3em;
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-30px);
	}
	60% {
		transform: translateY(-15px);
	}
}

/* ## About ## */

#about {
	margin: 0 3em;
}

.about__filler {
	background-color: #f8ede3;
	height: 1em;
	width: 1em;
}

.about__container {
	display: grid;
	grid-template-columns: 1fr;
}

.about__container--photo {
	justify-self: center;
}

.about__container--photo img {
	border-radius: 50%;
	width: 300px;
	padding: 1em;
}

.about__container--text {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 2fr;
	align-items: center;
	height: fit-content;
}

.about__container--text h2 {
	font-size: 2em;
	font-family: 'PT Sans Narrow', sans-serif;
}

.about__container--text p {
	line-height: 2em;
	margin-bottom: 1em;
}

.about__container--text hr {
	width: 100px;
	border: 2px solid #bdd2b6;
	background-color: #bdd2b6;
	margin: 1em 0;
}

/* ## Skills ## */

.skill__container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

.skill__card {
	padding: 1em;
	margin: 1em;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.skill__card h5 {
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 1.2em;
	margin: 1em 0;
}

.skill__card ul {
	list-style-type: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.skill__card li {
	font-size: 0.9em;
	line-height: 2em;
}

.skill__card--margin {
	margin-left: 1.1em;
}

/* ## Projects ## */

#projects {
	margin: 1em;
	padding: 1em;
	display: grid;
	grid-template-columns: 1fr;
}

.projects__filler {
	background-color: #f8ede3;
	height: 2.5em;
	width: 1em;
}

.projects__header {
	padding: 1em;
}

.projects__header h2 {
	font-size: 2em;
}

.projects__header hr {
	width: 100px;
	border: 2px solid #bdd2b6;
	background-color: #bdd2b6;
	margin: 1em 0;
}

.projects__container {
	display: grid;
	grid-template-columns: 1fr;
	margin: 1em 0;
}

.projects__card {
	margin: 1em 0;
	padding: 1em;
}

.projects__card h3 {
	font-size: 1.25em;
}

.projects__card p {
	margin: 1em 0;
}

.project__skills {
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 1.5em;
	text-align: center;
}

.projects__card hr {
	border: 1px solid #bdd2b6;
	background-color: #bdd2b6;
	margin: 1em 0;
	line-height: 1.8em;
}

.gitLink {
	margin: 1em 1em 0.2em 0.2em;
	transition: ease-in 0.2s;
}

.gitLink:hover {
	background-color: #bdd2b6;
	border-radius: 50%;
}

.siteLink {
	margin: 1em 1em 0.2em 0.2em;
	transition: ease-in 0.1s;
}

.siteLink:hover {
	background-color: #bdd2b6;
	border-radius: 10%;
}

.projects__card--image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	border-radius: 1.5%;
}

.projects__card--wrapper {
	display: flex;
	align-items: center;
	gap: 1em;
}

/* ## Contact ## */

#contact {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	background-color: #a2b29f;
}

.contact__title {
	padding: 1em;
	margin-top: 3em;
	width: 60%;
	background-color: #a2b29f;
	display: flex;
	justify-content: center;
}

.contact__form {
	display: grid;
	grid-template-columns: 1fr;
	padding: 1em;
	width: 70%;
	background-color: #a2b29f;
	margin-bottom: 2em;
}

.contact__form input,
textarea {
	padding: 1em;
	margin: 1em;
	background-color: whitesmoke;
	border: none;
	border-radius: 2px;
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	letter-spacing: 1px;
}

.contact__form--button {
	transition: ease-in-out 0.3s;
	border-radius: 2px;
}

.contact__form--button:hover {
	transition: ease-in-out 0.3s;
	background-color: rgb(40, 226, 40);
}

.contact__footer {
	padding: 0 1em;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contact__footer--links {
	padding: 1em;
}

.contact__footer--links a {
	margin: 0 0.5em;
}

.contact__footer--links img:hover {
	border: solid #f8ede3;
	border-top: none;
	border-left: none;
	border-right: none;
	margin-bottom: -3px;
}

.footer__copyright {
	margin-bottom: 16px;
}

/* ## Side Nav ## */

.hamburger__menu {
	display: flex;
	justify-content: space-between;
}

.nav__left--hamburger {
	margin-top: -0.3em;
}

.hamburger__menu a {
	padding: 0.95em;
	text-decoration: none;
	color: black;
}

.hamburger__menu--links {
	display: flex;
	justify-content: space-evenly;
}

.hamburger__menu--links img:hover {
	border: solid #bdd2b6;
	border-top: none;
	border-left: none;
	border-right: none;
	margin-bottom: -3px;
}

.sidenav__container {
	height: 100%;
	width: 0%;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #bdd2b6;
	overflow-x: hidden;
	transition: 0.5s;
}

.sidenav__container--closebtn {
	margin-left: 85.5vw;
	margin-top: 1em;
}

.sidenav__container h2 {
	margin-left: 1em;
	margin-top: 1em;
}

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

.sidenav__container img {
	margin-right: 1em;
}

.sidenav__container a:hover {
	text-decoration: underline;
	text-decoration-color: #f8ede3;
	text-underline-offset: 6px;
}

/* ## Media Queries ## */

@media (min-width: 615px) {
	nav {
		display: flex;
	}

	.hamburger__menu {
		display: none;
	}
}

@media (min-width: 850px) {
	#title__content--name {
		font-size: 6em;
		letter-spacing: 0.05em;
	}

	.about__container {
		grid-template-columns: 1fr 3fr;
		margin: 7em 10em;
	}

	.about__container--text {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 2fr;
		align-items: center;
		height: fit-content;
		margin: 2em 0 0 3em;
	}

	.projects__container {
		grid-template-columns: 1fr 1fr;
		margin: 1em;
	}

	.projects__header {
		margin-left: 2em;
	}

	.projects__card {
		margin: 1em;
		padding: 1em;
	}

	.project__skills {
		text-align: left;
	}
}
