html {
	scroll-behavior: smooth;
	scroll-padding-top: 10rem;
}

body {
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
	color: #202020;
	text-transform: lowercase;
	letter-spacing: 1px;
}

h1, h2, h3 {
	text-align: center;
}

h1 {
	font-size: 1.75rem;
	font-family: 'Merienda', sans-serif;
}

h2 {
	font-size: 1.75rem;
}

h3 {
	font-size: 1.3rem;
	letter-spacing: 0;
}

a,
a:visited {
	color: #202020;
}

a:hover,
a:focus,
a:active {
	text-decoration: underline;
}

.wrap {
	max-width: 120rem;
	margin: 0 auto;
}


/* --------- HEADER/NAVIGATION --------- */
header {
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	background-color: #fff;
	box-shadow: 0px 0px 5px #cdcdcd;
}

header img {
	height: 3rem;
	width: 3rem;
}

.site-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
	display: none;
	position: absolute;
	top: 4.5rem;
	left: 0;
	right: 0;
	background-color: #fff;
}

.site-navigation.toggled ul {
	display: block;
}

.site-navigation li {
	display: list-item;
}

.site-navigation a {
	display: block;
	padding: 1rem;
	font-size: 1.5rem;
	text-decoration: none;
	color: #222222;
}

.menu-toggle {
	display: block;
	background-color: transparent;
	border: 0;
}

.menu-toggle:focus {
	border: 0;
	outline: 1px dotted;
}

@media (min-width: 50em) {

	.menu-toggle {
		display: none;
	}

	.site-navigation {
		flex: 1 1 auto;
		padding: 0 1rem;
	}

	.site-navigation ul,
	.site-navigation.toggled ul {
		display: flex;
		justify-content: flex-end;
		position: relative;
		top: 0;
	}

	.site-navigation a {
		line-height: 4.5rem;
		padding: 0 1rem;
	}

	.site-navigation a:hover {
		letter-spacing: 3px;
		text-decoration: underline;
		text-underline-offset: 0.5rem;
		text-decoration-thickness: 5px;
		transition: 0.5s;
		font-weight: 500;
	}

	header {
		padding-left: 2rem;
	}

	header img {
		height: 5rem;
		width: 5rem;
		padding: 1rem;
	}

	header img:hover {
		opacity: 0.5;
		transition: 0.5s;
	}
}


/* --------- BANNER/GREETING --------- */
.greeting img {
	min-height: 16rem;
	object-fit: cover;
	width: 100%;
}

.greeting-blurb h1 {
	margin-top: 5rem;
}

.greeting-blurb p {
	font-size: 0.95rem;
	margin: auto;
	max-width: 15rem;
	text-align: justify;
    text-align-last: center;
	letter-spacing: 0;
}

.greeting-link {
	text-align: center;
	margin: 2.5rem 0 7rem;
}

.greeting-link a {
	padding: 0.5rem 3rem 0.7rem;
	outline: 2px solid #cdcdcd;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 700;
	color: #222222;
	letter-spacing: 0;
}

@media (min-width: 50em) {

	.greeting-blurb p {
		max-width: 40rem;
		text-align: center;
		font-size: 1.25rem;
		letter-spacing: 1px;
	}

	.greeting-blurb h1 {
		font-size: 2.5rem;
	}

	.greeting-link a {
		font-size: 1.5rem;
	}

	.greeting-link a:hover {
		color: #fff;
		background-color: #222222;
		outline: none;
		transition: 0.5s;
	}
}


/* --------- PROJECTS --------- */
.projects-head {
	background-color: #f8f8f8;
	padding-top: 2rem;
}

.section-projects {
	display: flex;
	flex-wrap: wrap;
	padding: 2rem 0 5rem;
	gap: 2rem;
}

.projects {
	background-color: #fff;
	max-width: 15.625rem;
	margin: auto;
	padding-bottom: 2.5rem;
	box-shadow: 0px 0px 5px #cdcdcd;
}

.projects-link {
	text-align: center;
}

.projects-link a {
	padding: 0.2rem 1.5rem 0.4rem;
	border-radius: 30px;
	text-decoration: none;
	background-color: #222222;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0;
}

@media (min-width: 50em) {

	.section-projects {
		max-width: 80rem;
		margin: 0 auto;
	}

	.projects img:hover {
		opacity: 0.5;
		transition: 0.5s;
	}

	.projects-link a {
		font-size: 1.2rem;
	}

	.projects-link a:hover {
		background-color: #eee;
		color: #202020;
		transition: 0.5s;
	}

}


/* --------- CONTACT FORM --------- */
fieldset {
	margin: 5rem auto;
	border: none;
	max-width: 30%;
	display: flex;
	flex-direction: column;
}

legend {
	margin: auto;
	font-size: 1.75rem;
	font-weight: 700;
}

label {
	display: block;
	padding-top: 1rem;
	font-weight: 700;
}

input[type="submit"] {
	margin: 2rem auto;
	background-color: #222222;
	font-size: 1.25rem;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
  	padding: 0.3rem 2rem 0.5rem 2rem;
  	border: none;
	border-radius: 30px;
}


/* --------- FOOTER --------- */
footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.5rem 3rem;
	background-color: #f8f8f8;
	text-transform: uppercase;
}

footer p {
	font-size: 0.8rem;
	font-weight: 700;
	position: relative;
	top: 1rem;
}

.footer-nav ul {
	padding: 0;
}

.footer-nav li {
	display: inline-block;
	padding: 0 0.2rem;
	font-size: 2rem;
}

.footer-nav a {
	padding: 0.75rem 0.75rem;
}

@media (min-width: 50em) {
	
	footer {
		flex-direction: row;
		justify-content: space-between;
	}

	footer p {
		position: relative;
		top: 0;
	}
}