/* ----------------------------- General */

body {
    font-size: 20px;
    line-height: 1.8;
    color: rgb(75, 80, 76);
    font-family: 'Comfortaa', cursive;
    overflow-x: hidden;
}

p {
    font-size: 16px;
    color: #4b504c;
}

h2,
h3 {
    color: #4b504c;
}

h3 {
    font-size: 24px;
}

.sectionTitle {
    text-align: left;
    margin: 70px 0;
    font-size: 20px;
    letter-spacing: 5px;
    text-transform: lowercase;
    color: #316f5b;
}

.main.sectionTitle {
    text-align: left;
    font-size: 40px;
    margin: 70px 0;
}

.container {
    width: 800px;
}


* {
    /*text-transform: lowercase !important;*/
}






/* ----------------------------- Preloader */

.preloader {
    position: fixed;
    background-color: #f1f1f1;
    height: 100vh;
    width: 100vw;
    z-index: 10000;
}

.preloader .icon {
    height: 8vw;
    width: 8vw;
    max-height: 150px;
    max-width: 150px;
    position: relative;
    margin: auto;
    top: calc(50vh - (10vw/2));
    z-index: 0;
}

.preloader .wheel {
    height: 100%;
    width: 100%;
    border-radius: 10vw;
    box-shadow: inset 0 0 0 1vw #316f5b;
    animation: mIcon 1s ease-out forwards;
    position: relative;
}

.preloader .tyre {
    height: 100%;
    width: 100%;
    border-radius: 10vw;
    box-shadow: inset 0 0 0 1vw #333;
    animation: m360deg 4s linear forwards infinite;
    -webkit-animation: m360deg 4s linear forwards infinite;
}


.preloader .rim {
    height: 94%;
    width: 94%;
    position: relative;
    top: 3%;
    left: 3%;
    border-radius: 10vw;
    animation: mIRim 1s ease-out forwards;
    -webkit-animation: mIRim 1s ease-out forwards;
}

.preloader .rim * {
    position: absolute;
}


.preloader .iCentre {
    height: 10%;
    width: 10%;
    top: 45%;
    right: 45%;
    border: 0.1vw dotted #333;
    border-radius: 1vw;
}


.preloader .iCrank {
    height: 100%;
    width: 100%;
    background: #333;
    border-radius: 1vw;
}


.preloader .iSpokes {
    height: 100%;
    width: 1%;
    left: 49.5%;
    z-index: -1;
}


.preloader .iSpoke {
    width: 100%;
    background: #333;
    border-radius: 1vw;
    animation: mISpoke 2s ease-in-out forwards;
    -webkit-animation: mISpoke 2s ease-in-out forwards;
}

.preloader .shadow {
    position: relative;
    border-radius: 100%;
    animation: mShadow 1s ease-out forwards;
    -webkit-animation: mShadow 1s ease-out forwards;
}


















/* ----------------------------- Navbar */

.navbar {
    padding: 25px 0 15px;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    font-size: 12px;
    letter-spacing: 5px;
}

.nav.navbar-nav {
    margin-top: 5px;
}

.navbar-nav li a:hover {
    color: #1abc9c !important;
}

.navbar-default {
    border-color: #e7e7e7;
    position: fixed;
    width: 100%;
    transition: all 0.7s;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
}

.navbar-default.condensed {
    padding: 5px 0;
}

.navbar-default .navbar-nav>li>a {
    text-align: center;
}


/* Menu icon */

.navbar-header .navbar-toggle {
    transition: background 0.5s;
}

.navbar-header .navbar-toggle:hover {
    background-color: #ddd;
}

.navbar-header .icon-bar {
    transition: opacity 0.2s, position 0.3s, transform 0.3s ease-out, left 0.1s;
}

.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 7.5px;
}

.navbar-header .icon-bar {
    transform: rotate(0deg);
    transform-origin: 100% 50%;
    position: relative;
    left: 0;
}

.navbar-header .clicked .icon-bar.top {
    transform: rotate(-45deg);
    left: -4.5px;
}

/*.navbar-header .icon-bar.top:hover {
    transform: rotate(-50deg);
}*/

.navbar-header .clicked .icon-bar.middle {
    opacity: 0;
    transform: translateX(300%);

}

.navbar-header .clicked .icon-bar.bottom {
    transform: rotate(45deg);
    left: -4.5px;

}





















/*@keyframes logo {
    0% {
        color: #28596c;
    }
    35% {
        color: #afb9bd;
    }
    70% {
        color: #fbfbfb;
    }
    100% {
        color: #28596c;
    }
}*/

.container>.navbar-header {
    background: #fbfbfb;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    /*box-shadow: 2px 2px 5px 0px lightgrey;*/
}

.navbar-default .navbar-brand {
    margin: 2.5px !important;
    /*padding: 20px 30px;*/
    padding: 0;
    width: 55px;
    height: auto;
    transition: margin 0.2s, width 0.2s;
    /*letter-spacing: 0px;*/
    /*font-size: 25px;*/
    /*color: #28596c;*/
    /*animation: logo 4s linear infinite 2s alternate;*/
}

.navbar-default .navbar-brand .logo {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.navbar-default.condensed .navbar-brand:hover {
    width: 60px;
    margin: 0 !important;
}
























/* navbar links */

.nav-link.underline {
    color: #316f5b !important;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: box-shadow 0.5s;
    -webkit-transition: box-shadow 0.5s;
    -moz-transition: box-shadow 0.5s;
    font-size: 15px;
    letter-spacing: 5px;
    box-shadow: 0px 0px 0px 0px transparent;
    text-transform: lowercase;
    text-shadow: 0px 6px 2px #bbb;

    /*border-bottom: 3px solid #f8f8f8;*/
}

.nav-link.underline:hover {
    color: #28453c !important;
    box-shadow: 0px 24px 0px -21px #e7e7e7;
    /*border-bottom-color: #e7e7e7;*/
}

.nav-link.underline.active {
    animation: bottomShadow 0.2s linear 1;
    -webkit-box-shadow: 0px 3px 0px 0 #aaa;
    -moz-box-shadow: 0px 3px 0px 0 #aaa;
    box-shadow: 0px 3px 0px 0 #aaa;
    text-shadow: 0 0 0;
}

.nav-link.underline a {
    color: #316f5b !important;
}

.nav-link.underline a:hover,
.nav-link.underline a.active {
    color: #28453c !important;
}




/* ----------------------------- Containers*/

.margin {
    margin-bottom: 45px;
}

.container-fluid {
    padding-top: 100px;
    padding-bottom: 70px;
    position: relative;
    z-index: 1;
    background-color: white;
}





/* ----------------------------- Graphics */

.container-fluid.bg-1 {
    background-color: #f8f8f8;
    height: 100vh;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}

.container-fluid.bg-1 .container {
    padding: 0;
    height: 100%;
    width: 100%;
}


.container-fluid .background {
    height: 100%;
    width: 100%;
    /*background-color: #eee;*/
    position: relative;
    z-index: 0;
    overflow: hidden;
    -webkit-overflow: hidden;
}



.background .sky {
    height: 65%;
}



/* Birds */

.background .land .birds {
    /*position: fixed;*/
    z-index: 0;
}


.background .land .bird {
    height: 3vw;
    width: 0.5vw;
    max-height: 6vh;
    max-width: 3.38vh;
    position: absolute;
    animation: m45deg 100s linear forwards infinite;
    -webkit-animation: m45deg 100s linear forwards infinite;
}

.background .bird>div {
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: lightgrey;
    border-radius: 70%;
    transform-origin: 50% 99%;
    animation: 2s cubic-bezier(.15, .94, .41, 1.09) alternate forwards infinite;
    animation-delay: inherit;
    -webkit-animation: 2s cubic-bezier(.15, .94, .41, 1.09) alternate forwards infinite;
    -webkit-animation-delay: inherit;
}

.background .bird .left {
    animation-name: mWingL;
}

.background .bird .right {
    animation-name: mWingR;
}






/* Clouds */

.background .clouds {
    position: fixed;
    z-index: -2;
}

.background .cloud {
    /*background-color: lightgrey;*/
    height: calc(4vh + 2vw);
    width: 10vw;
    position: absolute;
    animation: m45deg 100s linear forwards infinite;
    -webkit-animation: m45deg 100s linear forwards infinite;
}

.background .cloud>div {
    background-color: #d0ebf5b3;
    height: 50%;
    border-radius: 50px;
}


.background .cloud .top {
    width: 60%;
    margin-left: 7%;
}

.background .cloud .bottom {
    width: 100%;
}












/* Ground */

.background .land .ground {
    background-color: #c4ddc2;
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 100%;
}




/* Mountains */

.background .land {
    position: relative;
    height: 160vw;
    width: 160vw;
    left: -30vw;
}

.background .land .mounts {
    position: absolute;
}

.background .land .mount {
    position: absolute;
    height: 30vw;
    width: 30vw;
    animation: m45deg 60s linear forwards infinite;
    -webkit-animation: m45deg 60s linear forwards infinite;

    /*transform: rotate(-45deg);*/
}

.background .mount .inner {
    height: 100%;
    width: 100%;
    border-radius: 2vw;
    background-color: grey;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}











/* Trees */

.background .land .trees {
    position: absolute;
    width: 100%;
}

.background .land .tree {
    position: absolute;
    width: 6vw;
    height: calc(3vw + 6vh);
    animation: m45deg 40s linear forwards infinite;
    -webkit-animation: m45deg 40s linear forwards infinite;
}


.background .land .tree .leaves {
    height: 100%;
    width: 100%;
    border-radius: 10vw;
    background-color: #78b378;
}

.background .land .tree .trunk {
    height: 8%;
    width: 6%;
    background-color: #7d6f6f;
    position: relative;
    margin: 0 auto;
}

.bg-1 .intro {
    position: relative;
    z-index: 1;
    top: -65vh;
    cursor: default;
}

.bg-1 .intro .margin {
    margin-bottom: 1.2em
}

.row.showcase .col-sm-4:nth-of-type(3n+1) {
    background-color: rgba(0, 255, 0, 0.05);
}

.row.showcase .col-sm-4:nth-of-type(3n+2) {
    /*background-color: lightblue;*/
    background-color: rgba(0, 0, 255, 0.05);
}

.row.showcase .col-sm-4:nth-of-type(3n) {
    /*background-color: pink;*/
    background-color: rgba(255, 0, 0, 0.05);
}





/* Bike */

.background .land .bike {
    width: 16vw;
    height: 8vw;
    position: relative;
    left: 72vw;
    top: 3vw;
    z-index: 0;
    /*
    animation: mBike 2s ease-in-out alternate forwards infinite;
    -webkit-animation: mBike 2s ease-in-out alternate forwards infinite;*/
}



.background .bike * {
    position: absolute;
}


.background .bike>* {
    width: 100%;
    height: 100%;
}




/* Wheels */

.background .wheels .wheel {
    width: 50%;
    height: 100%;
    border: 0.9vw solid #333;
    border-radius: 10vw;
    position: relative;
    animation: m360deg 4s linear forwards infinite;
    -webkit-animation: m360deg 4s linear forwards infinite;
}


.background .wheels .wheel.front {
    float: right;
    right: -10%;
}


.background .wheels .wheel.back {
    float: left;
    left: -10%;
}


.background .wheel .centre {
    height: 10%;
    width: 10%;
    top: 45%;
    left: 45%;
}


.background .centre .spoke {
    width: 1px;
    height: 1000%;
    background: #777;
    margin: -450% calc(50% - (1px / 2));
}


.background .centre .crank {
    background: #444444;
    width: 100%;
    height: 100%;
    border-radius: 1vw;
}






/* Frame */

.background .frame>* {
    height: 100%;
    width: 100%;
}

.background .frame>*>* {
    background: #316f5b;
    border-radius: 10vw;
}


.background .front>* {
    float: right;
}

.background .front .fork {
    height: 90%;
    width: 3%;
    right: 13%;
    top: -38%;
    transform: rotate(-20deg);
    transform-origin: 50% 100%;
    -webkit-transform: rotate(-20deg);
    -webkit-transform-origin: 50% 100%;
}


.background .front .handle {
    position: relative;
    width: 15%;
    height: 6%;
    top: -33%;
    right: 16%;
    background-color: #333;
}


.background .handle .tip {
    width: 35%;
    height: 100%;
    position: relative;
    float: right;
    right: -29%;
    transform: rotate(-20deg);
    transform-origin: 0% 50%;
    -webkit-transform: rotate(-30deg);
    -webkit-transform-origin: 0% 100%;
    background: inherit;
    border-radius: 0 1vw 1vw 0;
}


.background .back .saddle {
    height: 0;
    width: 10%;
    left: 20%;
    top: -46%;
    -webkit-transform: rotate(7deg);
    -webkit-transform-origin: 50% 100%;
    transform: rotate(7deg);
    transform-origin: 50% 100%;
    border-top: 0.9vw solid #333;
    border-left: 0.7vw solid transparent;
    border-right: 2.9vw solid transparent;
    background-color: transparent;
    border-radius: 4vw;
    z-index: 2;
}


.background .middle .rod-1 {
    height: 6%;
    width: 43%;
    left: 31%;
    top: -20%;
}


.background .middle .rod-2 {
    height: 6%;
    width: 43%;
    left: 43.5%;
    top: 48.5%;
    transform: rotate(-45deg);
    transform-origin: 0% 50%;
    -webkit-transform: rotate(-45deg);
    -webkit-transform-origin: 0% 50%;
}


.background .middle .rod-3 {
    height: 6%;
    width: 31%;
    left: 13.5%;
    top: 47%;
}



.background .middle .rod-4 {
    height: 100%;
    width: 3%;
    left: 43%;
    top: -47%;
    -webkit-transform: rotate(-20deg);
    -webkit-transform-origin: 50% 100%;
    transform: rotate(-20deg);
    transform-origin: 50% 100%;
    z-index: 0;
}


.background .back .rod-1 {
    height: 71%;
    width: 3%;
    left: 12.5%;
    top: -19%;
    -webkit-transform: rotate(33deg);
    -webkit-transform-origin: 50% 100%;
    transform: rotate(33deg);
    transform-origin: 50% 100%;
}



.background .middle .crank {
    height: 28%;
    width: 14%;
    background-color: transparent;
    border: 0.3vw solid #333;
    top: 36%;
    left: 37%;
}


.background .crank .right,
.background .crank .left {
    z-index: 1;
    height: 100%;
    width: 100%;
}


.background .crank .left {
    z-index: -1;
}


.background .crank .arm {
    z-index: 0;
    height: 120%;
    width: 12%;
    background-color: #777;
    top: 48%;
    left: 44%;
    border-radius: 1vw;
    transform-origin: 50% 2%;
    -webkit-transform-origin: 50% 2%;
    animation: m360deg 6s linear forwards infinite;
    -webkit-animation: m360deg 6s linear forwards infinite;
}

.background .crank .left .arm {
    /*z-index: 1;*/
    -webkit-animation-delay: -3s;
    animation-delay: -3s;
}

.background .crank .pedal {
    height: 20%;
    width: 60%;
    left: 20%;
    top: 160%;
    transform-origin: 50% -550%;
    -webkit-transform-origin: 50% -550%;
    animation: m360deg 6s linear forwards infinite;
    -webkit-animation: m360deg 6s linear forwards infinite;
}

.background .crank .left .pedal {
    z-index: -1;
    -webkit-animation-delay: -3s;
    animation-delay: -3s;
}


.background .pedal .inner {
    height: 100%;
    width: 100%;
    background: #333;
    border-radius: 1vw;
    transform-origin: 50%;
    -webkit-transform-origin: 50%;
    animation: m360deg 6s linear reverse infinite;
    -webkit-animation: m360deg 6s linear reverse infinite;
}


.intro b {
    color: #316f5b;
    font-size: larger;
}






/* ------------------------ About me */


/* Skills circle */

.s-expertise .e-exprts {
    text-align: center;
    cursor: pointer;
    border-bottom: 4px solid #f9f9f9;
    transition: border 0.5s;
}

.s-expertise .e-exprts:hover,
.s-expertise .e-exprts.clicked {
    border-bottom: 4px solid #e0e0e0;
}

.s-expertise .e-img {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.s-expertise .e-circle-icon {
    width: 100%;
    height: 100%;
    border: 4px solid lightgrey;
    display: table;
    border-radius: 50px;
    box-shadow: 0px 0px 0px 2px lightgrey;
    -webkit-box-shadow: 0px 0px 0px 2px lightgrey;
    z-index: -1;
}





.s-expertise .e-circle-level {
    width: 100px;
    height: 100px;
    border: 2px solid grey;
    position: absolute;
    border-radius: 50px;
    top: 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border-color: transparent;
}


.s-expertise .e-circle-level.level-0 {
    border-bottom-color: #316f5b;
    border-left-color: #316f5b;
    /*display: none;*/
    z-index: 0;
    -webkit-z-index: 0;
}

.s-expertise .e-circle-level.level-1 {
    border-bottom-color: lightgrey;
    border-left-color: lightgrey;
    /*display: none;*/
    z-index: 1;
    -webkit-z-index: 1;
    border-width: 4px;
    box-shadow: 0 0 0 2px lightgrey;
    -webkit-box-shadow: 0 0 0 2px lightgrey;
}

.s-expertise .e-circle-level.level-2 {
    border-top-color: #316f5b;
    border-right-color: #316f5b;
    /*display: none;*/
    z-index: 2;
}

.s-expertise .e-circle-level.level-3 {
    border-top-color: lightgrey;
    border-right-color: lightgrey;
    /*display: none;*/
    z-index: 3;
    -webkit-z-index: 3;
    border-width: 4px;
    box-shadow: 0 0 0 2px lightgrey;
    -webkit-box-shadow: 0 0 0 2px lightgrey;
}

.s-expertise .e-circle-level.rotate-l3.animate {
    animation: rotate-l3 1.5s cubic-bezier(.58, .09, 1, .11) forwards;
    -webkit-animation: rotate-l3 1.5s cubic-bezier(.58, .09, 1, .11) forwards;
}

.s-expertise .e-circle-level.rotate-l1-web.animate {
    animation: rotate-l1-web 1.5s cubic-bezier(.39, .58, .57, 1) 1.5s forwards;
    -webkit-animation: rotate-l1-web 1.5s cubic-bezier(.39, .58, .57, 1) 1.5s forwards;
}

.s-expertise .e-circle-level.rotate-l1-vid.animate {
    animation: rotate-l1-vid 1.5s cubic-bezier(.39, .58, .57, 1) 1.5s forwards;
    -webkit-animation: rotate-l1-vid 1.5s cubic-bezier(.39, .58, .57, 1) 1.5s forwards;
}

.s-expertise .e-circle-level.rotate-l1-ill.animate {
    animation: rotate-l1-ill 1.5s cubic-bezier(.39, .58, .57, 1) 1.5s forwards;
    -webkit-animation: rotate-l1-ill 1.5s cubic-bezier(.39, .58, .57, 1) 1.5s forwards;
}

.s-expertise .e-icon {
    vertical-align: middle;
    display: table-cell;
}

.s-expertise .e-icon img {
    width: 50px;
}

.s-expertise .e-techs {
    text-align: left;
    margin-top: 20px;
    /*display: none;*/
}

.s-expertise .e-techs li {
    margin-bottom: 0px;
    opacity: 0;
    height: 0;
    list-style: none;
    font-size: 15px;
    transition: opacity 0.5s, height 0.6s, margin 0.5s;
    /*-webkit-transition: opacity 1s;*/
}

.s-expertise .e-techs li.clicked {
    margin-bottom: 10px;
    height: 20px;
    opacity: 1;
}



.s-expertise .t-show .arrow {
    height: 30px;
    width: 30px;
    cursor: pointer;
    position: relative;
    border: solid #316f5b;
    border-style: solid;
    border-width: 0 5px 5px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    animation: showTechs 1s ease-in-out infinite alternate;
    -webkit-animation: showTechs 1s ease infinite alternate;
    transition: border 0s, transform 0.2s, width 0.1s;
    -webkit-transition: border 0s, transform 0.2s, width 0.1s;
}


.s-expertise .t-show .arrow:hover {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    top: 10;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}



.s-expertise .t-show .arrow.clciked {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    top: 10;
}


.s-expertise .t-show .arrow.clciked:hover {
    border-width: 0 5px 5px 0;
    top: 0;
}


.s-expertise .t-show .arrow.clciked:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

.s-experience .x-timeline {
    position: absolute;
    border: solid #316f5b;
    border-width: 0 0 3px 1px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.s-experience .x-timeline.animate {
    -webkit-animation: extendTL 3s ease forwards;
    animation: extendTL 3s ease forwards;
}


.s-experience .x-exps {
    width: 80%;
    margin: 0 auto;
}


.s-experience .x-exp {
    padding-top: 20px;
}

.s-experience .x-dot {
    position: absolute;
    top: 10px;
    border-radius: 10px;
    background-color: #316f5b;
}

.s-experience .x-dot.animate {
    animation: enlargeDot 0.5s ease forwards;
    -webkit-animation: enlargeDot 0.5s ease forwards;
}

.s-experience .x-year,
.s-experience .x-event {
    font-weight: 700;
    padding-left: 0;
    opacity: 0;
}

.s-experience .x-event p {
    font-weight: 500;
}

.s-experience .x-year.animate,
.s-experience .x-event.animate {
    animation: showEvent 0.5s ease forwards;
    -webkit-animation: showEvent 0.5s ease forwards;
}




/* Interests */

.s-interests .i-interest {
    text-align: center;
}


.s-interests .i-icon {
    text-align: center;
}


.s-interests .i-icon.animate {
    animation: rotatateIcon 1s ease-in-out backwards;
    -webkit-animation: rotatateIcon 1s ease-in-out backwards;
}


.run-animation .s-expertise .e-circle-level,
.run-animation .s-experience .x-timeline,
.run-animation .s-experience .x-dot,
.run-animation .s-experience .x-year,
.run-animation .s-experience .x-event,
.run-animation .s-interests .i-icon {
    animation-play-state: running;
    -webkit-animation-play-state: running;
}




/* ------------------------ Projects  */


/* tabs */

.s-projects .nav-tabs {
    border: 0;
    margin-bottom: 20px;
}

.s-projects .nav-tabs>li {
    text-align: center;
}

.s-projects .nav-tabs li a {
    margin: 0;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: box-shadow 0.2s;
    -webkit-transition: box-shadow 0.2s;
    font-size: 17px;
    color: #316f5b;
}

.s-projects .nav-tabs li a:hover {
    border: 0;
    border-radius: 0;
    background-color: transparent;
    /*box-shadow: 0 1px;*/
}

.s-projects .nav-tabs li.active a {
    /*box-shadow: 0 3px;*/
    border: 0;
}

.allProjects .square {
    cursor: pointer;
    float: left;
    position: relative;
    width: 30%;
    padding-bottom: 30%;
    margin: 1.66%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 160%;
    background-color: transparent;
    background-blend-mode: normal;
    transition: background 0.3s ease-in-out 0.1s;
    -webkit-transition: background 0.3s ease-in-out 0.1s;
}

.allProjects .square:hover {
    background-size: 100%;
    /*background-size:200%;*/
    background-color: transparent;
}


.allProjects .square.clicked {
    background-size: 100%;
    background-color: #aaa7a71a;
}


.allProjects .p-projects {
    display: none;
}

.allProjects .p-projects.active {
    display: block;
}

.allProjects .fullProject {
    width: 98%;
    height: auto;
    margin: 1%;
    float: left;
    display: none;
    /*background-color: #aaa7a71a;*/
    /*padding: 5px;*/
}

.fullProject .f-image {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    box-shadow: 0 0 5px 0 lightgrey;
}

.fullProject .f-image img {
    width: 100%;
}











div.image {
    max-width: 256px;
    max-height: 256px;
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMS4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDMzNC42MjMgMzM0LjYyMyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzM0LjYyMyAzMzQuNjIzOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCI+CjxnPgoJPHBhdGggZD0iTTE3NS4zMjksMjg3LjAxN0MxNzUuMzIyLDI4Ny4wMTcsMTc1LjMyOSwyODcuMDE3LDE3NS4zMjksMjg3LjAxN2MtMzguMDUzLDAtNzkuNDgxLTEuMjAyLTEyMy4xMjUtMy41NTQgICBjLTI1Ljc4NC0xLjQxNC00NS43ODUtMjEuMjkyLTQ4LjYzMi00OC4zNDljLTQuNzYyLTQ1LjItNC43NjItOTAuODMsMC0xMzUuNjI1YzIuODQxLTI2LjgzMiwyMi44MTUtNDYuNzEsNDguNTc0LTQ4LjMzICAgYzc1LjI3MS00LjczNywxNTIuNzIxLTQuNzM3LDIzMC4zMTIsMGMyNi4wNjEsMS41ODEsNDUuNTg2LDIwLjk5LDQ4LjYsNDguMzA0YzQuNzQ5LDQzLjI0Niw0Ljc1Niw4OC44NywwLjAwNiwxMzUuNjMyICAgYy0yLjc0NCwyNy4wMzgtMjIuMjUsNDYuNDcyLTQ4LjUzNSw0OC4zNTZDMjQ5LjQ1LDI4NS44MTUsMjEzLjM4MiwyODcuMDE3LDE3NS4zMjksMjg3LjAxN3ogTTE2Ni40MjgsNjAuNDUyICAgYy0zNy45MzEsMC03Ni4xMTMsMS4xOTUtMTEzLjQ4NSwzLjU0MWMtMTkuNjg1LDEuMjM0LTM0LjM5LDE2LjA0OC0zNi41OTQsMzYuODUxYy00LjY2Niw0My44OTUtNC42NjYsODguNjEzLDAsMTMyLjkyNiAgIGMyLjIwNCwyMC45NzEsMTYuODksMzUuNzc4LDM2LjU0MywzNi44NThjNDMuNDEzLDIuMzM5LDg0LjYwOSwzLjUzNSwxMjIuNDI1LDMuNTM1YzM3Ljc1MSwwLDczLjUxLTEuMTg5LDEwNi4yODctMy41MjggICBjMTkuODMzLTEuNDI3LDM0LjU3LTE2LjIyOCwzNi42NTktMzYuODM5YzQuNjY2LTQ1Ljg2Miw0LjY2Ni05MC41OCwwLjAwNi0xMzIuOTI2Yy0yLjI5NC0yMC44NjgtMTcuMDA1LTM1LjY4OC0zNi41OTQtMzYuODc3ICAgQzI0My4xNDUsNjEuNjQxLDIwNC4zNjUsNjAuNDUyLDE2Ni40MjgsNjAuNDUyeiBNMTM0LjU3NiwxMjEuNzgzdjg4LjIwOGw4NC43MDYtNDMuODA1TDEzNC41NzYsMTIxLjc4M3oiIGZpbGw9IiMwMDAwMDAiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);
}















/* ------------------------ Contact  */

.contact .c-contact {
    padding: 20PX;
    width: 50%;
    margin: 0 auto;
}

.contact .c-img {
    padding: 15px 60px;
}

.contact .c-img img {
    width: 100%;
    height: auto;
}

.contact .c-email {
    margin: 40px 0 15px 0;
    text-align: center;
}

.contact .c-email a {
    text-decoration-style: -moz-none;
    cursor: pointer;
    color: #316f5b;
    transition: color 0.5s;
}

.contact .c-email a:hover {
    color: #28453c;
}

.row.c-media div {
    text-align: center;
    padding: 10px;
}


footer.container-fluid {
    min-height: 100vh;
}








/* ------------------------ Modals  */

#modals .modal {
    text-align: center;
    padding: 0 !important;
}

.fullProject .modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.fullProject .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    width: 85%;
}

.fullProject .modal-content {
    border-radius: 2px;
    background-color: #316f5b;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.5)
}

.fullProject .modal-body {
    padding: 0px;
}

.fullProject .modal-body button.close {
    position: absolute;
    right: 17px;
    top: 8px;
    font-size: 40px;
    font-weight: 100;
    text-shadow: 0 0 2px #333;
    /*opacity: 0.2;*/
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
}

.fullProject .modal-body img {
    width: 100%;
}

.fullProject .vidWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    /*background: url('../img/v_hohey.png');*/
    /*background-repeat: round;*/
}

.fullProject .vidWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

















/* ------------------------ Medium devices  */


/* 991 px */

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

    .contact .c-contact {
        width: 60%;
    }

    .container {
        width: 750px;
    }
}





















/* ------------------------ Small devices  */


/* 767 px */

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

    .preloader .icon {
        height: 12vw;
        width: 12vw;
    }

    .preloader .iSpokes {
        width: 2%;
    }

    h3 {
        font-size: 22px;
    }

    .main.sectionTitle {
        font-size: 35px;
    }


    .background .land .bike {
        width: 24vw;
        height: 12vw;
        left: 68vw;
        top: 10vw;
    }

    .background .back .saddle {
        border-top: 1.4vw solid #333;
        border-left: 1.3vw solid transparent;
        border-right: 3.9vw solid transparent;
    }

    .background .wheels .wheel {
        border: 1.3vw solid #333;
    }

    .navbar.navbar-default {
        padding: 15px 0;
    }

    .navbar.navbar-default.condensed {
        padding: 0;
    }

    .navbar .container {
        padding: 0 5%;
    }


    .container {
        width: 100%;
    }


    .container>.navbar-header {
        width: 100%;
        height: 100%;
        background-color: transparent;
        margin: 0;
    }

    .navbar-default .navbar-brand {
        transition: width 0.5s, margin 0.5s;
        -webkit-transition: width 0.5s, margin 0.5s;
        -moz-transition: width 0.5s, margin 0.5s;
    }

    .navbar-default.condensed .navbar-brand {
        width: 50px;
        margin: 9px !important;
    }

    .navbar-default .navbar-toggle {
        margin: 15px 0;
        border: none;
        border-radius: 2px;
    }

    .navbar-toggle .icon-bar {
        display: block;
        width: 30px;
        height: 3px;
        border-radius: 2px;
    }

    .navbar-default.condensed .navbar-brand:hover {
        width: 60px;
        margin: 4px !important;
    }

    #myNavbar {
        padding: 0;
        width: 100%;
        margin: 0 !important;
        overflow-x: hidden;
        border-width: 0;
    }

    .s-projects .nav-link.underline a {
        font-size: 14px;
    }


    .contact .c-contact {
        width: 80%;
    }

    .contact .c-email a {
        font-size: 14px;
    }

    .contact .c-img {
        padding: 0 30px;
    }

    #modals .modal:before {
        content: '';
        display: inline-block;
        height: 0%;
        vertical-align: middle;
        margin-right: -4px;
    }
}

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

    .s-expertise .col-xs-4 {
        width: 100%;
        margin-bottom: 40px;
    }


    .s-projects .nav-tabs>li {
        width: 80%;
        margin: 10px 10%;
    }

    .s-projects .nav-link.underline a {
        font-size: 14px;
        padding: 10px 0;
        letter-spacing: 2px;
    }


    .s-experience .x-year p,
    .s-experience .x-event p {
        font-size: 14px;
    }

    .contact .c-img {
        padding: 0;
    }

    .contact .c-email a {
        font-size: 12px;
    }
}

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

    .preloader .icon {
        height: 16vw;
        width: 16vw;
    }

    h3 {
        font-size: 20px;
    }

    .main.sectionTitle {
        font-size: 30px;
    }

    .background .cloud {
        height: calc(2vh + 2vw);
    }

    .background .land .bike {
        width: 36vw;
        height: 18vw;
        left: 62vw;
        top: 14vw;
    }

    .background .back .saddle {
        border-top: 2vw solid #333;
        border-left: 2vw solid transparent;
        border-right: 6vw solid transparent;
    }

    .background .wheels .wheel {
        border: 2vw solid #333;
    }

    /* 400px*/

    .s-experience .x-exps {
        width: 100%;
    }

    .s-experience .x-year,
    .s-experience .x-event {
        padding: 0;
    }

    .s-experience .x-event {
        width: 71%;
    }

    .i-interest img {
        width: 50%;
    }

    p.i-name {
        font-size: 14px;
    }

    .contact .c-contact {
        width: 100%;
    }


}