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;
}
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;
}
img {
	width: 100%;
	height: auto;
}
figure {
	line-height: 0;
}
a {
	color: inherit;
	text-decoration: none;
}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;	
}

:root {
	--unit: 20px;
	--font: 'neue-haas-grotesk-display', Arial, sans-serif;
}

/* Styles */

body {
	font-family: var(--font);
	font-size: var(--unit);
	line-height: 1.1;
	padding: var(--unit);
	letter-spacing: 1px;
}

@media screen and (min-width: 45rem) {
	body {
		font-size: calc(var(--unit) * 1.5);
		padding: calc(var(--unit) * 2);
	}
}

p {
	width: 100%;
	max-width: 1300px;
}

.site-header .logo {
	animation: fadeIn 1s ease-out both;	
	animation-delay: .5s;
}

.page-header .logo {
	display: block;
	width: 100%;
	position: static;
}

.main {
	animation: intro .8s ease-out both;
	animation-delay: 1.2s;
	position: relative;
	z-index: 2;
}

.page {
	animation: intro .8s ease-out both;
	position: relative;
	z-index: 2;	
}

@media screen and (min-width: 45rem) {
	.page-header .logo {
		display: block;
		width: 100%;
		max-width: 400px;
		position: absolute;
		top: calc(var(--unit) * 2);
		left: calc(var(--unit) * 2);
		z-index: 3;
	}
}


/* Nav */

.navigation {
	margin-top: var(--unit);
}

.fadeIn {
	animation: fadeIn 1s ease-out both;	
	animation-delay: 2s;	
}

.menu-item a:hover {
	text-decoration: underline;
}

.menu-item .active {
	text-decoration: underline;
}

.extra-space {
	margin-top: 0;
}

@media screen and (min-width: 45rem) {
	.navigation {
		margin-left: calc(50% + .5em);
	}
	.extra-space {
		margin-top: calc(var(--unit) * 8);
	}
}

/* Grid */

.grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-row-gap: calc(var(--unit) * 1);
}

.grid > .column {
	grid-column: span var(--span);
}

@media screen and (min-width: 45rem) {
	.grid {
		--gutter: calc(var(--unit) * 1);
		grid-template-columns: repeat(12, 1fr);
		grid-gap: var(--gutter);
	}
}

.topspace-small {
	padding-top: var(--unit);
}

.topspace-big {
	padding-top: calc(var(--unit) * 2);
}

.bottomspace-small {
	padding-bottom: var(--unit);
}

.bottomspace-big {
	padding-bottom: calc(var(--unit) * 2);
}

/* Home */

.intro {
	margin-top: calc(var(--unit) * 4);
}

.work {
	margin-top: calc(var(--unit) * 2);
}

.work-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-column-gap: var(--unit);
	grid-row-gap: calc(var(--unit) * 2);
}

.box-false .image-box {
	display: block;
  width: 100%;
  padding-top: 75%;
  position: relative;
	overflow: hidden;
}

.box-true .image-box {
	display: block;
  width: 100%;
  padding-top: 75%;
  position: relative;
	overflow: hidden;
}

.work-image {
  position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.work-item a .work-image {
  transition: transform .8s;
}

.work-item a:hover .work-image {
	transform: scale(1.1);
}

.work-text {
	margin-top: calc(var(--unit) / 2);
}

.box-true {
	grid-column: 1 / span 1;
}

@media screen and (min-width: 45rem) {
	.work-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.box-true .image-box {
	  padding-top: 45%;
	}
	.box-true {
		grid-column: 1 / span 2;
	}
}

/*Page*/

.container {
	margin-top: calc(var(--unit) * 6);
}

/* Blocks */

.blocks h2 {
	padding-bottom: 1em;
}

.blocks ul {
	list-style: '+ ';
  margin-left: .8em;
	line-height: 1.1;
	padding-bottom: 1em;
}

.video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.video iframe, .video object, .video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Footer */

.footer {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-gap: var(--unit);
	margin-top: calc(var(--unit) * 6);
	padding-bottom: calc(var(--unit) * 2);
}

.contact {
	margin-top: 1em;
}

.contact span {
	margin-right: calc(var(--unit) * 1);
}

.footer a:hover {
	text-decoration: underline;
}

@media screen and (min-width: 45rem) {
	.footer {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}


/*Animations*/

@keyframes intro {
  0% {
    transform: translateY(25%);
		opacity: 0;
  }
  50% {
		opacity: 0;
  }
  100% {
    transform: translateY(0px);
		opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
		opacity: 0;
  }
  100% {
		opacity: 1;
  }
}





