@font-face{
    font-family : "Coco SmallCaps";

    src : url('fonts/Coco-Gothic-SmallCaps-Regular.eot');
    src : url('fonts/Coco-Gothic-SmallCaps-Regular.woff') format('woff'),
          url('fonts/Coco-Gothic-SmallCaps-Regular.ttf') format('truetype');

    font-weight:normal;
    font-style:normal;
    font-variant:normal;
}
@font-face{
    font-family : "Coco SmallCaps";

    src : url('fonts/Coco-Gothic-SmallCaps-Light.eot');
    src : url('fonts/Coco-Gothic-SmallCaps-Light.woff') format('woff'),
          url('fonts/Coco-Gothic-SmallCaps-Light.ttf') format('truetype');

    font-weight:300;
    font-style:normal;
    font-variant:normal;
}
@font-face{
    font-family : "Sometimes";

    src : url('fonts/Sometimes.eot');
    src : url('fonts/Sometimes.woff') format('woff'),
          url('fonts/Sometimes.ttf') format('truetype');

    font-weight:normal;
    font-style:normal;
    font-variant:normal;
}
@font-face{
    font-family : "Coco";

    src : url('fonts/Coco-Gothic-Fat.eot');
    src : url('fonts/Coco-Gothic-Fat.woff') format('woff'),
          url('fonts/Coco-Gothic-Fat.ttf') format('truetype');

    font-weight:900;
    font-style:normal;
    font-variant:normal;
}
@font-face{
    font-family : "Coco";

    src : url('fonts/Coco-Gothic-Bold.eot');
    src : url('fonts/Coco-Gothic-Bold.woff') format('woff'),
          url('fonts/Coco-Gothic-Bold.ttf') format('truetype');

    font-weight:700;
    font-style:normal;
    font-variant:normal;
}
@font-face{
    font-family : "Coco";

    src : url('fonts/Coco-Gothic.eot');
    src : url('fonts/Coco-Gothic.woff') format('woff'),
          url('fonts/Coco-Gothic.ttf') format('truetype');

    font-weight:normal;
    font-style:normal;
    font-variant:normal;
}
@font-face{
    font-family : "Coco";

    src : url('fonts/CocoGothic-Light.eot');
    src : url('fonts/CocoGothic-Light.woff') format('woff'),
          url('fonts/CocoGothic-Light.ttf') format('truetype');

    font-weight:300;
    font-style:normal;
    font-variant:normal;
}
@font-face{
    font-family : "Coco";

    src : url('fonts/CocoGothic-UltraLight.eot');
    src : url('fonts/CocoGothic-UltraLight.woff') format('woff'),
          url('fonts/CocoGothic-UltraLight.ttf') format('truetype');

    font-weight:100;
    font-style:normal;
    font-variant:normal;
}
.lang-fr .content-en{
    display: none;
}
.lang-en .content-fr{
    display: none;
}
a{
    color: #8D8D8D;
}
img{
    max-width: 100%;
}
.my-svg-alternate {
    display: none;
  }
  .no-svg .my-svg-alternate {
    display: block;
  }
html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}
*{
    box-sizing: border-box;
}
.clip-svg {
  clip-path: url(#myClip);
}

a{
    color: #8D8D8D;
    text-decoration: none;
    transition: color .3s ease;
}
a:hover{
    color: #212121;
}
header{
    left: 0;
    padding: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}
header .main-logo{
    display: inline-block;
    vertical-align: sub;
}
header .tool{
    float: right;
}
header nav{
    display: inline-block;
    margin-right: 5px;
    vertical-align: baseline;
}
header nav a{
    font-family: "Coco SmallCaps", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    margin-left: 15px;
    position: relative;
    text-transform: lowercase;
}
header nav a.active{
    color: #212121;
}
header nav a.active:after{
    background:#212121;
    border-radius: 4px;
    content: "";
    display: block;
    left: calc(50% - 2px);
    position: absolute;
    width: 4px;
    height: 4px;
}

header .lightnight-mode{
    display: inline-block;
    height: 24px;
    vertical-align: middle;
    width: 24px;
}
body:before{
    background: #fff;
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    padding: 0;
    position: fixed;
    width: 10px;
}
header:after{
    background: #fff;
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    padding: 0;
    position: fixed;
    right: 0;
    width: 10px;
}
body:after{
    background: #fff;
    bottom: 0;
    content: "";
    display: block;
    height: 10px;
    padding: 0;
    position: fixed;
    width: 100%;
}
body{
    background: #F4F4F4;
}
body header{
    background: #fff;
}

.btn{
    color: #8D8D8D;
    background: transparent;
    border:1px solid #979797;
    font-family: "Coco SmallCaps", Helvetica, sans-serif;
    font-weight: 300;
    margin-bottom: 80px;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 50px;
    border-radius: 50px;
    transition: background .3s ease-in, color .3s ease-in;
}
.btn:hover{
    background: #979797;
    color: #fff;
}
.btn-small{
    height: 48px;
    line-height: 44px;
    padding: 0 20px;
    text-transform: lowercase;
}
.index h1{
    color: #8D8D8D;
    font-family: "Coco SmallCaps", Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 300;
    margin: 0 auto;
    padding-left: 8px;
    text-transform: lowercase;
}
.index section.main-section h2{
    background: url("img/visu-moi.jpg") no-repeat -20px -170px;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-family: "Coco", Helvetica, sans-serif;
    font-size: 130px;
    font-weight: 900;
    line-height: 110px;
    margin: 0 auto;
    text-transform: uppercase;
}

section.main-section{
    height: 100%;
    height:calc(100% - 45px);
    margin-top: 45px;
    position:relative;
    text-align: center;
}
section.main-section .wrapper{
    display: inline-block;
    text-align: left;
    width: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
section.main-section .chapo{
    color: #8D8D8D;
    font-family: "Coco", Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 100;
    margin-top: 12px;
    text-align: right;
}
section.main-section .chapo span span{
    font-weight: 300;
}
section.main-section .social{
    position: absolute;
    right: 20px;
    bottom: 20px;
}
section.main-section .social a{
    border:1px solid #979797;
    border-radius: 40px;
    display: inline-block;
    margin-left: 10px;
    float: left;
    padding: 9px 0;
    width: 40px;
    max-height: 40px;
    background: #F4F4F4;
    box-shadow: 6px 6px 16px -1px rgb(217 210 200 / 49%), -6px -6px 16px 0px rgb(255 255 255 / 83%);
    -webkit-box-shadow: 6px 6px 16px -1px rgb(217 210 200 / 49%), -6px -6px 16px 0px rgb(255 255 255 / 83%);
    -moz-box-shadow: 6px 6px 16px -1px rgba(217,210,200,0.49), -6px -6px 16px 0px rgba(255,255,255,0.83);
    border: 1px solid rgba(255, 255, 255, .2);
}

section.main-section .social a svg g,
section.main-section .social a.dribbble{
    transition: .3s all ease-out;
}
section.main-section .social a.dribbble:hover{
    background: #ea4c89;
    border-color: transparent;
}
section.main-section .social a.instagram:hover{
    background: #c13584;
    border-color: transparent;
}
section.main-section .social a.linkedin:hover{
    background: #0B66C2;
    border-color: transparent;
}
section.main-section .social a.dribbble:hover svg g,
section.main-section .social a.instagram:hover svg g,
section.main-section .social a.linkedin:hover svg g{
    fill: #fff;
}

/*SECTION SKILLS*/
.skills-section,
.work-section{
    padding-bottom: 150px;
}
.skills-section{
    padding-top: 40px;
}
.skills-section .wrapper,
.work-section .wrapper{
    margin: auto;
    max-width: 100%;
    padding: 0 10px;
    width: 1100px;
}
.skills-section .content,
.work-section .content{
    display: flex;
}
.skills-section .content .item-skills,
.work-section .content .item-work{
    flex: 1;
    background: #F4F4F4;
    box-shadow: 6px 6px 16px -1px rgba(217,210,200,0.49), -6px -6px 16px 0px rgba(255,255,255,0.83);
    -webkit-box-shadow: 6px 6px 16px -1px rgba(217,210,200,0.49), -6px -6px 16px 0px rgba(255,255,255,0.83);
    -moz-box-shadow: 6px 6px 16px -1px rgba(217,210,200,0.49), -6px -6px 16px 0px rgba(255,255,255,0.83);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    display: inline-block;
    vertical-align: top;
    margin-left: 70px;
    padding: 20px;
    width: 220px;
    justify-content: space-between;
}

h2{
    color: #8D8D8D;
    font-family: "Coco SmallCaps", Helvetica, sans-serif;
    font-weight: 300;
    margin-bottom: 80px;
    text-align: center;
}
h3{
    color: #8D8D8D;
    font-family: "Coco", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.work-section .content{
    margin-bottom: 100px;
    padding: 0 10px;
}
.skills-section .content .item-skills p{
    color: #8D8D8D;
    font-family: "Sometimes", Times, serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 18px;
    margin-bottom: 0;
}
.work-section .content .item-work{
    overflow: hidden;
    padding: 0;
    margin-left: 70px;
    width: 300px;
    justify-content: space-between;
}
.skills-section .content .item-skills:first-child,
.work-section .content .item-work:first-child{
    margin-left: 0;
}
.work-section .content .item-work img{
    display: block;
}
.work-section .wrapper{
    text-align: center;
}



/* PAGE WORKS */
.works .work-section{
    padding-top: 70px;
}
.works .work-section .content{
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: space-between;
}
.works .work-section .content .item-work{
    margin-bottom: 5%;
    flex-basis: auto;
}
.works .work-section .content .item-work:nth-child(3n+1){
    margin-left: 0;
}
.works .content .item-work{
    background: transparent;
    box-shadow: none;
    border: none;
}
.works .content .item-work img{
    background: #F4F4F4;
    box-shadow: 6px 6px 16px -1px rgb(217 210 200 / 49%), -6px -6px 16px 0px rgb(255 255 255 / 83%);
    -webkit-box-shadow: 6px 6px 16px -1px rgb(217 210 200 / 49%), -6px -6px 16px 0px rgb(255 255 255 / 83%);
    -moz-box-shadow: 6px 6px 16px -1px rgba(217,210,200,0.49), -6px -6px 16px 0px rgba(255,255,255,0.83);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    overflow: hidden;
}

.works .content .item-work .a-content h3{
    font-family: "Coco SmallCaps", Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 25px;
    margin-top: 0;
    text-transform: lowercase;
}

.works .content .item-work .a-content .a-subinfo{
    color: #8D8D80;
    font-family: "Coco SmallCaps", Helvetica, sans-serif;
    font-size: 14px;
    margin-top: 5px;
}
.works .content .item-work .a-content .a-subinfo::after{
    content: "";
    display: block;
    clear: both;
}
.works .content .item-work .a-content .a-subinfo .type{
    float: left;
}
.works .content .item-work .a-content .a-subinfo .client{
    float: right;
    text-transform: lowercase;
}

/* ABOUT */
body.about .wrapper{
    margin: auto;
    max-width: 100%;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 680px;
}
.about-section p{
    color: #8D8D8D;
    font-family: "Sometimes", Times, serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 26px;
}
.about-section .btn{
    margin-left: 20px;
}
body.about .wrapper h2{
    color: #212121;
    text-align: left;
    margin-bottom: 0;
    text-transform: uppercase;
}
body.about .wrapper h3{
    font-family: "Coco SmallCaps", Helvetica, sans-serif;
    font-size: 16px;
    margin: 0 0 50px 0;
}
body.about .wrapper .about-skills{
    margin-bottom: 80px;
}
body.about .wrapper .about-skills h2,
body.about .wrapper .about-exp h2{
    margin-bottom: 30px;
}
.about-skills .content{
    margin-left: -20px;
}
.about-skills .skill-item{
    background: #F4F4F4;
    box-shadow: 6px 6px 16px -1px rgb(217 210 200 / 49%), -6px -6px 16px 0px rgb(255 255 255 / 83%);
    -webkit-box-shadow: 6px 6px 16px -1px rgb(217 210 200 / 49%), -6px -6px 16px 0px rgb(255 255 255 / 83%);
    -moz-box-shadow: 6px 6px 16px -1px rgba(217,210,200,0.49), -6px -6px 16px 0px rgba(255,255,255,0.83);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    color: #8D8D8D;
    display: inline-block;
    font-family: "Coco", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    line-height: 50px;
    margin-left: 20px;
    margin-bottom: 20px;
    padding: 0 40px 0 20px;
}

.about-exp .exp-item{
    background: #F4F4F4;
    box-shadow: 6px 6px 16px -1px rgb(217 210 200 / 49%), -6px -6px 16px 0px rgb(255 255 255 / 83%);
    -webkit-box-shadow: 6px 6px 16px -1px rgb(217 210 200 / 49%), -6px -6px 16px 0px rgb(255 255 255 / 83%);
    -moz-box-shadow: 6px 6px 16px -1px rgba(217,210,200,0.49), -6px -6px 16px 0px rgba(255,255,255,0.83);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    color: #8D8D8D;
    display: block;
    font-family: "Coco", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    line-height: 50px;
    margin-bottom: 20px;
    padding: 0 20px 0 20px;
}
.about-exp .exp-item .exp-date{
    display: inline-block;
    font-family: Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 100;
    margin-right: 45px;
    width: 90px;
}
.about-exp .exp-item .exp-place{
    display: inline-block;
    font-family: "Coco", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-right: 45px;
}
.about-exp .exp-item .exp-profil{
    float: right ;
    font-family: "Coco", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: normal;
}
/********
DARK
**********/
@media (prefers-color-scheme: dark) {
    .btn:hover{
        color: #000;
        background: #ececec;
    }
    header nav a.active{
        color: #FFF;
    }
    header nav a:hover{
        color: #8D8D8D;
    }
    header nav a.active:after{
        background: #ececec;
    }
    .dark.works .content .item-work .a-content h3{
        color: #ECECEC;
    }
    body.works .content .item-work img{
        box-shadow: none;
        background: transparent;
        border:1px solid #444;
    }
    body{
        background: #000;
    }
    body header{
        background: #212121;
    }
    body header .main-logo svg g{
        fill: #ECECEC;
    }
    body header nav a{
        color:#ECECEC;
    }
    body:before,
    body:after,
    body header:after{
        background: #212121;
    }
    body .main-section .social a{
        border-color: #444;
        background:transparent;
        box-shadow: none
    }
    body .skills-section .content .item-skills,
    body .work-section .content .item-work,
    .about-skills .skill-item,
    .about-exp .exp-item{
        box-shadow: none;
        background: transparent;
        border:1px solid #444;
    }
    body.works .work-section .content .item-work{
        border: 0;
    }
    .dark-mode h3{
        color: #ececec;
    }
    body.about .wrapper h2{
        color: #fff;
    }
    .about-exp .exp-item .exp-place{
        color: #cecece;
    }
}

/********
RESPONSIVE
**********/

@media screen and (max-width: 1024px) {
    .index section.main-section h2{
        font-size: 80px;
        line-height: 80px;
        background-position: -20px -190px;
    }
    section.main-section .chapo{
        font-size: 26px;
        margin-top: 0px;
    }
    .works .content .item-skills,
    .works .work-section .content .item-work:nth-child(3n+1){
      margin-left: 5%;
    }
    .works .work-section .content .item-work:nth-child(odd){
        margin-left: 0;
    }

}
@media screen and (max-width: 768px) {
    .skills-section .wrapper, .work-section .wrapper{
        padding: 0 20px;
    }
    .work-section .content{
        padding: 0;
    }
    .about-exp .exp-item{
        height: auto;
        padding: 0 10px;
    }
    .about-exp .exp-item .exp-profil,
    .about-exp .exp-item .exp-place{
        font-size: 14px;
    }
    .about-exp .exp-item .exp-place{
        margin-right: 15px;
    }
    .about-exp .exp-item .exp-date{
        font-size: 12px;
        margin-right: 10px;
        width: 70px;
    }
    .about-section .btn{
        display: block;
        text-align: center;
        margin: 20px auto 50px;
    }
    .about-exp .exp-item:last-child .exp-date{
        width: 40px;
    }
    section.main-section .wrapper{
        text-align: center;
        max-width: 100%;
    }
    .index section.main-section h2{
        background-position: -300px -190px;
    }
    section.main-section .chapo{
        text-align: center;
    }
    .skills-section .content,
    .work-section .content{
        align-items:stretch;
        align-content: flex-start;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .work-section .content{
        flex-wrap: nowrap;
    }
    .skills-section .content .item-skills{
      margin-left: 5%;
      width: 45%;
      flex-basis:45%;
      margin-bottom: 5%;
    }
    .work-section .content .item-work{
        flex-basis: 30%;
        margin-left: 5%;
    }
    .work-section .content .item-work:first-child{
        margin-left: 0;
    }
    .skills-section .content .item-skills:nth-child(odd){
        margin-left: 0;
    }
    .index h1{
        font-size: 24px;
    }
    section.main-section .wrapper{
        text-align: center;
    }
    .index section.main-section h2{
        background-position: -300px -190px;
        font-size: 50px;
        line-height: 50px;
    }
    section.main-section .chapo{
        font-size: 20px;
    }
    .works .content .item-skills,
    .works .work-section .content .item-work,
    .works .work-section .content .item-work:nth-child(3n+1){
      margin-left:0;
    }
    body.about .wrapper{
        padding: 100px 20px;
    }
    
}
@media screen and (max-width: 400px) {
    .skills-section .content .item-skills{
        flex-basis: 100%;
        margin-left: 0;
    }
    .skills-section h3{
        margin: 0;
        display: inline-block;
        margin-left: 5px;
        vertical-align: middle;
    }
    .skills-section .item-skills img{
        display: inline-block;
        vertical-align: middle;
    }
    
    .skills-section, .work-section{
        padding-bottom: 100px;
    }
    .work-section h2{
        margin-bottom: 60px;
    }
    .work-section .content{
        margin-bottom: 40px;
    }
    .work-section .content .item-work{
        flex: none;
        flex-basis: unset;
        margin-left: 0;
        margin-bottom: 5%;
        margin-right: 20px;
        width: 75%;
    }
    .works .work-section .content .item-work{
        width: 100%;
    }
    header nav a{
        font-size: 14px;
    }
    .work-section .content{
        flex-wrap: nowrap;
        overflow: scroll;
    }
    .works .work-section .content{
        flex-wrap: wrap;
        overflow: hidden;
    }
}