@import url("https://use.typekit.net/zxb0plf.css");
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

:root {
  --black: black;
  --white: white;
  --grey: #707070;
  --cyan: #309aac;
  --blue: #477194;
  --marin-blue : #34429d;
  --pink: #e2b9b3;
  --purple: #d48ec0;
  --softcyan: #abced2;
  --dark: #222222;
  --murky : #1b1b1b;
  --imagic : #c9d22c;
  --green: #91b659;
  --red: #e86245;
  --yellow: #e0ae27;
  --orange: #e08a27;
  --ft-title : 'Marcellus', serif;
  --ft-text : 'Rajdhani', sans-serif;
}


/**/

.projet .fixed  .color.red{
  color: var(--red);
}

.projet .fixed .color.green{
  color: var(--green);
}

.projet .fixed .color.pink{
  color: var(--pink);
}

.projet .fixed .color.purple{
  color: var(--purple);
}

.projet .fixed .color.blue{
  color: var(--blue);
}

.projet .fixed .color.marin-blue{
  color: var(--marin-blue);
}

.projet .fixed .color.orange{
  color: var(--orange);
}

.projet .fixed .color.yellow{
  color: var(--yellow);
}


.App {
  height: 100vh;
  max-height: 100%;
  min-width: 100%;
  width: fit-content;
}

button, input[type="checkbox"]{
  cursor: pointer;
}

.react-draggable{
  cursor: grab;
}

.react-draggable:active{
  cursor: grabbing;
}



body {
  font-family: var(--ft-text);
  color: var(--white);
  background-color: var(--dark);
}

.scroll-container {
  display: flex !important;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: fit-content;
  height: 100%;
}

.has-scroll-scrolling .c-scrollbar, .has-scroll-dragging .c-scrollbar, .c-scrollbar:hover{
  opacity : 0 !important;
}

.has-scroll-scrolling .c-scrollbar:last-child, .has-scroll-dragging .c-scrollbar:last-child, .c-scrollbar:last-child:hover{
  opacity : 1 !important;
}

.c-scrollbar_thumb{
  background-color: white !important;
}

a {
  text-decoration: none;
  color: var(--white);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page {
  width: 100%;
  min-width: 100vw;
  height: 100%;
}

p {
  font-weight: 400;
  font-size: 20px;
  line-height: 144%;
  margin: 0;
  white-space: normal;
}

h1 {
  font-weight: lighter;
  font-size: 65px;
  margin: 0;
  padding: 0;
  line-height: 95%;
  text-transform: uppercase;
}

h2, h3, h4, h5, h6 {
  font-weight: lighter;
  margin : 0;
  padding: 0;
  white-space: normal;
}

.scrollBtn {
  position: absolute;
  right : 100px;
  font-family: var(--ft-text);
  font-size: 20px;
  color: var(--white);
  border-style: none;
  outline: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  width: fit-content;
}

.scrollBtn svg {
  margin-left: 10px;
  margin-right: 10px;
}

.previousBtn {
  position: absolute;
  left : 100px;
  font-family: var(--ft-text);
  font-size: 20px;
  color: var(--white);
  border-style: none;
  outline: none;
  background-color: transparent;
  display: flex;
  align-items: center;
}

.previousBtn svg {
  margin-left: 10px;
  margin-right: 10px;
  transform: rotate(180deg);
}

.text-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    row-gap: 40px;
    z-index: 1;
}

.real .text-container {
  row-gap: 20px;
}

.text-container .socials{
  margin-top: 40px;
}

.real .text-container h1{
  margin-bottom: 40px;
}

.real .text-container .filtres{
  margin-bottom: 40px;
}

.real .text-container h2{
  font-size: 20px;
  width : 500px;
}

.real .text-container p{
  font-size: 16px;
  width : 500px;
}

/* Réalisations */
.real {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 100px;
  gap : 100px;
  animation: fondu 4s ease;
}

@keyframes fondu {
  0%{
    opacity: 0;
  }30%{
    opacity: 0;
  }100%{
    opacity: 1;
  }
}

.real.all {
  background-color: var(--murky);
}

.real .gallery{
  display: grid; 
  grid-auto-flow: column; 
  grid-template-rows: 1fr 1fr; 
  gap: 20px;
}

.real .gallery a{
  height: 350px;
  width : 350px;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.real .gallery a:hover{
  z-index: 1;
}

.all .gallery {
  display: flex;
  gap: 0;
}

.all .gallery a {
  transform: translateX(20px);
  margin-right: 100px;
}

.all .gallery a:nth-child(3n){
  width : 400px;
  height: 400px;
  transform: translate(-620px, -270px);
}

.all .gallery a:nth-child(2n){
  width : 300px;
  height: 300px;
  transform: translate(-610px, 400px);
}

.all .gallery a:nth-child(4n){
  width : 450px;
  height: 450px;
  transform: translate(-930px, 300px);
  margin-right: -600px;
}

.all .gallery a:nth-child(5n){
  width : 500px;
  height: 500px;
  transform: translate(-225px, 80px);
  margin-right: 30px;
}

.all .gallery a:nth-child(6n){
  transform: translate(-525px, -80px);
}

.all .gallery a:nth-child(7n){
  transform: translate(-605px, -10px);
}

.all .gallery a:nth-child(9n){
  margin-right: -420px;
}

.all .gallery a:nth-child(11n){
  transform: translate(-10px, 310px);
}

.all .gallery a:nth-child(14n){
  transform: translate(-470px, -15px);
  margin-right: 200px;
}

.all .gallery a:nth-child(13n){
  transform: translate(310px, -110px);
}

.all .gallery a:nth-child(17n){
  transform: translate(-10px, 110px);
}

.real #toutes a{
  display: flex;
}

.real #identite-visuelle .identite-visuelle{
  display: flex;
}

.real #edition .edition{
  display: flex;
}

.real #web .web{
  display: flex;
}

.real #video .video{
  display: flex;
}

.real #signaletique .signaletique{
  display: flex;
}

.real #packaging .packaging{
  display: flex;
}

.real #illustration .illustration{
  display: flex;
}

.real #photographie .photographie{
  display: flex;
}

.real .gallery a p{
  opacity: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding:20px 40px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  z-index: 1;
  position: absolute;
  font-size: 24px;
  line-height: 100%;
  font-family: var(--ft-title);
  background: linear-gradient(225deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  transition: ease 0.4s;
}

.real .gallery a:hover p{
  opacity: 1;
}

.real .gallery a img{
  height: 100%;
  min-width : 110%;
  object-fit: cover;
  background-color: var(--white);
}


.real-anim {
  opacity: 0;
  visibility: hidden;
  z-index : 1000;
  top :0;
  left : 0;
  position: fixed;
  width: 100%;
  height : 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("../public/image/transitions/tous.webp");
  background-size: cover;
  background-position: center;
  animation: showReal 3.5s ease;
}

.real-anim.anim-identite-visuelle{
  background-image: url("../public/image/transitions/identite-visuelle.webp");
}

.real-anim.anim-edition{
  background-image: url("../public/image/transitions/edition.webp");
}

.real-anim.anim-web{
  background-image: url("../public/image/transitions/web.webp");
}

.real-anim.anim-video{
  background-image: url("../public/image/transitions/video.webp");
}

.real-anim.anim-signaletique{
  background-image: url("../public/image/transitions/signaletique.webp");
}

.real-anim.anim-packaging{
  background-image: url("../public/image/transitions/packaging.webp");
}

.real-anim.anim-illustration{
  background-image: url("../public/image/transitions/illustration.webp");
}

.real-anim.anim-photographie{
  background-image: url("../public/image/transitions/photo.webp");
}

.real-anim .title-container{
  overflow: hidden;
  width: fit-content;
  height: fit-content;
  color : var(--black);
}

.real-anim .title-container h3{
  text-align: center;
  font-family: var(--ft-title);
  text-transform: uppercase;
  font-size: 75px;
  transform-origin: left top;
  animation: showRealTitle 1s cubic-bezier(.33,.01,.11,.99);
}

.real-anim .title-container h4{
  text-align: center;
  font-weight: 200;
  font-family: var(--ft-text);
  font-size: 50px;
  transform-origin: left top;
  animation: showRealTitle 1.8s cubic-bezier(.33,.01,.11,.99);
}

@keyframes showRealTitle{
  0%{
    transform: translateY(100%) rotate(2deg);
  }
  100%{
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes showReal{
  0%{
    visibility: visible;
    opacity: 1;
  }
  80%{
    visibility: visible;
    opacity: 1;
  }
  99%{
    visibility: visible;
    opacity: 0;
  }
  100%{
    visibility: hidden;
  }
}

h1, h2 {
  font-family: var(--ft-title);
}

.introHomePage{
  position: fixed;
  top : 0;
  left : 0;
  z-index: 1000;
  width: 100%;
  height :100%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.introHomePage .bgIntro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  object-fit: cover;
  animation : littleBackgroundIntro cubic-bezier(.33,.01,.11,.99) 12s;
}

.introHomePage .logoContainer{
  z-index: 1000;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.introHomePage #logo-imagic{
  z-index: 1000;
  width : 300px;
  height: auto;
  transform-origin: top left;
  animation: introLogo 5s cubic-bezier(.33,.01,.11,.99);
}

@keyframes introLogo{
  0%{
    transform: translateY(100px) rotate(5deg);
  }
  20%{
    transform: translateY(0px) rotate(0deg);
  }
  80%{
    transform: translateY(0px) rotate(0deg);
  }
  99%{
    transform: translateY(100px) rotate(5deg);
    visibility: visible;
  }
  100%{
    transform: translateY(100px) rotate(5deg);
    visibility: hidden;
  }
}

.containerHomePage nav, .containerHomePage .socials, .containerHomePage .btnVideo, .containerHomePage .scrollBtn{
  animation: apparition 10s cubic-bezier(.33,.01,.11,.99);
}

.containerHomePage .line-container{
  overflow: hidden;
  display: block;
  margin: -10px 0;
  padding: 10px 0;
}

.containerHomePage .line-text{
  transform-origin: top left;
  display: block;
  animation: textanim 8s cubic-bezier(.33,.01,.11,.99);
}

@keyframes textanim{
  0%{
    opacity: 0;
  }80%{
    opacity: 0;
    transform: translateY(100%) rotate(10deg);
  }
  100%{
    opacity: 1;
    transform: translateY(0px) rotate(0);
  }
}


@keyframes apparition{
  0%{
    opacity: 0;
  }80%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@keyframes littleBackground {
  0%{
      scale: 100%;
  }
  47%{
      scale : 100%;
  }
  69%{
      scale : 80%;
  }
  74%{
      scale : 80%;
  }
  100%{
      scale : 100%;
  }
}

@keyframes littleBackgroundIntro {
  0%{
      visibility: visible;
  }
  25%{
      opacity: 1;
  }
  32%{
      opacity: 0;
      visibility: visible;
  }
  33%{
      visibility: hidden;
  }
}

.visualizer{
  display: none;
}

.projet{
  width: fit-content;
  min-width: 100%;
  height : 100%;
  display: flex;
}

.projet .fixed{
  height: 100%;
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 100px;
  row-gap: 20px;
  background-color: var(--murky);
  z-index : 1;
}

.projet .fixed h1{
  margin-bottom: 40px;
  font-size: 55px;
}

.projet .fixed h2{
  font-size: 20px;
  width : 425px;
}

.projet .fixed .color{
  color : var(--cyan);
}


.projet .fixed p{
  font-size: 16px;
  width : 425px;
}

.projet .nav {
  margin-top: 100px;
  width: 425px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.projet .nav svg{
  width : 13px;
  height: 13px;
  object-fit :contain;
  transition: ease 0.2s;
}

.projet .nav .back{
  background-color: transparent;
  border-style: none;
  width: fit-content;
  display: flex;
  align-items: center;
  font-family: var(--ft-text);
  font-size: 16px;
  color: var(--white);
  column-gap : 10px;
  position: relative;
}

.projet .nav .forward{
  height: fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  padding: 8px 24px;
  border : var(--white) 1px solid;
  border-radius: 22px;
  column-gap : 10px;
  transition: 0.4s ease;
}

.projet .nav .forward svg path{
  transition: ease 0.4s;
}

.projet .nav .forward:hover svg path{
  fill: #222222;
}

.projet .nav .forward:hover{
  color : var(--black);
  background-color: var(--white);
}

.projet .nav .back:hover svg{
  transform: rotate(-90deg);
}

.projet .nav .back-choice{
  padding-top: 35px;
  position: absolute;
  top :0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  visibility: hidden;
}

.projet .nav .back-choice a{
  border-top: var(--dark) 1px solid;
  width : 100%;
  white-space: nowrap;
  padding: 12px 0px 12px 24px;
  border-radius: 2px;
  text-align: start;
  opacity: 0;
  font-family: var(--ft-title);
  transition: 0.2s ease;
}

.projet .nav .back-choice a:hover{
  color: var(--grey);
}

.projet .nav .back:hover .back-choice{
  visibility: visible;
}

.projet .nav .back:hover a{
  opacity: 1;
}

.projet .start-img{
  overflow: hidden;
  min-width : calc(100vw - 625px);
  max-width : calc(100vw - 625px);
  height: 100%;
}

.projet .start-img img{
  height:100%;
  width : 124%;
  object-fit: cover;
  object-position: center center;
  margin-left: -10%;
}

.projet .text{
  width : 425px;
  max-width: 100%;
  z-index :1;
}

.projet .text h3{
  font-size: 20px;
  font-family: var(--ft-title);
  margin-bottom: 15px;
}

.projet .text p{
  font-size: 16px;
}


.projet-gallery-ctn{
  height : 100vh;
  width: fit-content;
  padding: 0 525px 0 100px;;
  display: flex;
  align-items: center;
}

.projet-gallery-ctn img{
  object-fit: cover;
}

.col{
  height: 80vh;
  width: fit-content;
  display: flex;
  flex-direction: column;
}

.col-full{
  height: 100vh;
  width: fit-content;
  display: flex;
  flex-direction: column;
}

.elm-top{
  justify-content: flex-start;
  row-gap: 40px;
}

.elm-center{
  justify-content: center;
  row-gap: 40px;
}

.elm-bottom{
  justify-content: flex-end;
  row-gap: 40px;
}

.full-img{
  height : 100vh;
  width: 100vw;
}

.full-height{
  height : 80vh;
}

.img-c{
  width:fit-content;
  height: fit-content;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.move{
  width: 140%;
}

.b-5{
  margin-left: -5vh;
}

.b-10{
  margin-left: -10vh;
}

.b-20{
  margin-left: -20vh;
}

.b-40{
  margin-left: -40vh;
}

.b-60{
  margin-left: -60vh;
}

.b-80{
  margin-left: -80vh;
}

.w-20{
  width : 20vh;
}

.w-40{
  width : 40vh;
}

.w-60{
  width : 60vh;
}

.w-80{
  width : 80vh;
}

.w-100{
  width : 100vh;
}

.w-120{
  width : 120vh;
}

.w-140{
  width : 140vh;
}

.mr-50{
  margin-right: 50px;
}

.mr-100{
  margin-right: 100px;
}

.ml-50{
  margin-left: 50px;
}

.ml-100{
  margin-left: 100px;
}

.logotype svg{
  width: 150px;
}

.politique{
  padding : 200px 100px;
  box-sizing: border-box;
}

.politique h1{
  font-size: 60px;
  margin-bottom: 60px;
}

.politique h2{
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 24px;
}

.politique p{
  font-size: 18px;
}

.politique ul{
  font-size: 18px;
  margin: 10px 0;
  padding-left: 10px;
}

.politique ul li::before{
  content : "-";
  margin-right: 10px;
}

.politique a{
  color : var(--cyan);
}

@media screen and (max-width: 1224px) {
  .App{
    min-height: 100vh;
    max-width: 100vw;
    width: 100%;
  }

  .scroll-container{
    display: flex;
    flex-direction: column;
  }

  .politique{
    padding : 180px 100px;
  }

  .scrollBtn{
    display: none;
  }

  .page {
    width: 100%;
    min-width: 100%;
  }

  .text-container{
    width : 100%;
  }

  .text-container p{
    max-width: 100%;
  }

  .text-container h2{
    max-width: 100%;
  }

  .text-container h2::after{
    content : "voir plus";
    margin-left: 10px;
    font-family: var(--ft-text);
    color: #ffffff99;
    font-weight: 500;
  }

  h2.more::after{
    display: none;
  }

  .real .text-container .filtres{
    margin-top: 40px;
    order : 2
  }

  .real .text-container p{
    margin-top: 20px;
    display: none;
  }

  .real{
    flex-direction: column;
    box-sizing: border-box;
    height : fit-content;
    padding: 180px 100px 100px;
    gap: 20px;
  }

  .real .gallery{
    width: 100%;
    flex-direction: column;
  }

  .all .gallery {
    display: grid; 
    grid-auto-flow: row; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
  }
  .all .gallery a:nth-child(n){
    width : inherit;
    height: inherit;
    transform: none;
    margin-right:0;
  }

  .real .gallery {
    display: grid; 
    grid-auto-flow: row; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px 20px;
  }

  .real .gallery a{
    display: none;
    flex-direction:column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
    row-gap: 10px;
    overflow:hidden;
  }

  .real .gallery a:nth-child(n){
    width : calc(50vw - 120px);
    height: fit-content;
    transform: none;
    margin-right:0;
  }

  .real .gallery a img{
    width: 100%;
    height : calc(50vw - 120px);
    min-width: inherit;
  }

  .real .gallery a p{
    opacity: 1;
    height: fit-content;
    width: fit-content;
    padding:0;
    display: block;
    position: initial;
    font-size: 24px;
    line-height: 100%;
    font-family: var(--ft-title);
    background: none;
    transition: ease 0.4s;
    font-size: calc(16px + 0.6vw);
  }

  .real .text-container{
    row-gap: 0px;
  }

  .real-anim .title-container h3{
    font-size: 60px;
  }
  
  .real-anim .title-container h4{
    font-size: 40px;
  }

  .projet{
    flex-direction: column;
    height: fit-content;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .projet .fixed{
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 180px 100px;
  }

  .projet .fixed h1{
    width: fit-content;
  }
  
  .projet .fixed h2{
    font-size: 20px;
    width : 425px;
    max-width: 100%;
  }
  
  .projet .fixed p{
    font-size: 16px;
    width : 425px;
    max-width: 100%;
  }
  
  .projet .nav {
    margin-top: 100px;
    width: 425px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
  }

  .projet .scroll-container{
    width: 100%;
    max-width: 100%;
    height: fit-content;
    overflow-x: hidden;
  }

  .projet .start-img{
    overflow: hidden;
    min-width : 100%;
    max-width : 100%;
    height: 80vw;
  }
  
  .projet .start-img img{
    width : 100%;
    object-fit: cover;
    object-position: center center;
    margin-left: 0;
  }


  .projet-gallery-ctn{
    box-sizing: border-box;
    height : 100%;
    width: 100%;
    padding: 100px 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    row-gap: 40px;
  }
  
  .projet-gallery-ctn img{
    object-fit: cover;
  }
  
  .col{
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .col-full{
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .elm-top{
    justify-content: flex-start;
    row-gap: 40px;
  }
  
  .elm-center{
    justify-content: flex-start;
    row-gap: 40px;
  }
  
  .elm-bottom{
    justify-content: flex-start;
    row-gap: 40px;
  }
  
  .full-img{
    height : fit-content;
    width: 100%;
    padding-right: 0;
  }
  
  .full-height{
    height : fit-content;
  }
  
  .img-c{
    width:100%;
    height: fit-content;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .move{
    width: 100%;
  }
  
  .b-5{
    margin-left: 0;
  }
  
  .b-10{
    margin-left: 0;
  }
  
  .b-20{
    margin-left: 0;
  }
  
  .b-40{
    margin-left: 0;
  }
  
  .b-60{
    margin-left: 0;
  }
  
  .b-80{
    margin-left: 0;
  }
  
  .w-20{
    width : 100%;
  }
  
  .w-40{
    width : 100%;
  }
  
  .w-60{
    width : 100%;
  }
  
  .w-80{
    width : 100%;
  }
  
  .w-100{
    width : 100%;
  }

  .w-120{
    width : 100%;
  }
  
  .w-140{
    width : 100%;
  }
  
  .mr-50{
    margin-right: 0;
  }
  
  .mr-100{
    margin-right: 0;
  }
  
  .ml-50{
    margin-left: 0;
  }
  
  .ml-100{
    margin-left: 0;
  }

}

@media screen and (max-width: 800px) {
  .visualizer{
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: #222222cf;
    display: none;
  }
  
  .count{
    display: flex;
    align-items: flex-end;
    position: absolute;
    top : 20px;
    left : 20px;
    background-color: var(--murky);
    padding: 5px 10px;
    z-index: 4;
    font-size: 16px;
    font-weight: 500;
    color: var(--grey);
  }
  
  .count span:first-child{
    color: var(--white);
    font-size: 20px;
    margin-right: 3px;
  }
  
  .close{
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top : 20px;
    right : 20px;
    outline: none;
    border: none;
    height: 35px;
    width: 35px;
    background-color: var(--murky);
  }
  
  .visualizer .left{
    display: flex;
    justify-content: flex-start;
    padding-left: 20px;
    align-items: center;
    position: absolute;
    z-index: 1;
    top : 0px;
    left : 0px;
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
    border: none;
  }
  
  .visualizer .left:hover{
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  }
  
  .visualizer .right{
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
    align-items: center;
    position: absolute;
    z-index: 1;
    top : 0px;
    right : 0px;
    height: 100%;
    width: 20%;
    background: linear-gradient(-90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
    border: none;
  }

  .visualizer .right svg {
    transform: rotate(180deg);
    width: 25px;
    display: block;
  }
  
  .visualizer .right:hover{
    background: linear-gradient(-90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  }
  
  .img-ctn{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .img-visual{
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
  
  .img-visual.react-draggable:not(#big){
    transform: none !important;
  }
  
  #big{
    width: 300%;
    max-height: inherit;
    z-index: 3;
  }

  .introHomePage .bgIntro {
    object-position: 75% 50%;
  }

  .politique{
    padding : 120px 50px 100px;
  }

  .politique h1{
    font-size: 40px;
  }

  .real .text-container h2{
    font-size: 18px;
  }

  .text-container p{
    font-size: 16px;
  }

  .introHomePage #logo-imagic{
    width: 150px;
  }

  .real .gallery a p{
    font-size: 20px;
  }

  .real{
    padding: 120px 50px 100px;
  }

  .real .gallery a:nth-child(n){
    width : calc(50vw - 70px);
  }

  .real .gallery a img{
    height : calc(50vw - 70px);
  }

  .real h1{
    font-size: 60px;
  }

  .real .text-container h1{
    margin-bottom: 25px;
  }

  .real-anim .title-container h3{
    font-size: 48px;
  }
  
  .real-anim .title-container h4{
    font-size: 28px;
  }

  .projet .fixed{
    padding: 120px 50px;
  }

  .projet .fixed h1{
    margin-bottom: 20px;
  }

  .projet .fixed .nav{
    margin-top: 50px;
  }

  .projet-gallery-ctn{
    padding: 100px 50px;
  }
}

@media screen and (max-width: 600px) {
  .politique h1{
    font-size: 30px;
    margin-bottom: 50px;
  }

  .real h1{
    font-size: 40px;
  }

  .real .gallery a p{
    font-size: 18px;
  }

  .real-anim .title-container h3{
    font-size: 40px;
  }
  
  .real-anim .title-container h4{
    font-size: 22px;
  }

  .projet .fixed h1{
    font-size: 40px;
  }

  .projet .fixed h2{
    font-size: 18px;
  }

  .projet .fixed .nav{
    margin-top: 30px;
  }
}
@media screen and (max-width: 400px) {
  .politique{
    padding : 120px 20px 100px;
  }

  .politique h1{
    font-size: 26px;
    margin-bottom: 40px;
  }

  .real{
    padding: 120px 20px 100px;
    gap: 10px;
  }
  .real .text-container h1{
    font-size: 30px;
    margin-bottom: 15px;
  }

  .real .text-container h2{
    font-size: 16px;
  }

  .real .gallery {
    gap: 40px 10px;
  }

  .real .gallery a:nth-child(n){
    width : calc(50vw - 30px);
  }

  .real .gallery a img{
    height : calc(50vw - 30px);
  }

  .real .gallery a p{
    font-size: 16px;
  }

  .real-anim .title-container h3{
    font-size: 30px;
  }
  
  .real-anim .title-container h4{
    font-size: 20px;
    margin: 0 20px;
  }

  .projet .nav {
    row-gap: 20px;
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .projet .fixed{
    padding: 120px 20px;
  }

  .projet .fixed h1{
    font-size: 30px;
  }

  .projet-gallery-ctn{
    padding: 100px 20px;
  }
}

@media screen and (max-width: 340px) {
  .real-anim .title-container h3{
    font-size: 26px;
  }
  
  .real-anim .title-container h4{
    font-size: 18px;
    margin: 0 20px;
  }
}


/**/

.agence {
    width: fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 80px;
    padding-left: 100px;
}

.agence strong{
  font-weight: inherit;
}

.title-agence{
    width: fit-content;
}

.title-agence h1{
    margin-bottom: 40px;
    overflow: hidden;
}

.title-agence h1 div{
  transform-origin: top left;
  animation: apparitionTitre 1s ease;
}

@keyframes apparitionTitre {
  0%{
    transform: translateY(100%) rotate(10deg);
    opacity: 0.5;
  }
  100%{
    transform: translateY(0%);
    opacity: 1;
  }
}

.title-agence h2{
    margin-bottom: 16px;
    animation: apparitionTitre2 3s ease;
}

@keyframes apparitionTitre2 {
  0%{
    opacity: 0;
  }
  10%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

.title-agence p{
    width: 450px;
    max-width: 100%;
    margin-bottom: 60px;
    animation: apparitionText 4s ease;
}

.title-agence p a{
  color : var(--imagic);
}

@keyframes apparitionText {
  0%{
    opacity: 0;
  }
  10%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

.imagiciens{
    height : 100vh;
    width: 150vh;
    object-fit: cover;
    animation: apparitionTitre2 2s ease-in-out;
}

.floating-desc-ctn{
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: -100vh;
    margin-right: calc(100vh - 550px);
    box-sizing: border-box;
}

.floating-desc-ctn>div{
    box-sizing: content-box;
    width: 450px;
    height: fit-content;
    padding: 22px 32px;
    background-color: var(--murky);
    max-width: 100%;
}

.floating-desc-ctn>div h3{
    font-size: 20px;
    font-family: "Marcellus";
    margin-bottom: 14px;
    width: 100%;
}

.floating-desc-ctn>div p a{
  color : var(--imagic);
}

.floating-desc-ctn>div p{
    font-size: 16px;
    width: 100%;
}

.text-video{
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    width: fit-content;
    justify-content: flex-end;
    row-gap: 60px;
    margin-right: 100px;
    padding-bottom: 22px;
    box-sizing: border-box;
}

.text-video p{
    width: 450px;
    max-width: 100%;
    font-size: 16px;
}

.text-video video{
    width: 70vh;
    height: fit-content;
}

.references{
    height: fit-content;
    width: fit-content;
}

.references p {
    width: 600px;
    font-size: 16px;
    max-width: 100%;
}

.references h2{
    font-weight: lighter;
    font-size: 55px;
    line-height: 55%;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.references .btn-link-ctn{
    margin-top: 40px;
    width: 100% ;
    display: flex;
    justify-content: flex-end;
}

.references .btn-link{
    color : var(--imagic);
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    border : 1px solid var(--white);
    font-weight: 500;
    transition: ease 0.4s;
}

.references .btn-link:hover{
    color: var(--murky);
    background-color: var(--white);
}

.references .btn-link path{
    fill: var(--imagic);
    transition: ease 0.4s;
}

.references .btn-link:hover path{
    fill: var(--murky);
}

.footer-agence {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 5px;
  height: 100vh;
  width: fit-content;
  padding : 0 100px 0 100px;
  box-sizing: border-box;
  background-color: var(--murky);
}

.footer-agence h2, h3{
  width: fit-content;
  max-width: 100%;
  font-size: 18px;
}

.footer-agence h3{
  font-size: 16px;
}

.footer-agence p{
  margin-top: 15px;
  width: 450px;
  max-width: 100%;
  font-size: 16px;
}

.footer-agence a{
  margin-top: 5px;
  color: var(--imagic);
  font-size: 16px;
  font-weight: 500;
}

.footer-agence a svg{
  margin-left: 2px;
  transform: translateY(2px);
}

.footer-agence a svg path{
  fill: var(--imagic);
}

@media screen and (max-width: 1224px){
    .agence {
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        column-gap: 0;
        padding-left: 100px;
        padding-right: 100px;
        width: 100%;
        padding-bottom: 100px;
    }

    .title-agence{
        width: 100%;
        margin-top: 200px;
        margin-bottom: 100px;
    }

    .title-agence p{
      width: fit-content;
    }

    .imagiciens{
        height : auto;
        width: 100%;
        object-fit: cover;
    }

    .floating-desc-ctn{
        height: fit-content;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 100px;
    }

    .floating-desc-ctn>div{
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        height: fit-content;
        padding: 0;
        background-color: transparent;
    }

    .text-video{
        margin-top: 100px;
        height: fit-content;
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: flex-start;
        row-gap: 60px;
        margin-right: 0;
        padding-bottom: 0;
        box-sizing: border-box;
    }

    .text-video video{
        width: 100%;
        height: fit-content;
    }

    .references{
        height: fit-content;
        width: 100%;
        margin-top: 100px;
    }

    .references p {
      width: fit-content;
    }
    
    .references .btn-link-ctn{
        justify-content: flex-start;
    }

    .footer-agence {
      margin-top: 100px;
      height: fit-content;
      width: 100%;
      padding : 80px 100px;
    }

    .footer-agence p{
      width: 100%;
    }
  
}

@media screen and (max-width: 800px){
    .agence {
        padding-left: 50px;
        padding-right: 50px;
    }

    .agence h1{
        font-size: 60px;
    }

    .references h2{
        font-size: 48px;
    }

    .title-agence{
        margin-top: 150px;
    }

    .text-video p{
      width: 100%;
    }

    .footer-agence {
      padding : 0;
      padding-top: 50px;
      background-color: transparent;
      border-top: 1px solid var(--grey);
    }
}

@media screen and (max-width: 400px){
    .agence {
        padding-left: 20px;
        padding-right: 20px;
    }

    .agence h1{
        font-size: 48px;
    }

    .title-agence h2{
        font-size: 18px;
    }

    .title-agence p{
        font-size: 16px;
    }

    .floating-desc-ctn>div h3{
        font-size: 18px;
    }

    .references h2{
        font-size: 32px;
        margin-bottom: 40px;
    }

}

/**/
.socials{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  -webkit-column-gap: 20px;
  z-index: 1;
}

.socials li{
  width: fit-content;
  height: fit-content;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all ease 0.5s;
}

.socials li a {
  border-radius: 50%;
  /*border: solid 1px var(--white);*/
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  /*padding: 5px;*/
}

.socials li a svg{
  width : 26px;
  height : 26px;
}

.cls-1 {
  fill: var(--white);
  transition: ease 0.4s;
}

.socials li a:hover .cls-1 {
  fill: var(--imagic);
}

.cls-2{
  fill:none;
}

/**/

nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 60px 100px 0 100px;
  filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 0.1));
  font-family: var(--ft-title);
}

nav.invert{
  filter : invert();
}

nav .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav .logo svg{
  width : 135px;
  height : 35px;
  object-fit: contain;
}

nav a {
  transition: all ease 0.5s;
}

nav a.active {
  font-weight: bold;
}

nav .burgerIcon{
  outline: none;
  background-color: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap : 12px;
  align-items: flex-end;
  margin-bottom: 5px;
}

nav .burgerIcon:hover .bottomel, nav .burgerIcon:focus .bottomel{
  transform: translateX(-30px);
}

nav .burgerIcon span {
  background-color: var(--white);
}

nav .burgerIcon .topel {
  height: 2px;
  width : 60px;
  background-color: var(--imagic);
}

nav .burgerIcon .bottomel {
  height: 2px;
  width : 30px;
  transition: all ease 0.5s;
}

nav .pop{
  position: fixed;
  top: 0;
  left : 0;
  z-index: 1000;
  height: 100vh;
  width: 100%;
  display : flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: all ease 0.5s;
}

nav .pop.close {
  visibility: hidden;
  transition-property: visibility;
  transition-duration: 3s;
}

nav .pop.open{
  visibility: visible;
}

nav .pop .closeIcon{
  z-index : 400;
  position: absolute;
  top : 70px;
  right: 100px;
  outline: none;
  border :  none;
  background-color: transparent;
  opacity: 0;
  transition-property: opacity;
  transition-delay: 0s;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

nav .pop.open .closeIcon{
  opacity: 1;
  transition-property: opacity;
  transition-delay: 1s;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

nav .pop .mentions{
  box-sizing: border-box;
  width: 100%;
  opacity: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  -webkit-column-gap: 20px;
  z-index : 325;
  position: absolute;
  left: 0px;
  bottom: 0px;
  filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, 0.2));
  transition-property: opacity;
  transition-delay: 0s;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  padding: 150px 100px 70px 100px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);

}

nav .pop.open .mentions{
  opacity: 1;
  transition-property: opacity;
  transition-delay: 1.6s;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

nav .pop.open .menuIllustration{
  opacity: 1;
  transition-property: opacity;
  transition-duration: 1s;
  transition-delay: 1.5s;
  transition-timing-function: ease;
}

nav .pop .menuIllustration{
  height: 100%;
  width: 100%;
  background-color: var(--dark);
  position: relative;
  z-index : 300;
  opacity: 0;
  transition-property: opacity;
  transition-delay: 0s;
  transition-duration: 1s;
  transition-timing-function: ease;
}

@keyframes totheright {
  0%{
    transform: translateX(100%);
  }100%{
    transform: translateX(0);
  }
}

nav .pop .menuIllustration img{
  position: absolute;
  top : 0;
  left : 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: all ease 0.5s;
}

nav .pop .menuIllustration#imagic img.imagic-img {
  opacity: 1;
}

nav .pop .menuIllustration#agence img.agence-img {
  opacity: 1;
}

nav .pop .menuIllustration#realisations img.realisations-img {
  opacity: 1;
}

nav .pop .menuIllustration#laboratoire img.laboratoire-img {
  opacity: 1;
}

nav .pop .menuIllustration#contact img.contact-img {
  opacity: 1;
}

nav .pop .menuNav{
  z-index : 350;
  background-color: var(--dark);
  height: 100%;
  min-width: 720px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap : 80px;
  padding-left: 150px;
  transform: translateX(100%);
  transition-property: transform;
  transition-delay: 1s;
  transition-duration: 1.5s;
  transition-timing-function: cubic-bezier(.33,0,0,1);
}

nav .pop.open .menuNav{
  transform: translateX(0);
  transition-property: transform;
  transition-delay: 0s;
  transition-duration: 1.5s;
  transition-timing-function: cubic-bezier(.33,0,0,1);
}

nav .pop .logo {
  position: fixed;
  z-index: 1000;
  top : 60px;
  left: 100px;
  opacity : 0;
  filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 1));
  transition: all ease 1s;
}

nav .pop.open .logo {
  opacity : 1;
}

nav .pop .logo svg{
  width : 135px;
}

nav .pop .menuList {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  height: fit-content;
  gap :20px;
  padding: 0;
}

nav .pop .real-items {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  padding: 5px 0 30px 0;
  gap :5px;
}

nav .pop .main-item a {
  font-size: 44px;
  font-weight: light;
}

nav .pop .real-item a {
  color : var(--grey);
  font-size: 21px;
  font-family: var(--ft-text);
  font-weight: 400;
}

nav .socials li:hover path {
  fill: var(--black);
}

nav .socials {
  height: fit-content;
}

nav .pop .menuList li.main-item:nth-child(n), nav .pop .menuList .real-item:nth-child(n){
  overflow: hidden;
  padding: 10px 0;
  margin: -10px 0;
}

nav .pop.open .menuList li.main-item:nth-child(n) a, nav .pop.open .menuList .real-item:nth-child(n) a{
  transform: translateY(0) rotate(0);
  display: block;
}

nav .pop .menuList li.main-item:nth-child(n) a, nav .pop .menuList .real-item:nth-child(n) a{
  transform-origin: top left;
  display: block;
  transform: translateY(80px) rotate(5deg);
  transition-property: transform;
  transition-duration: 1.5s;
  transition-timing-function: ease;
}

nav .pop .menuList li.main-item:nth-child(1) a{
  transition-delay : 0.5s;
}

nav .pop .menuList li.main-item:nth-child(2) a{
  transition-delay : 0.7s;
}

nav .pop .menuList li.main-item:nth-child(4) a{
  transition-delay : 0.9s;
}

nav .pop .menuList li.main-item:nth-child(5) a{
  transition-delay : 1.1s;
}

nav .pop .menuList li.real-item:nth-child(1) a{
  transition-delay : 0.73s;
}

nav .pop .menuList li.real-item:nth-child(2) a{
  transition-delay : 0.76s;
}

nav .pop .menuList li.real-item:nth-child(3) a{
  transition-delay : 0.79s;
}

nav .pop .menuList li.real-item:nth-child(4) a{
  transition-delay : 0.82s;
}

nav .pop .menuList li.real-item:nth-child(5) a{
  transition-delay : 0.86s;
}

nav .pop .menuList li.real-item:nth-child(6) a{
  transition-delay : 0.89s;
}

nav .pop .menuList li.real-item:nth-child(7) a{
  transition-delay : 0.92s;
}

nav .pop .menuList li.real-item:nth-child(8) a{
  transition-delay : 0.95s;
}

@media  screen and (max-height: 880px) {
  nav .pop .menuList {
    gap: 12px;
  }

  nav .pop .real-items {
    padding: 5px 0 15px 0;
    gap :2px;
  }
  nav .pop .menuNav{
    gap : 50px
  }
}

@media  screen and (max-width: 1224px) {
  nav .pop .menuIllustration{
    display: none;
  }

  nav .pop .menuNav{
    width : 100%;
    padding: 0;
    align-items: center;
    min-width: inherit;
  }

  nav .pop .menuList {
    align-items: center;
  }

  nav .pop .under-item{
    display: none;
  }

  nav .pop .mentions{
    background: none;
    z-index: 400;
    filter: none;
    padding: 60px 20px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }

  nav{
    background-color: rgba(0, 0, 0, 0.2);
    padding: 60px 100px 50px 100px;
    transition: ease 0.2s;
  }

  nav.totopelm{
    background-color: transparent;
  }
}


@media screen and (max-width: 800px) {
  nav {
    padding: 30px 50px 25px 50px;
  }

  nav .pop .logo {
    top : 30px;
    left: 50px;
  }

  nav .pop .closeIcon{
    top : 30px;
    right: 50px;
  }

  nav .pop .menuNav{
    gap: 50px;
  }

  nav .pop .menuList {
    gap: 15px;
  }

  nav .pop .menuList li a{
    font-size: 35px;
  }
}

@media screen and (max-width: 400px) {
  nav {
    padding: 30px 20px 20px 20px;
  }

  nav .logo svg{
    width : 115px;
  }

  nav .burgerIcon{
    gap : 10px;
  }
  
  nav .burgerIcon:hover .bottomel, nav .burgerIcon:focus .bottomel{
    transform: translateX(-25px);
  }
  
  nav .burgerIcon .topel {
    background-color: var(--imagic);
    height: 2px;
    width : 50px;
  }
  
  nav .burgerIcon .bottomel {
    background-color: var(--white);
    height: 2px;
    width : 25px;
    transition: all ease 0.5s;
  }

  nav .pop .logo {
    left: 20px;
  }

  nav .pop .logo svg{
    width : 115px ;
  }

  nav .pop .closeIcon{
    right: 20px;
  }

  nav .pop .menuList li a{
    font-size: 30px;
  }

  nav .pop .mentions{
    padding: 30px 0;
    row-gap: 10px;
  }

  nav .pop .menuList {
    gap: 10px;
  }
}