@charset "UTF-8";
/* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) */
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}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}

/*	Ma + Chr */
@font-face {
    font-family: 'Metallophile';
    src: url("../font/c6588211a6dff617fd7dfae0602e5efc.877cec5effdc.eot");
    src: url("../font/c6588211a6dff617fd7dfae0602e5efc.877cec5effdc.eot?#iefix") format('embedded-opentype'),
    url("../font/c6588211a6dff617fd7dfae0602e5efc.a7422a8b2379.woff2") format('woff2'),
    url("../font/c6588211a6dff617fd7dfae0602e5efc.69bc9564be52.woff") format('woff'),
    url("../font/c6588211a6dff617fd7dfae0602e5efc.c6588211a6df.ttf") format('truetype'),
    url("../font/c6588211a6dff617fd7dfae0602e5efc.0ece536ba7bc.svg#Metallophile Sp8 W01 Medium") format('svg');
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
     -khtml-user-select: none; /* Konqueror */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  not supported by any browser */
}

body {
    font-family: 'Quicksand', sans-serif;
}

.wrapper {
    position: relative;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

a {
    text-decoration: none;
    color: #2a388a;
    -webkit-transition:all .5s;
    transition: all .5s;     border-bottom: solid 1px #2a388a;
}

a:hover {
    color: #17e494;
    border-bottom: solid 1px #17e494;
}
/**********/
/* mobile */
/**********/
header {
    text-align: center;
    color: #2b398a;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 99;
}

header > .wrapper {

}

#burger {
  display: block;
  position: absolute;
  top: 32px;
  left: 6%;
  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#burger input {
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  top: -17px;
  left: -15px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}
 /*
 * Just a quick hamburger
 */
#burger span {
  display: block;
  width: 23px;
  height: 2px;
  margin-bottom: 6px;
  position: relative;

  background: #17e494;
  border-radius: 3px;

  z-index: 1;
  transform-origin: 0% 50%;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#burger span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#burger input:checked ~ span {
  opacity: 1;
  transform: rotate(-45deg);
  background: #2b398a;
}

#burger input:checked ~ span:nth-last-child(2)  {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#burger input:checked ~ span:nth-last-child(3) {
  opacity: 1;
  transform: rotate(45deg);
}

header h1 {
    font-family: 'Metallophile';
    font-size: 40px;
    padding-top: 20px;
}

header h1 > span.green {
    color: #17e494;
    font-size: 30px;
}

header h2 {
}

/* navigation */
nav {
    text-align: center;
    overflow-y: hidden;
    padding: 10px 0 20px 0;
    -webkit-transition:height .5s;
    transition: height .5s;
    opacity: 0;
}

nav a {
    color: #17e494;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin: 20px 0px 0px 0px;
    letter-spacing: 0.1em;
    border-bottom: 0;
}

nav a:hover {
    border-bottom: 0;
}
/* end navigation */
/* end header */

/* content */
.content {
    text-align: center;
    padding-top: 110px;
}
/* end content */

/* grid */
.grid {
}

.grid-item {
    float: left;
    width: 100%;
}
/* end grid */

/* first item of grid */
.description {
    font-weight: 300;
    color: #2a388a;
    padding: 30px;
    font-size: 20px;
    line-height: 34px;
}
/* end first item of grid */

/* project preview */
.preview {
    text-decoration: none;
    cursor: url("../img/cursor-hover.9f2e2562cb35.png"), pointer;
}

.preview .wrapper {
    margin: 0 6%;
}

.preview .gif,
.preview .normal,
.preview .hover {
    width: 100%;
    height: auto;
}

.preview .normal {
    opacity: 1;
}

.preview:hover .normal {
    opacity: 0;
}

.preview .hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.preview:hover .hover {
    opacity: 1;
}

.name {
    color: #2a388a;
    font-weight: bold;
    font-size: 14px;
    margin: 30px 0px 60px 0px;
}
/* end project preview */

/* project page */
.project .title {
    color: #2a388a;
    font-size: 24px;
    font-weight: bold;
}

.project .description {
    max-width: 88%;
    margin: 20px auto;
    padding: 0;
    font-size: 14px;
    line-height: 24px;
}

.project .images {
}

.project .images img {
    max-width: 90%;
    height: auto;
    margin: 20px 0px 100px 0px;
}

.project .grid .grid-item .wrapper {
    margin: 30px 6%;
}

.project .grid .grid-item .wrapper img {
    width: 100%;
}

.other-projects {
    padding-top: 100px;
    background-repeat: no-repeat;
    background-image: url("../img/oeil.82b5ea7dd30c.png");
    background-position: center 0px;
    background-size: 40px auto;
}
/* end project page */

/* anim */
.come-in {
    opacity: 0;
    -webkit-transform: translateY(150px);
            transform: translateY(150px);
    -webkit-animation: come-in 0.8s ease forwards;
            animation: come-in 0.8s ease forwards;
}

.come-in:nth-child(even) {
    -webkit-animation-duration: 0.6s;
            animation-duration: 0.6s; /* So they look staggered */
}

@-webkit-keyframes come-in {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@keyframes come-in {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}
/* end anim */

/* about page */
.description.about {
    max-width: 700px;
    margin: 0 auto;
}
/* end about page */

/* end mobile */

/***********/
/* desktop */
/***********/
@media screen and (min-width: 960px) {
    /* header */
    header {
        color: #2b398a;
    }

    header #burger {
        display: none;
    }

    header .title {
        cursor: pointer;
    }

    header h1 {
        font-size: 60px;
        -webkit-transition:font-size .5s;
        transition: font-size .5s;
        padding-top: 30px;
    }

    header h1 .green {
        font-size: 40px;
        -webkit-transition:font-size .5s;
        transition: font-size .5s;
    }

    header h2 {
        font-size: 17px;
        margin-top: 10px;
        -webkit-transition:font-size .5s, margin-top .5s;
        transition: font-size .5s, margin-top .5s;
    }

    header h2 {
        -webkit-transition:color .002s;
        transition: color .002s;
        color: white;
        -webkit-transition:color .5s;
        transition: color .5s;
    }

    header .title:hover h2 {
        color: #2b398a;
    }

    header.small h1 {
        font-size: 25px;
    }

    header.small h1 .green {
        font-size: 17px;
    }

    header.small h2 {
        font-size: 0px;
        margin-top: 0;
    }
    /* end header */

    /* navigation */
    nav {
        margin-top: 17px;
        -webkit-transition:margin .5s;
        transition: margin .5s;
    }

    header.small nav {
        margin: 10px 0px 15px 0px;
    }

    nav a {
        font-size: 16px;
        margin: 0px 15px;
        display: inline;
    }

    nav a:hover,
    nav a.selected {
        border-bottom: 1px solid #17e494;
    }
    /* end navigation */

    /* content */
    .content {
        text-align: center;
        padding-top: 220px;
        max-width: 1700px;
        margin: 0 auto;
    }
    /* end content */

    /* grid */
    .grid {
        margin-left: 4%;
    }

    .grid-item {
        float: left;
        width: 32%;
    }
    /* end grid */

    /* first item of grid */
    .description {
        color: #2a388a;
        margin: 30px;
    }
    /* end first item of grid */

    /* project preview */
    .preview {
        text-decoration: none;
    }

    .preview > .wrapper {
        margin: 0 6%;
    }

    .preview:hover .hover {
        opacity: 1;
    }
    /* project page */
    .project .description {
        max-width: 400px;
    }
    .other-projects {
        background-position: 48% 0px;
    }
    /* end project page */
}
/* desktop end */