/* Reset CSS */
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;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Box Model */
*,
*:before,
*:after {
    box-sizing: border-box;
}

/* Basic */
body {
    font: 300 22px/32px 'Lato', Arial, sans-serif;
    background-color: #f9f9f9;
    text-align: center;
}

b {
    font-weight: 700;
}
img {
    width: 100%;
}
ul, li {
    display: inline-block;
}
.section-image {
    line-height: 0;
}
h1, h2, h3, b {
    font-weight: 700;
}

/* Grid System */
.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.col-2-3:after,
.col-1-3:after {
    content: '';
    display: table;
    clear: both;
}
.col-2-3 {
    width: 70%; 
    margin-left: auto;
    margin-right: auto;
}
.col-1-3 {
    width: 100%;
}
.section-content {
    margin-top: 40px;
}
.section-content h2 {
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 20px;
}
.section-content p {
    font-size: 18px;
    line-height: 26px;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
        padding-left: 0;
        padding-right: 0;
    }
    .section-content {
        width: 66%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .section-content h2 {
        font-size: 32px;
        line-height: 42px;
        margin-bottom: 10px;
    }
    .section-content p {
        font-size: 22px;
        line-height: 32px;
    }
    
    .banner .section-image img {
        width: 450px;
    }
    .about .section-image img {
        width: 400px;
    }
    .skills .section-image img {
        width: 370px;
    }
    .responsive .section-image img {
        width: 400px;
    }
    .works .section-image img {
        width: 500px;
    }
    .contact .section-image img {
        width: 450px;
    }
}


@media (min-width: 992px) {
    .container {
        width: 970px;
    }
    .section-content {
        width: 41%;
    }
    .section-image {
        width: 59%;
    }
    body {
        text-align: left;
    }
    .col-2-3,
    .col-1-3 {
        float: left;
    }
    .col-2-3 {
    }
    .col-2-3 img {
        display: block;
        margin: 0 auto;
    }
    .col-1-3 {
        text-align: left;
    }  
    .banner .section-image img {
        width: 400px;
    }
    .about .section-image img {
        width: 400px;
    }
    .skills .section-image img {
        width: 400px;
    }
    .responsive .section-image img {
        width: 400px;
    }
    .responsive .section-content {
        margin-top: 70px;
    }
    .works .section-image img {
        width: 450px;
        margin-left: auto;
        margin-right: 0;
    }
    .contact .section-image img {
        width: 440px;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 970px;
    }
    .banner .section-image img {
        width: 500px;
        margin-left: auto;
        margin-right: 0;
    }
    .about .section-image img {
        width: 440px;
        margin-left: 0;
        margin-right: auto;
    }
    .skills .section-image img {
        width: 440px;
        margin-left: auto;
        margin-right: 0;
    }
    .responsive .section-image img {
        width: 440px;
        margin-left: 0;
        margin-right: auto;
    }
    .works .section-image img {
        width: 440px;
        
    }
    .contact .section-image img {
        width: 440px;
        margin-left: auto;
        margin-right: 0;
    }
}
/* Banner */
.banner nav {
    text-align: right;
    position: absolute;
    top: 0;
    right: 13px;
}
.menu-list {
    padding-top: 30px;
}
.menu-list li:first-of-type {
    margin-right: 25px;
}
.menu-list a {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.banner-content h1 {
    font-size: 36px;
    line-height: 46px;
    font-weight: 900;
    margin-bottom: 20px;
    margin-top: 70px;
}
.banner-content h2 {
    font-size: 28px;
    line-height: 38px;
    font-weight: 300;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .banner-content h1 {
        font-size: 44px;
        line-height: 1;
        margin-bottom: 30px;
    }
    .banner-content h2 {
        font-size: 36px;
        line-height: 46px;
    }
    .banner nav {
        right: 30px;
    }
}
@media (min-width: 992px) {
    .banner-content h1 {
        margin-top: 0;
    }
}
/* Buttons */
a.btn {
    display: inline-block;
    min-height: 40px;
    padding: 0 25px;
    border-radius: 3px;
    border: 1px solid #008dcf;
    background-color: #00a2ed;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    text-decoration: none;
}

/* Contact */
.contact .btn {
    margin-top: 20px;
}
 
/* Works */
.works-item {
    width: 70%;
    background-color: #fff;
    margin: 0 auto;
    border-radius: 3px;
    border: 1px solid #f2f2f2;
    padding-bottom: 30px;
}
.works-item:after {
    display: table;
    content: "";
    clear: both;
}
@media (min-width: 992px) {
    .works-item {
        background-color: inherit;
        border: none;
    }
}
.works-item-all {
    padding: 100px 0;
    background-color: #fff;
}
.works .col-2-3,
.works .col-1-3 {
    width: 100%;
}
.works-title {
    width: 100%;
    position: absolute;
    text-align: center;
    top: 20px;
    left: 0;
    margin-top: 30px;
    font-size: 26px;
    line-height: 26px;
}
.works .section-content h2 {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 0;
    color: #333;
}
.works .section-content h3 {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    color: #00a2ed;
    margin-bottom: 10px;
}
.works .section-content p {
    display: none;
}
.works .section-content p a {
    color: inherit;
}
.works .section-content {
    margin-top: 10px;
}

/* Landscape orientation for mobile devices */
@media (max-width: 720px) and (orientation: landscape) {
    body {
        text-align: left;
    }
    .col-2-3,
    .col-1-3 {
        float: left;
    }
    .col-2-3 {
        width: 40%;
    }
    .col-2-3 img {
        display: block;
        margin: 0 auto;
    }
    .col-1-3 {
        width: 60%;
        text-align: left;
    } 
    
    .works-item {
        
        padding-bottom: 0;
        text-align: center;
    }
    .works-title {
        margin-top: 0;
    }
    
    .works .section-content {
        width: 100%;
        background-color: #fff;
        margin: 0;
        padding: 20px 80px 30px;
        text-align: center;
    }
    .works-item-all {
        text-align: center;
        padding: 60px 0;
    }
    .works .section-image {
        display: none;
        width: 440px;
        margin-top: -27px;
    }
}

@media (min-width: 992px) {
    .works-item {
        width: 800px;
    }
    .works .col-2-3 {
        width: 50%;
        float: right;
    }
    .works .section-content h2 {
        font-size: 28px;
        line-height: 38px;
    }
    .works .section-content h3 {
        margin-bottom: 8px;
    }
    .works .section-content p {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 12px;
    }
    .section-content {
        padding: 30px;
    }
}
.contact small {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #333;
    position: absolute;
    bottom: 20px;
    left: 0;
}
.contact small a {
    text-decoration: underline;
    font-size: 12px;
    color: #333;
}
/* Socials */
.social-circle-link {
    border-radius: 100%;
    width: 60px;
    height: 60px;
    display: inline-block;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    color: #fff;
    background-color: #000;
    position: absolute;
    top: 36.3636%;
    left: 35%;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
}
.socials-image {
    width: 200px;
    height: 220px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.social-facebook {
    -webkit-transform: translate(70px, 40px);
        -ms-transform: translate(70px, 40px);
            transform: translate(70px, 40px);
    background-color: #05168a;
}
.social-twitter {
    background-color: #059cd5;
}
.social-vk {
    -webkit-transform: translate(70px, -40px);
        -ms-transform: translate(70px, -40px);
            transform: translate(70px, -40px);
    background-color: #052fa9;
}
.social-github {
    -webkit-transform: translate(0, 80px);
        -ms-transform: translate(0, 80px);
            transform: translate(0, 80px);
    background-color: #244241;
}
.social-instagram {
    -webkit-transform: translate(-70px, 40px);
        -ms-transform: translate(-70px, 40px);
            transform: translate(-70px, 40px);
    background-color: #73183f;
}
.social-codepen {
    -webkit-transform: translate(0, -80px);
        -ms-transform: translate(0, -80px);
            transform: translate(0, -80px);
    background-color: #082c2b;
}
.social-soundcloud {
    -webkit-transform: translate(-70px, -40px);
        -ms-transform: translate(-70px, -40px);
            transform: translate(-70px, -40px);
    background-color: #ff5f07;
}


@media (min-width: 768px) {
    .social-circle-link {
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 40px;
        top: calc(50% - 40px);
        left: calc(50% - 40px);
    }
    .socials-image {
        height: 300px;
        width: 260px;
    }
    .social-facebook {
        -webkit-transform: translate(90px, 60px);
            -ms-transform: translate(90px, 60px);
                transform: translate(90px, 60px);
    }
    .social-vk {
        -webkit-transform: translate(90px, -60px);
            -ms-transform: translate(90px, -60px);
                transform: translate(90px, -60px);
    }
    .social-github {
        -webkit-transform: translate(0, 110px);
            -ms-transform: translate(0, 110px);
                transform: translate(0, 110px);
    }
    .social-instagram {
        -webkit-transform: translate(-90px, 60px);
            -ms-transform: translate(-90px, 60px);
                transform: translate(-90px, 60px);
    }
    .social-codepen {
        -webkit-transform: translate(0, -110px);
            -ms-transform: translate(0, -110px);
                transform: translate(0, -110px);
    }
    .social-soundcloud {
        -webkit-transform: translate(-90px, -60px);
            -ms-transform: translate(-90px, -60px);
                transform: translate(-90px, -60px);
    }
}

@media (min-width: 992px) {
    
    .social-circle-link {
        width: 110px;
        height: 110px;
        line-height: 110px;
        font-size: 60px;
        top: calc(50% - 55px);
        left: calc(50% - 55px);
        transition: all .3s ease;
    }
    .socials-image {
        height: 390px;
        width: 350px;
    }
    .social-facebook {
        -webkit-transform: translate(120px, 70px);
            -ms-transform: translate(120px, 70px);
                transform: translate(120px, 70px);
    }
    .social-vk {
        -webkit-transform: translate(120px, -70px);
            -ms-transform: translate(120px, -70px);
                transform: translate(120px, -70px);
    }
    .social-github {
        -webkit-transform: translate(0, 140px);
            -ms-transform: translate(0, 140px);
                transform: translate(0, 140px);
    }
    .social-instagram {
        -webkit-transform: translate(-120px, 70px);
            -ms-transform: translate(-120px, 70px);
                transform: translate(-120px, 70px);
    }
    .social-codepen {
        -webkit-transform: translate(0, -140px);
            -ms-transform: translate(0, -140px);
                transform: translate(0, -140px);
    }
    .social-soundcloud {
        -webkit-transform: translate(-120px, -70px);
            -ms-transform: translate(-120px, -70px);
                transform: translate(-120px, -70px);
    }
    .social-circle-link:hover {
        transition: all .3s ease;
        transform: scale(1.2);
    }
    .social-facebook:hover {
        -webkit-transform: translate(120px, 70px) scale(1.3);
            -ms-transform: translate(120px, 70px) scale(1.3);
                transform: translate(120px, 70px) scale(1.3);
    }
    .social-vk:hover {
        -webkit-transform: translate(120px, -70px) scale(1.3);
            -ms-transform: translate(120px, -70px) scale(1.3);
                transform: translate(120px, -70px) scale(1.3);
    }
    .social-github:hover {
        -webkit-transform: translate(0, 140px) scale(1.3);
            -ms-transform: translate(0, 140px) scale(1.3);
                transform: translate(0, 140px) scale(1.3);
    }
    .social-instagram:hover {
        -webkit-transform: translate(-120px, 70px) scale(1.3);
            -ms-transform: translate(-120px, 70px) scale(1.3);
                transform: translate(-120px, 70px) scale(1.3);
    }
    .social-codepen:hover {
        -webkit-transform: translate(0, -140px) scale(1.3);
            -ms-transform: translate(0, -140px) scale(1.3);
                transform: translate(0, -140px) scale(1.3);
    }
    .social-soundcloud:hover {
        -webkit-transform: translate(-120px, -70px) scale(1.3);
            -ms-transform: translate(-120px, -70px) scale(1.3);
                transform: translate(-120px, -70px) scale(1.3);
    }
}

/* Arrow Controls! */
.fp-controlArrow.fp-prev {
    width: 26px;
    height: 86px;
    background: url('../images/icon-arrow-left.png');
    left: 15px;
    
}
.fp-controlArrow.fp-next {
    width: 26px;
    height: 86px;
    background: url('../images/icon-arrow-right.png');
    right: 15px;
}

@media (min-width: 480px) and (orientation: portrait) {
    .section-image {
        width: 60%;
    }
}
@media (max-width: 720px) and (orientation: landscape) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .works .section-content,
    .skills .section-content,
    .contact .section-content {
        float: left;
    }
    .works .section-image,
    .contact .section-image,
    .skills .section-image,
    .socials .section-content {
        float: right;
    }
    
    .section-content {
        margin-top: 0;
        margin-bottom: 0;
    }
    /* Banner */
    .banner-content h1 {
        margin-top: 0;
    }
    .banner-content h2 {
        margin-bottom: 0;
    }
    
    .about .section-content,
    .responsive .section-content,
    .works .section-content,
    .socials .section-content {
        padding-left: 30px;
    }
    .skills .section-content,
    .works .section-content,
    .works .section-image,
    .contact .section-content {
        padding-right: 30px;
    }
    .slide-box {
        width: 100%;
    }
    
    
    .works {
        text-align: center;
    }
    .socials .section-content,
    .socials .section-image {
        width: 50%;
    }
    .works .section-content {
        margin-top: 0;
    }
    
    .contact .section-image {
        width: 60%;
    }
    .contact .section-content {
        width: 40%
    }
    .contact img {
        width: 80%;
    }
    
    .menu-list {
        padding-top: 10px;
    }
    .contact small {
        text-align: right;
        padding-right: 30px;
    }
}
@media (min-width: 768px) {
    .fp-controlArrow.fp-prev {
        
    }
    .works-item {
        width: 440px;
    }
    .works-item .section-image img {
        width: 100%;
    }
}
@media (min-width: 992px) {
    .works .section-content,
    .skills .section-content,
    .contact .section-content {
        float: left;
    }
    .works .section-image,
    .contact .section-image,
    .skills .section-image,
    .socials .section-content {
        float: right;
    }
    .about .section-content,
    .responsive .section-content,
    .works .section-content,
    .socials .section-content {
        padding-left: 0;
    }
    .skills .section-content,
    .works .section-content,
    .works .section-image,
    .contact .section-content {
        padding-right: 0;
    }
    .works .section-content {
        background-color: #fff;
        margin: 0;
        min-height: 280px;
        width: 360px;
        padding: 30px;
        border: 1px solid #f2f2f2;
        position: relative;
        left: 30px;
        z-index: 1000;
        transition: all .4s ease;
    }
    
    .works-item-all {
        text-align: center;
    }
    .works .section-image {
         width: 440px;
        position: relative;
        z-index: 0;
        right: 30px;
        top: 27px;
        transition: all .4s ease;
    }
    .works-item:hover .section-image {
        right: -20px;
        transition: all .4s ease;
    }
    .works-item:hover .section-content {
        left: 0;
        transition: all .4s ease;
    }
    .works .section-content p {
        display: block;
    }
    .works-item {
        width: 800px;
    }
    
    .fp-controlArrow.fp-prev {
        left: 0;    
    }
    .fp-controlArrow.fp-next {
        right: 0;    
    }
}

/* Scroll down button */ 
.icon-arrow-vert {
    display: none;
}
@media (min-width: 768px) {
    .icon-arrow-vert {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    z-index: 10000;
    }
    .icon-arrow-vert:before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        width: 40px;
        height: 23px;
        background-size: cover;
        margin-right: 15px;
        animation-name: arrow-fade;
        animation-duration: 4s;
        animation-delay: 2s;
        animation-iteration-count: infinite;
    }
    .icon-arrow-down {
        bottom: 30px;
    }
    .icon-arrow-up {
        top: 30px;
    }
    .icon-arrow-down:before {

        background-image: url("../images/icon-arrow-down.png");

    }
    .icon-arrow-up:before {
        transform: rotate(180deg);
        background-image: url("../images/icon-arrow-down.png");

    }
    @keyframes arrow-fade {
        0% {opacity: 1;}
        50% {opacity: 0;}
        100% {opacity: 1;}
    }
}

.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999999;
	background: url('../images/loader.gif') 50% 50% no-repeat #fff;
    background-size: 64px 64px;
    text-align: center;
}
.loader span {
    margin-top: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}