/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

/* Begin */

:root {
  --width: 100%;
  --cat-width: 18vw;
}

body, html {
	font-family: 'Jost', sans-serif;
	background-color: var(--background);
	color: #ffffff;
}

/* Header */

.header {
	position: absolute;
	width: 90%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	padding-top: 1em;
	left: 0;
	right: 0;
	margin: auto;
	top: .5em;
}

.header-left {
	position: fixed;
	top: 1em;
	z-index: 10;
	left: 5%;
}

.header-right {
	position: absolute;
	height: 2.5em;
	max-width: 33%;
	top: 1em;
	right: 5%;
}

.header-right img {
	width: 100%;
}

.dots {
	width: 9em;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: flex-start;
	align-items: flex-start;
}

.dot {
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	position: relative;
	transition: .5s;
	cursor: pointer;
}

.dot a {
	text-decoration: none;
	color: #ffffff;
}

.dot-one {
	background-color: var(--color-one);
	box-shadow: 0px 0px 10px var(--color-one);
}

.dot-one::after {
	content: "About";
}

.dot-two {
	background-color: var(--color-two);
	box-shadow: 0px 0px 10px var(--color-two);
}

.dot-two::after {
	content: "Work";
}

.dot-three {
	background-color: var(--color-three);
	box-shadow: 0px 0px 10px var(--color-three);
}

.dot-three::after {
	content: "Resume";
}

.dot-one::after, .dot-two::after, .dot-three::after {
	opacity: 0;
	transition: .25s;
    position: absolute;
    white-space: pre;
    display: inline;
    top: 3em;
    left: 50%;
    transform: translate(-50%);
    text-decoration: none;
	color: #ffffff;
}

.dot-one:hover::after, .dot-two:hover::after, .dot-three:hover::after {
	opacity: 1;
	transition: .25s;
}

/* Main */

.main {
	width: 100%;
	min-height: 100vh;
}

/* Landing page */

.main.landing {
	width: 100vw;
	height: 100vh;
}

.landing-image {
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
/* General pages */

.container {
	width: 80%;
	margin: 0 auto;
	height: 100%;
	padding-top: 10em;
	padding-bottom: 3em;
}

.container a {
	color: var(--link-color);
	text-decoration: none;
	border-bottom: 1px solid var(--link-color);
	transition: .25s;
}

.container a:hover {
	opacity: .5;
	transition: .25s;
}

.container figure img {
	width: 100%;
}

/* with-blocks */

.with-blocks .container figure {
	margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-bottom: 1em;
}

.with-blocks .container figure ul {
	list-style: none;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: flex-start;
	justify-content: space-between;
	margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

.with-blocks .container figure ul li {
	width: auto;
	min-height: 50vh;
	max-height: 50vh;
	margin: 1%;
}

.with-blocks .container figure ul li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.with-blocks .container p {
	width: 80%;
	margin: 0 auto;
	font-size: 1.5em;
	line-height: 1.25em;
}

.with-blocks .container ol {
	width: 80%;
	margin: 0 auto;
	font-size: 1.5em;
	line-height: 1.25em;
	padding-bottom: 1.25em;
	padding-top: .5em;
	list-style-type: circle;
	box-sizing: border-box;
}

.with-blocks .container ul li {
	margin-bottom: .25em;
}

.with-blocks .container ul li a {
	text-decoration: none;
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
	transition: .25s;
}

.with-blocks .container ul li a:hover {
	opacity: .7;
	transition: .25s;
}

/* Resume */

.with-blocks.resume .container ul {
	padding-top: 1em;
	padding-bottom: 1em;
	width: 80%;
	margin: 0 auto;
	font-size: 1.5em;
}

.with-blocks.resume .container ul li {
	font-size: 1em;
}

/* Work */

.work-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: flex-start;
	align-items: flex-start;
	justify-content: space-between;
	box-sizing: border-box;
}

.category {
	width: 25%;
    box-sizing: border-box;
    margin: 1%;
}

.category a {
	text-decoration: none;
	color: #ffffff;
	transition: .25s;
}

.category a:hover .cat-image, .category a:hover .cat-title {
	opacity: .7;
	transition: .25s;
}

.cat-image {
	width: var(--cat-width);
    height: var(--cat-width);
    object-fit: cover;
    transition: .25s;
    margin: 0 auto;
}

.cat-image img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	box-sizing: border-box;
}

.cat-title {
	padding-top: .5em;
	text-align: center;
	font-size: 1.5em;
	transition: .25s;
}

/* Category */

.category-carousel {
	width: 55vw;
	margin: 0 auto;
}

.caption {
	text-align: center;
	font-size: 1.5em;
	padding-bottom: 1em;
}

.caption a {
	text-decoration: none;
	color: #ffffff;
	transition: .25s;
}

.caption a:hover .caption-content {
	opacity: .7;
	transition: .25s;
}

/* Category Carousel */

.carousel-cell {
	width: 100%;
	opacity: 0 !important;
	transition: .5s;
}

.carousel-cell img {
	width: 100%;
}

.flickity-button {
	background: transparent;
}

.flickity-button:hover {
	background: transparent;
}

.flickity-button-icon {
  	fill: white;
}

.carousel-cell.is-selected {
	opacity: 1 !important;
	transition: .5s;
}

/* Thumb Carousel */

.thumb-carousel {
	width: 80%;
	margin: 0 auto;
}

.thumb-carousel-cell {
	width: 10vw;
	margin: 1%;
	opacity: .3;
	transition: .25s;
	cursor: pointer;
}

.thumb-carousel-cell img {
	width: 100%;
}

.thumb-carousel .thumb-carousel-cell.is-selected {
  opacity: 1;
  transition: .25s;
}

/* Project page */

.projBlocks figure img {
	width: 100%;
}

.projBlocks p {
	padding-bottom: 1em;
}

.projBlocks p:first-of-type {
	padding-top: 2em;
}

.projBlocks p:last-of-type {
	padding-bottom: 3em;
}

.proj-title, .proj-sub {
	font-size: 1.75em;
	text-align: center;
}

.proj-sub {
	padding-bottom: 1em;
}

/* Project Video */

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.videoFig figcaption {
	padding-top: .5em;
	font-size: 1.5em;
}

/* Footer */

.footer {
	position: relative;
	bottom: 1em;
	text-align: center;
	display: flex;
	flex-direction: row;
	align-content: center;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.main.landing .footer {
	position: absolute;
	bottom: 1em;
	text-align: center;
	display: flex;
	flex-direction: row;
	align-content: center;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.footer a {
	color: var(--link-color);
	transition: .25s;
}

.footer a:hover {
	opacity: .5;
}

.f-1, .f-2, .f-3 {
	font-size: 1em;
	padding: .5em;
}

/*
MQ
MQ
MQ
*/

@media only screen and (max-width: 950px) {
	
/* Header MQ */

.header-left {
	width: 100%;
    position: fixed;
    display: flex;
    top: 1em;
    z-index: 10;
    text-align: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    left: 0;
}

.header-right {
	position: absolute;
    width: 100%;
    height: 2.5em;
    max-width: 100%;
    top: 5em;
    right: 0;
    text-align: center;
}

.header-right a {
	width: 100%;
}

.header-right img {
	width: 60%;
}

/* General MQ */

.container {
	width: 90%;
}

.with-blocks .container p {
    width: 100%;
}

.with-blocks .container ol {
    width: 100%;
}

/* Work Grid MQ */

.work-grid {
    flex-direction: column;
}

.category {
    width: 100%;
    padding-bottom: 1.5em;
}

.cat-image {
    width: 50vw;
    height: 50vw;
}

/* Carousel MQ */

.category-carousel {
    width: 100%;
}

}
