body{
    font-family: 'Raleway',sans-serif;
    line-height: 1.4;
    font-weight: 400;
    font-size: 1em;
    color: #220641;
    margin: 0 auto;
    
}

::-moz-selection{
    background-color: #7C179C;
    color: white;
  }

::selection{
    background-color: #7C179C;
    color: white;
}
  
.center{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}

a{
    text-decoration: none;
    color: #220641;
    display: inline-block;
}

ul{
   list-style: none; 
}

p{
    position: relative;
}

.underline{
    color: #220641;
    font-weight: 600;
    text-decoration: underline;
}
.underline:hover{
    color: #D61A1A;
}

/*MENU*/
.hidden{
    display: none;
}
.menu{
    position: fixed;
    top: 0;
    left: 100%;

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.95);;

    z-index: 10;
    -webkit-transition: -webkit-transform .3s ease-out;
    transition: -webkit-transform .3s ease-out;
    -o-transition: transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
            transform: translateX(100%);
}

.menu--open{
    -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
            transform: translateX(-100%);    
    -webkit-transition: all 450ms cubic-bezier(0.68, -0.55, 0.265, 1);    
    -o-transition: all 450ms cubic-bezier(0.68, -0.55, 0.265, 1);    
    transition: all 450ms cubic-bezier(0.68, -0.55, 0.265, 1);
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 0px;
}

.menu__img{
    width: 100%;
}
.menu__content{
    margin: 0px;
    padding: 0px;
}

.projets {
    display: inline-block;
    padding: 0;
    cursor: pointer;   
    border: none;
    color: #220641;
    background-color: transparent;
    outline: none;
    font-family: 'Raleway',sans-serif;
    font-size: 1em;
    font-weight: 500;
}

.projets__open{
    background-image: url(../images/close_btn.svg);
    position: fixed;
    cursor: pointer;
    right: 20px;
    width: 30px;
    top: 15px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 0;
    text-indent: 100%;
    overflow: hidden;
    border: none;
    background-color: transparent;
    outline: none;
    z-index: 15;
    opacity: 0;
    
    -webkit-animation-name: close_btn;
    
            animation-name: close_btn;
  
    -webkit-animation-timing-function: ease-in-out;
  
            animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-duration: .7s;
            animation-duration: .7s;
    -webkit-animation-delay: .4s;
            animation-delay: .4s;
}

@-webkit-keyframes close_btn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes close_btn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.menu__liste{
    position:fixed;
    z-index: 10;
    top: 0px;
    width: 100%;
    margin-left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

.menu__liste a:hover, button:hover{
    color: #D61A1A;
}
.menu__liste a{
    color: #220641;
}
.menu__el{
    position: relative;
}
.menu__el a:after, button:after{
    background: none repeat scroll 0 0 transparent;
    bottom: -3px;
    content: "";
    display: block;
    height: 1.5px;
    left: 50%;
    position: absolute;
    background: #efefef;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}
.menu__el a:hover:after, button:hover:after{
    width: 75%; 
    left: 14%;
    border-width: 0 0px 1px 0px;
    border-style: solid;
    border-color: #D61A1A;
     
}

.menu__el{
    margin-right: 1em;
    font-weight: 500;
}

/*Citation*/
.guide__quote{
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    line-height: 1.4;
    font-weight: 500;
    font-style: italic;
    color: #D61A1A;
    margin: 0 0 5px 0;
}

figure{
    margin: 0;
}

figcaption{
    color: #D61A1A;
    font-weight: 500;
}

.guide__quote:before{
    content:"«";
}
.guide__quote:after{
    content:"»";
}


/*Sections*/
header{
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    height: 65px;
    background-color: #fff;
    z-index: 60;
}
.section__banner{
    height: 100vh;
}
.banner{
    position: relative;
    width: 90%;
    height: 82vh;
    background-image: url(../images/me@2x.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    margin: auto;
}
.square{
    display: block;
    width: 90%;
    height: 82%;
    background-color: #220641;
    z-index: -1;
    position: absolute;
    top: 11%;
}
.bottom{
    position:absolute;
    width: 95%;
    bottom: 0;
    left: 5%;
}
.job{
    position: absolute;
    height: 30px;
    width: 326px;
    right: 5px;
    background-image: url(../images/job_mobile.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    bottom: 10px;
    animation: apparition 0.6s 0.4s ease backwards;
    animation-delay: 1s;
}
@keyframes apparition {
    from {
      opacity: 0;
      transform: translate(0, 50px);
    }
    to {
      opacity: 1;
      transform: translate(0, 0);
    }
}
.logo{
    width: 48px;
    position: fixed;
    top: -5px;
    left: 15px;
}
.section__dark{
    position: relative;
    background-color: #220641;
    height: 100vh;
    margin-bottom: 0px;
    overflow: hidden;
}

.section__white{
    position: relative;
    margin-bottom: 0px;
}
.section--footer{
    margin-bottom: 0px;
    margin-top: 110px;
    padding: 10px 0px 10px 0px;
}

/*Button*/ 
.btn,
.btn:after{
  -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
    transition: all 0.3s;
}
.btn {
    height: 20px;
    width: 124px;
    font-weight: 600;
    letter-spacing: .1px;
    cursor: pointer;
    background: none;
    float: right;
    border: 2px solid #D61A1A;
    color: #220641;
    display: inline-block;
    margin-top: 30px;
    padding: 10px 12px;
    position: relative;
    text-align: center;
    outline: none;
    overflow: hidden;
}
.btn::before,
.btn::after {
  background: #D61A1A;
  content: '';
  position: absolute;
  z-index: -1;
}
.btn::after {
    background-color: #D61A1A;
    height: 100%;
    left: -35%;
    top: 0;
    transform: skew(50deg);
    transition-duration: 0.6s;
    transform-origin: top left;
    width: 0;
}
.btn:hover:after {
    height: 100%;
    width: 135%;
}



/*Reseaux sociaux*/
.link{
    display: flex;
    flex-direction: row-reverse;
    align-items: baseline;
    justify-content: center;
    top: 65px;
    right: 10px;
}
.link__el{
    padding-right: 10px;
}
.icons{
    cursor: pointer;
    width: 27px;
    height: 27px;
}
.icons:hover{
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}


/*TITLES*/
.title {
    font-family: 'Work Sans', sans-serif;
    font-size: 3.9375em;
    line-height: 0.8;
    color: #220641;
    font-style: italic;
    font-weight: 800;
    left: 0;
    top: -40px;
    margin-bottom: 23px;

}

.title--stroke{
    text-shadow: #D61A1A 1px 1px, #D61A1A -1px 1px, #D61A1A -1px -1px, #D61A1A 1px -1px;
    color: #FFF;
    line-height: 0.9;
    margin-top: 18px;
    font-size: 2.5em;
}
.title--shadow{
    font-size: 3.9375em;
    margin-top: 43px;
    margin-left: 3px;
    line-height: 0.8;
    position: absolute;
    z-index: -5;
}
.title--big{
    font-size: 2.8125em;
    line-height: 0.8;
    color: #fff;
    top: inherit;
    position: absolute;
    bottom: 48px;
    left: 15px;
}
.title--small{
    font-family: 'Raleway',sans-serif;
    font-weight: 400;
    font-size: 1em!important;
    text-align: center;
}
.space{
    position: relative;
}
.titl__medium{
    font-family: 'Raleway', sans-serif;
    font-size: 1.375em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;        
}

/*Tailles*/
.section--content{
    -webkit-transform: translateY(40px);
        -ms-transform: translateY(40px);
            transform: translateY(40px);
    width: 80%;
    height: auto;
    position: relative;
}
@media (max-width:360px){
    .title--big{
        font-size: 2.625em;
        bottom: 33px;
    }
    .bottom{
        bottom: -5vw;
    }
    .job{
        width: 288px;
        bottom: 5px;
    }
}
@media (min-width: 400px){
    .title--big{
        font-size: 3.3125em;
    }
    .bottom{
        bottom: -4vw;
    }
}


@media (min-width: 700px){
    .banner{
        height: 89%;
        background-position: center;
    }
    .section--content{
        width: 65%;
    }
    .title{
        font-size: 4.75em;
    }
    .title--big{
        bottom: 72px;
        margin-left: 35px;
    }
    .title--stroke{
        font-size: 3.375em;
    }
    .title--shadow{
        font-size: 4.75em;
        margin-top: 44px;
    }
    .bottom{
        bottom: 0vw;
    }
    .square{
        width: 82%;
        height: 82%;
    }
    .job{
        height: 50px;
        width: 100%;
        right: 3%;
        bottom: 10px;
    }
    .icons{
        width: 30px;
        height: 30px;
    }
    .link__el {
        padding-right: 12px;
    }
    .menu__content{
        float: right;     
    }
    .projets__open{
        top: 20px;
        right: 560px;
        margin: 10px 20px 0px 0px;
    }
    .section__white{
        height: 100vh;
    }
    .section--footer{
        margin-top: 30px;
    }
}

@media (min-width:1000px){
    .section--content{
        width: 80%;
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
    }
    .el__content{
        width: 60%;
    }
    p{
        font-size: 1.125em;
    }
    .guide__quote{
        font-size: 1.25em;
    }
    .title{
        font-size: 5.625em;
        margin-top: 18px;
    }
    .title--big{
        font-size: 6.4375em;
    }
    .title--stroke{
        font-size: 3.9375em;
    }
    .title--shadow{
        font-size: 5.625em;
        margin-top: 0;
        top: 23px;
    }
    .bottom{
        bottom: -1vw;
    }
    .square{
        height: 84%;
    }
    .space{
        padding-right: 7%;
    }
    .job{
        width: 63%;
        right: 13%;
    }
}

@media (min-width: 1200px){
    .banner{
        width: 48%;
        height: 95%;
        margin-left: 18%;
    }
    header{
        background-color: transparent;
    }
    .bottom{
        position: absolute;
        bottom: 3vw;
        left: 0;
    }
    .square{
        height: 50%;
        width: 70%;
        bottom: 0%;
        top: inherit;
        right: 0;
    }
    .title--big{
        margin-left: 40%;
    }
    .title{
        font-size: 6.4375em;
    }
    .title--stroke{
        font-size: 106px;
        font-size: 6.625em;
    }
    .title--shadow{
        font-size: 6.4375em;
    }

    .menu__el{
        margin-right: 35px;
    }
    .menu__img:hover{
        transform: scale(1.03);
    }

    .logo{
        width: 60px;
    }
    .el__content{
        width: 50%;
    }
    .space{
        padding-right: 15%;
    }
    .job{
        height: 100%;
        width: 5%;
        bottom: 0;
        left: 0;
        margin-left: 13%;
        background-image: url(../images/job_desktop.svg);
    }
       
}

@media (min-width: 1600px){
    .el__content{
        width: 40%;
    }
    .space{
        padding-right: 0;
    }
    .title--big{
        font-size: 9em;
    }
    .title{
        font-size: 8em;
    }
    .link__el{
        padding-right: 10px;
    }
    .icons{
        width: 35px;
    }
}
