/* Reset - HTML5 Doctor */
a,hr{padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,hr,menu,nav,section{display:block}abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:0 0}ins,mark{background-color:#ff9;color:#000}body{line-height:1}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}a{margin:0;font-size:100%;vertical-align:baseline;background:0 0}ins{text-decoration:none}mark{font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{height:1px;border:0;border-top:1px solid #ccc;margin:1em 0}input,select{vertical-align:middle}

@font-face {
    font-family: 'amaranthregular';
    src: url('fonts/amaranth-regular-webfont.eot');
    src: url('fonts/amaranth-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/amaranth-regular-webfont.woff2') format('woff2'),
         url('fonts/amaranth-regular-webfont.woff') format('woff'),
         url('fonts/amaranth-regular-webfont.ttf') format('truetype'),
         url('fonts/amaranth-regular-webfont.svg#amaranthregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

*, *:before, *:after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

body {
	font-family: 'amaranthregular', helvetica, arial, sans-serif;
	font-size:10px;
	height: 100%;
}

.group:before,
.group:after {
    content: "";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}



.full-width  {
	width: 100%;
}

.content-container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

#main {
	height: calc(100vh - 10em);
	background: url(../img/background.jpg) 50% 50% no-repeat;
	background-size: cover;
}
#footer {
	width: 100%;
	height: 6.4em;
	background:#376c68;
	color:#000;
	position: relative;
	border-top: 3.6em solid #000;
	box-sizing:content-box;
}
h1{
	line-height: 1.8em;
	font-size: 3.6em;
	font-weight: normal;
	margin-left:.5em;
}
#copyright {
	position: absolute;
	top: 0;
	right:1em;
	font-size:1.8em;
	line-height: 3.6em;
}

#links {
	position: absolute;
	top: 0;
	right: 0;
	margin: 40px 32px 0 0;
}

.link {
	display:inline-block;
	margin:0 12px;
}

#portfolio {
	position:relative;
	top:-2px;
}

#email {
	margin-right: 0;
}
.email-text {
	color:#000;
    display: block;
    opacity: 0;
    width: 88.6%;
    margin: 0 auto;
    position: relative;
    font-size: 20px;
    text-align: center;
    z-index: 2;
    cursor: text;
    pointer-events: none;
    padding: 18px 26px;
    background: #376c68;
    -webkit-transform: translate3d(0,-10px,0);
    -ms-transform: translate3d(0,-10px,0);
    -o-transform: translate3d(0,-10px,0);
    transform: translate3d(0,-10px,0);
    -webkit-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
}

#email-link:hover + .email-text {
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	position:relative;
	opacity: 1;
	z-index:10;
	pointer-events: all;
}

.email-text:hover {
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	position:relative;
	opacity: 1;
	z-index:10;
	pointer-events: all;
}

@media only screen and (max-width: 1100px) {
	#main {
		height: calc(100vh - 92px);
	}
	#footer {
		height: 60px;
		border-top: 32px #000 solid;
	}
	h1{
		line-height: 60px;
		font-size: 30px;
	}
	#copyright {
		line-height: 60px;
		font-size:1.8em;
	}
}

@media only screen and (max-width: 950px) {
	#main {
		height: calc(100vh - 82px);
	}
	#footer {
		height: 60px;
		border-top: 22px #000 solid;
	}
	h1{
		font-size: 24px;
	}
	#copyright {
		font-size:14px;
	}
}

@media only screen and (max-width: 850px) {
	#main {
		height: calc(100vh - 68px);
		background-position: 25% 50%;
	}
	#footer {
		height: 50px;
		border-top: 18px #000 solid;
	}
	h1{
		line-height: 50px;
		font-size: 21px;
	}
	#copyright {
		line-height: 50px;
	}
}

@media only screen and (max-width: 750px) {
	#main {
		height: calc(100vh - 68px);
	}
	#footer {
		height: 60px;
		border-top: 8px #000 solid;
	}
	h1{
		line-height: 1em;
		font-size: 21px;
		text-align: center;
		margin:10px 0 5px;
	}
	#copyright {
		color:#000;
		line-height: 1em;
		position: relative;
		text-align: center;
		font-size: 12px;
	}
}

@media only screen and (max-width: 550px) {
	#links {
	    display: inline-block;
	    width: 100%;
	    position: relative;
	    margin: 30px 0 0;
	    text-align: center;
	}
	.link {
	    display: inline-block;
    	text-align: center;
	}
	.email-text {
		width:225px;
	}

	.link img {
		max-width: 60px;
		height: auto;
	}
	h1{
		font-size: 17px;
	}
}

@media only screen and (max-width: 450px) {
	h1{
		line-height: 1em;
		font-size: 14px;
		text-align: center;
		margin:12px 0 7px;
	}
	#copyright {
		color:#000;
		line-height: 1em;
		position: relative;
		text-align: center;
		font-size: 10px;
	}
}

@media only screen and (max-width: 350px) {
	h1{
		line-height: 1em;
		font-size: 12px;
		text-align: center;
		margin:12px 0 7px;
	}
	#copyright {
		color:#000;
		line-height: 1em;
		position: relative;
		text-align: center;
		font-size: 8px;
	}
}