input[type="submit"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0px;
}

@font-face {
    font-family: ProximaNovaLight;
    font-weight: normal;
    src: url("fonts/Proxima-Nova-Light.otf") format("opentype");
}

@font-face {
    font-family: ProximaNovaBold;
    font-weight: bold;
    src: url("fonts/Proxima-Nova-Bold.otf") format("opentype");
}

@font-face {
    font-family: ProximaNovaSemibold;
    font-weight: normal;
    src: url("fonts/Proxima-Nova-Semibold.otf") format("opentype");
}

::-moz-selection {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
}

::selection {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
}
/*------------------ @body ------------------*/

body {
    margin-top:0px;
    color: #444948;
    width:100%;
    font: normal 16px/24px "ProximaNovaLight", "Helvetica Neue", Helvetica, sans-serif;
}

a {
    text-decoration: none;
    color: #214a64;
}

p strong {
    font-family: ProximaNovaSemiBold;
}

h1 {
    margin: 0 auto;
}

h1,
h1 a {
    width: 333px;
    height: 242px;
    display: block;
}

h1 a {
    text-indent: -9999px;
    border: 0;
}

#top {        background: #ffffff url(../img/backgound5.png) center top fixed;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    padding-top:20px;
    margin-top:0px;
}

header .jen {
    -webkit-animation-name: bounceInDown;
    -moz-animation-name: bounceInDown;
    -o-animation-name: bounceInDown;
    animation-name: bounceInDown;
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -o-animation-delay: 1s;
    animation-delay: 1s;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
}

header .avatar {
    display: block;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

header h2 {
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    display: block;
    font-size: 3em;
    line-height: 1em;
    padding-top: 20px;
}

header h2 span {
    display: block;
    font-size: 25px;
    padding-top: 20px;
    font-weight: normal;
    color: #ffffff;
    font-family: ProximaNovaLight;
    letter-spacing: 0.2em;
}

header .social {
    text-align: center;
    padding-top: 0;
}

header .social a {
    width: 50px;
    height: 50px;
    display: inline-block;
    text-indent: -999em;
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
    border: 0;
    -webkit-transition: all .2s ease-in-out;
    /* For Safari 3.1 to 6.0 */
    
    transition: all .2s ease-in-out;
}

.skills {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: 60px;
    display: none;
}

.skills li {
    border-top-style: solid;
    display: inline-block;
    width: 20%;
    position: absolute;
    bottom: 0;
    text-align: center;
}

.skills li.html {
    border-top-color: rgba(33, 74, 100, 1.0);
    border-top-width: 10px;
}

.skills li.scss {
    border-top-color: rgba(33, 74, 100, 0.8);
    border-top-width: 10px;
    left: 20%;
}

.skills li.js {
    border-top-color: rgba(33, 74, 100, 0.6);
    border-top-width: 7px;
    left: 40%;
}

.skills li.rails {
    border-top-color: rgba(33, 74, 100, 0.4);
    border-top-width: 4px;
    left: 60%;
}

.skills li.ios {
    border-top-color: rgba(33, 74, 100, 0.2);
    border-top-width: 4px;
    left: 80%;
}

#container {
    margin: 526px auto auto auto;
    width: 100%;
    background: #fff;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    z-index: 3;
    padding-top: 20px;
}

#container h2 {
    border-bottom: 1px solid #f4f3f3;
    display: block;
    width: 100%;
    font-weight: bold;
    padding: 0;
    margin: 0 0 20px 0;
    height: 50px;
}

#container h2 span {
    margin: 0;
    display: block;
    width: 780px;
    margin: 0 auto;
}

#container h2 span em {
    border-bottom: 1px solid #444948;
    font-style: normal;
    display: inline-block;
    padding: 20px 0;
    height: 10px;
}

#container h2 span em.lefty {
    float: left;
}

#container h2 span em.righty {
    float: left;
    margin-left: 380px;
}

.portfolio {
    width: 780px;
    overflow: hidden;
    margin: 0 auto;
    display: block;
    padding-bottom: 40px;
}

.portfolio section.thirds {
    width: 240px;
    float: left;
    overflow: hidden;
}

.portfolio section.thirds:nth-child(2) {
    padding-left: 30px;
    padding-right: 30px;
}

.portfolio section.thirds .item {
    width: 100%;
    margin-bottom: 30px;
    display: block;
}

.portfolio section.thirds img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio section.column {
    width: 375px;
    float: left;
    overflow: hidden;
}

.portfolio section.column:last-child {
    padding-left: 30px;
}

.portfolio section a {
    font-family: ProximaNovaSemiBold;
}

.portfolio section a.item {
    position: relative;
    display: block;
    width: 375px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 0;
}

.portfolio section .icon {
    margin-bottom: 30px;
}

.portfolio section a img {
    display: block;
}

#contact {
    clear: both;
    display: block;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 60px 0;
}

#contact form {
    display: block;
    overflow: hidden;
    width: 500px;
    margin: 0 auto;
}

#contact h2 {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 5px;
    color: #130E08;
    border-bottom: 0;
    height: auto;
}

#contact h3 {
    text-align: center;
    opacity: 0.7;
    display: block;
    padding-bottom: 20px;
}

form p {
    padding-top: 20px;
    margin-bottom: 40px;
    display: block;
    margin: 0 auto;
    border-bottom: 1px solid #444948;
}

input,
textarea,
select {
    border: 0;
    font: normal 14px/21px ProximaNovaSemiBold, "Helvetica Neue", Helvetica, sans-serif;
    padding: 10px 0;
    background: none;
    color: #444948;
    border-radius: 0;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
}

textarea {}

select {
    font-size: 12px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

input {
    resize: none;
}

input,
textarea {
    padding-left: 0.7em;
}

::-webkit-input-placeholder {
    color: #444948 !important;
    text-transform: uppercase;
    font-size: 12px;
}

:-moz-placeholder {
    color: #444948 !important;
    text-transform: uppercase;
    font-size: 12px;
}

div.button {
    padding-top: 60px;
}

#submit {
    display: block;
    border: 0;
    cursor: pointer;
    margin: 0 auto;
    color: #444948;
    border: 1px solid #444948;
    box-sizing: border-box;
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    padding: 20px 0;
    font-size: 1.3em;
    background: none;
    font: normal 14px ProximaNovaBold, "Helvetica Neue", Helvetica, sans-serif;
    text-align: center;
}

#submit:hover {
    background: #444948;
    color: #fff;
}

.error {
    border: 1px solid red;
}

select {}

label {
    display: none;
}

.message {
    height: 29px;
    font-size: 11px;
    line-height: 11px;
    padding: 17px 15px 0 15px;
    text-align: center;
    background: none;
    font: normal 14px ProximaNovaBold, "Helvetica Neue", Helvetica, sans-serif;
    text-transform: uppercase;
}

#success {
    border: 1px solid #5bbd72;
    color: #5bbd72;
}

#error {
    border: 1px solid red;
    color: red;
}

footer {
    width: 780px;
    display: block;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
    color: #3F372F;
    padding-bottom: 60px;
    position: relative;
    text-align: right;
}

footer p {
    padding-bottom: 0;
    font-size: 12px;
    margin: 0 auto;
    display: block;
    clear: both;
}

footer a {
    color: #4F4740;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

footer .twitter-share-button {
    position: absolute;
    left: 0;
}

footer .twitter-follow-button {
    position: absolute;
    left: 0;
}

#totop {
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 0.8em;
    text-transform: uppercase;
}
/* From animate.css */

@-webkit-keyframes bounceInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateY(30px);
    }
    80% {
        -webkit-transform: translateY(-10px);
    }
    100% {
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes bounceInDown {
    0% {
        opacity: 0;
        -moz-transform: translateY(-2000px);
    }
    60% {
        opacity: 1;
        -moz-transform: translateY(30px);
    }
    80% {
        -moz-transform: translateY(-10px);
    }
    100% {
        -moz-transform: translateY(0);
    }
}

@-o-keyframes bounceInDown {
    0% {
        opacity: 0;
        -o-transform: translateY(-2000px);
    }
    60% {
        opacity: 1;
        -o-transform: translateY(30px);
    }
    80% {
        -o-transform: translateY(-10px);
    }
    100% {
        -o-transform: translateY(0);
    }
}

@keyframes bounceInDown {
    0% {
        opacity: 0;
        transform: translateY(-2000px);
    }
    60% {
        opacity: 1;
        transform: translateY(30px);
    }
    80% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@media only screen and (max-width: 667px) {
    footer,
    #contact form,
    #container,
    #container h2 span {
        width: 100%;
        box-sizing: border-box;
    }
    #header {
        height:auto;
        
    }
    #top {
        margin-top:0px;
        margin-bottom: 0;
        width:100%;
        height:auto;
    }
    header .avatar {
    border-radius: 50%;
    width: 150px;
    height: 150px;    
    }
    .jen {
    display: block;
    margin: 0 auto;
}
    
    header h2 {
    text-transform: uppercase;
    color: #ffffff;
        width:auto;
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    padding-top: 10px;
}

header h2 span {
    font-size: 15px;
    padding-top: 20px;
    width:auto;
    font-weight: normal;
    color: #ffffff;
    font-family: ProximaNovaLight;
    letter-spacing: 0.2em;
}
    footer {
        padding-top: 0;
        padding-bottom: 10px;
    }
    #container,
    #contact form {
        padding-left: 10px;
        padding-right: 10px;
    }
    #container {
    margin: 400px auto auto auto;
        position:relative;
    padding-top:10px;
    width: 100%;
    }
    section.ethos,
    #totop,
    #container h2 span em.righty {
        display: none;
    }
    div.button {
        padding-top: 10px;
    }
    #header .jen {
        position:fixed;
    }
    header h2 span {
        padding-top: 0;
        padding-bottom: 20px;
    }
}