html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body {
	font-family: 'Lato', Helvetica, sans-serif;
	font-size: 1rem;
}
img {
    max-width: 100%;
	display: block;
}
:focus:not(:focus-visible) {
	outline: none;
}

::-moz-focus-inner {
	border: 0;
}

/* ==================
       Navigation
   ================== */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
	height: 5rem;
	background-color: #4579a0; /* steel blue */
	z-index: 1;
}

.mobile-name {
	display: none;
}

.menu {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25em 1.65em;
}

.nav-name {
	font-size: 1.125rem;
	text-transform: uppercase;
}

.nav-link {
	font-size: 1.125rem;
	text-transform: uppercase;
	text-decoration: none;
	color: #d2e0e9;
	margin-left: 4em;
	clear: both;
	position: relative;
}

.nav-link:nth-child(n+1):nth-child(-n+4)::before {
	content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    right: 100%;
    bottom: 0;
    background: #d2e0e9;
    height: 1px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 200ms;
    transition-duration: 200ms;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.nav-link:hover:nth-child(n+1):nth-child(-n+4)::before {
	color: #d2e0e9;
	right: 0 !important;
}

.nav-btn .fa-envelope {
	font-size: 1rem;
	margin-right: 0.5rem;
}

.nav-btn {
	font-size: 1.125rem;
	text-transform: uppercase;
	text-decoration: none;
	margin-left: 4em;
	clear: both;
	color: #4579a0; /* steel blue */
	background-color: #d2e0e9; /* botticelli (light blue) */
	padding: 0.5em 1em;
	border-radius: 2rem;
	-moz-border-radius: 2rem;
    -webkit-border-radius: 2rem;
	display: flex;
	align-items: center;
}

.nav-btn:hover,
.nav-btn:focus {
	background-color: #002130; /* daintree (dark) */
	color: #d2e0e9; /* botticelli (light blue) */
	transition-duration: 300ms;
}

label {
	display: none;
}

#toggle {
	display: none;
}

/* ==================
     Header Content
   ================== */
.hero {
	background-image: url("img/main-image-lg.jpg");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	background-color: #4579a0;
	background-blend-mode: multiply;
	height: 100vh;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
}

/* Name and Title */
.name {
	font-size: 5.5vw;
	font-weight: 900;
	letter-spacing: 0.25rem;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
}

.title {
	font-size: 1vw;
	font-weight: 900;
	letter-spacing: .1rem;
	text-transform: uppercase;
	display: inline-block;
	margin: 0.75em auto;
	padding: 0.625em 1.5em;
	background-color: rgba(69, 121, 160, 0.8);
}

/* ==================
     	About Me
   ================== */
.about-container {
	background: rgba(210, 224, 233, 0.5); /* botticelli (light blue) */
	margin: 0 auto;
	padding: 5em 0;
	scroll-margin-top: 5rem;
}

.sec-title {
	font-size: 2rem;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 0.5em;
	color: #4579a0; /* steel blue */
}

.rule {
	margin-top: 0.5em;
	width: 6rem;
	border-top: 0.025rem solid #4579a0; /* steel blue */
	margin-bottom: 3em;
}

.flex-container {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	width: 80%;
	max-width: 75rem;
}

/* Column 1 – Headshot and contact buttons */
.about-col1 {
	display: flex;
	flex-direction: column;
	width: 25%;
}

.about-img {
	padding-top: 100%;
	border-radius: 50%;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
	background-image: url("img/about-me.jpg");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
}

.about-media-icons {
	display: flex;
	justify-content: center;
	text-align: center;
	margin-top: 1.75rem;
}

.social-media {
	font-size: 2rem;
	text-decoration: none;
	background: #4579a0;
	color: #fff;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
	margin: 0 0.25em;
	transition: 0.2s ease-out;
	display: flex;
	justify-content: center;
	align-items: center;
}

.social-media:hover,
.social-media:focus {
	background: #fff;
	color: #4579a0;
	border: 2px solid #4579a0;
	outline: none;
	transition: 0.2s ease-in;
	transform: scale(1.05);
	cursor: pointer;
}

/* Column 2 – About text and skill icons */
.about-col2 {
	width: 65%;
}

.about-text {
	font-size: 1.125rem;
	line-height: 1.6rem;
	width: 100%;
}

.about-bold {
	font-weight: 700;
}

.skills-text {
	font-size: 1.1rem;
	font-weight: 900;
}

.skills-rule {
	border-top: 0.0125rem solid gray;
}

.skills-stacked {
	display: none;
}

.skills-single-line {
	width: 90%;
	margin-top: 0.75em;
}

/* ==================
     	Projects
   ================== */
.project-container {
	padding: 5em 0;
	background: #fff;
	scroll-margin-top: 5rem;
}

.project-subhead {
	color: #4579a0; /* steel blue */
}

.grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2rem;
	justify-content: center;
	margin: 0 auto;
	max-width: 75rem;
}

.grid-item {
	position: relative;
	width: 100%;
	
}

.project-image {
	display: block;
	width: 100%;
	border-radius: 0.9rem;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 0.9rem;
	-moz-border-radius: 0.9rem;
    -webkit-border-radius: 0.9rem;
	opacity: 0;
	transition: 0.2s ease-in;
}

.overlay-blur {
	backdrop-filter: blur(4px);
}

.overlay:hover,
.overlay:focus {
	opacity: 1;
}

.project-description {
	display: flex;
	flex-direction: column;
	justify-content: center;	
}

.project-name {
	font-size: 1.6rem;
	font-weight: 900;
	text-transform: uppercase;
}

.project-text {
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.5rem;
	padding: 3% 6% 5% 6%;
}

.github-container {
	display: flex;
	justify-content: center;
}

.github-container a {
	text-decoration: none;
}

.project-btn {
	font-size: 0.8rem;
	font-weight: 900;
	text-transform: uppercase;
	background: #fff;
	border-radius: 100%;
	-moz-border-radius: 100%;
    -webkit-border-radius: 100%;
	width: 3rem;
	height: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	border: none;
	margin: 0 1em;
}

.project-btn:hover,
.project-btn:focus {
	background: #4579a0;
	color: #fff;
}

/* ==================
     	Footer
   ================== */
.footer-container {
	background: #4579a0; /* steel blue */
	padding: 3em 0;
}

.blurb {
	font-size: 1.75rem;
	letter-spacing: 0.05rem;
	text-align: center;
	color: #d2e0e9; /* botticelli (light blue) */
}

.foot-media-icons {
	display: flex;
	justify-content: center;
	text-align: center;
	margin: 2em 0.75em;
}

.foot-social-media {
	font-size: 1.75rem;
	text-decoration: none;
	background: #fff;
	color: #4579a0;
	width: 3.125rem;
	height: 3.125rem;
	border-radius: 50%;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
	margin: 0 0.25em;
	transition: 0.2s ease-out;
	display: flex;
	justify-content: center;
	align-items: center;
}

.foot-social-media:hover,
.foot-social-media:focus {
	background: #4579a0;
	color: #fff;
	border: 2px solid #fff;
	outline: none;
	transition: 0.2s ease-in;
	cursor: pointer;
}

.copyright {
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0.07rem;
	text-align: center;
	color: #d2e0e9; /* botticelli (light blue) */
}

/* ========================================================
   Media queries for tablet landscape (901px to 1220px) 
   ======================================================== */
@media screen and (min-width: 901px) and (max-width: 1220px) {
	/* Background Image */
	.head-container {
		background-image: url("img/main-image-med.jpg");
		height: 100vh;
	}
	/* Navigation */
	.nav {
		height: 4rem;
	}

	.menu {
		padding: 1.35em;
	}

	.nav-name,
	.nav-link,
	.nav-btn {
		font-size: 0.8rem;
	}

	.nav-btn {
		height: 1.5rem;
		padding: 0.75rem;
		border-radius: 1rem;
		-moz-border-radius: 1rem;
    	-webkit-border-radius: 1rem;
	}

	/* Name and Title */
	.name {
		font-size: 7vw;
	}

	.title {
		font-size: 1rem;
		padding: 0.5em 1.25em;
	}

	/* About Subhead */
	h3 {
		font-size: 1.5rem;
		margin-bottom: 0.5em;
	}

	.rule {
		margin-top: 0.3em;
		width: 5rem;
		margin-bottom: 3em;
	}

	.about-text, 
	.skills {
		font-size: 1.125rem;
		line-height: 1.75rem;
	}

	.about-bold {
		font-weight: 700;
	}

	/* About Column 1 */
	.flex-container {
		width:75%;
		max-width: 60rem;
	}

	.about-text {
		font-size: 1rem;
		line-height: 1.6rem;
	}

	/* Column 1 */
	.social-media {
		font-size: 1.6rem;
		text-decoration: none;
		width: 3.25rem;
		height: 3.25rem;
	}

	/* Projects */
	.grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
		max-width: 80%;
	}

	.project-name {
		font-size: 1.125rem;
	}

	.project-text {
		font-size: 0.75rem;
		font-weight: 400;
		line-height: 1rem;
	}

	.project-btn {
		font-size: 0.6rem;
		width: 2.25rem;
		height: 2.25rem;
		padding: 2% 6% 3% 6%;
	}

	/* Contact */
	.contact-container {
		padding: 4em 0;
	}

	.content {
		position: absolute;
		top: 14%;
	}
}

/* ========================================================
   Media queries for tablet postrait (641px to 900px) 
   ======================================================== */
@media screen and (min-width: 641px) and (max-width: 900px) {
	/* Background Image */
	.head-container {
		background-image: url("img/main-image-med.jpg");
		height: 100vh;
	}
	/* Navigation */
	.nav {
		height: 3.75rem;
	}

	.menu {
		padding: 1.2em;
	}

	.nav-name {
		font-size: 0.9rem;
	}

	.nav-link {
		font-size: 0.9rem;
		line-height: 1rem;
		margin-left: 3em;
	}

	.nav-btn {
		font-size: 0.9rem;
		height: 1.5rem;
		line-height: 1rem;
		padding: 0.25em 0.75em;
		border-radius: 0.75rem;
		-moz-border-radius: 0.75rem;
    	-webkit-border-radius: 0.75rem;
	}

	/* Name and Title */
	.name {
		font-size: 11vw;
		line-height: 5rem;
	}

	.title {
		font-size: 1rem;
		margin: 1em auto;
		padding: 0.5em 1.75em;
	}

	/* About Me */
	.about-container {
		padding: 3em 0;
	}

	.sec-title {
		font-size: 2rem;
		margin-bottom: .5em;
	}

	.rule {
		margin-top: .5em;
		width: 4rem;
		margin-bottom: 2.5em;
	}

	.flex-container {
		flex-direction: column;
		align-items: center;
		margin: 0 auto;
		width: 80%;
	}

	.about-col1, 
	.about-col2 {
		width: 100%;
	}

	.about-img {
		width: 60%;
		height: 60%;
		padding-top: 60%;
		border-radius: 50%;
		-moz-border-radius: 50%;
   		-webkit-border-radius: 50%;
		background-image: url("img/about-me.jpg");
		background-size: cover;
		margin: 0 auto;
	}

	.social-media {
		width: 3.75rem;
		height: 3.75rem;
		margin: 0.5em 0.5em 1.25em 0.5em;
	}

	.about-text, 
	.skills {
		font-size: 1.125rem;
		line-height: 1.75rem;
	}

	.about-bold {
		font-weight: 700;
	}

	.skills-single-line {
		width: 90%;
	}

	/* Projects */
	.project-container {
		padding: 3em 0;
	}

	.grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
		max-width: 80%;
	}

	.project-name {
		font-size: 1.25rem;
	}

	.project-text {
		font-size: 0.85rem;
		font-weight: 400;
		line-height: 1.125rem;
	}

	.code-btn, .app-btn {
		font-size: 0.7rem;
		width: 2.5rem;
		height: 2.5rem;
		padding: 2% 6% 3% 6%;
	}
		/* Footer */
	.contact-container {
		padding: 3em 0;
	}

	.foot-btn-container {
		width: 50%;
		padding: 0;
	}
}

/* ========================================================
   Media queries for phones (640px and down) 
   ======================================================== */
@media only screen and (max-width: 600px) {
	/* Image */
	.head-container {
		background-image: url("img/main-image-sm.jpg");
		-webkit-background-size: cover;
		-moz-background-size: cover;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: top center;
		background-color: #4579a0;
		background-blend-mode: multiply;
		height: 100vh;
	}

	/* Navigation */
	.nav {
		height: 3.25rem;
		background: rgba(69, 121, 160, 0.8);
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.mobile-name {
		display: block;
		font-size: 1.125rem;
		font-weight: 700;
		text-transform: uppercase;
		margin: auto;
	}

	.menu-btn {
		position: absolute;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 3.5rem;
		height: 2.5rem;
		cursor: pointer;
	}
	
	.menu-btn-burger {
		width: 1.563rem;
		height: 0.188rem;
		background: #fff;
		border-radius: 0.125rem;
		-moz-border-radius: 0.125rem;
    	-webkit-border-radius: 0.125rem;
	}
	
	.menu-btn-burger::before,
	.menu-btn-burger::after {
		content: '';
		position: absolute;
		width: 1.563rem;
		height: 0.188rem;
		background: #fff;
		border-radius: 0.125rem;
		-moz-border-radius: 0.125rem;
    	-webkit-border-radius: 0.125rem;
	}
	
	.menu-btn-burger::before {
		transform: translateY(-8px);
	}
	
	.menu-btn-burger::after {
		transform: translateY(8px);
	}

	/* Mobile Menu Animation */
	.menu-btn.open .menu-btn-burger {
		transform: translateX(-50px);
		background: transparent;
	}

	.menu-btn.open .menu-btn-burger::before {
		transform: rotate(45deg) translate(35px, -35px);
	}

	.menu-btn.open .menu-btn-burger::after {
		transform: rotate(-45deg) translate(35px, 35px);
	}

	.menu {
		text-align: center;
		width: 100%;
		margin-top: auto;
		background: #4579a0; /* steel blue */
		height: 100vh;
		flex-direction: column;
		display: none;
	}

	.change.menu {
		display: inherit;
	}

	.change.nav-link {
		display: none;
	}

	.nav-name {
		display: none;
	}

	.nav-link {
        font-size: 1rem;
        margin: 1.75rem;
	}
	
	.nav-btn {
		color: #4579a0;
        font-size: 1rem;
        line-height: 1.25rem;
        margin-top: 1.75em;
        padding: 0.25em 0.75em;
	}

	/* Name and Title */
	.name {
		font-size: 15vw;
		line-height: 100%;
	}

	.title {
		font-size: 0.75rem;
		margin: 0.75em auto;
		padding: 0.5em 1.25em;
	}

	/* About Me */
	.about-container {
		padding: 3em 0;
	}

	.sec-title {
		font-size: 1.5rem;
		margin-bottom: 0.5em;
	}

	.rule {
		margin-top: 0.5em;
		width: 4rem;
		margin-bottom: 2.5em;
	}

	.flex-container {
		flex-direction: column;
		align-content: center;
		margin: 0 auto;
		width: 80%;
	}

	.about-col1, 
	.about-col2 {
		width: 100%;
	}

	/* Email and Linkedin Buttons */
	.social-media {
		font-size: 1.5rem;
		width: 3.25rem;
		height: 3.25rem;
		margin: 0.5em 0.25em 1em 0.25em;
	}

	.about-bold {
		font-weight: 700;
	}

	.about-text, 
	.skills-text {
		font-size: 1rem;
		line-height: 1.5;
	}

	.skills-text {
		padding-bottom: 0.25em;
	}

	.skills-single-line {
		display: none;
	}

	.skills-stacked {
		display: block;
		width: 100%;
		padding-top: 0.5em;
	}

	/* Projects */
	.project-container {
		padding: 3em 0;
	}

	.grid {
		grid-template-columns: 1fr;
		max-width: 80%;
	}

	.project-name {
		font-size: 1.125rem;
	}

	.project-text {
		font-size: 0.8rem;
		font-weight: 400;
		line-height: 1.125rem;
		padding: 2% 6% 4% 6%;
	}

	.project-btn {
		font-size: 0.5rem;
		width: 2rem;
		height: 2rem;
		margin: 0.125em 0.75em;
	}

	/* Contact */
	.blurb{
		font-size: 1.5rem;
		max-width: 80%;
		margin: 0 auto;
	}

	.foot-social-media {
		font-size: 1.5rem;
		width: 2.5rem;
		height: 2.5rem;
		margin: 0 0.25em;
	}

	.copyright {
		font-size: 0.6rem;
	}
}