@import url("proxima-nova.css");

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Bold.woff2') format('woff2'),
        url('fonts/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Black.woff2') format('woff2'),
        url('fonts/Gotham-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Thin.woff2') format('woff2'),
        url('fonts/Gotham-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-BoldItalic.woff2') format('woff2'),
        url('fonts/Gotham-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Light.woff2') format('woff2'),
        url('fonts/Gotham-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Book';
    src: url('fonts/Gotham-Book.woff2') format('woff2'),
        url('fonts/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


html {
	background-color:#ffffff;
	background-image:url(images/loading_spinner.gif);
	background-position:50% 50%;
	background-repeat:no-repeat;
	min-height:100%;
	-webkit-font-smoothing: antialiased;
	/*background:url(images/test.png) 0 0 no-repeat #ffffff;
	background-size:1422px auto;*/
}

body {
	font-family:"proxima-nova",Helvetica,sans-serif;
	font-family: 'Gotham';
	margin:0;
	padding:0;
	background-color:transparent;
}

a {
	color: orange;
}

header,
footer {
	background:rgba(255, 255, 255, 0.98);
	position:fixed;
	z-index:100;
	width:100%;
}
header {
	top:0;
}
footer {
	bottom:0;
	padding:22px 0;
}
footer a {
	float:right;
	font-size: 19px;
	color: #000000;
	text-decoration:none;
	margin:6px 12px;
	transition: opacity 0.2s ease-out 0s;
}
footer a:first-child {
	margin-right:35px;
}
footer a:hover {
	opacity:0.4;
}

footer.footer1 {
	text-align:center;
	padding:53px 20px;
	padding-top:36px;
	letter-spacing:1px;
	max-width:100vw;
	box-sizing:border-box;
}
footer.footer1 p {
	max-width:1000px;
	margin:0 auto;
	margin-bottom:43px;
	color:#a7a9ab;
	font-size: 14px;
	line-height: 1.5;
}
footer.footer1 a {
	float:none;
	font-size: 14px;
	padding:0 25px;
	margin:6px 0;
	color:#28282a;
	border-left:solid 1px #a7a9ab;
}
footer.footer1 a:first-of-type {
	margin-right:0;
	border-left:none;
}

#sitetitle {
	color: #000000;
	font-size: 36px;
    font-style: normal;
    font-weight: 300;
    padding:18px 0;
    line-height:1.1em;
    text-align:left;
    margin:0 32px;
    text-decoration:none;
    display:block;
}
#sitetitle small {
	color:#616161;
	font-size: 0.37em;
    letter-spacing: 2px;
    display:block;
    line-height: 1.9em;
}

#content {
	margin-top:129px;
	margin-bottom:78px;
	margin-bottom:230px;
	width:100%;
	overflow-y:hidden;
}

#text {
    padding: 0 35px 47px 32px; 
    position: fixed;
    top:129px;
    left:0;
    width: 300px;
    bottom:215px;
    overflow:auto;
}
#text h1 {
    color: #222;
    font-size: 42px;
    font-style: normal;
    font-weight: 100;
    letter-spacing: 0;
    line-height: 1.2em;
    margin-top: 0;
    text-transform: none;
}
#text p {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.47em;
    padding: 0;
    color: #454545;
    margin: 0 0 1.25em;
}
#text em {
	font-size:15px;
	font-weight: 100;
	font-family: serif;
}

#nav {
    padding: 0 32px 47px 35px;
    position: fixed;
    top:129px;
    top:183px;
    right:0;
    text-align:center;
}
#nav a {
	background-color: #2e2e2e;
	color: #f0f0f0;
	height: 38px;
	width: 38px;
	text-align:center;
	display:inline-block;
	font-size: 32px;
	transition: opacity 0.2s ease-out 0s;
}
#nav a:hover,
#nav a:focus {
	opacity:0.4;
}

#scroll {
    margin: 52px 135px 50px 400px;
    /*max-width: 900px;*/
    min-width: 300px;
    transition: min-height 0.2s ease-in-out 0s;
    text-align:center;
}
#scroll img {
	max-width:100%;
	margin-bottom:50px;
}

#portfolio {
	clear:both;
}
#portfolio a {
	float:left;
	overflow:hidden;
	background-color: rgba(15, 15, 15, 1);
    text-decoration:none;
    position:relative;
    left:0;
    top:0;
    display:block;
}
#portfolio a img {
	width:100%;
	opacity: 1;
	transform: scale(1);
	transition: top 0.2s ease 0s, left 0.2s ease-out 0s, opacity 0.2s ease-out 0s, transform 0.2s ease-out 0s;
}
#portfolio a:hover img,
#portfolio a:focus img {
	opacity: 0.3;
	transform: scale(1.3);
}
#portfolio a h2 {
    color: #fff;
    font-size: 28px;
    font-style: normal;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.4em;
    text-align:center;
    vertical-align: middle;
    position:absolute;
    top:30%;
    width:100%;
    opacity:0;
    transform: scale(1.3);
	transition: top 0.2s ease 0s, left 0.2s ease-out 0s, opacity 0.2s ease-out 0s, transform 0.2s ease-out 0s;
}
#portfolio a h2 small {
	display:block;
	font-size:0.6em;
	margin-top:10px;
	letter-spacing: 0.05em;
}
#portfolio a:hover h2,
#portfolio a:focus h2 {
    opacity:1;
    transform: scale(1);
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#lightbox {
	position:fixed;
	left:0;
	top:0;
	width:100vw;
	height:100vh;
	z-index:10000;
	background:rgba(0,0,0,0.8);
	display:none;
}
#lightbox iframe {
	border:none;
	background:#fff;
	width:950px;
	max-width:90vw;
	height:80%;
	position:absolute;
	left:50%;
	top:50%;
	transform:translate(-50%, -50%);
}

@media screen and (max-width:782px) {
	header,
	footer,
	#text,
	#nav,
	#scroll {
		position:static;
		margin:0 !important;
	}
	footer {
		text-align:center;
		clear:both;
	}
	footer a {
		float:none;
		font-size:32px;
		display:block;
	}
	footer a:first-child {
		margin-right:6px;
	}
	
	#sitetitle {
		margin:0 20px;
	}
	
	#content {
		margin:0;
	}
	
	#text {
		padding:0 20px;
		width:100% !important;
		box-sizing: border-box;
	}
	#nav {
		padding:30px 0;
	}
	
	#scroll {
		min-height:0 !important;
		box-sizing: border-box;
		padding:0 5px;
		max-width:100% !important;
	}
	
	#scroll img {
		margin:0 auto 5px auto;
	}
	
	.page #portfolio {
		display:none !important;
	}
	
	#portfolio a h2 {
	    opacity:1;
	    top:auto;
	    bottom:0;
	    background-color: rgba(15, 15, 15, 0.5);
	    margin:0;
	    padding:0.5em 0;
		transform: scale(1);
	}
	#portfolio a h2 small {
		display:none;
	}
	
	footer.footer1 a {
		border-left:none;
		padding:0;
	}
	
	#lightbox iframe {
		height:calc(100vh - 10vw);
	}
}

#lightbox {
	display:block;
	position: fixed;
	max-width: calc(50% + 17px);
	width:100%;
	height: 100%;
	left:auto;
	top: 0;
	right:0;
	opacity: 1;
	visibility: hidden;
	transition: all .9s cubic-bezier(.4,0,.2,1);
	transform: translateX(100%);
	z-index: -1;
	font-size:0;
	background:#fff;
}			
#lightbox.visible {
	z-index: 10000;
	visibility: visible;
	transform: translateX(0);
	opacity: 1;
}
#lightbox iframe {
	width:100%;
	height:100%;
	max-width:100vw;
}
@media screen and (max-width:782px) {
	#lightbox {
		max-width:100%;
	}
}
