/* FONTS */

@font-face {
  font-family: MaisonNeue-Light;
  src: 	url('../fonts/MaisonNeue-Light.woff2') format('woff2'), 
  		url('../fonts/MaisonNeue-Light.woff') format('woff'), 
  		url('../fonts/MaisonNeue-Light.ttf') format('truetype');
}

@font-face {
  font-family: MaisonNeue-Book;
  src: 	url('../fonts/MaisonNeue-Book.woff2') format('woff2'), 
  		url('../fonts/MaisonNeue-Book.woff') format('woff'), 
  		url('../fonts/MaisonNeue-Book.ttf') format('truetype');
}

@font-face {
  font-family: MaisonNeue-Medium;
  src: 	url('../fonts/MaisonNeue-Medium.woff2') format('woff2'), 
  		url('../fonts/MaisonNeue-Medium.woff') format('woff'), 
  		url('../fonts/MaisonNeue-Medium.ttf') format('truetype');
}

@font-face {
  font-family: MaisonNeue-Demi;
  src: 	url('../fonts/MaisonNeue-Demi.woff2') format('woff2'), 
  		url('../fonts/MaisonNeue-Demi.woff') format('woff'), 
  		url('../fonts/MaisonNeue-Demi.ttf') format('truetype');
}

@font-face {
  font-family: MaisonNeue-Bold;
  src: 	url('../fonts/MaisonNeue-Bold.woff2') format('woff2'), 
  		url('../fonts/MaisonNeue-Bold.woff') format('woff'), 
  		url('../fonts/MaisonNeue-Bold.ttf') format('truetype');
}

@font-face {
  font-family: MaisonNeue-Mono;
  src: 	url('../fonts/MaisonNeue-Mono.woff2') format('woff2'), 
  		url('../fonts/MaisonNeue-Mono.woff') format('woff'), 
  		url('../fonts/MaisonNeue-Mono.ttf') format('truetype');
}


/* MAIN */

body {   
	color: #000;
	font-size: 13px;
	font-family: MaisonNeue-Medium, helvetica, sans-serif;
	line-height: 200%;
	background: #fff;
}

p {
	margin-bottom: 10px;
}

h3 {
	letter-spacing: 2px;
	font-size: 20px;
	font-family: MaisonNeue-Medium, helvetica, sans-serif;
	margin-bottom: 15px;
}


/* RANDOM COLOR HOVER */

a.green:hover,
#overview a.green:hover,
#footer-links a.green:hover {
	color: #0e0; 
}
a.teal:hover,
#overview a.teal:hover,
#footer-links a.teal:hover {
	color: #0dd; 
}
a.orange:hover,
#overview a.orange:hover,
#footer-links a.orange:hover {
	color: #f90; 
}
a.pink:hover,
#overview a.pink:hover,
#footer-links a.pink:hover {
	color: #f6f; 
}


/* PRELOADER */

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 99999;
}

#loader {
  display: none;
}

@keyframes loader {
  to {transform: rotate(360deg);}
}
 
#loader:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 40%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  border-radius: 50%;
  border: 2px solid #f6f;
  border-top-color: #0e0;
  border-right-color: #0dd;
  border-bottom-color: #f90;
  animation: loader .6s linear infinite;
}


/* INTRO */

#intro {
	position: relative;
	margin: 20vh auto;
	padding: 8%;
	text-align: center;
	font-size: 20px;
	line-height: 150%;
	letter-spacing: 0px;
	width: 70%;
	max-width: 480px;
	height: auto;
}


/* PASSCODE */

input {
	display: block; 
	margin: 0px auto; 
	overflow: hidden; 
	text-align: center; 
	background: none;  
	border: none; 	
	padding: 10px; 
	font: inherit; 
	border-bottom: 1px solid #000; 
	font-family: MaisonNeue-Mono, sans-serif; 
	font-size: 16px; 	
	border-radius: 0;
}

input:focus::-webkit-input-placeholder { color: #ccc; }
input:focus::-moz-placeholder { color: #ccc; }
input:focus:-ms-input-placeholder { color: #ccc; }


/* NAVIGATION */

#name,
#menu,
#close {
	position: fixed;
	top: 40px;
	transform: translate3d(0, 0, 100px);
	z-index: 1000;
}

#name {
	left: 5%;
	font-family: MaisonNeue-Medium, helvetica, sans-serif;
    font-size: 28px;
}

#menu {
	right: 5%;
	width: 25px;
	height: 25px;
	border: 3px solid #000;
	-webkit-border-radius: 50px;
	   -moz-border-radius: 50px;
			border-radius: 50px;
	display: none;
}

#menu:hover {
	border: 3px solid #00E660;
}

#close {
	right: 5%;
	width: 25px;
	height: 25px;
}

#close:hover {
	opacity: .5;
}


/* GALLERY */

#gallery {
	width: 100%;
	margin: 10% auto;
	overflow: hidden;
}

.thumb {
	width: 100%;
	height: 100%;
	display: block;
}


/* THUMBNAIL SIZE & POSITION */

.sm {
	width: 40%;
}

.md {
	width: 55%;
}

.lg {
	width: 65%;
}

.full {
	width: 100%;
}

.left {
	float: left;
	margin: 6% 5%;
}

.right {
	float: right;
	margin: 6% 5%;
}


/* CARDS */

.card {
	position: relative;
	transition: transform 1.8s cubic-bezier(0.215, 0.60, 0.355, 1), 
				box-shadow .8s cubic-bezier(0.215, 0.60, 0.355, 1);
	transform: perspective(600px) translate3d(0, 0, 0);
	
}

.card-title h2 {
	position: absolute;
	bottom: 0;
	margin: 0 0 -40px 0;
	text-align: left;
	font-family: MaisonNeue-Mono, sans-serif;
	font-size: 12px;
	color: #000;
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(0.215, 0.60, 0.355, 1);
	backface-visibility: hidden;
	
}

/* CARD HOVER */

.card:hover {
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.0);
}

.card:hover h2 {
	opacity: 1;
}


/* WORK */

#work {
	margin: 10% auto;
	width: 70%;
	max-width: 1400px;
	overflow: hidden;
}

h1 {  
	text-align: left;
    color: #000;
    font-size: 36px;
    font-family: MaisonNeue-Medium, helvetica, sans-serif;
	letter-spacing: 0px;
	margin-bottom: 4%;
}

#overview {
	position: relative;
	text-align: left;
	font-size: 20px;
	line-height: 150%;
	letter-spacing: 0px;
	width: 70%;
	max-width: 800px;
	margin: 20% auto;
}

#overview a {
	color: #000;
	border-bottom: 1px solid currentColor;
	display: inline-block;
	line-height: 1.10;
}

.mono {  
    font-size: 14px;
    font-family: MaisonNeue-Mono, helvetica, sans-serif;
}

.hero {
	width: 100%;
	margin: 6% auto;
}

.grid-full {
	width: 100%;
	margin: 20% auto;
}

.grid-left {
	float: left;
	width: 48%;
	margin: 0 auto 20% auto;
}

.grid-right {
	float: right;
	width: 48%;
	margin: 0 auto 20% auto;
}

video {
	width: 100%;
	margin: 0 auto;
}

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

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


/* 100% WIDTH YOUTUBE */

.videocontainer {
	position: relative;
	padding-bottom: 56.25%;
    width: 100%;
    height: 0;
}

.videocontainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* FOOTER */

#footer {
	width: 100%;
	margin: 0 auto 20px auto;
	font-family: MaisonNeue-Mono, helvetica, sans-serif;
	overflow: hidden;
}

#footer-copyright {
	float: left;
	margin: 20px 5%;	
}

#footer-links {
	float: right;
	margin: 20px 5%;
}


/* QUERIES */

@media (max-width: 2200px) {

}

@media (max-width: 1400px) {

}

@media (max-width: 900px) {

#gallery {
	margin: 20% auto;
}

#work {
	margin: 20% auto;
}

#overview {
	margin: 20% auto;
	width: 100%;
}

.sm {
	width: 50%;
}

.md {
	width: 65%;
}

.lg {
	width: 75%;
}

}

@media (max-width: 600px) {
	
#name,
#menu,
#close {
	top: 20px;
}

#name {
    font-size: 22px;
}

.left {
	margin: 8% 5%;
}

.right {
	margin: 8% 5%;
}

.card-title h2 {
	margin: 0 0 -30px 0;
	font-size: 10px;
}

h1 {  
    font-size: 28px;
	line-height: 38px;
}

#work {
width: 90%;
}

#overview {
	font-size: 17px;
	width: 100%;
}
	
}