
body, html {
	height: 100%;
}

body {
	padding: 0;
	margin: 0;
	font-family: 'Chivo', sans-serif;
	font-size: 12px;
	line-height: 1vw;
	font-weight: 300;
	color: #665;
	background: #fff;
	position: relative;
    cursor: default;
    font-variant-ligatures: none;
}

* {
	box-sizing: border-box;
}

a {
	color: #665;
	position: relative;
	text-decoration: none;
	cursor: pointer;
	font-weight: 400;
}

a:hover {
	color: #111;
	background: #f6c200;
	background: rgba(246,194,0,0.5);
}

a span {
	position: relative;
	z-index: 11;
}

strong, b {
	font-weight: 900;
}

h1, h2, h3, h4, h5, p,
blockquote,
ul, li {
	padding: 0;
	margin: 0;
}

ul, li {
	list-style-type: none;
}

header {
	padding: 25px 75px;
	width: 100%;
	height: 50px;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	line-height: 50px;
	z-index: 1100;
}

body.home header {
	transition: none;
}

body.inner header {
	top: 2vh;
	transition: background 0.2s, height 0.2s, line-height 0.2s, top 0.2s;
}

header h1 {
	color: #242323;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 32px;
	font-family: 'Space Mono', monospace;
	letter-spacing: 0.17rem;
}

header h1 a {
	color: #242323;
	font-weight: bold;
}

header h1 a:hover {
	background: none;
}

header ul {
	position: absolute;
	top: 25px;
	right: 75px;
	font-size: 28px;
}

header ul li {
	width: 28px;
	height: 28px;
	display: inline-block;
	margin-left: 14px;
}

header ul li a {
	width: 36px;
	height: 36px;
	line-height: 28px;
	display: block;
	text-align: center;
	padding: 4px;
	border-radius: 8px;
}

.intro {
	padding: 175px 75px 125px 75px;
	width: 80%;
	position: relative;
	font-size: 32px;
	line-height: 2em;
	font-weight: 100;
	z-index: 1200;
	display: block;	
}

.intro p {
	margin-bottom: 1em;
}

.intro p.sep {
	position: relative;
	margin-top: 1px;
	padding-top: 1em;
}

.intro p.sep:before {
	content: '';
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 2em;
	height: 1px;
	background: #bba;
	z-index: 9999;
}

.about {
	padding: 175px 75px 125px 75px;
	width: 80%;
	position: relative;
	font-size: 24px;
	line-height: 2em;
	font-weight: 100;
	z-index: 1200;
	display: block;	
}

.about h2 {
	color: #242323;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 24px;
	font-family: 'Space Mono', monospace;
	letter-spacing: 0.17rem;
	margin-bottom: 1em;
	margin-top: 3em;
}

.about h2:first-child {
	margin-top: 0;
}

.about p {
	margin-bottom: 1em;
}

.about p.sep {
	position: relative;
	margin-top: 1px;
	padding-top: 1em;
}

.about p.sep:before {
	content: '';
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 2em;
	height: 1px;
	background: #bba;
	z-index: 9999;
}

.about ul li {
	font-size: 20px;
	padding-left: 1em;
	position: relative;
}

.about ul li::before {
	position: absolute;
	top: 0;
	left: -1em;
  	content: "\2014";
	color: #bba;
}

#container {
	padding: 0 0;
	position: relative;
	z-index: 1000;
	background: #fff;
}

footer {
	padding: 150px 75px;
	width: 100%;
	height: auto;
	display: block;
	z-index: 900;

	font-size: 32px;
	line-height: 2em;
	font-weight: 100;
	background: #eee;
	color: #665;
}

footer div {
	margin-bottom: 50px;
}

footer p {
	position: relative;
	z-index: 901;
}

footer .credits,
footer .credits small {
	font-size: 16px;
	line-height: 2em;
}

body.fixed #container {
	margin-bottom: 100vh;
}

body.fixed footer {
	height: 100vh;
	position: fixed;
	bottom: 0;
	top: auto;
}

/* */

article {
	width: 100%;
	height: 100vh;
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
}

figure {
	display: block;
	width: auto;
	margin: 20vh 75px;
	max-height: 100vh;
}

figure div {
	display: inline-block;
	width: auto;
	position: relative;
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 72vh;
	min-width: 300px;
	min-height: 200px;
	display: inline-block;
	margin: 0 auto;
	background: #eee;
}

figure img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 72vh;
}

figure figcaption {
	display: block;
	position: absolute;
	top: 101%;
	text-align: left;
	left: 0%;
	width: 60%;
	font-size: 14px;
	line-height: 1.6em;
}

figure figcaption span a {
	color: #998;
}

figure figcaption span:first-child {
	margin: 8px 0;
}

figure figcaption span:first-child {
	font-size: 16px;
	display: block;
}

figure figcaption span:nth-child(2),
figure figcaption span:nth-child(3) {
	color: #bba;
	position: relative;
	font-weight: 300;
}

figure figcaption span:nth-child(3):before {
	content: "\2014";
	padding-right: 4px;
}

article.gallery {
 	overflow: hidden;
}

article.gallery div {
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 72vh;
	min-width: 300px;
	min-height: 200px;
	display: inline-block;
	margin: 0 auto;
	overflow: visible;
	background: none;
}

article.gallery ul {
	position: relative;
	transition: transform 0.5s ease-out;
}

article.gallery ul li {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.2s;
}

article.gallery ul li.desc {
	text-align: left;
	font-size: 16px;
	font-weight: 300;
	line-height: 2em;
}

article.gallery ul li.desc {
	padding: 2em;
}

article.gallery ul li.desc h2 {
	font-size: 24px;
	margin-bottom: 1em;
}

article.gallery ul li.desc p {
	margin-bottom: 1.5em;
}

article.gallery ul li:nth-child(n+2) {
	position: absolute;
	top: 0;
	left: 200vw;
}

article.gallery ul li img {
	width: auto;
	height: auto;
	max-height: 72vh;
	transition: opacity 0.5s ease-out;
}

article.gallery ul li.hidden:hover {
	background: #f6c200;
}

article.gallery ul li.hidden img,
article.gallery ul li.hidden.desc div {
	opacity: 0.5;
	cursor: e-resize;
}

article.gallery ul li.hidden-left img,
article.gallery ul li.hidden-left.desc div {
	cursor: w-resize;
}

article.gallery ul li.hidden figcaption {
	opacity: 0;
}

@media all and (max-width: 1400px) {
	figure div {  
		max-width: 100%;
	}
}

@media all and (max-width: 768px) {
	header {
		padding: 25px;
		position: relative;
		top: auto;
		left: auto;
		height: auto;
		background: #fff;
	}

	header ul {
		position: relative;
		top: auto;
		right: auto;
	}

	header ul li {
		margin-left: auto;
		margin-right: 14px;
	}

	#container {
		margin-bottom: 0;
	}

	.intro, footer {
		padding: 25px 25px 50px;
		font-size: 18px;
		width: auto;
		height: auto;
	}

	.about {
		padding: 25px 25px 125px;
		font-size: 18px;
		width: auto;
		height: auto;
	}

	.about ul li {
		font-size: 18px;
		margin-bottom: 2em;
		padding-left: 0;
	}

	.about ul li::before {
		left: 0;
		top: auto;
		bottom: -2em;
		color: #bba;
	}

	.about ul li:last-child {
		margin-bottom: 0;
	}

	.about ul li:last-child::before {
		display: none;
	}

	footer {
		position: relative;
		bottom: auto;
	}

	footer .credits,
	footer .credits small {
		font-size: 12px;
		line-height: 2em;
	}

	section,
	article,
	figure,
	figure div,
    figure img { max-width: 100%; height: auto; }
    figure {
    	margin: 0;
    }

    article {
      padding-bottom: 10vh;
    }

    figure div {
    	background: none;
    }

    figure img {
    	background: #eee;
    }

    figure figcaption {
    	width: 100%;
    	padding: 10px 25px;
    	position: relative;
    	top: auto;
    	left: auto;
    }
}
