@font-face {
    font-family: 'The-Constellation-of-Heracles';
    src: url(fonts/heracles.ttf) format("truetype");
}

@font-face {
    font-family: 'OpenSans-Light';
    src: url(fonts/light.ttf) format("truetype");
}

/* THE GROUNDWORK */

body {
    font-size: 14pt;
    font-family: Helvetica, Geneva, Arial, Verdana, sans-serif;
    color: #000000;
    line-height: 18pt;
    background-color: #f6f6f6 !important;
}

.clear {
    clear: both;
}

a {
    text-decoration: none;
    color: #f38c4b;
}

ul, li {
    list-style-type: none;
    margin: 0;
    margin-left: 0px;
}
/* BODY BORDER */


@media screen and (min-width: 720px) {
    html:before, html:after, body:before, body:after{
        content: "";
        background: #FFFFFF;
        position: fixed;
        display: block;
        z-index: 99;
    }

    html:before {
        height: 30px;
        left: 0;
        right: 0;
        top: 0;
    }

    html:after {
        width: 30px;
        top: 0;
        right: 0;
        bottom: 0;
    }

    body:before {
        height: 0px;
        right: 0;
        bottom: 0;
        left: 0;
    }

    body:after {
        width: 30px;
        top: 0;
        bottom: 0;
        left: 0;
    }
    
    #hamburger-nav, img.mobile-jake-photo, h1.aboutmobile, .mobile-paragraph, img.social-mobile {
        display: none;
    }
    .map {
        display: block;
    }
    
    
}

@media screen and (max-width: 720px) {



    nav {
        visibility: hidden;
    }
    
    #content {
        width: 90% !important;
    }
    
    .grid {
        padding: 5px !important;
    }
    footer {
        border-bottom: 0px !important;
    }
    .map {
        display: none !important;
    }
    form {
        width: 100% !important;
    }
    
    .fix {
        margin-top: 20px !important;
    }
    
    #mywork h1, #contactme h1, h1.aboutmobile {
        text-align: center !important;
        font-size: 6vw !important;
        font-family: 'Open Sans';
    letter-spacing: 1.2vw;
    text-transform: uppercase;
    color: #0c0c0c;
    font-weight: 300;
    }
    
    h1.aboutmobile {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    
    .me, .about-intro, .social {
        display: none !important;
    }
    
    img.mobile-jake-photo {
        width: 30vw !important;
        height: 30vw !important;
        border-radius: 30vw;
        -webkit-border-radius: 50vw;
        -moz-border-radius: 50 vw;
        border: 1.5vw solid #e8742c;
        left: 50%;
        -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%));
        position: relative;
    }
    
    .mobile-paragraph {
        text-align: justify;
        font-size: 2em;
        font-family: 'Lora';
        line-height: 2em;
        
    }
    
    .mobile-paragraph a {
    color: #e8742c;
    text-decoration: none;
}

.mobile-paragraph a:hover {
    border-bottom: 1px dotted #e8742c;
    font-weight: bold;
}
    
    img.social-mobile {
        float: left;
        width: 5vw;
        height: auto;
        margin: 6.2vw;
    }
}

/* NAV HEADER */

#hamburger-nav {
    position: fixed;
    top: 54px;
    right: 20px;
    z-index: 99;
    background-color: #FFFFFF;
}

@media screen and (max-width: 479px) {
    #hamburger-nav {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 99;
        background-color: #FFFFFF;
    }
}

/* NAV STYLING */



.navcontainer {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    z-index: 99 !important;
}
.navcontainer a {
    font-family: 'Open Sans', sans-serif;
    font-size: 20pt;
    text-transform: uppercase;
    line-height: 25pt;
    position: relative;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    color: #1B1B1B;
    display: table;
    margin: 50px 10px 50px 10px;
    width: auto;
    font-weight: 300;
}

.navcontainer a:hover {
    color: #1B1B1B;
}
.navcontainer a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;

  background-color: #000;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.navcontainer a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}


/* SECONDARY NAV */

nav {
    position: fixed;
    top: 30px;
    left: 30px;
    width: -webkit-calc(100% - 60px);
    width:    -moz-calc(100% - 60px);
    width:         calc(100% - 60px);
    height: 70px;
    line-height: 70px;
    z-index: 50 !important;
    display: none;
    background: url(images/nav_background.png);
}

nav img.left {
    float: left;
    height: 50px;
    width: auto;
    line-height: 70px;
    margin-left: 20px;
    margin-top: 10px;
}



nav a {
    font-family: 'Open Sans';
    font-weight: 300;
    font-size: 20px;
    line-height: 70px;
    color: #0c0c0c;
    text-decoration: none;
    margin-left: 50px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

nav a:hover, nav a.active {
    color: #e8742c !important;
    font-weight: 500;
    text-decoration: none !important;
}



/* SPLASH PAGE */


#logo {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);     
    z-index: 10 !important;
}

#logo img {
    width: 100%;
    height: auto;
}
#videocontainer {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    z-index: 10 !important;
    opacity: 0.1;
}

.video {
    min-width: 100%;
  min-height: 100%;
    position: absolute;
    left:0px;
    top: 0px;
    z-index: 10 !important;
}

#mobilebg {
display: none;
position: absolute;
background: url(mobilebg.jpg);
left: 0px;
top: 0px;
width: 100% !important;
height: 100% !important;
background-size: cover;
z-index: 5;
}

#gradient {
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 30%;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(246,246,246,0) 0%, rgba(246,246,246,1) 100%); 
    background: -webkit-linear-gradient(top, rgba(246,246,246,0) 0%,rgba(246,246,246,1) 100%); 
    background: linear-gradient(to bottom, rgba(246,246,246,0) 0%,rgba(246,246,246,1) 100%);
    z-index: 10 !important;
}

#mouse {
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: 100%;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);    
    z-index: 10 !important;
    text-align: center;
}

#mouse img {
    -webkit-animation: mover 2s infinite  alternate;
    -moz-animation: mover 2s infinite alternate;
    -o-animation: mover 2s infinite alternate;
    animation: mover 2s infinite  alternate;
    width: 5%;
    
}
@-webkit-keyframes mover, @-moz-keyframes mover, @-o-keyframes mover {
    0% { transform: translateY(0); 
        -ms-transform: translateY(0);
    -webkit-transform: translateY(0);    }
    100% { transform: translateY(-20px);
        -ms-transform: translateY(-20px);
    -webkit-transform: translateY(-20px);    }
}
@keyframes mover {
    0% { transform: translateY(0);
        -ms-transform: translateY(0);
    -webkit-transform: translateY(0);    }
    100% { transform: translateY(-20px); 
        -ms-transform: translateY(-20px);
    -webkit-transform: translateY(-20px);    }
}

@media screen and (max-width: 720px) {

#mouse img {
    -webkit-animation: mover 2s infinite  alternate;
    -moz-animation: mover 2s infinite alternate;
    -o-animation: mover 2s infinite alternate;
    animation: mover 2s infinite  alternate;
    width: 12%;
}

#logo {
    width: 80%;
}

#mobilebg {
display: block;
}

video {
display: none;
}

}


/* ABOUT */

.content {
    position: relative;
    left: 50%;
    top: 110px;
    width: 75%;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-family: 'Open Sans';
}

img.me {
    position:relative;
    bottom: 0;
    width: 33%;
    margin-left: -1.1vw;
}

.about-intro {
    float: right;
    width: 63%;
    font-family: 'Lora';
    font-size: 1.5vw;
    line-height: 2.6vw;
    text-align: justify;
}

.social {
    width: 100%;
    clear: both;
    background-color: #e8742c;
    padding: 10px;
}

a.resume {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    font-family: 'Open Sans';
    font-size: 18px;
    letter-spacing: .5vw;
    color: #FFF;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 300;
    width: auto;
    text-align: center;
    padding-left: .5vw;
    
}

a.resume:hover {
    color: #FFFFFF;
    background: #f38c4b;
    
}
.about-intro h1 {
    font-family: 'Open Sans';
    font-size: 2.5vw;
    letter-spacing: 1.2vw;
    text-transform: uppercase;
    color: #0c0c0c;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1.8vw;
}

.about-intro a {
    color: #e8742c;
    text-decoration: none;
}

.about-intro a:hover {
    border-bottom: 1px dotted #e8742c;
    font-weight: bold;
}
strong.orange {
    color: #e8742c;
    font-weight: 500;
}

a.socialicons {
    display: inline-block;
    text-decoration: none;
    height: 30px;
    width: 30px;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    margin-right: 30px;
    float: right;
}

a.socialicons:hover {
    background-color: #f38c4b;
}

.social img {
    width: 20px;
    height: 20px;
    margin-top: 5px;
}

.separate {
    position: relative;
    width: 100%;
    height: 5px;
    background: url(images/hr_background.png);
    clear: both;
    margin-top: 4vw;
    margin-bottom: 4vw;
}


/* MY WORK */

#mywork {
    position: relative;
    width: 100%;
}

#mywork h1 {
    font-family: 'Open Sans';
    font-size: 2.5vw;
    letter-spacing: 1.2vw;
    text-transform: uppercase;
    color: #0c0c0c;
    font-weight: 300;
    text-align: left;
}

.grid {
	padding: 20px 20px 100px 20px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.grid li {
	display: inline-block;
	max-width: 450px;
    width: 100%;
	margin: 0;
	padding: 20px;
	text-align: left;
	position: relative;
}

.grid figure {
	margin: 0;
	position: relative;
    border: 10px solid #FFF;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	background: #e8742c;
	color: #FFF;
}

.grid figcaption h3 {
	margin: 0;
	padding: 0;
	color: #fff;
    height: 30px;
    float: left;
    font-family: 'Open Sans';
    font-size: 14px;
    line-height: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    margin-top: -13px;
}


.cs-style-3 figure {
	overflow: hidden;
}

.cs-style-3 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(-20px);
	-moz-transform: translateY(-20px);
	-ms-transform: translateY(-20px);
	transform: translateY(-20px);
}

.cs-style-3 figcaption {
	height: 30px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}


span.tag {
    float: right;
    font-family: 'Lora';
    height: 30px;
    margin-top: -13px;
    line-height: 30px;
    font-size: 8px;
    color: #FFF;
    font-style: italic;
    text-transform: lowercase;
}
@media screen and (min-width: 1700px) {
    .grid li {
        max-width: 600px;
    }   
}
@media screen and (max-width: 1275px) {
    .grid li {
        max-width: 350px;
    }   
}

@media screen and (max-width: 1020px) {
    .grid li {
        max-width: 450px;
    }   
}

@media screen and (max-width: 500px) {
    span.tag {
        display: none;
    }
}

/* CONTACT */

#contactme {
    position: relative;
    width: 100%;
    display: table;
}

#contactme h1 {
    font-family: 'Open Sans';
    font-size: 2.5vw;
    letter-spacing: 1.2vw;
    text-transform: uppercase;
    color: #0c0c0c;
    font-weight: 300;
    text-align: left;
}

#contactme ul {
    margin-left:-40px !important;
    margin-top:30px;
}

#contactme li {
    margin-bottom: 20px;
}
#contactme textarea {
    background-color: #f6f6f6;
  display: block;
  margin: 0;
  width: 100%;
  font-family: "Open Sans", sans-serif;
    font-weight: 300;
  font-size: 18px;
    padding: 10px;
    border: 0;
     border-bottom: solid 2px #c9c9c9;
  -webkit-transition: border 0.3s;
  -moz-transition: border 0.3s;
  -o-transition: border 0.3s;
  transition: border 0.3s;
    height: 130px;
}

#contactme textarea:focus {
    border-bottom: solid 2px #e8742c;
}
input, textarea {
    background-color: #f6f6f6 !important;
}
input[type="text"], textarea, button {
  display: block;
  margin: 0;
  width: 100%;
  font-family: "Open Sans", sans-serif;
    font-weight: 300;
  font-size: 18px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  -ms-border-radius: none;
  -o-border-radius: none;
  border-radius: none;
    background-color: none;
     background-color: #f6f6f6;
}
input[type="text"]:focus {
  outline: none;
}


input[type="text"] {
  padding: 10px;
  border: none;
  border-bottom: solid 2px #c9c9c9;
  -webkit-transition: border 0.3s;
  -moz-transition: border 0.3s;
  -o-transition: border 0.3s;
  transition: border 0.3s;
}
input[type="text"]:focus, .style-4 input[type="text"].focus {
  border-bottom: solid 2px #e8742c;
}

button[type="submit"] {
    width: 100%;
    border: 0;
    background-color: #e8742c;
    text-align: center;
    font-size: 18px;
    font-family: 'Open Sans';
    color: #FFF;
    padding: 10px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

button[type="submit"]:hover {
    background-color: #f38c4b;
}
form {
    width: 50%;
    float: left;
    display: table-cell;
}

/* FOOTER */

footer {
    position: relative;
    top: 170px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 30px solid #FFF;
    font-family: 'Lora';
    font-size: 14px;
    font-style: italic;
    color: #aaaaaa;
}
/* SCROLL FADING */

.fade {
    opacity: 0;
}


