@import 'cssVariables.css';
@import 'glitchEffect.css';
@import 'customScrollbars.css';

@font-face {
    font-family: 'BLOKK';
    src: url('assets/fonts/BLOKKNeue-Regular.woff2') format('woff2'),
         url('assets/fonts/BLOKKNeue-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



*{
    box-sizing: border-box;
    /* border: 1px dashed rgb(67, 104, 7, 0.2); */
    margin: 0;
    padding: 0;
}

html{
    width: 100%;
    /* font-family: var(--headline-ff); */
    font-family: var(--headline-ff);
    font-size: clamp(var(--basic-font-size), 0.9rem + 2vw, 1rem);
    font-weight: 400;
    /* color: black; */
    
    /* overflow: scroll; */
    /* scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-snap-points-y: repeat(100vh);    */
}



body{
    /* background-color:  #eee; */
    display: flex;
    flex-direction: column;
    background-color: var(--bk-color);
    width: 100%;
    /* overflow: hidden; */
    /* align-items: flex-end; */
    /* align-content:center; */
    /* align-items: center; */
}

.menu{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: var(--menuHeight);
    /* margin-bottom: 2%; */
    position: sticky;
    top: -1px;
    /* margin: 0px; */
    width: 100%;
    font-size: clamp(0.125rem, 0.375rem + 0.5vw, 2.5rem);
    background-color: var(--bk-color);
    /* -webkit-filter: blur(30px); */
    /* filter: blur(30px); */
    border-bottom: 1px solid hsla(0, 0%, 70%, .2);
    z-index: 100;
}




/* .menu::before{
    content: "";
    display: inline;
    position: absolute;
    width: 100%;
    height: inherit;
    background-color: rgba(238, 238, 238, .2);
    -webkit-filter: blur(50px);
    filter: blur(50px);
    overflow: hidden;
    border: 5px solid red;
    z-index: -1;
} */

.menu a{
    text-decoration: none;
    color: black;
    /* margin: auto; */
}

.monLogo{
    font-size: 2em;
    font-style: italic;
}

.monLogo #lastname{
    font-weight: 500;
}
.section{
    /* position: relative; */
    width: 100%;
    /* height: calc(100vh - var(--menuHeight)); */
    /* height: 100vh; */
    overflow: hidden;
    font-size: clamp(0.5rem, 1.5rem + 2vw, 10rem);
    /* font-size: 94px; */
    /* line-height: 1em; */
    /* scroll-snap-align: end;
    scroll-snap-stop: always; */
    /* margin-top: 100px; */
}

.section > h1{
    /* text-transform: uppercase; */
    /* border: 1px solid red; */
    /* width: 100%; */
    /* margin: 0 auto; */
}

.section:not(.s1, .s3){
    padding: 2em 4em;
}

.section:not(.s1){
    padding-top: 0;
    font-size: clamp(0.3rem, 1.3rem + 1.5vw, 8rem);
    /* scroll-padding: 0 var(--menuHeight) 0 0; */
    position: relative;
    /* top: 145vh; */
    top:0;
  }

  /* @media (max-width: 1025px){
    .section:not(.s1){
        top: 105vh;
      }
  }

  @media (max-width: 769px){
    .section:not(.s1){
        top: 125vh;
      }
  }

  @media (max-width: 426px){
    .section:not(.s1){
        top: 115vh;
      }
  } */
  
  .section:not(.s1, .s4){
    /* background: #7fffd421;
    backdrop-filter: blur(20px); */
  }

.section::first-child{
    /* margin-top: 100%; */
    /* display: block;
    margin-bottom: 10em; */
}

.section :not(img){
    /* font-size: 1.5em; */
    /* font-size: clamp(var(1.5em, 1.5em + 2vw, 3vw);
    line-height: 1em; */
}

.s1{
    /* background-color: rgb(192, 152, 152); */
    /* box-shadow: 0px 2px 50px 10px inset; */
    
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* grid-template-rows: 1fr; */
    /* gap: 0px 0px; */
    column-gap: 1em;
    grid-template-areas: "image image text text";
    align-items: start;
    /* height: calc(100vh - var(--menuHeight)); */
    /* height: 100vh; */
    overflow: unset;
    /* overflow-x: hidden; */

    position: relative;
    /* top: var(--menuHeight); */
    
    /* background-image: url();
    background-repeat: repeat; */
}



.s1 *{
    /* margin: auto auto; */
    width: 100%;
    font-style: italic;
}


/* .s1::after{
    content:"";
    width: 100%;
    height: 100%;
    background-image: url('paper_1.png');
    background-repeat:repeat;
    background-size: contain;
    
    position: absolute;
} */

.s1::before{    
    content: url("assets/images/nameTile.svg");
    position: fixed;
    top: -10em;
    left: -2em;
    transform: rotate(-4deg);
    z-index: -1;
    opacity: .30;
    width: 50vw;
}

.s1::after{
    content: url("assets/images/GreenEllipse.svg");
    position: absolute;
    top: 3em;
    left: 5em;
    width: max(min(10em, 12em), 12em);
    z-index: -1;    
}


.s1__image { 
    grid-area: image;
    
    /* top: 0; */
    
    /* height: 122%; */
    /* overflow: hidden; */
    /* top: 60%;
    left: 10%; */
    /* transform: translate(10%, 60%); */
    /* object-fit: cover; */
    /* object-position: 500px; */
    overflow: hidden;
    /* height: 100%; */
    /* float: left; */
    /* filter: drop-shadow(10px 0px 1px cyan) drop-shadow(-10px 0px 1px magenta) drop-shadow(-10px 10px 1px yellow) drop-shadow(10px -10px 1px black); */
    /* max-height: 100%; */
    /* background-color: blueviolet; */         
    /* z-index: -3; */
    /* border: 1px solid red; */
    position: relative;
    width: 50vw;
    bottom: -20vh;
    left: 8vw;
}

.s1__image img{
    /* position: relative; */
    /* max-width: 100%; */
    /* will-change: transform; */
    /* animation: RedYellowCyanBlueGlitch 3s ease-in .3s; */
    filter: drop-shadow(10px 10px 0px rgba(255,255,255, .2))
    drop-shadow(10px 0px 0px rgba(255,255,255, .2))
    drop-shadow(0px 10px 0px rgba(255,255,255, .2))
    drop-shadow(-10px -10px 0px rgba(255,255,255, .2))
    drop-shadow(-10px 0px 0px rgba(255,255,255, .2))
    drop-shadow(0px -10px 0px rgba(255,255,255, .2));
    /* object-fit: contain; */

}



/* .s1__image::before g text{    
    fill: aqua;
} */





.s1__text { 
    grid-area: text;
    /* position: relative; */
    /*top: 10%; */
    /* float: right; */
    /* width: minmax(20%); */
    width: 33vw;
    margin-top: 1.5em;
    /* background-color: brown; */
    /* display: block; */
    position:sticky;
    /* top: 20vh; */
    /* left: 1.2em; */
    bottom: 3em;
    /* overflow: unset; */
    /* padding-right: 5em; */
    /* padding-top: 1em; */
    transform: skew(3deg, -3deg);
    /* max-width: 22ch; */
    /* min-width: 5ch; */
    /* columns: 22ch 1; */
    /* font-size: calc(var(--basic-font-size)-0.2em); */
    font-size: 0.9em;
    /* 439.200 */

    z-index: 1;
    /* font-style: italic; */
    /* animation: RedYellowCyanBlueGlitch 3s ease-in .3s; */
    /* border: 1px solid red; */
    align-self: end;
 }

 .s1__text span:first-child{
     font-size: .55em;
     display: block;
     position: relative;
     margin-bottom: -2.2em;
     /* font-style: italic; */
     /* position: absolute; */
     /* text-align: center; */
     /* padding-left: 2em; */
 }
  
.s1__text *{
    /* width: 80%; */
    /* display: inline-block; */
    /* position: relative; */
    /* top: 15vh; */
    /* right: 10vw; */
    /* text-align: left; */
    /* line-height: 1em; */
    /* font-size: 12px; */
    /* z-index: 100; */
    /* border: 1px solid red; */
}

.s1_text_announcement{
    font-family: var(--subheadline-ff);
    /* display: inline-block; */
    margin-top: .4em;
    margin-bottom: 1.2em;
    /* font-weight: 800; */
    font-size: .9em;

}

.s1_text_announcement h4{
    width: 100%;
    margin-bottom: .5em;
}

.s1_text_announcement i{
    font-size: .6em;
    /* font-weight: 600; */
    line-height: 1.3em;
    font-style: initial;
    /* font-style: italic; */
}

.s1_text_announcement i *{
    font-family: var(--headline-ff);
    padding-left: .7em;
}

.s1_text_announcement i address{
    display: inline;
}

.s1_text_announcement i time,
.s1_text_announcement i address{
    /* padding-left: .7em; */
    /* font-style: italic; */

    font-weight: 600;
}


.s1_text_contact-cta{
    text-decoration: none;
    font-size: .5em;
    font-weight: 600;
    letter-spacing: .1em;
    color: white;
    background-color: black;
    display: inline;
    margin-top: 2em;
    padding: .6em 1em;
    border-radius: 2em;
    
    cursor: pointer;
    transition: all 0.1s ease-in;
}
  
  .s1_text_contact-cta:hover {
    /* box-shadow: none; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
    /* color: #777; */
  }
  
  .s1_text_contact-cta:active {
    /* box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25); */
    box-shadow: none;
  }

  .s2{
    /* background-color: var(--accent-color); */
    /* color: white; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "text techUsed";
    grid-gap: -2em;
  }

  .s2_text{
      grid-area: text;
      transform: skew(3deg, -3deg);
      font-style: italic;
  }

  .s2_subheadline{
      line-height: 1em;
      /* text-align: right; */
  }

  .s2_subheadline::before{
    content :attr(data-text);
    text-transform: uppercase;
    position: absolute;
    display: inline-block;
    left: 0;
    top: auto;
    margin: 0 auto;
    text-align: center;
    font-size: 20vw;
    line-height: 0.85em;
    color: hsla(0deg 0% 0% / 10%);
    -webkit-filter: blur(8px);
    filter: blur(8px);
    /* color: hsl(0, 0%, 93%) */
    /* width: 100%; */

  }
  .s2_paragraph{
    font-family: var(--subheadline-ff);
    font-size: 0.5em;
    line-height: 1.5em;
    font-weight: 600;
  }
  .s2_techUsed{
    grid-area: techUsed;
    width: 100%;
    /* height: 1vh; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-gap: .4em;
    /* justify-items: center; */
    /* align-items: stretch; */
    justify-content: space-between;
    text-align: center;
    /* margin-top: 1.5em; */
    padding: 0 5em;
    background-image: url("assets/images/GreenEllipse.svg");
    background-repeat: no-repeat;
    background-size: 15em;
    background-position: center;
    padding: 3em;
    transform: skew(3deg, -3deg);
  }
  .s2_techUsed li{
      width: 100%;
      list-style: none;
      
  }
  .s2_techUsed li img{
      width: 1.5em;
      height: 1.5em;
      /* filter: hue-rotate(20deg); */
      /* fill: white; */
      filter: drop-shadow(4px 4px 20px grey);
  }

  .s2_techUsed li::after{
    content: attr(data-text);
    /* text-align: center; */
    position: relative;
    top: -1.5em;
    /* display: block; */
    text-transform: capitalize;
    letter-spacing: 0.05em;
    width: 100%;
    height: 100%;
    font-size: 0.3em;
    font-weight: 600;
    color: black;
}
/* .s3::first-child just don't work check why later, also more global rule .section::first-child don't work*/


/* s3::before{
    content: "";
    display: inline;
    position: absolute;
    left: 4em;
    width: 4em;
    height: 90%;
    background-color: hsla(0, 0%, 100%, 1);
    filter: blur(0.9em);
    box-shadow: 0.3em 2em 2em 0.09em hsl(0, 0%, 0%, 0.2);
    z-index: 102;
} */

/*.s3::after{
    content: "";
    display: inline;
    position: absolute;
    right: 0;
    width: 4em;
    height: 90%;
    background-color: hsla(0, 0%, 100%, 1);
    filter: blur(0.9em);
    box-shadow: -0.3em 2em 2em 0.09em hsl(0, 0%, 0%, 0.2);
    z-index: 102;
} */

.section .s3{
    /* width: 100%; */
    height: 100vh;
    
    /* margin-bottom: 10em; */
    /* padding: 5em; */
    /* margin-top: 2em; */
    /* padding-top: 0; */
    /* position:absolute; */
    /* top: 10em; */
    /* position: initial; */
    /* overflow-y:initial; */
    /* overflow: unset; */
    /* padding: 0; */
}

/* .s3::before{
    box-shadow: 0 -1em 2em -1em black;
    position: absolute;
} */

.s3 > h1{
    margin-top: 1em;
    /* padding-top: 2.5em; */
    /* margin-bottom: 1em; */
    text-align: center;
    /* position: sticky; */
    /* bottom: 1em; */
    /* font-size: 3em; */
    /* top: 1.5em; */
}

.projects{
    position: relative;
    width: 100%;
    padding-left: 4em;
    
    /* left: 0; */
    /* right: 0; */
    overflow-x: scroll;
    scroll-snap-type: x;
    scroll-snap-align: center;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    overflow-y: hidden;
    /* scrollbar-gutter: stable both-edges; */
    /* scrollbar-width: auto; */
    scrollbar-color: transparent transparent;
    scrollbar-width: 0px;
    counter-reset: number;

    display: flex;
    gap: 8vw;
    /* grid-gap: 30vw;
    grid-auto-flow: column;
    grid-auto-columns: calc(15% - var(--gutter) * 2);
    grid-template-rows: minmax(150px, 1fr); */
}

.projects::-webkit-scrollbar {
    width: 8px;
  }
  
  .projects::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .projects::-webkit-scrollbar-thumb {
      /* width: 2px; */
    background-color: transparent;
    border-radius: 20px;
    /* border: 3px solid orange; */
  }


  
  /* .s3 .projects:before,
  .s3 .projects:after {
    content: '';
    width: 3rem;
  } */

  .project:last-child{
      margin-right: 2em;
      /* background-color: aqua; */
  }


.project{
    /* display: block; */
    /* display: inline-block; */
    position: relative;
    width: 80vw;
    text-align: center;
    padding-bottom: 2em;
    /* text-align: center; */
    /* scroll-snap-align: center; */
    /* scroll-snap-stop: always; */
    list-style: none;
    /* font-size: 0.5em; */
    /* padding-left: 1em; */
    /* padding-right: 1em; */
}

/* .project::marker{
    counter-increment: number;
    content: counter(number)"\a0";
} */
.project::before{
    position: absolute;
    left: -0.15em;
    top: -0.20em;
    font-size: 6em;
    color: var(--bk-color-darker);
    /* color: var(); */
    /* text-shadow: 1px 1px 0.02em var(--CTA-BGcolor), -1px -1px 0.02em var(--CTA-BGcolor), 1px 0 0.02em var(--CTA-BGcolor), 0 1px 0.02em var(--CTA-BGcolor); */
    counter-increment: number;
    content: counter(number);
    z-index: -1;
}

.project::active{
    color: var(--CTA-BGcolor);
}


.project-card{
    /* align-self: center;
    justify-self: center; */
    /* position: relative; */
    /* grid-area: card; */
    /* width: 100%; */
    /* min-width: 75%; */
    /* background-color: hsla(0, 0%, 93%, 1); */
    /* box-shadow: 0px 0.2em 0.7em -0.05em rgba(0,0,0,0.25); */
    /* border-radius: 110px; */
    /* display: subgrid; */
    /* grid-template-columns: 1fr; */
    /* grid-template-rows: 2fr 1fr; */
    /* grid-template-areas: "CardImage ProjectTechUsed"; */
    /* text-align: center; */
    /* aspect-ratio: 3 / 1.5; */
    /* padding-bottom: 0.3em; */
    /* margin-bottom: 0.5em; */

}


.project-imagePreview{
    /* position: relative; */

    /* width: 100%; */
    /* height: 100%; */
    
}

/* .project-image-replica{
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: -0.1em;
    margin-bottom: 0.6em;
    background: linear-gradient(0deg, rgba(139, 237, 135, 0.6), rgba(139, 237, 135, 0.6)), url('LAOCOON_XVIe_11.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 1em;
    box-shadow: 0px 1em 0.4em -0.3em hsla(0, 0%, 0%, 0.15);
    object-fit: cover;
    object-position: bottom;
    z-index: 99;
} */


.project-image{
    /* grid-area: CardImage; */
    /* position: absolute; */
    /* width: 100%; */
    /* display: inline; */
    height: 22.5vw;
    /* margin: auto 0; */
}

.project-details{
    /* display: inline; */
    width: 75%;
    margin: 0 auto;
    text-align: left;
}

.project-title{
    /* grid-area: title; */
    margin-bottom: 0.07em;
    position: relative;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.project-description{
    /* grid-area: description; */
    /* position: relative; */
    font-size: 0.4em;
    /* width: 75%; */
    margin-bottom: 2em;
    line-height: 1.25em;
    /* text-align: center; */
    /* display: none; */
}


.project-techUsed{
    /* grid-area: ProjectTechUsed; */
    /* position: relative; */
    /* top: -30%; */
    /* width: 60%; */
    /* height: 100%; */
    /* background-color: bisque; */
    /* min-width: 4em; */
    /* max-height: 20%; */
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2em;
    align-items:center;
    align-content:space-between;
}

.project-techUsed li{
    /* display: inline-block; */
    /* flex-grow: 1; */
    position: relative;
    list-style: none;
    min-width: 0.55em;
    width: 1em;
    /* height: 10%; */
    /* aspect-ratio: 1/1; */
    margin-top: -0.4em;
}

.project-techUsed li img{
    /* position: relative; */
    /* width: 150px; */
    /* height: 0.2px; */
    /* aspect-ratio: 1/1; */
    width: 100%;
    
}




.s4{
    /* margin: 0 auto; */
    /* padding: 0; */
    /* display: grid; */
    /* place-items: center; */
    /* grid-template-rows: 0.15fr 0.95fr; */
    /* justify-content: center; */
    /* width: 80vw; */
    /* text-align: center; */
    /* position: relative; */
    /* background-color: var(--bk-color); */
    
}

.s4 > h2{
    margin-bottom: 2em;
    font-weight: 300;
    font-style: italic;
    font-size: 2.5rem;
}

.s4 > h1,
.s4 > h2{
    text-align: center;
    text-transform:uppercase;
    line-height: .25em;
    position: relative;
}

/* .s4 h4::before{
    content: "Technos & Outils \a à ma portée";
    white-space: pre;
    color: var(--bk-color);
    text-shadow: 1px 1px black, -1px -1px black, 1px 0 black, 0 1px black;
    position: absolute;
    left: -15%;
}
.s4 h4::after{
    content: "Technos & Outils \a à ma portée";
    white-space: pre;
    color: var(--bk-color);
    text-shadow: 1px 1px black, -1px -1px black, 1px 0 black, 0 1px black;
    position: absolute;
    right: -15%;
    top: 0;
} */

.techSections{
    width: 100%;
    /* background-color: aquamarine; */
    display: grid;
    /* grid-template-columns:  repeat(auto-fit, minmax(320px, 1fr)); */
    grid-template-columns:  1fr 1fr;
    align-items: center;
    /* grid-auto-flow: column; */
    /* grid-gap: 0em; */
    align-content: center;
    text-align: center;
}

/* .techSections:nth-child(even){
    text-align: right;
}
.techSections:nth-child(odd){
    padding-left: 2em;
    text-align: left;
} */
.techSection{
    /* text-align: center; */
    position: relative;
    width: 100%;
    /* border:1px dashed red; */
    /* width: 100%; */
    height: 100%;
    padding: .75em 0;
    padding-bottom: .5em;

    /* border-bottom: 0.025em solid var(--CTA-BGcolor); */
    /* border-radius: 2em; */

    /* background: linear-gradient(90deg, rgba(45, 227, 41, 0.39) 0%, rgba(151, 253, 149, 0.39) 120%); */
    /* box-shadow: 0 0 .75em -0.0025em hsla(119, 77%, 33%, 0.35); */
}
.techSectionName{
    /* position: absolute; */
    /* top: -1em; */
    /* left: 50%; */
    /* transform: translate(-50%); */
    margin-bottom: .5em;
    color: var(--bk-color);
    font-size: 1.2em;
    text-shadow: 1px 1px .02em var(--CTA-BGcolor), -1px -1px .02em var(--CTA-BGcolor), 1px 0 .02em var(--CTA-BGcolor), 0 1px .02em var(--CTA-BGcolor);
    z-index: -1;

    /* border: 1px dashed red; */
}

/* .techSectionName::before{
    content: "";
    background: var(--accent-color);
    position: absolute;
    z-index: -1;
    width: 1.5em;
    height: 1.5em;
    border-radius: 100%;
} */
.techs{
    /* position: relative; */
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    align-items: baseline;
    place-content: center;
    
    /* border: 1px dashed green; */
}
.tech{
    /* position: relative; */
    list-style: none;
    /* border-bottom: 0.025em solid var(--CTA-BGcolor); */
    /* border: 1px dashed blue; */
}

.tech img{
    height: 1.50em;
 
}



    .s5{
      
        padding: 3em;
        /* border: 1px solid red; */
    }

    .s5::before,
    .s5::after{
        content:url("maTete.png");
        position: absolute;
        transform: scale(0.5);
        top: -100vh;
        filter: blur(0.5em);
        opacity: 0.7;
    }

    .s5::before{
        left: -55vw;
    }

    .s5::after{
        left: 43vw;
        z-index: -1;
    }

    .s5 > h1{
        margin-bottom: 2em;
        text-align: center;
        width: 100%;
    }

    .s5_formations{
        
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* grid-auto-rows: auto; */
        gap: 3em;
        height: fit-content;
        /* border: 1px solid green; */
        /* min-width: 768px; */

        
    }
    
    

    .s5_formation{
        /* max-width: 480px;  */
        height: 80%;
        /* display: inline-block; */
        background-color: hsla(0, 0%, 95%, 0.4);
        -webkit-backdrop-filter: blur(10em);
        box-shadow: 0px 0.2em 0.7em -0.05em rgba(0,0,0,0.25);
        border-radius: 50px;
     
    }

    
    .s5 .iconUniversite{
        position: relative;
        /* display: inline-block; */
        left: 50%;
        transform: translateX(-60%);
        text-align: center;
        margin: 0.25em;
        padding: 0.30em;
        width: 1.8em;
        background-color: var(--third-color);
        border-radius: 100%;
        background-color: hsla(0, 0%, 85%, 0.5);
        -webkit-backdrop-filter: blur(10em);
    }

    .s5_description{
        position: relative;
        padding: 2.5em 3em;
        font-size: 0.4em;
        line-height: 1.7em;
        /* letter-spacing: 0.06em; */
        height: 50%;
        overflow: auto;
    }

    .bullet::before{
        content: "•";
        margin-right: 0.5em;
        
    }

    .detailsFormation{
        height: 20%;
        /* background-color: var(--third-color); */
        background-color: hsla(0, 0%, 85%, 0.5);
        -webkit-backdrop-filter: blur(10em);
        padding: 0.2em 1em;
        display: flex;
        justify-content: space-evenly;
        align-items:center;
        /* gap: 0.4em; */

    }

    .detailsFormation > img{
        max-width: 3em;
        width: 40%;
        /* aspect-ratio: 8/2; */
        /* flex-shrink: 2; */
        /* flex-grow: 2; */
        /* margin-right: 2em; */
    }

    .detailsFormation > h5{
        font-size: 0.5em;
        /* width: 2em; */
        /* flex-grow: 2; */
        margin-left: 1em;
        line-height: 1.3em;
        /* margin-left: 2em; */
    }

    
    .lienFormation{
      font-size: 0.4em;
    }
    
    .iconUniversite,
    .detailsFormation,
    .lienFormation{
        visibility: visible;
    }

    .hide{
        display: none;
    }

    .s6{
        padding: 0 !important;
        text-align: center;
        height: 50vh;
       /* display: grid; */
       /* grid-template-columns: 1fr 1fr; */
       /* grid-gap: 1em; */
    }
    .s6 h6{
        width: 100%;
        font-size: clamp(20px,1em,44px);
        /* align-self: center;
        /* display: absolute; */
        /* transform: translateY(-2em); */
        margin-top: 1.5em; 
        margin-bottom: 1.5em;
    }
   
    .s6 a{
        margin: auto .5em;
        text-decoration: none;
    }
    .s6 a svg{
        width: 2em;
        text-align: center;
        vertical-align: middle;
    }


    .s6 .cbt{
        text-decoration: none;
        font-size: .5em;
        font-weight: 600;
        letter-spacing: .1em;
        color: white;
        background-color: black;
        display: inline;
        margin-top: 2em;
        padding: .6em 1em;
        border-radius: 2em;
        
        cursor: pointer;
        transition: all 0.1s ease-in;
    }
      
    .s6 .cbt:hover {
        /* box-shadow: none; */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
        /* color: #777; */
      }
      
    .s6 .cbt:active {
        /* box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25); */
        box-shadow: none;
      }
    



    @media (max-width: 768px){
        
        .menu a:not(a[href="#qui-suis-je"]){
            display: none;
        }

        

        
        .menu::after{
            /* content:url("assets/images/icons/hamburgerBar.svg"); */
            position: absolute;
            /* width: 10vw; */
            height: calc(var(--menuHeight) * 25 /100);
            /* top: calc(var(--menuHeight) - var(--menuHeight)/2); */
            right: 12vw;
            /* z-index: 2; */
            /* background-color: #000; */
        }

        .menu::after:active{
            color: aqua;
        }

        .menu::after:focus{
            color: aqua;
        }

        .menu::after:focus-visible{
            color: aqua;
        }

        .menu::after:focus-within{
            color: aqua;
        }
        
        .section > h1,
        .section > h2{
            width: 100%;
            line-height: initial;
            text-align: center;
        }

        .section > h1{
            font-size:3em;
            margin: initial 1.2em;
        }

        .s1::before{    
            position: fixed;
            top: -10em;
            left: -2em;
            transform: rotate(-4deg);
            z-index: -1;
            opacity: .30;
            width: 100vw;
        }

        .s4 h1{
            margin-bottom: 0;
        }
        
        /* .menu{
            position: fixed;
            flex-direction: column;
            height: 100vh;
            background-color: transparent;
            backdrop-filter: blur(25px);
        } */
    
        .s1{
            /* background-color: rgb(192, 152, 152); */
            /* box-shadow: 0px 2px 50px 10px inset; */
            
            display: flex;
            flex-direction: column;
           height: 100vh;
            overflow: hidden;
            /* align-content: center; */
            /* grid-template-rows: 1fr; */
            /* grid-template-rows: 1fr; */
            /* gap: 0px 0px; */
            /* row-gap: 1em; */
            /* grid-template-areas: "image image text text"; */
            /* align-items: start; */
            /* height: calc(100vh - var(--menuHeight)); */
            /* height: 100vh; */
        
            /* position: absolute; */
            
            /* background-image: url();
            background-repeat: repeat; */
            /* text-align: center; */
            /* padding: 0 10vw; */
        }
        
        .s1::after{
            left: 50%;
            transform: translateX(-50%);
            /* margin: 0 auto; */
            width: 50vw;
        }

        .s1__text{

            width: 100%;
            height: 35%;
            margin-left: auto;
            margin-right: auto;
            /* height: 50vh; */
            left: 1.5em;
            transform: none;
            position: sticky;
            align-self: flex-start;
            bottom: .5em;
            font-size: 1.025em;
            /* padding: 0; */
            /* border: 1px solid red; */

        }
        
        .s1_text_announcement h4{
            width: 62%;
        }

        
        
        .s1__image{
            /* position: absolute;
            width: 70%;
            top: 40vh;
            left: 30%;
            height: 50%;*/
            /* overflow: hidden; */
            position: absolute;
            width: 70vw;
            top: 0vh;
            left: 50vw;

            /* border: 1px solid red;² */
        }

        .s1__image img{
            /* height: 33%;
            object-fit:cover;
            object-position: 0 5px; */
            
        }

        .s3{
            position: relative;
            /* top: 100vh; */
        }
        .s3 > h1{
            margin-top: 0;
        }

        .s4{
            padding: 0 !important;
        }



        .s5{
            padding: 0 !important;
        }

        .s5 > h1{
            margin-bottom: 1em;
        }

        .s5_formations{
            padding: 2em;
            grid-template-columns: initial;
            grid-template-rows: 1fr 1fr;
            gap: 0;
        }
        
        .s5_formation{
            max-width: 100%;
        }

        .s5::before,
        .s5::after{
            transform: scale(0.4);
        }

        .s5::before{
            left: -115vw;
            /* visibility: hidden; */
        }
    
        .s5::after{
            top: -25vh;
            left: -12.5vw;
            z-index: -1;
        }



    }

    @media (max-width: 426px){

        .section h1{
            /* border: 1px solid red; */
        }

        .s1{
            /* height: 100vh; */
        }
        .s1__text{
            /* position: relative; */
            left: initial;
            top: 1.5em;
            width: 75%;
            position: sticky;
            bottom: 1em;
            font-size: 1em;
            margin-top: 0;
            margin-bottom: 0;
            /* border: 1px solid red; */
        }
        
        .s1_text_announcement h4{
            width: 100%;
        }
        .s1__image{
            /* position: absolute;
            width: 70%;
            top: 40vh;
            left: 30%;
            height: 50%;*/
            /* overflow: unset; */
            /* position: relative; */
            width: 120vw;
            top: -3em;
            /* bottom: 60vh; */
            left: 50vw;
            /* transform: translateX(-55%); */
            /* border: 1px solid red; */
        }


        .projects{
            flex-direction: column;
            padding-left: unset;
            overflow: hidden;
            font-size: initial;
            font-size: 1.5em;
        }

        .project{
            top: 1em;
            width: 100%;
        }

        .project::before{
            left: 0;
            top:-.25em;
            font-size: 8em;
        }

        .project::active{
        }

        .project-image{
            height: 50vw;
        }

        .project-details{

        }

        .project-title{

        }

        .project-description{

        }

        .project-techUsed{

        }

        .project-techUsed li{

        }

        .project-techUsed li img{

        }

        .s3{
            margin-top: -7em;
        }

        .section:not(.s3),
        .attributions{
            /* top: -10em; */
        }

        .s4 > h2{
            margin-bottom: 1.2em;
        }

        .s4 .techSections{
            grid-template-columns: unset;
        }

        .s4 .tech img{
            height: 2em;
         
        }

        .s5 h1{
            font-size: 2em;
            /* padding: 1em; */
        }
        .s5_formations{
            padding: 1em;
        }

        .s5::before,
        .s5::after{
            transform: scale(0.3);
        }

        .s5::before{
            left: -115vw;
            /* visibility: hidden; */
        }
    
        .s5::after{
            top: -25vh;
            left: -12.5vw;
            z-index: -1;
        }

    }

    @media (max-width: 376px){

        
        .s1{
            /* top: 5em; */
            /* padding-top:0;
            margin-top:0; */
            height: 125vh;
            /* margin-bottom: var(--S1marginBottomAndImageTopShift); */
        }
        .s1__image{
            position: absolute;
            width: 100vw;
            top: 50vh;
            left: -2.5vw;
        }

        .s1__text{
            /* margin-top: 1em; */
            top:1em;
            font-size: 1em;
        }

        .s1__text span,
        .s1__text h4{
            text-align: center;
        }

        .s1__text cite{
            position: relative;
            left: 10%;
        }

        
    .s1::after{
        position: absolute;
        top: 12em;
        left: 50vw;
        width: 90vw;
        /* overflow:unset; */
        z-index: -1;    
    }

    .s1_text_contact-cta{
        position: relative;
        left: 25%;
        /* align-self: center; */
    }

    .s3{
        margin-top: -1.5em;
    }
    
    }

    @media (max-width: 321px){
        .section > h1{
            font-size: 1.8em;
        }
    }