@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;
}

/*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;
}


/*Bouton*/

.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);
 
}

.glow-button-projet{
    --button-background: #28465A;
    --button-color: rgb(255 255 255);
    --button-shadow: rgba(33, 4, 104, 0.2);
    --button-shine-left: #2757b1;
    --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);
 
}

.glow-button-projet2{
    --button-background: #c4ce2a;
    --button-color: rgb(255 255 255);
    --button-shadow: rgba(33, 4, 104, 0.2);
    --button-shine-left: #27b13e;
    --button-shine-right: rgba(27, 88, 16, 0.65);
    --button-glow-start: #076833;
    --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);
 
}

a.bouton{
    text-decoration: none;
}


/*--------------------------------PAGES PROJETS-----------------------------------------*/
.page--projet{
    /*background: linear-gradient(0deg, #32273a 15%,rgb(203 165 234) 100%);*/
    background-color: rgb(203, 165, 234);
    
}
.container--projet{
    margin: 0 auto;
    position: relative;
    max-width: 1280px;
    width: 85%;
}

.container--prototyping {
    text-align: center;
    margin-top: 2em;
}

.btn-proto{
    margin-top: 2em;
}

.img--projet,
.box--projet, 
.creation, 
.hide {
    display: none;
}
.title{
    font-family: 'Roboto Flex', sans-serif;
    color: #000;
    text-transform: uppercase;
    font-size: 35px;
    margin: 0 auto;
    display: block;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

.title--sigedis{
    color: #c1cd23;
}

.title--boxify{
    color: #b9002e;
}

.title--magritte,
.magritte--page{
    color: #061C76;
}

.titre-typo{
    color: #000;
}

.boxify--Page p{
    color: #370676;
}

.title--ila{
    color: #206d01;
}
.ila--Page p{
    color: #38474e;
}
.typo {
    font-size: 30px;
}

.part--left {
    margin-bottom: 2em;
    margin-left: 1em;
}
.part--right {
    text-align: right;
}
.col p {
    margin-bottom: 1.5em;
    line-height: 1.5;
}
.years,
.colors{
    display: flex;
    flex-direction: column;
}
.years__el, 
.colors__el {
    list-style: none;
    text-align: center;
    justify-content: center;
    margin-bottom: 1em;
}
.years__el h2 {
    font-weight: bold;
    color: rgb(203, 165, 234);
}

.years__el h2.title-db2p {
    font-weight: bold;
    color: #c1cd23;
}


.years__el h2.boxify {
    font-weight: bold;
    color: #b9002e;
}

.years__el h2.ila{
    font-weight: bold;
    color: #206d01;
}
.years__el p {
    line-height: 1.6;
    font-weight: 700;
}
.image--boxify1 {
    top: 2em;
    margin-bottom: 5em;
}

.bg--project {
    margin-top: 2em;
    
   /* background: rgb(43, 3, 119);
    background: linear-gradient( 0deg, rgba(43, 3, 119, 0.24413515406162467) 15%, rgba(255, 65, 108, 0.25253851540616246) 100%);*/
}
.bg--project--boxify {
    background-color: #b9002e2e;
    /* margin-bottom: 6em; */
}

.bg--project--magritte{
    background: #78a68017;
}

.bg--project--4 {
    background-color: rgb(203, 165, 234);
    /* margin-bottom: 6em; */
}

.image--project{
    position: relative;
    display: block;
    margin: 0 auto;
    padding-top: 2em;
    /* margin-bottom: 7em; */
    width: 85%;
}
.image--project--big {
    display: block;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 4em;
}

/*.image--project--big3{
    display: block;
    margin: 0 auto;
    width: 90%;
    margin-bottom: 4em;
}*/
.image--db2p1 {
    top: 2em;
    margin-bottom: 5em;
}

.image--db2p2 {
    padding: 0;
    top: 0;
    width: 100%;
    margin-bottom: 4em;
}
.cover__img {
    width: 100%;
    height: auto;
}

.container--apropos{
    margin-bottom: 2em;
}

.colors__el {
    width: 13em;
    height: 3.5em;
    padding-top: 0.9em;
    /* margin-left: 5em; */
    margin: 0 auto;
    margin-bottom: 1.5em;
}

.colors__el:hover {
    width: 16em;
    transform: scale(1.1, 1.2);
    transition: all 0.2s ease;
}

.color__el--1 {
    background-color: #C4CE2A;
    color: #fff;
}
.color__el--2 {
    background-color: #EEEFDC;
    color: #5B685E;
}
.color__el--3 {
    background-color: #5B685E;
    color: #fff;
}
.color__el--4 {
    background-color: #ADB3AA;
    color: #fff;
}
.color__el--5 {
    background-color: #F7F7F7;
    color: #5B685E;
}
.color__el--6 {
    background-color: #38474e;
    color: #fff;
}
.color__el--7 {
    background-color: #75bb54;
    color: #FFF;
}
.color__el--8 {
    background-color: #206d01;
    color: #fff;
}
.color__el--9 {
    background-color: #f0f0f0;
    color: #5B685E;
}
.color__el--10 {
    background-color: #ffffff;
    border: 1px solid #3f3f3f;
    color: #5B685E;
}

.color__el--11 {
    background-color: #CF2558;
    color: #fff;
}
.color__el--12 {
    background-color: transparent;
    color: #cfcfcf;
    border: 1px solid;
}
.color__el--13 {
    background-color: #7F7F7F;
    color: #fff;
}
.color__el--14{
    background-color: #000000;
    color: #fff;
}
.color__el--15 {
    background-color: #B83050;
    color: #fff;;
}

.color__el--16 {
    background-color: #FDCE5F;
    color: #fff;
}
.color__el--17 {
    background-color: #CAD8DB;
    color: #000;
}
.color__el--18 {
    background-color: #83BDD9;
    color: #fff;
}
.color__el--19{
    background-color: #78A680;
    color: #fff;
}
.color__el--20 {
    background-color: #F094A2;
    color: #fff;;
}

.presentation-titre{
    font-family: 'Playfair Display', serif;
    font-weight: normal;
    font-size: 3em;
}

.container--about{
    display: flex;
    flex-direction: column;
    margin-top: 1em;
}

.container--about li{
    list-style: none;
}

.about-pics{
    display: none;
}

.text--about p{
    margin-top: 1em;
}

a.link-about{
    text-decoration: none;
    color: rgb(203, 165, 234);
}

a.link-about:hover{
    color: #000;
}

/*---------------------------------Partie Footer--------------------------------------*/


/*Footer*/

/*-------------------------------FOOTER------------------------------------------------------*/
.footer {
    background: rgb(43, 3, 119);
    background: linear-gradient( 0deg, #3b1b64 15%, #cba5ea 100%);
    /*margin-top: -0.7em;*/
}

.footer--projet {
    height: 15em;
    margin-top: 2em;
    padding-top: 1em;
}

.nav--footer p {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #fff;
}

.nav--footer--previous {
    text-align: left;
    float: left;
    width: 50%;
}

.nav--footer--next {
    text-align: right;
    float: right;
    width: 50%;
    margin-top: 4em;
}

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: #fff;
}

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

.footer--about{
    background: linear-gradient( 0deg, #3b1b64 15%, #cba5ea 100%);
}


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

@media (min-width: 500px){
    .db2p{
        font-family: 'Crimson Text', serif;
        font-weight: 400;
        font-size: 58px;
    }
    .nav--footer--next {
        margin-top: 6em;
    } 
    .container--apropos{
        margin-bottom: 5em;
    }
}

@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: 800px){
    .colors {
        display: flex;
        flex-direction: row;
        
    }
    .part--left, .part--right {
        width: 75%;
    }
    .text {
        display: block;
        margin: 0 auto;
        width: 50%;
    }
}

/* 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{
        display: none;
    }

    .menuProjets{
        display: block;
    }
    .header--boxify {
        width: 100%;
        height: 100vh;
    }

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

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

    .container--typo {
        width: 67em;
        display: block;
        margin: 0 auto;
        margin-left: 10em;
        margin-top: 2em;
    }

    .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;
    }

    .ila--projet{
        margin-top: 8em;
    }

    .image--magritte{
        position: relative;
        right:-10em;
    }

    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;
    }

    .nav--projet li a.actif,
    a.actif{
        color: #000;
        font-weight: 600;
    }

    a.actif::after {
        color: #270553;
        width: 45px;
        margin-top: 0.5em;
        margin-left: 2em;
        background: #270553;
    }

    .actif::after{
        display: block;
        content: "";
        width: 0;
        height: 2px;
        background: #E9375E;
        transition: width .4s;
    }

    a.actif2::after {
        color: #270553;
        width: 45px;
        margin-top: 0.5em;
        margin-left: 1em;
        background: #270553;
    }

    .img--projet {
        display: block;
        width: 100%;
        margin-top: 6em;
        /* margin-left: 3em; */
        margin-right: 7em;
    }

    .image--project {
        width: 50%;
    }
    .image--project--big {
        width: 80%;
    }
    .image--project--big2{
        width: 46%;
    }
    .page--about{
        font-size: 18px;
    }
    .container--about {
        display: flex;
        flex-direction: row;
        margin-top: 1em;
        justify-content: space-between;
    }

    .presentation-titre {
        font-size: 6em;
        width: 7em;
    }

    .about-pics{
        width: 13em;
        display: block;
        /*margin: 0 auto;*/
    
    }

}

@media (min-width: 1900px){

    .header--boxify {
        width: 100%;
        height: 80vh;
    }
    .image--project--big {
        width: 60%;
    }
    .image--project--big3 {
        width: 100%;
    }
    .image--magritte{
        position: relative;
        right:-24em;
    }
}

@media (min-width: 2100px){
    .header--boxify {
        width: 100%;
        height: 80vh;
    }
}









/*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;
}

