/* GITHUB VERSION */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
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;
}









/*=== CUSTOM CODE BELOW ===================================================================================================================*/

/*=== MAIN ================================================================================================================================*/




html {
	/* background: #ccc; */
    font-family: "Figtree", Arial, sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 300;
	/* padding: 20px;
	padding-top: 0px; */
	cursor: url("images/cursor.png"), auto;
	overflow-x: hidden;
	overscroll-behavior-y: none;
	scroll-behavior: smooth;

	--light: rgba(255,255,255,1);
	--dark: rgba(0,0,0,1);
	/* --light: rgba(0,0,0,1);
	--dark: rgba(255,255,255,1); */

	background: var(--light);

}

/* debug view */
/* body * {
	border: 0.1px solid red !important;
	background: rgba(255, 0, 0, 0.2) !important;
} */


nav {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: flex-start;
	position: sticky;
	padding-left: 1.5vw; /* 1.5vw */
	padding-right: 10px; /* 1.5vw */
	top: 0px;
	height: 100px;
	z-index: 100;
	width: 100%;
	background: var(--light);
}

#header-text {
	/* background: #fff; */
	/* background: #ccc; */
	display: flex;
	/* flex-wrap: wrap; */
	width: 87%;
	display: flex;
	flex-wrap: wrap;
	height: fit-content;
	padding-top: 25px;
	padding-bottom: 10px;
	color: var(--dark);
	/* justify-content: space-between; */
	
}
#name {
	/* background: #aaa; */
	width: 40%;
	box-sizing: border-box;
	padding-right: 20px;
	position: relative;
	bottom: 4px;
	/* margin-right: 30px; */
	/* z-index: 100; */
}
#about {
	/* background: #ccc; */
	width: calc(100% - 40% - 13% - 100px);
	/* max-width: 35%; */
	/* margin-right: 24px; */
	margin-top: 4px;
	box-sizing: border-box;
	padding-right: 20px;
	/* font-size: calc(0.5cqi + 5pt); */
	/* z-index: 100; */
}
/* #empty {
	width: 13%;
} */
#guy {
	/* background: #ccc; */
	width: 11%;
	/* margin-right: 5%; */
	/* align-self: end; */
	/* position: absolute; */
	box-sizing: border-box;
	padding-right: 20px;
	top: 0px;
	/* display: none; */
	/* z-index: 100; */
}

#contact-links ul {
	/* background: #aaa; */
	width: 200px;
	/* padding-right: 100%; */
	/* min-width: 150px; */
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 5px;
	height: 70px;
}
#contact-links li {
	background: var(--dark);
	border-radius: 1rem;
	/* width: fit-content; */
	width: 100px;
	height: 25px;
	/* padding: 5px;
	padding-left: 10px;
	padding-right: 10px; */
	justify-content: center;
	align-content: center;
}
#contact-links a {
	text-decoration: none;
	font-size: 0.9rem;
	color: var(--light);
	height: 200px;
	/* width: auto; */
	/* display: block; */
	padding: 10px;
	padding-left: 10px;
	padding-top: 20px;
	padding-right: 2px;
}
#contact-links svg {
	height: 0.7rem;
	padding-right: 10px;
}

main {
	display: flex;
	flex-wrap: wrap;
	/* justify-content: space-between; */
	justify-content: flex-start;
	align-items: flex-start;
	padding: 1.5vw;
	padding-top: 5vh;
	gap: 0 1.5vw;
}

div.project {
	/* position: relative; */
	/* container-name: project;
	container-type: inline-size; */

	padding-bottom: 3%;
	/* padding-right: 50px; */

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	/* width: fit-content; */
	max-width: calc(33.3333% - 1vw);
}

.project img {
	height: auto;
	/* max-height: 400px; */
	width: 100%;
	/* height: 300px;
	width: auto; */

	opacity: 1;
	box-sizing: border-box;
	border: 0px solid var(--dark);
	transition: all 0.3s ease;
}

.project img:hover {
	opacity: 0.7;
	border: 0.6vw solid var(--dark);
	/* transform: scale(1.03); */
	cursor: url("images/cursor light.png"), pointer;
}

.description {
	/* background: #daa; */
	display:flex;
	flex-direction: row;
	width: 100%;
	position: relative;
	height: fit-content;
	justify-content: space-between;
	padding-top: 10px;
	color: var(--dark);
}

.project section {
	/* background: #000; */
	width: 70%;
}

.project aside {
	/* background: #dfd; */
	width: fit-content;
	display: flex;

	justify-content: flex-end;
}

.project header {
	/* background: #aaa; */
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	padding-bottom: 6px;
}

.project h1 {
	font-size: 20pt;
	padding-right: 6px;
	font-weight: 700;
}

.project h2 {
	font-size: 10pt;
	padding-top: 4px;
	padding-bottom: 2px;
	font-weight: 700;
}

/* .project p {
	background: #ccc;
	width: 70%;
} */

.tag {
	/* background: #aad; */
	/* border-radius: 48%; */
	border-radius: 2rem;
	width: fit-content;
	/* min-width: 60px; */
	height: fit-content;
	padding: 8px;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	/* text-wrap: nowrap; */
	border: 1px solid var(--dark);
	font-weight: 300;
	font-size: 10pt;
	/* transform: rotate(-2deg); */
}

footer {
	background: var(--dark);
	width: 100%;
	height: 60px;
	/* align-content: center; */
	text-align: center;
	/* margin: auto; */
}

footer a {
	color: var(--light);
	text-decoration: none;
	/* background: #ccc; */
	position: relative;
	top: 25px;
	padding: 5px;
	transition: top 0.2s ease;
}

footer a:hover {
	/* background: #fff; */
	top: 21px;
}



@media screen and (max-width: 1170px) {

	#name {
		width: 500px;
		bottom: 0px;
	}

	#about {
		display: none;
	}

	#guy {
		width: 120px;
		/* padding-right: 20px;
		top: 0px; */
	}
}

@media screen and (max-width: 900px) {

	#header-text {
		width: calc(100% - 150px);
		height: fit-content;
		padding-top: 25px;
		padding-bottom: 10px;
		color: var(--dark);		
	}

	div.project {
		max-width: calc(50% - 0.5rem);
	}

	.project p {
		display: none;
	}
}

@media screen and (max-width: 850px) {
	#contact-links ul {
		display: none;
	}
}

@media screen and (max-width: 600px) {

	nav {
		height: 15vw;
	}

	div.project {
		max-width: 100%;
		width: 100%;
		padding-bottom: 5%;
	}
}

/* @media (prefers-color-scheme: dark) {

	html {
		--light: rgba(0,0,0,1);
		--dark: rgba(255,255,255,1);
	}
} */





/*=== SUBPAGES ============================================================================================================================*/

body.subpage {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	color: var(--dark);
}

.subpage nav {
	background: none;
	/* background: #ddd; */
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-content: flex-start;
	width: 100%;
	height: fit-content;
	justify-content: start;
	position: sticky;
	top: 0;
	z-index: 100;
}

.subpage nav img {
	/* background: var(--light); */
	background: white;
	width: auto;
	height: 20px;
	padding: 10px;
	padding-top: 15px;
	margin-left: 0; /* calc(1.5vw - 10px) */
	padding-right: 10px;
	padding-right: 10px;
	/* mix-blend-mode: difference; */
	/* transition: opacity 0.2s ease; */
	/* z-index: 100; */
}

.subpage .name {
	background: var(--light);
	width: auto;
	height: 20px;
	padding: 10px;
	padding-top: 15px;
	margin-left: 0; /* calc(1.5vw - 10px) */
	padding-right: 10px;
	padding-right: 10px;
}

.cls-1 {
	fill: var(--dark);
}

/* .subpage nav img:hover {
	cursor: url("images/cursor light.png"), pointer;
	opacity: 0.4;
} */

main.intro {
	/* background: #fdd; */
	/* background: rgba(255,0,0,0.1); */
	max-width: 1000px;
		display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	
	justify-content: center;
	align-items: center;
	padding: 10px;
	
	padding-top: 0;
	padding-bottom: 40px;
}

main.intro img.hero {
	width: 100%;
	height: auto;
	margin-left: 0;
	padding-bottom: 40px;
}

.subpage section.title {
	/* background: #ddf; */
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: start;
	padding-bottom: 60px;

	width: 100%;
	justify-content: space-between;
	/* padding-top: 10px; */
	color: var(--dark);
}

.subpage .title header {
	/* background: #000; */
	display: flex;
	/* align-items: baseline; */
	flex-direction: column;
	width: fit-content;
	/* width: 100%; */
}

.subpage .title header div {
	/* background: #000; */
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	/* flex-direction: row; */
	width: 100%;
	/* width: 100%; */
}

.subpage .title h1 {
	/* background: red; */
	font-size: 36pt;
	padding-right: 15px;
	font-weight: 700;
	width: fit-content;
}

.subpage .title h2 {
	/* background: red; */
	font-size: 18pt;
	width: 160px;
	text-wrap: nowrap;
	padding-top: 4px;
	padding-bottom: 4px;
	font-weight: 700;

}

.subpage .title p {
	margin-top: 8px;;
	width: 100%;
}

.subpage .title .tag {
	margin-top: 15px;
}

.subpage p {
	line-height: 1.2em;
}

.subpage .tag {
	font-size: 12pt;
	margin-top: 10px;
}

div.ribbon {
	/* line-height: 1.2em; */
	/* width: 100%; */
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}

.ribbon1 {
	/* background: #dfd; */
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: space-between;
	padding-bottom: 30px;
}

.ribbon1 h1 {
	font-size: 18pt;
	/* padding-right: 15px; */
	font-weight: 300;
	font-style: italic;
	line-height: 1.2em;
	padding-right: 15px;
	padding-bottom: 15px;
	max-width: 740px;
}

.ribbon2 {
	/* background: #ddf; */
	width: 100%;
	padding-bottom: 20px;
}

.ribbon2 div {
	/* background: #ddd; */
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	/* max-width: 750px; */
}

.ribbon2 p {
	max-width: 330px;
	min-width: 170px;
	margin-right: 15px;
	/* font-size: 10pt; */
	padding-bottom: 20px;
	/* background: #faa; */
}

.ribbon2 .skills {
	/* background: #aaa; */
	display: flex;
	flex-direction: row;
	height: fit-content;
	width: fit-content;
	/* width: 100%; */
	margin-left: 10px;
	/* align-self: end; */
	justify-self: end;
	justify-content: end;
	padding: 0;
	/* padding-top: 30px; */
}

.ribbon2 .slash {
	/* background: black; */
	width: 0px;
	height: auto;
	margin-right: 30px;
	border-right: 1px var(--dark) solid;
	transform: skewX(-5deg);
}

.ribbon2 li {
	font-size: 11pt;
	padding-bottom: 0.3em;
	line-height: 0.9em;
	/* text-indent: -0.5em; */
}

.divider {
	width: 100%;
	height: 0;
	border-top: 1px solid black;
	padding-bottom: 40px;
}





main.gallery {
	/* background: rgba(255,0,0,0.1); */
	width: 100%;
	height: fit-content;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	
	justify-content: center;
	align-items: center;
	padding: 0;
	/* padding-bottom: 100px; */
}

.gallery img {
	max-width: 100%;
	width: 100%;
	height: auto;
}

.gallery figcaption {
	padding-top: 15px;
	font-style: italic;
}

.gallery p {
	padding-top: 15px;
	font-style: italic;
}

section.full-width {
	/* background: red; */
	width: 100%;
	padding-bottom: 50px;
}

.full-width figure {
	width: 100vw;
}

.full-width img {
	width: 100%;
}

.full-width video {
	width: 100%;
}

.full-width figcaption {
	padding-left: 1.5vw;
}

section.main-width {
	/* background: red; */
	box-sizing: border-box;
	padding-left: 1.5vw;
	padding-right: 1.5vw;
	width: 100%;
	padding-bottom: 50px;
}

.main-width img {
	width: 100%;
}

section.half-width {
	/* background: red; */
	width: 50%;
	min-width: 400px;
	/* margin: 50px; */
	padding-bottom: 50px;
}

section.row-offscreen {
	/* background: red; */
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	width: 100%;
	height: fit-content;
	padding: 0;
	padding-bottom: 50px;
	justify-content: center;
	overflow-x: hidden;
}

.row-offscreen div {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	width: 100%;
	justify-content: center;
	padding: 0;
}

.row-offscreen img {
	height: 15vw;
	width: auto;
	margin: 0.75vw;
	/* margin-top: 0; */
	margin-bottom: 3px;
}

.row-offscreen p {
	/* background: red; */
	width: 100vw;
	/* padding: 0; */
	padding-left: 1.5vw;
}

section.row-onscreen {
	/* background: red; */
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	width: 100%;
	height: fit-content;
	box-sizing: border-box;
	padding: 0;
	padding-left: 1.5vw;
	padding-right: 1.5vw;
	padding-bottom: 50px;
	/* margin: 0; */
	justify-content: center;
}

.row-onscreen div {
	/* background-color: aqua; */
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
}
.row-onscreen img {
	height: auto;
	width: 23.4vw;
	margin: 0;
	margin-bottom: 3px;
	/* padding: 0px; */
}

section.two-column {
	/* background: #ccc; */
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	box-sizing: border-box;
	width: 100%;
	padding-left: 1.5vw;
	padding-right: 1.5vw;
	padding-bottom: 50px;
	justify-content: center;
	gap: 15px;
}

.two-column figure {
	max-width: calc(50% - 7.5px);
}

.two-column figcaption {
	margin-bottom: 40px;
}

.two-column img {
	width: 100%;
}

section.text {
	display: flex;
	flex-wrap: nowrap;
	height: fit-content;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	padding: 0;
	/* padding-left: 1.5vw;
	padding-right: 1.5vw; */
	padding-bottom: 100px;
}

.text div {
	/* background: red; */
	width: 70%;
}

.text p {
	max-width: 700px;
	padding: 0;
	padding-bottom: 20px;
	font-style: unset;
	/* font-size: 40pt; */
}

section.side-by-side {
	/* background: red; */
	max-width: 1000px;
	height: fit-content;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: space-between;
	padding-bottom: 50px;
	margin-left: 1.5vw;
	margin-right: 1.5vw;
}

.side-by-side img {
	width: 100%;
	padding-bottom: 15px;
}

/* .side-by-side p {
	max-width: 40%;
	padding: 0;
	margin: 0;
} */

.side-by-side .left-side {
	/* background: green; */
	width: 60%;
	height: 100%;
}

.side-by-side .right-side {
	/* background: blue; */
	width: calc(40% - 20px);
	height: 100%;
}

.side-by-side p {
	font-style: unset;
}

section.vid {
	box-sizing: border-box;
	padding-left: 1.5vw;
	padding-right: 1.5vw;
	width: 100%;
	padding-bottom: 50px;
}

.vid iframe {
	/* background: #ccc; */
	width: 100%;
	height: 650px;
}



.subpage footer {
	width: 100%;
	margin-top: 50px;
}


@media screen and (max-width: 730px) {

	section.row-offscreen {
		height: fit-content;
		width: 100%;
		overflow: visible;
	}

	.row-offscreen div {
		flex-wrap: wrap;
		/* justify-content: flex-start; */
		/* height: 100%; */
	}

	.row-offscreen img {
		/* width: 50vw; */
		height: 100%;
		width: 48vw;
	}

	section.row-onscreen {
		height: fit-content;
		width: 100%;

	}

	.row-onscreen div {
		flex-wrap: wrap;
		/* justify-content: flex-start; */
		/* height: 100%; */
	}

	.row-onscreen img {
		/* width: 50vw; */
		height: 100%;
		width: 47vw;
		padding: 0.75vw;
		padding-top: 0;
		padding-bottom: 5px;
	}

}

@media screen and (max-width: 600px) {

	.subpage section.title {
		/* background: #ddf; */
		/* flex-direction: row; */
		align-items: flex-start;
	
		justify-content: space-between;
		/* padding-top: 10px; */
		color: var(--dark);
	}

	.subpage .title header {
		/* background: #000; */
		flex-direction: column;
		/* width: 100%; */
	}

	.subpage h1 {
		padding-bottom: 5px;
	}
	
	/* .subpage h2 {
		padding-bottom: 4px;
	} */
	
	.subpage .tag {
		font-size: 12pt;
		margin-top: 15px;
	}

	.ribbon1 li {
		padding-bottom: 0.7em;
		line-height: 0.9em;
		/* text-indent: -0.5em; */
	}

}