/*************************************|
|*******         FONTS       *********|
**************************************/

@font-face {
    font-family: 'nexa';
    font-weight: bold;
    font-style: normal;

    src: url('../fonts/nexa_bold.eot');
    src: url('../fonts/nexa_bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/nexa_bold.woff2') format('woff2'),
    url('../fonts/nexa_bold.woff') format('woff'),
    url('../fonts/nexa_bold.ttf') format('truetype'),
    url('../fonts/nexa_bold.svg#nexa_boldregular') format('svg');
}
@font-face {
    font-family: 'nexa';
    font-weight: normal;
    font-style: normal;

    src: url('../fonts/nexa_light.eot');
    src: url('../fonts/nexa_light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/nexa_light.woff2') format('woff2'),
    url('../fonts/nexa_light.woff') format('woff'),
    url('../fonts/nexa_light.ttf') format('truetype'),
    url('../fonts/nexa_light.svg#nexa_lightregular') format('svg');
}


/*************************************|
|*******         RESET       *********|
**************************************/

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
.clearfix:after {
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;
    font-size: 0;
    content: ' ';
}
* html .clearfix {
    zoom: 1;
}
*:first-child + html .clearfix {
    zoom: 1;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
    border: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    font-family: 'nexa', sans-serif;
    line-height: 1;
    background-color: #2a4249;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}
a {
    transition: .4s all;
}
::-moz-selection {
    color: #fff;
    background: #352321;
}

::selection {
    color: #fff;
    background: #352321;
}

/*************************************|
|*******        GLOBAL       *********|
**************************************/

.fp-tableCell {
    vertical-align: top !important;
}
#fullpage {
    position: absolute !important;
    right: 0;
    width: calc(100% - 100px);
    height: 100%;
    min-height: 100vh;
    color: #fff;
}

h1 {
    font-size: 46px;
}
.yellow {
    color: #ffad00;
}
.f50px {
    font-size: 50px;
}
.f40px {
    font-size: 40px;
}
.f30px {
    font-size: 30px;
}
.f22px {
    font-size: 22px;
}
.triangle {
    position: fixed;
    width: 100%;
    height: 100vh;
    transition: .8s all;
    background-image: url(../img/triangle.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right bottom;
    background-size: 40%;
}
.large {
    background-size: 100%;
}

/*******************************|
|*******      MENU     *********|
********************************/

header {
    position: fixed;
    z-index: 11;
    left: 0;
    width: 100px;
    height: 100vh;
    transition: .4s all;
    background-color: #f7a800;
}
.header {
    position: fixed;
    z-index: 10;
    left: -100%;
    width: 25%;
    height: 100vh;
    display: table;
    transition: .4s all;
    background-color: rgba(221, 135, 12, .95);
}
.header_open {
    left: 100px;
}
.header_inner {
    display: table-cell;
    vertical-align: middle;
}
.header_inner a {
    padding: 25px;
    display: block;
    font-size: 26px;
    text-align: center;
    text-decoration: none;
    letter-spacing: .1em;
    color: #fff;
}
.header_inner a:hover {
    color: #ffb840;
    background-color: rgb(109, 66, 64);
}
.active a {
    font-weight: bold;
    color: white;
}
.logo {
    position: absolute;
    bottom: 0;
    width: 100%;
    width: 100px;
    padding: 20px;
    transition: .4s all;
}

/* NAV-ICON */
.navigation {
    position: absolute;
    width: 100%;
    margin-top: 20px;
    display: block;
    font-size: 30px;
    line-height: 0;
    cursor: pointer;
    text-align: center;
    color: #fff;
}
.nav-icon {
    width: 1em;
    display: inline-block;
    -webkit-transition: all .2s ease-in-out;
       -moz-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
    vertical-align: middle;
}
.nav-icon:after, .nav-icon:before, .nav-icon span {
    height: 3px;
    margin: 5px 0;
    display: block;
    font-size: 14px;
    content: '';
    -webkit-transition: all .2s ease-in-out;
       -moz-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    background-color: #342221;

        -ms-border-radius: 3px;
         -o-border-radius: 3px;
}
.open_nav.nav-icon:before {
    -webkit-transform: translateY(8px) rotate(135deg);
       -moz-transform: translateY(8px) rotate(135deg);
            transform: translateY(8px) rotate(135deg);
}
.open_nav.nav-icon:after {
    -webkit-transform: translateY(-8px) rotate(-135deg);
       -moz-transform: translateY(-8px) rotate(-135deg);
            transform: translateY(-8px) rotate(-135deg);
}
.open_nav.nav-icon span {
    -webkit-transform: scale(0);
       -moz-transform: scale(0);
            transform: scale(0);
}

/*************************************|
|*******        INTRO        *********|
**************************************/

.contact_txt a:hover {
    color: #fff;
}
.intro div > span {
    display: block;
}
.intro {
    font-weight: bold;
    background-image: url('../img/bg_feather.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 65%;
}
.intro_txt {
    position: absolute;
    bottom: 150px;
    left: 150px;
    line-height: 46px;
}
.intro_txt a {
    color: #ffad00;
}
.slide-hover span {
    position: relative;
    display: inline-block;
    text-decoration: underline;
}
.slide-hover span::before {
    position: absolute;
    left: 0;
    width: 0;
    overflow: hidden;
    content: attr(data-letters);
    -webkit-transition: width .5s;
            transition: width .5s;
    -webkit-transition-timing-function: cubic-bezier(.7,0,.3,1);
            transition-timing-function: cubic-bezier(.7,0,.3,1);
    white-space: nowrap;
    color: #fff;
}
.slide-hover:hover span::before {
    width: 100%;
}


/*************************************|
|*******       PROJECTS      *********|
**************************************/

.grid {
    font-size: 0;
}
.grid figure {
    position: relative;
    width: 33.333333%;
    display: inline-block;
    overflow: hidden;
    font-size: 18px;
    text-align: center;
}
.grid figure img {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    display: block;
}

.grid figure figcaption {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 100%;
    width: 35%;
    min-width: 165px;
    height: initial;
    padding: 20px;
    font-size: 16px;
    font-weight: bold;
    transition: transform .35s;
    text-decoration: none;
    text-transform: uppercase;
    color: #ffb840;
    background: #252d31;

    backface-visibility: hidden;
}
figure figcaption:hover {
    text-decoration: underline;
}
figure:hover figcaption {
    -webkit-transform: translate3d(-100%,0,0);
            transform: translate3d(-100%,0,0);
}


/*************************************|
|*******       CONTACT       *********|
**************************************/

.contact_txt {
    position: absolute;
    right: 150px;
    bottom: 150px;
    width: 50%;
    line-height: 75px;
    text-align: right;
}
.contact_txt a {
    transition: .4s all;
    color: #ffb840;
    /*word-break: break-all;*/
}
.contact_txt span, .contact_txt a {
    display: block;
}
.social a {
    display: inline-block;
    font-size: 36px;
    margin-left: 15px;
}

/*************************************************|
 **************   RESPONSIVE CSS    **************|
 *************************************************/


@media (max-width: 1100px) {
    .large {
        background-size: 100%;
    }
    .intro {
        background-size: 85%;
    }
    .intro_txt {
        bottom: 100px;
        left: 125px;
    }
    .grid figure {
        width: 50%;
    }
    .contact_txt {
        right: 125px;
        bottom: 125px;
        width: 60%;
        line-height: 60px;
    }
}

@media (max-width: 800px) {
    .triangle {
        background-size: 60%;
    }
    .header {
        width: 45%;
    }
    .f50px {
        margin-top: 20px;
        font-size: 35px;
        line-height: initial;
    }
    .intro_txt {
        bottom: 50px;
        left: 65px;
    }
    .contact_txt {
        right: 50px;
        bottom: 50px;
        width: calc(100%-50px);
        line-height: 40px;
    }
}

@media (max-width: 700px) {
    h1 {
        font-size: 40px;
    }
    .f30px {
        font-size: 24px;
    }
    .f22px {
        font-size: 20px;
    }
    .intro_txt {
        top: 50px;
        bottom: initial;
        left: 50px;
    }
}
@media (max-width: 600px) {
    .f50px {
        margin-top: 20px;
        line-height: initial;
    }
    .intro_txt {
        line-height: initial;
    }
    .intro div > span {
        margin: 20px 0;
    }
    .grid figure {
        width: 100%;
    }
    .grid figure figcaption {
        transform: translate3d(-100%,0,0);
    }
}

@media (max-width: 480px) {

    .fp-tableCell {
        vertical-align: middle !important;
    }
    .triangle {
        background-size: 80%;
    }
    .break {
        display: block;    
    }
    #fullpage {
        width: 100%;
        top: 50px;
    }
    h1 {
        font-size: 36px;
    }
    .f30px {
        font-size: 20px;
        line-height: initial;
    }
    .f40px {
        font-size: 24px;
    }
    header {
        width: 100%;
        height: 50px;
    }
    .header_open {
        left: 0;
    }
    .header {
        width: 100%;
        border: none;
    }
    .logo {
        height: 30px;
        padding: 0;
        top: 11px;
        right: 15px;
        width: initial;
    }
    .navigation {
        width: initial;
        margin-top: 11px;
        margin-left: 15px;
    }
    .intro_txt {
        top: 17px;
        left: 20px;
        padding: 0 15px;
        line-height: initial;
        position: initial;
    }
    .intro_txt > span {
        margin: 10px 0;
    }
    .projects {
        margin-bottom: 56px;
    }
    .contact_txt {
        position: initial;
        width: 100%;
        margin-top: -56px;
        padding: 25px 20px;
        text-align: left;
    }
    figure a {
        height: 56px;
        display: block;
    }
    .grid figure figcaption {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .intro_txt {
        position: initial;
        padding: 25px 30px;
    }
    .contact_txt a:hover {
        color: #f7a800;
    }
}
