:root { --main-color : #20aba7
}
html, body { color: #434242; font-family: 'Muli', sans-serif !important; height: 100%; }
body { background: #F3EFE0; font-size: 15px; line-height: 1.64; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, strong, b { font-family: 'Lobster', cursive    !important; margin-bottom: 20px; }
h1,h4 { font-weight: 900; margin-bottom: 10px; }
h2,h3, h6 { font-weight: 300; color: var(--main-color) }
h2 { font-size: 54px; text-align: center; }
h3 { font-size: 28px; }
.fa-user-astronaut {color: var(--main-color);}

p.lead { text-align: center; color: #727878; }
p.lead a { color: #FFFFFF; text-decoration: underline; }
p.lead a:hover { text-decoration: none; }
ul.no-bullets { list-style-type: none; margin: 0px; padding: 0px; }
hr { margin: 40px 0px; border-color: #727878; opacity: 0.2; filter:alpha(opacity=20); }

.project-referal { margin-top: 40px; }
.project-referal p { font-style: italic; color: #999999; }

.btn-primary { background-color: var(--main-color); border-color: var(--main-color); }
.btn-primary:hover { background-color:var(--main-color);  border-color: var(--main-color); }

.fa { display: inline-block; background: url(imageTop.jpg) no-repeat; height: 32px; width: 32px; }
.fa.fa-twitter { background-position: 0px 0px; }
.fa.fa-linkedin { background-position: 0px -32px; }
.fa.fa-skype { background-position: 0px -64px; }
.fa.fa-email { background-position: 0px -96px; }

.accueil {
    background: no-repeat center right fixed url(imageTop.jpg);

    background-size: 100%;

    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='assets/imageTop.jpg', sizingMethod='scale')";
    filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='assets/imageTop.jpg, sizingMethod='scale')";

    margin-bottom: 0px;
    padding: 0px;

    height: 100%;
}
.accueil:before {
	border: 1px solid #FFFFFF;
	bottom: 30px;
	content: "";
	left: 30px;
	position: absolute;
	right: 30px;
	top: 30px;
}

.accueil .overlay { background-color: rgba(32, 171, 167, 0.37); position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; opacity: 0.75; filter:alpha(opacity=75); z-index: 2; }


.accueil .container { position: relative; top: 28%; z-index: 4; text-align: center; }
.accueil .container > * { text-align: center; color: #FFFFFF; }
.accueil .container h1 { padding-bottom: 20px; border-bottom: 1px solid #FFFFFF; border-bottom-color: rgba(255,255,255,0.35); display: inline-block; }
.accueil .container .lead { font-size: 28px; }
.accueil .scroll-down { height: 80px; width: 110px; display: block; position: absolute; bottom: 0px; right: 5%; background-color: #222222; text-align: center; z-index: 6; }
.accueil .scroll-down .fas {
    color: #FFFFFF;
    font-size: 30px;
    padding-right: 2px;
    padding-top: 20px;

    animation-name: wiggle;
    animation-duration: 1.2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: normal;
}
.accueil .scroll-down:hover .fas { padding-top: 25px; }

.jumbotron-photo {

    background: no-repeat url(//c1.staticflickr.com/5/4413/36610826075_9319543d65_z.jpg);

    background-size: cover;

    margin-bottom: 0px;
    padding: 0px;

}

.navbar  { border: 0px; background-color: #222222; position: absolute; top: 100%; right: 5%; width: 110px; z-index: 999; }
.navbar .navbar-collapse { padding: 0px; max-height: none; }
.navbar .navbar-nav { float: none; }
.navbar-nav { margin: 0px; }
.navbar .nav > li { display: block; float: none; height: 80px; }
.navbar .nav > li a { display: block;  height: 80px; text-align: center; padding-top: 30px; font-weight: 600; color: #FFFFFF; }
.navbar .nav > li a:hover, .navbar .nav > li a:focus { color: #999999; }
.navbar-light .navbar-nav > .active > a, .navbar-light .navbar-nav > .active > a:hover, .navbar-light .navbar-nav > .active > a:focus { background: var(--main-color); color: #FFFFFF; }
.navbar-light .navbar-toggler:hover .navbar-toggler-fa,
.navbar-light .navbar-toggler:focus .navbar-toggler-fa { background: #222222; }

.fixed .navbar  { position: fixed; top: 60px; }

.background-white { background: #FFFFFF; }
.background-gray { background: #434242; }
.container { max-width: 1280px; padding: 40px 180px; }

#profile .row > div { margin-bottom: 20px; }
#profile .row > div img { width: 100%; max-width: 246px; height: auto; }

#experiences .experience { margin-bottom: 20px; }
#experiences .experience p > strong { display: block; padding-top: 8px; margin-bottom: 10px; }
#experiences .experience .experience-details { display: block; margin-top: 6px; }
#experiences .experience .experience-details * { color: var(--main-color); }
#experiences .experience .experience-details .seperator { color: #BCBCBC; }

#abilities ul > li { min-height: 30px; padding: 3px 0px; }
#abilities ul > li:hover { background: #F2F2F2; }
#abilities ul > li .ability-title { display: inline-block; width: 60%; }
#abilities ul > li .ability-score { float: right; }
#abilities ul > li .ability-score .fas {
    color: #DFE0E0;
    font-size: 14px;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
#abilities ul > li .ability-score .fas.filled { color: var(--main-color); }

#abilities ul > li:hover .ability-score .fas { margin-left: 2px; }

#interests .left { float: left; }
#interests .right { float: right; }
#interests img { width: 80%; height: auto; }
#interests .right img { float: right; }
#interests .interest-content { padding: 40px 0px; }

#interests .row:hover .left img {
    -webkit-transform: rotate(-12deg);
    -moz-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    -o-transform: rotate(-12deg);
}

#interests .row:hover .right img {
    -webkit-transform: rotate(12deg);
    -moz-transform: rotate(12deg);
    -ms-transform: rotate(12deg);
    -o-transform: rotate(12deg);
}

/* #projects .row { margin: 0px; } // bootstrap 3.1- hack */
#projects .row > div { margin-bottom: 30px; }
#projects figure { position: relative; overflow: hidden; }
#projects figure h3 { color: #FFF; font-weight: 600; margin-bottom: 5px; }
#projects figure p > strong { width: 60px; display: inline-block; margin: 0px; }
#projects figure img { width: 110%; }
#projects figure figcaption {
    padding: 20px 30px;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}
#projects figure a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}
#projects figure .fa {
    background: var(--main-color);
    position: absolute;
    top: 0px;
    right: 0px;
    width: 48px;
    height: 48px;
}
#projects figure .fa span {
    font-size: 18px;
    line-height: 18px;
    padding: 15px;
}

#contact { padding-bottom: 200px; }
#contact h2, #contact .row * { color: #FFFFFF; }
#contact a { display: block; line-height: 32px; margin-bottom: 20px; opacity: 0.6; filter:alpha(opacity=60);  }
#contact a .fa { float: left; margin-right: 20px; }
#contact a:hover { opacity: 1; filter:alpha(opacity=100); text-decoration: none; }

@media (max-width: 1200px) {
    #interests .interest-content { padding: 20px 0px; }
}

@media (max-width: 767px) {
    .accueil:before {
        bottom: 100px;
        left: 20px;
        right: 20px;
        top: 20px;
    }
    .accueil .container { top: 20%; padding-top: 0px; }
    .accueil .scroll-down { width: 100%; right: 0px; }

    .navbar  { left: 0px; width: 100%; }
    .navbar .nav > li { height: 60px; }
    .navbar .nav > li a { height: 60px; text-align: center; padding-top: 20px; font-weight: 600; color: #FFFFFF; }

    .fixed .navbar { top: 0px; }

    .container { padding: 60px 20px; min-width: 280px; }
    .hidden-phone { display: none; }

    #profile .row * { text-align: center; }

    #experiences .experience .experience-details > span { display: block; margin-bottom: 6px; }
    #experiences .experience .experience-details .seperator { display: none; }

    #interests .left { float: none; }
    #interests .right { float: none; }

    #interests > * { text-align: center; }
    #interests img { width: 50%; height: auto; float: none !important; }
    #interests .interest-content { padding: 20px 0px; }

    #contact { padding-bottom: 60px; }
    #contact a .fa { float: left; margin-right: 10px; }
}

@media only screen and (orientation: portrait) and (max-width: 767px)  {
    .accueil {
        -webkit-background-size: auto 150%;
        background-attachment: scroll;
    }
}
@media only screen and (orientation: landscape) and (max-width: 767px)  {

    .accueil {
        -webkit-background-size: 150% auto;
        background-attachment: scroll;
    }

    .accueil .lead { display: none; }
}

@keyframes wiggle {
    0% {
        padding-top: 20px;
    }

    50% {
        padding-top: 28px;
    }

    100% {
        padding-top: 20px;
    }
}


/*---------------*/
/***** EFFECT *****/
/*---------------*/

figure.effect {
    background: var(--main-color);
    color: #FFF;
}

figure.effect img {
    width: -webkit-calc(100% + 20px);
    width: calc(100% + 20px);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-10px,0,0);
    transform: translate3d(-10px,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure.effect:hover img {
    opacity: 0.2;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect figcaption {
    text-align: left;
}

figure.effect h3 {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

figure.effect:hover h3 {
    opacity: 1;
}

figure.effect h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    content: '';
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%,0,0);
}

figure.effect:hover h3::after {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect p {
    padding-top: 10px;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
}

figure.effect:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}