@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&family=Playfair+Display:wght@500&family=Roboto+Flex:opsz,wght@8..144,400;8..144,600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Flex', sans-serif;
}

.one{
    background: url(../images/bgd-mobile.png) no-repeat;
    background-size: contain;
    height: 100%;
    padding-bottom: 6em;
}

/*logo*/

.logo {
    width: 4em;
    height: 3.4em;
    margin-top: -0.3em;
}

.logo:hover {
    opacity: 0.7;
    transition: all .2s ease-in-out;
}

.logo--desktop {
    display: none;
}

.logo--mobile {
    display: block;
}

.logo--projet {
    display: block;
}


/*---------------------Menu hamburger----------------------*/


/*Navbar*/

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 10px;
    color: var(--navbar-color);
    background: var(--navbar-bg-color);
    z-index: 8;
}

.nav {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
}

.nav__el {
    padding: 0 10px;
}

.nav__el a {
    text-decoration: none;
    color: #fff;
}

.menuProjets,
ul.projet-list2,
.burger {
    display: none;
}

/* Presentation */

.name{
    margin-left: 1.5em;
    position: relative;
    /*top: 4em;*/
}

h1.prenom{
    font-family: 'Playfair Display', serif;
    font-weight: 200;
    width: 3em;
    font-size: 11vw;
    line-height: 1.2;
    margin-top: 4em;
    margin-bottom: 2rem;
    color: #fff;
    
}
h1.title--projets,
h2.title--projets {
    text-align: center;
    /* margin: 1.5em 0 2em 0; */
    padding-top: 2em;
}

h2.title--projets {
    font-family: 'Playfair Display', serif;
    padding-top: 0em;
}

h1.title--projets{
    text-align: center;
    margin: 1.5em 0 2em 0;
}

h2.metier{
    color: rgb(203 165 234);
}

.presentation{
    display: none;
}

.image{
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 700px;
}

.image--supp{
    width: 100%;
    height: 100%;
    max-width: 280px;
    max-height: 184px;
}


.two,
.three,
.four,
.five,
.six{
   /* background-color: #090809;*/
    background-color: #fff;
}

/*.six,
.seven{
    height: 220vh;
}*/

.seven{
    background-color: #916eae;
}


p.title--footer{
    font-family: 'Roboto Flex', sans-serif !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 22px;
    color: #000;
}

.nav--footer a{
    color: #ac88c9;
}

.nav--footer a:hover{
    color: #000;
}

/*bouton*/
.button-presentation{
    display: none;
}

.space--button{
    padding-top: 1.5em;
}

.glow-button{
    --button-background: #09041e;
    --button-color: #fff;
    --button-shadow: rgba(33, 4, 104, 0.2);
    --button-shine-left: rgba(120, 0, 245, 0.5);
    --button-shine-right: rgba(200, 148, 255, 0.65);
    --button-glow-start: #B000E8;
    --button-glow-end: #009FFD;

    appearance: none;
    outline: none;
    border: none;
    font-family: 'Roboto Flex', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 20px;
    position: relative;
    line-height: 24px;
    cursor: pointer;
    color: var(--button-color);
    background: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 8px 20px var(--button-shadow);
 
}

.glow-button .gradient {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: scale(1.02) scaleX(1.005) rotate(-0.35deg);
}

.glow-button span {
    z-index: 3;
    position: relative;
    display: block;
    padding: 10px 0;
    width: 132px;
    border-radius: inherit;
    background-color: var(--button-background);
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.glow-button .gradient::before{
    background: linear-gradient(90deg, var(--button-shine-left), var(--button-shine-right));

    content: "";
    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    padding-bottom: 100%;
    border-radius: 50%;

    transform: scale(1.05) translateY(-44px) rotate(0deg) translateZ(0);
    animation: rotate linear 2s infinite;
}

@keyframes rotate {
    to {
        transform: scale(1.05) translateY(-44px) rotate(360deg) translateZ(0);
    }
}

.glow-button:hover {
    --button-glow-opacity: 1;
    --button-glow-duration: .25s;
}

.glow-button span::before {
    content: "";
    position: absolute;
    background-color: var(--button-glow, transparent);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    left: -16px;
    top: -16px;
    transform: translate(var(--pointer-x, 0px), var(--pointer-y)) translateZ(0);
    opacity: var(--button-glow-opacity, 0);
    transition: opacity var(--button-glow-duration, 0.5);
    filter: blur(20px);
}


.glow-button2{
    --button-background: rgb(203 165 234);
    --button-color: rgb(255 255 255);
    --button-shadow: rgba(33, 4, 104, 0.2);
    --button-shine-left: #270553;
    --button-shine-right: rgba(200, 148, 255, 0.65);
    --button-glow-start: #e937b7;
    --button-glow-end: #270553;

    appearance: none;
    outline: none;
    border: none;
    font-family: 'Roboto Flex', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 20px;
    position: relative;
    line-height: 24px;
    cursor: pointer;
    color: var(--button-color);
    background: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 8px 20px var(--button-shadow);
 
}

.social,
.copy{
    display: none;
}

.column-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #000;
    padding: 1rem 2rem 2rem;
}

a.bouton{
    text-decoration: none;
}

.content--projets{
    display: flex !important;
    flex-direction: column;
}

.content--projets li{
   list-style: none;
   margin-top: 1em;
   display: flex !important;
    justify-content: center;
}

.content--projets li:last-child{
    margin-top: 2em;
}

.content--projets h3,
.content--projets p{
    font-size: 30px;
    color: rgb(43, 3, 119);
}

.content--projets p{
    font-size: 15px;
    margin-top: 0.5em;
}

.content--projets a button{
    margin-top: 0.5em;
}


a.e-mail{
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}
a.e-mail:hover{
    color: #000;
}




/* -------------------------------MEDIA QUERIES 500PX----------------------------------------*/

@media (min-width: 500px){
    /* Section */

    /*.image{
        width: 100%;
        height: 100%;
        max-width: 500px;
        max-height: 700px;
    }*/
    .container{
        display: grid;
        grid-template-columns: 1fr 1fr;
    /* height: 95vh; */
        padding: 0rem calc((100vw - 1300) /2);
    }
    .column-left{
        padding: 2rem;
    }
    .column-left h1{
    /* margin-bottom: 1rem;
        font-size: 4rem;
        text-transform: uppercase;*/
    }
    .column-left h2{
        margin-bottom: 1rem;
        font-size: 3rem;
        text-transform: uppercase;
        font-weight: 200;
    }
    .column-left h2.text{
        font-family: 'Playfair Display', serif;
        color: #000;
    }

    .column-left p{
        margin-bottom: 2rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #000;
        /*text-transform: uppercase;*/
    }
   
    .space--button{
        padding-top: 0em;
    }
    .db2p{
        font-family: 'Crimson Text', serif;
        font-weight: 400;
        font-size: 58px;
    }
    .content--projets li:last-child{
        margin-top: 5em;
    }
    .nav--footer--next {
        margin-top: 6em;
    }

}
/* -------------------------------MEDIA QUERIES 700PX----------------------------------------*/

@media (min-width: 700px){
    /*.col {
        width: 70%;
        margin: 0 auto;
    }
    .nav--footer {
        padding-top: 2%;
    }
    .years{
        display: flex;
        flex-direction: row;
    }
    .years__el {
        justify-content: center;
        margin-top: 1em;
        margin-left: 4em;
    }*/
}

@media (min-width: 768px){
   /* .box--portrait {
        position: absolute;
        background: rgb(43, 3, 119);
        background: linear-gradient(0deg, rgba(43, 3, 119, 1) 15%, rgba(255, 65, 108, 1) 100%);
        width: 16em;
        height: 22em;
        left: 2em;
        top: 2em;
    }*/
}

/* -------------------------------MEDIA QUERIES 800PX----------------------------------------*/

@media (min-width: 800px){
    .col p.text{
       display: flex;
       flex-direction: column;
    }
    .nav--footer--previous {
        margin-left: 6em;
    }
    .nav--footer--next {
        margin-top: -2em;
        margin-right: 5em;
    }  
    .footer--projet {
        height: 11em;
    }
}


/*Media queries*/

@media screen and (max-width:768px){
    .container{
        grid-template-columns: 1fr;
    }
    
}



/* header navigation */
.logo2{
    background: url(../images/logo.svg) no-repeat;
    display: block;
    background-size: 100%;
    text-indent: -9999px;
    width: 52px;
    height: 81px;
    margin-top: 1em;
    margin-left: 2em;
}

/*----------------------- MEDIA QUERIES MAX-WIDTH 1000px -----------------------*/

@media screen and (max-width: 1000px) {
    .nav {
        display: fixed;
        flex-direction: column;
        width: 0;
        height: 100vh;
        /*height: calc(100vh - 65px);*/
        position: absolute;
        top: 0px;
        right: 0;
        z-index: 3;
        background: #fff;
        background: rgb(43, 3, 119);
        background: linear-gradient(0deg, #32273a 15%,rgb(203 165 234) 100%);
        transition: all 0.5s ease-in-out;
        overflow: hidden;
    }
    .show-nav .nav {
        width: 100%;
    }
    .nav__el {
        list-style: none;
        transform: translateX(101%);
    }
    .nav__el:first-child {
        margin-top: 11em;
    }
    .show-nav .nav__el {
        transform: translateX(0);
    }
    .nav__el a {
        display: block;
        padding: 1rem;
        font-size: 20px;
        transition: all .4s ease-in-out;
    }
    .nav__el a:hover {
        padding-left: 2rem;
        letter-spacing: 5px;
    }
    /* a effacer car doublons */
    .nav__el a.actif {
        color: #270553;
        font-weight: bold;
    }
    .nav__el a.actif::after {
        color: #270553;
        width: 22px;
        margin-left: 1em;
        background: #270553;
    }
    .burger {
        display: block;
        position: relative;
        padding: 0;
        width: 45px;
        height: 45px;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 4;
    }
    .bar {
        display: block;
        width: 37px;
        height: 4px;
        background: #fff;
        border-radius: 3px;
        transition: all 0.5s ease-in-out;
    }
    .show-nav .bar {
        width: 0;
        background: transparent;
    }
    .bar--projet {
        background: #E9375E;
    }
    .bar::before,
    .bar::after {
        content: "";
        width: 45px;
        height: 4px;
        position: absolute;
        left: 0;
        background: #fff;
        border-radius: 3px;
        transition: all 0.5s ease-in-out;
    }
    .bar::before {
        transform: translateY(-12px);
    }
    .bar::after {
        transform: translateY(12px);
    }
    .bar--projet::before,
    .bar--projet::after {
        content: "";
        width: 45px;
        height: 4px;
        background: #E9375E;
    }
    .show-nav .bar::before {
        transform: rotate(45deg);
    }
    .show-nav .bar::after {
        transform: rotate(-45deg);
    }
    .show-nav .bar--projet::before {
        background: #fff;
    }
    .show-nav .bar--projet::after {
        background: #fff;
    }
    .show-nav .second {
        transition: all 1s ease-out;
    }
    .show-nav .third {
        transition: all 1.1s ease-out;
    }
    .show-nav .fourth {
        transition: all 1.2s ease-out;
    }
    .show-nav .fifth {
        transition: all 1.3s ease-out;
    }

    .menu-container{
        display: block;
        margin: 0 auto;
        width: 26em;
    }
    
}

/*----------------------- MEDIA QUERIES MIN-WIDTH 1000px -----------------------*/

@media (min-width: 1000px){

    /*Header */

    header{
        display: none;
    }
    .one {
        background: none;
    }

    .six,
    .seven{
    height: none;
    }


    .menuProjets{
        display: block;
    }

    .projet-list{
        display: flex;
        flex-direction:row ;
    }
    .projet-list li{
        list-style: none;
        font-size: 1.5em;
        margin-left: 2em;
        margin-top: 2em;
    }
    .projet-list li a{
        color: #fff;
        text-decoration: none;
    }

    .projet-list li a:hover{
        color: #000;
    }

    ul.projet-list2{
        display: flex;
        list-style: none;
        position: absolute;
        right: 3em;
    }

    .projet-list2 li {
        margin-top: 2.5em;
    }

    .projet-list2 li a{
        font-size: 1.5em;
        text-decoration: none;
        color: #fff;
        margin-left: 2em;
    }

    .projet-list2 li a:hover{
        color: rgb(203, 165, 234);
    }

    .nav--projet li a,
    .nav--projet2 li a{
        color: rgb(203, 165, 234);
    }

    .nav--projet2{
        margin-top: -5.5em;
    }
    .nav--projet2 li a:hover{
        color: #000;
    }


    h1.title--projets,
    h2.title--projets{
        position: absolute;
        top: -0.5em;
        font-size: 2vw;
        font-weight: 200;
    }

    h2.title--projets{
        position: absolute;
        top: 1.5em;
    }

    .content--projets{
        display: flex !important;
        flex-direction: row !important;
        position: relative;
        left: 24em;
    }

    .content--projets li {
        list-style: none;
        margin-top: 1em;
        display: flex !important;
        justify-content: center;
        margin: 0 auto;
        /* text-align: center; */
        margin-left: 5em;
    }

    /*.content--projets li{
        margin-left: 32em;
        justify-content: space-between;
    }*/

    .content--projets li:last-child{
        margin-top: 0.5em;
    }
    

    .image--supp{
        width: 100%;
        height: 100%;
        max-width: 600px;
        max-height: 223px;  
    }

    .scroller{
        position: relative;
        display: block;
        margin: 0 auto;
        top: -5em;
    }
    
    .scroll-arrow {
      width: 12px;
      height: 12px;
      transform: rotate(45deg);
      border-right: 2px solid white;
      border-bottom: 2px solid white;
      animation: arrow-wave 1s infinite;
      animation-direction: alternate;
      display: block;
      margin: 0 auto;
    }
    .scroll-arrow:nth-child(1) {
      animation-delay: 0.1s;
    }
    .scroll-arrow:nth-child(2) {
      animation-delay: 0.2s;
    }
    .scroll-arrow:nth-child(3) {
      animation-delay: 0.3s;
    }
    @keyframes arrow-wave {
      0% {
        opacity: 0;
      }
      50% {
        opacity: 0.5;
      }
      100% {
        opacity: 1;
      }
    
    }
    
    .blog{
        margin-left: 12em;
    }

    .column-left h2{    
        font-size: 4rem;
    }

    .column-left{
        padding: 0rem 7rem;
    }

    .db2p {
        font-size: 74px;
    }

    .name{
    /* position: absolute;
        height: 40%;*/
        left: 18vw;
        top: -22vh;
        width: 42vw;
    }

    .name h1{
        font-family: 'Playfair Display', serif;
        font-weight: 200;
        width: 3em;
        font-size: 5vw;
        line-height: 1.2;
        margin-bottom: 2rem;
        color: #000;
    }

    
    .name p{
        display: none;
    }

    .glow-button{
        display: block;
    }

    .column-right{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem 2rem;
    }

    @keyframes overlay-left {
        0%{
            left: 0;
            width: 0%;
        }
        50%{
            left: 0;
            width: 100%;
        }
        100%{
            left: 100%;
            width: 0%;
        }
    }

    section{
        position: sticky;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        
    }
    .containers{
        width: 100%;
        height: 100vh;
        display: flex;
    }

    .column-mobile{
        display: none;
    }

    .container2{
        display: flex;
        flex-direction: row-reverse;
    }

    .left-container{
        /*background-color: hsl(359, 78%, 36%);*/
        background-color: rgb(203, 165, 234);
        /*background-color: #2f117c;*/
        width: 30vw;
        height: 100%;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .right-container{
        position: relative;
        background-color: #090809;
    /* background: radial-gradient(ellipse at center, #2f117c 0%, #03020e 50%);*/
        width: 70vw;
        height: 100%;
    }

    .center-container{
        position: absolute;
        width: 23vw;
        height: 65vh;
        background-image: url("../images/IMG-2298.jpg");
        background-size: cover;
        top: 20vh;
        left: 15vw;
        box-shadow: 7px 29px 49px 0px rgba(0, 0, 0, 0.5);
    }

    .text{
        color: #fff;
    }

    .db2p{
        font-family: 'Crimson Text', serif;
        font-weight: 400;
        font-size: 74px;
    }

    .rectangle{
        background-color: rgb(203, 165, 234);
        position: absolute;
        z-index: -1;
        right: 17em;
        width: 13em;
        height: 28em;   
    }

    .rectangle2{
        position: absolute;
        z-index: -1;
        left: 38.2em;
        width: 13em;
        height: 34em; 
    }

    .rectangle3{
        position: absolute;
        z-index: -1;
        right: 26em;
        width: 13em;
        height: 28em;   
    }

    .logo{
        padding: 3rem;
        font-size: 1.5vw;
    }

    .name p,
    .presentation,
    .social,
    .copy
    {
        display: block;
    }

    .info{
        display: flex;
        padding: 3rem;
        font-size: 1vw;
    }

    .info a {
        text-decoration: none;
        margin-left: 1rem;
        color: #fff;
    }

    .name h1{
    /* font-size: 5vw;*/
        color: #fff;
    }

    .name h2.metier{
        font-family: 'Playfair Display', serif;
        color: rgb(203, 165, 234);
    }

    .name p{
        margin-top: 2em;
        font-size: 1.1rem;
        padding-right: 2rem;
        color: #fff;
    }

    .name p:nth-child(3) {
        margin-top: 2rem;
        font-size: 1rem;
        font-weight: 200;
        margin-bottom: 3em;
    }

    .column-left h2{
        margin-bottom: 1rem;
        font-size: 4rem;
        text-transform: uppercase;
        font-weight: 200;
    }
    .column-left h2.text{
        font-family: 'Playfair Display', serif;
        color: #000;
    }

    .social-container{
        position: absolute;
        bottom: 2rem;
        right: 2rem;
    }

    .social{
        display: flex;
    }

    .social li {
        list-style-type: none;
        margin-right: 1rem;
        font-weight: 500;
        
    }

    .social li a{
        color: #fff;
        text-decoration: none;
    }

    .social li a:hover{
        color: rgb(203, 165, 234);
    }

    .first-block{
        position: absolute;
        width: 0%;
        height: 100vh;
        /*background-color: hsl(359, 78%, 36%);*/
        background-color: rgb(203, 165, 234);
        left: 0;
        animation: overlay-left 4s cubic-bezier(0.074, 0.06, 0.4, 0.92) forwards;
    }

    .content--left {
        text-align: left;
        float: left;
        width: 50%;
    }
    .content--right {
        text-align: left;
        float: right;
        width: 50%;
    }

    p.mail{
        font-size: 30px;
        color: #fff;
    }

    .social2{
        font-size: 25px;
    }

    .hover02 figure img {
        width: 300px;
        height: auto;
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }
    .hover02 figure:hover img {
        width: 350px;
    }

    /*.box--projet {
        display: block;
        width: 18em;
        height: 17em;
        left: 7em;
        top: 7.7em;
        z-index: -1;
    }*/


}

/*ensuite il change la couleur de la scrollbar*/

*::-webkit-scrollbar-thumb,
body::-webkit-scrollbar,
html::-webkit-scrollbar{
    background-color: #1e1f26;
    height: 20px;
    width: 20px;
}

*::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb{
    background-color: #383d4d;
    border-radius: 99em;
    border: 6px solid #1e1f26;
}

