html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

    /* Personnalisation Barre de scroll */

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #151515;

}

::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(50deg, #60529d 60%, #c34484 90%, #e65274 100%);
}

    /* titres */

h1 {
    color: #FFF;
    text-align: center;
    font-family: "Gasoek One";
    font-size: 88px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
}

h2 {
    color: #FFF;
    text-align: center;
    font-family: "Gasoek One";
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
}

h3 {
    color: #FFF;
    text-align: center;
    font-family: "Outfit";
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
    margin: 0;
}

h5 {
    margin: 0;
    font-size: 20px;
    text-align: left;
    font-family: "Outfit";
    width: 100%;
    color: white;
    font-weight: bold;
}

    /* Elements généraux */
p {
    margin: 0;
    font-size: 20px;
    font-family: "Outfit";
    font-weight: 200;
    text-align: left;
    color: white;
    text-align: center;
}

a {
    color: #FFF;
    text-align: center;
    font-family: "Gasoek One";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    width: auto;
    background-color: #151515;
    align-items: center;
    margin: 0;
}

header {
    position: fixed;
    display: flex;
    width: -webkit-fill-available;
    padding: 16px 64px;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: #151515;
}

section {
    height: 100vh;
    max-width: 1440px;
    padding: 0 128px 64px 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Menu */

#BtnMenu {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-size: 24px;
    color: rgb(255, 255, 255, 0.9);
    padding: 5px 0;
    transition: color 0.3s ease-in-out;
    margin: 20px;
}

#BtnMenu::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

#BtnMenu:hover::before {
    visibility: visible;
    width: 100%;
}

#BtnMenu:hover {
    color: white;
}

#MenuOuvert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #151515;
    color: white;
    overflow: hidden;
    z-index: 40;
    transition: height 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#MenuOuvert div {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#MenuOuvert.active {
    height: 100vh;
}

#MenuOuvert.active div {
    opacity: 1;
}

#MenuOuvert img {
    width: 300px;
}

#Menu_Interieur {
    display: flex;
    width: 80%;
    max-width: 1000px;
    gap: 20vw;
    justify-content: center;
    align-items: stretch;
}

#Menu_RS {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

#Menu_RS li {
    padding: 4px 0;
}

#Menu_Sommaire li {
    padding: 16px 0;
}

.linksMenu {
    font-family: "Outfit";
    font-size: 24px;
}

.linksMenu:hover {
    text-decoration: underline;
}

.Sommaire {
    font-size: 64px;
}


    /* Section 1 Landing */

#Part1_Landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#text_landing {
    width: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

    /* Section 2 Les projets */

#Part2_Projets {
    display: grid;
    gap: 64px;
    grid-template-columns: 1fr 1fr; 
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

#Liste_Projets::-webkit-scrollbar {
    display: none;

}

.theme {
    font-size: 16px;
    font-style: italic;
    font-family: "Outfit";
    color: white;
}

.Projet {
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    cursor: pointer;
}

.Previ_Projet img {
    width: 100%;
    height: 300px; 
    object-fit: cover;
    transition: transform 0.3s;
}

.Previ_Projet img:hover {
    transform: scale(1.1);
    height: 300px;
}

.Titre_Projet {
    color: white;
    font-family: "Outfit";
    font-weight: 900;
    font-size: 28px;
    margin: 0;
}

/*Footer*/

footer {
    height: fit-content;
    width: -webkit-fill-available;
    background: linear-gradient(50deg, #60529d 60%, #c34484 90%, #e65274 100%);
    padding: 64px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#div_footer {
    width: 60%;
    display: flex;
    justify-content: space-between;
}

#div_footer a {
    font-family: "Outfit";
    color: white;
    font-size: 28px;
    font-weight: 300;
    text-decoration: underline;
}

#div_footer img {
    height: 64px;
}

#div_footer div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


  /* Landing UN projet */
#Projet_Landing {
    padding: 0;
    width: 100vw;
    max-width:none;
    display: flex;
    align-items: flex-start;
}

#fond_Projet {
    width: 100%;
    height: 90%;
    background-image: url(/img/Preview\ EMGAV.png);
    background-color: white;
    background-size: cover;
}

  /* UN projet */

#Contenu {
    display: flex;
    flex-direction: column;
    height: fit-content;
    gap: 64px;
}

.ExempleAffiche {
    height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    flex-direction: row;
}

.ExempleAffiche img {
    width: 100%;
}

.Exemple_Droite {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
} 

.Exemple_Droite p {
    text-align: left;
} 

#Contexte {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 50vh;
}

#Contexte_Gauche {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#Contexte_Gauche h2 {
    text-align: left;
}

#Contexte_Droite {
    text-align: left;
}

/*Animation background Landing*/

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

.background {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: #151515;
    overflow: hidden;
    z-index: -1;
}

.background span {
    width: 1vmin;
    height: 1vmin;
    border-radius: 1vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 24;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


.background span:nth-child(0) {
    color: #60529d;
    top: 14%;
    left: 18%;
    animation-duration: 189s;
    animation-delay: -87s;
    transform-origin: 24vw -10vh;
    box-shadow: 2vmin 0 0.48630899787707893vmin currentColor;
}

.background span:nth-child(1) {
    color: #60529d;
    top: 28%;
    left: 45%;
    animation-duration: 93s;
    animation-delay: -2s;
    transform-origin: -2vw 10vh;
    box-shadow: -2vmin 0 0.7809025378672343vmin currentColor;
}

.background span:nth-child(2) {
    color: #60529d;
    top: 25%;
    left: 75%;
    animation-duration: 48s;
    animation-delay: -31s;
    transform-origin: 19vw 17vh;
    box-shadow: -2vmin 0 0.9535254846064434vmin currentColor;
}

.background span:nth-child(3) {
    color: #60529d;
    top: 74%;
    left: 17%;
    animation-duration: 88s;
    animation-delay: -256s;
    transform-origin: -9vw -24vh;
    box-shadow: 2vmin 0 0.2610879334178029vmin currentColor;
}

.background span:nth-child(4) {
    color: #60529d;
    top: 93%;
    left: 87%;
    animation-duration: 16s;
    animation-delay: -184s;
    transform-origin: -19vw -16vh;
    box-shadow: -2vmin 0 0.7747499593790259vmin currentColor;
}

.background span:nth-child(5) {
    color: #60529d;
    top: 89%;
    left: 41%;
    animation-duration: 139s;
    animation-delay: -112s;
    transform-origin: 17vw 11vh;
    box-shadow: 2vmin 0 1.144629422376923vmin currentColor;
}

.background span:nth-child(6) {
    color: #60529d;
    top: 97%;
    left: 15%;
    animation-duration: 218s;
    animation-delay: -123s;
    transform-origin: -14vw 8vh;
    box-shadow: -2vmin 0 0.5779201698974523vmin currentColor;
}

.background span:nth-child(7) {
    color: #60529d;
    top: 69%;
    left: 52%;
    animation-duration: 108s;
    animation-delay: -150s;
    transform-origin: 0vw -11vh;
    box-shadow: -2vmin 0 0.5299062096529028vmin currentColor;
}

.background span:nth-child(8) {
    color: #60529d;
    top: 73%;
    left: 63%;
    animation-duration: 230s;
    animation-delay: -125s;
    transform-origin: -16vw 20vh;
    box-shadow: -2vmin 0 1.165476338338326vmin currentColor;
}

.background span:nth-child(9) {
    color: #60529d;
    top: 54%;
    left: 83%;
    animation-duration: 88s;
    animation-delay: -94s;
    transform-origin: 24vw 4vh;
    box-shadow: 2vmin 0 0.29201560367587076vmin currentColor;
}

.background span:nth-child(10) {
    color: #60529d;
    top: 92%;
    left: 32%;
    animation-duration: 255s;
    animation-delay: -48s;
    transform-origin: -15vw 17vh;
    box-shadow: -2vmin 0 0.36478256925922237vmin currentColor;
}

.background span:nth-child(11) {
    color: #60529d;
    top: 78%;
    left: 78%;
    animation-duration: 67s;
    animation-delay: -96s;
    transform-origin: -20vw 17vh;
    box-shadow: 2vmin 0 0.25079176401620096vmin currentColor;
}

.background span:nth-child(12) {
    color: #60529d;
    top: 38%;
    left: 16%;
    animation-duration: 86s;
    animation-delay: -240s;
    transform-origin: -13vw 19vh;
    box-shadow: -2vmin 0 1.1421232226833344vmin currentColor;
}

.background span:nth-child(13) {
    color: #60529d;
    top: 70%;
    left: 57%;
    animation-duration: 212s;
    animation-delay: -164s;
    transform-origin: -5vw 24vh;
    box-shadow: 2vmin 0 0.971467989167585vmin currentColor;
}

.background span:nth-child(14) {
    color: #60529d;
    top: 61%;
    left: 5%;
    animation-duration: 122s;
    animation-delay: -152s;
    transform-origin: -10vw 9vh;
    box-shadow: 2vmin 0 1.1843056750448797vmin currentColor;
}

.background span:nth-child(15) {
    color: #60529d;
    top: 41%;
    left: 35%;
    animation-duration: 229s;
    animation-delay: -167s;
    transform-origin: -20vw -8vh;
    box-shadow: 2vmin 0 0.35464553338884164vmin currentColor;
}

.background span:nth-child(16) {
    color: #60529d;
    top: 4%;
    left: 36%;
    animation-duration: 231s;
    animation-delay: -45s;
    transform-origin: -21vw -5vh;
    box-shadow: -2vmin 0 0.7642692248356078vmin currentColor;
}

.background span:nth-child(17) {
    color: #60529d;
    top: 27%;
    left: 64%;
    animation-duration: 48s;
    animation-delay: -178s;
    transform-origin: -20vw 15vh;
    box-shadow: -2vmin 0 0.454000460928321vmin currentColor;
}

.background span:nth-child(18) {
    color: #60529d;
    top: 79%;
    left: 15%;
    animation-duration: 7s;
    animation-delay: -259s;
    transform-origin: -17vw 13vh;
    box-shadow: 2vmin 0 0.9754073839947099vmin currentColor;
}

.background span:nth-child(19) {
    color: #60529d;
    top: 64%;
    left: 94%;
    animation-duration: 184s;
    animation-delay: -25s;
    transform-origin: -19vw -19vh;
    box-shadow: 2vmin 0 0.9326771094199697vmin currentColor;
}

.background span:nth-child(20) {
    color: #60529d;
    top: 45%;
    left: 74%;
    animation-duration: 129s;
    animation-delay: -166s;
    transform-origin: -6vw 12vh;
    box-shadow: -2vmin 0 0.7194911966947146vmin currentColor;
}

.background span:nth-child(21) {
    color: #60529d;
    top: 100%;
    left: 65%;
    animation-duration: 48s;
    animation-delay: -91s;
    transform-origin: 8vw 23vh;
    box-shadow: 2vmin 0 0.9796651507304184vmin currentColor;
}

.background span:nth-child(22) {
    color: #60529d;
    top: 6%;
    left: 59%;
    animation-duration: 179s;
    animation-delay: -29s;
    transform-origin: 11vw -21vh;
    box-shadow: -2vmin 0 0.5810270248454665vmin currentColor;
}

.background span:nth-child(23) {
    color: #60529d;
    top: 80%;
    left: 89%;
    animation-duration: 114s;
    animation-delay: -33s;
    transform-origin: -17vw -7vh;
    box-shadow: 2vmin 0 1.1606280335793433vmin currentColor;
}

.background span:nth-child(24) {
    color: #60529d;
    top: 81%;
    left: 65%;
    animation-duration: 257s;
    animation-delay: -21s;
    transform-origin: 10vw -23vh;
    box-shadow: -2vmin 0 0.4125976048438591vmin currentColor;
}

.background span:nth-child(25) {
    color: #60529d;
    top: 21%;
    left: 55%;
    animation-duration: 73s;
    animation-delay: -11s;
    transform-origin: 16vw 14vh;
    box-shadow: 2vmin 0 0.9093411743499416vmin currentColor;
}

.background span:nth-child(26) {
    color: #60529d;
    top: 35%;
    left: 59%;
    animation-duration: 156s;
    animation-delay: -150s;
    transform-origin: -5vw -14vh;
    box-shadow: -2vmin 0 1.1115557609953748vmin currentColor;
}

.background span:nth-child(27) {
    color: #60529d;
    top: 25%;
    left: 86%;
    animation-duration: 249s;
    animation-delay: -117s;
    transform-origin: -18vw -16vh;
    box-shadow: -2vmin 0 0.38182809026803755vmin currentColor;
}

.background span:nth-child(28) {
    color: #60529d;
    top: 72%;
    left: 37%;
    animation-duration: 174s;
    animation-delay: -67s;
    transform-origin: -7vw -13vh;
    box-shadow: 2vmin 0 0.49997751413023317vmin currentColor;
}

.background span:nth-child(29) {
    color: #60529d;
    top: 56%;
    left: 79%;
    animation-duration: 187s;
    animation-delay: -3s;
    transform-origin: 1vw 22vh;
    box-shadow: -2vmin 0 0.500471971117761vmin currentColor;
}

.background span:nth-child(30) {
    color: #60529d;
    top: 81%;
    left: 32%;
    animation-duration: 135s;
    animation-delay: -21s;
    transform-origin: 8vw -11vh;
    box-shadow: -2vmin 0 1.008057730735056vmin currentColor;
}

.background span:nth-child(31) {
    color: #60529d;
    top: 36%;
    left: 26%;
    animation-duration: 121s;
    animation-delay: -207s;
    transform-origin: 21vw -24vh;
    box-shadow: 2vmin 0 0.9735255631166027vmin currentColor;
}

.background span:nth-child(32) {
    color: #60529d;
    top: 96%;
    left: 19%;
    animation-duration: 137s;
    animation-delay: -121s;
    transform-origin: -2vw -22vh;
    box-shadow: -2vmin 0 0.9900021257654317vmin currentColor;
}

.background span:nth-child(33) {
    color: #60529d;
    top: 81%;
    left: 53%;
    animation-duration: 221s;
    animation-delay: -222s;
    transform-origin: 24vw -10vh;
    box-shadow: -2vmin 0 0.9060132631640778vmin currentColor;
}

.background span:nth-child(34) {
    color: #60529d;
    top: 36%;
    left: 36%;
    animation-duration: 217s;
    animation-delay: -45s;
    transform-origin: -10vw 15vh;
    box-shadow: 2vmin 0 0.8383457761123307vmin currentColor;
}

.background span:nth-child(35) {
    color: #60529d;
    top: 100%;
    left: 44%;
    animation-duration: 71s;
    animation-delay: -38s;
    transform-origin: 22vw 6vh;
    box-shadow: 2vmin 0 1.0031540056599604vmin currentColor;
}

.background span:nth-child(36) {
    color: #60529d;
    top: 82%;
    left: 11%;
    animation-duration: 44s;
    animation-delay: -110s;
    transform-origin: -15vw 7vh;
    box-shadow: -2vmin 0 0.7976226953524499vmin currentColor;
}

.background span:nth-child(37) {
    color: #60529d;
    top: 5%;
    left: 62%;
    animation-duration: 178s;
    animation-delay: -80s;
    transform-origin: -23vw -19vh;
    box-shadow: -2vmin 0 0.4652686331108986vmin currentColor;
}

.background span:nth-child(38) {
    color: #60529d;
    top: 40%;
    left: 85%;
    animation-duration: 119s;
    animation-delay: -206s;
    transform-origin: -11vw -8vh;
    box-shadow: -2vmin 0 0.3276611581301103vmin currentColor;
}

.background span:nth-child(39) {
    color: #60529d;
    top: 93%;
    left: 32%;
    animation-duration: 107s;
    animation-delay: -220s;
    transform-origin: -7vw -6vh;
    box-shadow: 2vmin 0 0.33511116315251277vmin currentColor;
}

.background span:nth-child(40) {
    color: #60529d;
    top: 88%;
    left: 87%;
    animation-duration: 164s;
    animation-delay: -223s;
    transform-origin: 1vw -23vh;
    box-shadow: 2vmin 0 0.2914334004442025vmin currentColor;
}

.background span:nth-child(41) {
    color: #60529d;
    top: 84%;
    left: 72%;
    animation-duration: 263s;
    animation-delay: -71s;
    transform-origin: 7vw -16vh;
    box-shadow: -2vmin 0 0.36770088578468796vmin currentColor;
}

.background span:nth-child(42) {
    color: #60529d;
    top: 27%;
    left: 52%;
    animation-duration: 12s;
    animation-delay: -43s;
    transform-origin: 23vw 10vh;
    box-shadow: 2vmin 0 1.004252255100787vmin currentColor;
}

.background span:nth-child(43) {
    color: #60529d;
    top: 13%;
    left: 78%;
    animation-duration: 171s;
    animation-delay: -135s;
    transform-origin: 17vw -21vh;
    box-shadow: -2vmin 0 0.9444230158409876vmin currentColor;
}

.background span:nth-child(44) {
    color: #60529d;
    top: 36%;
    left: 61%;
    animation-duration: 58s;
    animation-delay: -196s;
    transform-origin: -12vw 5vh;
    box-shadow: 2vmin 0 0.6778351936298175vmin currentColor;
}

.background span:nth-child(45) {
    color: #60529d;
    top: 95%;
    left: 9%;
    animation-duration: 210s;
    animation-delay: -162s;
    transform-origin: -14vw -15vh;
    box-shadow: 2vmin 0 0.39121474460078676vmin currentColor;
}

.background span:nth-child(46) {
    color: #60529d;
    top: 11%;
    left: 85%;
    animation-duration: 225s;
    animation-delay: -28s;
    transform-origin: 24vw -5vh;
    box-shadow: 2vmin 0 0.9303739353847249vmin currentColor;
}

.background span:nth-child(47) {
    color: #60529d;
    top: 90%;
    left: 41%;
    animation-duration: 80s;
    animation-delay: -25s;
    transform-origin: -17vw 18vh;
    box-shadow: -2vmin 0 0.6202889238134563vmin currentColor;
}

.background span:nth-child(48) {
    color: #60529d;
    top: 90%;
    left: 68%;
    animation-duration: 191s;
    animation-delay: -163s;
    transform-origin: 23vw 12vh;
    box-shadow: 2vmin 0 0.9572298512522166vmin currentColor;
}

.background span:nth-child(49) {
    color: #60529d;
    top: 37%;
    left: 85%;
    animation-duration: 62s;
    animation-delay: -15s;
    transform-origin: 25vw 3vh;
    box-shadow: -2vmin 0 0.9410832840756267vmin currentColor;
}