@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  color: #ffffffd7;
  
}

:root {
    
    --overlay-color: rgba(24, 39, 51, 1);
    --menu-speed: 0.75s;
  }

section{
  width: 100vw;
  height: 100vh;
  background: rgb(26, 26, 26);
}
  .header {
    height: 15%;
    width: 100%;
    display: flex;
    align-items: center;
    position: fixed;
    padding: 0px 2vw;
z-index: 4;
overflow-x: hidden;
  }
  
  .logo {
    width: 50vw;
    height: 10vh;
    background-image: url('Logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
  }





/* Menu */

.menu-wrap {
    position: fixed;
    width: 50vw;
    height: 10vh;
    top: 0;
    right: 0;
    z-index: 999;
    overflow: hidden;
}

.menu-wrap .toggler {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    cursor: pointer;
    width: 50px;
    height: 50px;
    opacity: 0;
}

.menu-wrap .hamburger {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    width: 60px;
    height: 60px;
    padding: 1rem;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
   

}

/* Hamburger line */
.menu-wrap .hamburger > div {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;

}

.menu-wrap .hamburger > div:before,
.menu-wrap .hamburger > div:after {
    content: '';
    position: absolute;
    z-index: 1000;
    transform: translate(0,-10px);
    width: 100%;
    height: 2px;
    background: inherit;
}

.menu-wrap .hamburger > div:after {
    transform: translate(0,10px);
}

/* Toggler animate */
.menu-wrap .toggler:checked + .hamburger> div {
    transform: rotate(135deg);
}

.menu-wrap .toggler:checked + .hamburger> div:before,
.menu-wrap .toggler:checked + .hamburger> div:after {
    top: 0;
    transform: rotate(90deg);
}

/* Show menu */
.menu-wrap .toggler:checked ~ .menu {
    visibility: visible;

}

.menu-wrap .toggler:checked ~ .menu > div {
    transform: scale(1);
    transition-duration: var(--menu-speed);
}

.menu-wrap .toggler:checked ~ .menu > div > div {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.menu-wrap .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-wrap .menu > div {
    background: #000;
    opacity: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: all 0.4s ease;
}

.menu-wrap .menu > div > div {
    text-align: center;
    max-width: 100vh;
    max-height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-wrap .menu > div > div > ul > li {
    list-style: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 1rem;

}

.menu-wrap .menu > div > div > ul > li > a {
    color: inherit;
    text-decoration: none;
    transition: color 0.4s ease;
}
.menu-wrap .toggler:checked ~ .header {
  mix-blend-mode: normal; 

}





/* First page */
.Homepage {
  background: hsl(0 0% 10%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 10vw;
}

h1 {
  --font-size: clamp(2rem, 8vw + 1rem, 12rem);
  margin: 0;
  color: hsl(0 0% 100%);
  font-size: var(--font-size);
}

h1 > span:first-of-type {
  display: inline-block;
}

h1 > span:nth-of-type(2) {
  position: relative;
}

h2{
  font-size: 1.4em;
}
h3{
  text-align: center;
  font-size: 3em;
}

.colors {
  position: absolute;
  inset: 0;
  background: white;
  mix-blend-mode: darken;
  filter: brightness(2);
  overflow: hidden;
  pointer-events: none;
}


@keyframes color {
  50% {
    background-size: 100% 100%;
  }
}

.color {
  height: var(--size, 100%);
  aspect-ratio: 1;
  background: radial-gradient(hsl(var(--h) 100% 70%) 25%, transparent 50%);
  position: absolute;
  display: inline-block;
  animation: scale var(--s, 2s) var(--d, 0s) infinite alternate;
  left: var(--x, 0);
  top: var(--y, 0);
  scale: 0;
  translate: -50% -50%;
  mix-blend-mode: multiply;
  filter: blur(2px);
}

.color:nth-of-type(1) {
  --x: 10%;
  --y: 25%;
  --h: 277;
  --s2: 6;
  --d: -0.25s;
  --s: 6s;
}

.color:nth-of-type(2) {
  --x: 50%;
  --y: 45%;
  --h: 140;
  --s2: 5;
  --d: -0.75s;
  --s: 5s;
}
.color:nth-of-type(3) {
  --x: 65%;
  --y: 75%;
  --h: 210;
  --s2: 3;
  --d: -0.5s;
  --s: 3s;
}
.color:nth-of-type(4) {
  --x: 85%;
  --y: 15%;
  --h: 320;
  --s2: 5;
  --d: -1s;
  --s: 2s;
}
.color:nth-of-type(5) {
  --x: 15%;
  --y: 100%;
  --h: 40;
  --s2: 3;
  --d: -1s;
  --s: 2s;
}

@keyframes scale {
  to {
    scale: var(--s2);
  }
}

/**/
button{
  width: 7vw;
  height: 5vh;
  margin-top: 0.5em;
  margin-left: 1em;
  border-radius: 20em;
  background: rgba( 255, 255, 255, 0.35 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );
border: 0px;
color: #fff;
font-weight: 500;
}
button:hover{
  width: 7.2vw;
font-weight: 700;
letter-spacing: 1px;
  background: rgba( 255, 255, 255, 0.2 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 4px );
  -webkit-backdrop-filter: blur( 4px );
}

/* Typographie*/

.evidence {
  padding: 0.2em 0.5em;
  width: 50%;
  opacity: 100%;
}

.evidence .title {
  letter-spacing: 2px;
}



/*WORK*/
.section_work{
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
flex-direction: column;
overflow: hidden;
padding-top: 2.2em; 
}


.container_work{
  transform: translate(10%, 15%);
  width: 80vw;
  height: 70vh;
}


.container_work .slide .item{
  width: 170px;
  height: 300px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: 0 9px 30px rgba(255, 255, 255, 0.14);
  background-position: 50% 50%;
  background-size: cover;
  display: inline-block;
  transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
  border-radius: 2em;
}


.slide .item:nth-child(3){
  left: 60%;
}
.slide .item:nth-child(4){
  left: calc(60% + 220px);
}
.slide .item:nth-child(5){
  left: calc(60% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6){
  left: calc(60% + 660px);
  opacity: 0;
}



.item .content{
  position: absolute;
  top: 50%;
  left: 100px;
  width: 300px;
  text-align: center;
  color: #eee;
  transform: translate(0, -50%);
  font-family: system-ui;
  display: none;
}


.slide .item:nth-child(2) .content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color:rgba(0, 0, 0, 0.4);
  backdrop-filter: blur( 18.5px );
-webkit-backdrop-filter: blur( 18.5px );
  border-radius: 2em;
  width: 35vw;
  padding: 2em 2em;
}


.content .name{
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
}

.content .des{
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: center;
  opacity: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button{
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  opacity: 0;
  animation: animate 1s ease-in-out 0.6s 1 forwards;
}


@keyframes animate {
  from{
      opacity: 0;
      transform: translate(0, 100px);
      filter: blur(33px);
  }

  to{
      opacity: 1;
      transform: translate(0);
      filter: blur(0);
  }
}



.button{
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 20px;
}

.button button{
  width: 40px;
  height: 35px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  transition: 0.3s;
  background: rgba( 255, 255, 255, 0.4 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.47 );
backdrop-filter: blur( 12.5px );
-webkit-backdrop-filter: blur( 12.5px );
border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.button button:hover{
  background: #ababab;
  color: #fff;
}


.c1{
  background-image: url("img/cmc.png");

}

.c2{
  background-image: url("img/aam.png");
}

.c3{
  background-image: url("img/sabi.png");
 
}

.c4{
  background-image: url("img/psy.png");
 
}

.c5{
  background-image: url("img/cab.png");
}

.c6{
  background-image: url("img/tess.png");
}



/* SERVICES */

.services{
  padding: 2em 0em 0em 0em;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.services_domaines{
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  text-align: center;
}

.services_domaines_offres{
  height: 50vh;
  width: 28vw;
  background: rgba( 255, 255, 255, 0.4 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 8.5px );
  -webkit-backdrop-filter: blur( 8.5px );
  border-radius: 10px;
  padding: 1.2em 0em 0em 0em;
}

h4{
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.2em;
}
ul{
  list-style-type: none;
  margin-top: 1em;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}
li{
  margin-bottom: 10px;
}

.o1:hover{
  background-color: #ffffff72;
  box-shadow: 1em 0 2em #f417852f, -1em 0 2em #9d52db35;
}
.o2:hover{
    background-color: #ffffff72;
    box-shadow: 1em 0 2em #4052db3e, -1em 0 2em #1ccbb747;
}
.o3:hover{
  background-color: #ffffff72;
  box-shadow: 1em 0 2em #e1a7164d, -1em 0 2em #52b2db4e;
}

.design{
  height: 50vh;
}
.design h3{
  margin-bottom: 1.2em;
}
.design_gallerie{
  width: 100vw;
  height: 50vh;
  display: flex;
  justify-content: space-evenly;
}
.design_gallerie_photo{
  width: 20%;
  height: 15%;
  background-color: #abababb6;
  border-radius: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
}




#exp{
  display: none;
}


.social_div{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding-top: 3em;
}

.social_ul {
   position: relative;
   display: flex;
   transform: rotate(-25deg) skew(25deg);
   transform-style: preserve-3d;
}
.social_ul li {
  position: relative;
  list-style: none;
  width: 60px;
  height: 60px;
  margin: 0px 20px;
}
.social_ul li:before{
  content: '';
  position: absolute;
  bottom: -10px;
  left: -5px;
  width: 100%;
  height: 10px;
  background: #2a2a2a;
  trnasform-origin: top;
  transform: skewX(-41deg);
}
.social_ul li:after{
  content: '';
  position: absolute;
  top:5px;
  left: -9px;
  width: 9px;
  height: 100%;
  background: #2a2a2a;
  trnasform-origin: right;
  transform: skewY(-49deg);
}
.social_ul li span{
  position: absolute;
  top: 0;
  lef: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  background: #2a2a2a;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 30px !important;
  transition: 1.5s ease-out;
}
.social_ul li:hover span {
  z-index: 1000;
  transition: .3s;
  color: #fff;
  box-shadw: -1px 1px 1px rgba(0, 0, 0, .5);
}
.social_ul li:hover span:nth-child(5){
  transform: translate(40px, -40px);
  opacity: 1;
}
.social_ul li:hover span:nth-child(4){
  transform: translate(30px, -30px);
  opacity: .8;
}
.social_ul li:hover span:nth-child(3){
  transform: translate(20px, -20px);
  opacity: .6;
}
.social_ul li:hover span:nth-child(2){
  transform: translate(10px, -10px);
  opacity: .4;
}

.social_ul li:hover span:nth-child(1){
  transform: translate(0px, 0px);
  opacity: .2;
}
.social_ul li:nth-child(1):hover span{
  background: #52E19F !important;
}
.social_ul li:nth-child(2):hover span{
  background: #2C3456 !important;
}
.social_ul li:nth-child(3):hover span{
  background: #EA6E96 !important;
}
.social_ul li:nth-child(4):hover span{
  background: #FCEB00 !important;
}

/* MOBILE */

@media only screen and (max-width: 600px) {


  .menu-wrap{
    position: absolute;
    top: 0px;
    right: 0em;
    z-index: 999;
}
 
  .Homepage{
    padding-left: 0.9em;
  }

  h1{
    font-size: 2.8em;
    margin-bottom: 0.2em;
  }
  h2 {
    font-size: 2.8em;
    margin-bottom: 0.2em;
  }
  h3{
    font-size: 1.8em;
    margin-bottom: 1em;
  }
  h4{
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 2px;
  }

  ul{
    font-size: 0.8em;
    padding: 0em 1em 0em 1em;
  }

  .evidence_title{
    width: 80%;
  }
  .evidence{
    width: 90%;
    font-size: 13px;
  }
  .section_work{
  display: none;
 }

#exp {
  display: block;
  height: 120vh;
}

.experiences_cont{
  height: 100vh;
  padding: 0% 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 2px;
  text-align: center;
}


.social{
  display: flex;
  flex-direction: row;
  align-items: center;
}


.container_case{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50vh;
  margin-top: 8px;
  border-radius: 25px;
  transition-duration: 1.5s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.7;
}

a{
  text-decoration: none;
}

.container_case:hover{
  height: 70vh;
  opacity: 1;
}

.services{
  height: 200vh;
}
.services_domaines{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services_domaines_offres {
  width: 70%;
  height: 53vh;
  margin-bottom: 2em;
}

.o1{
  background-color: #ffffff72;
  box-shadow: 1em 0 2em #f417852f, -1em 0 2em #9d52db35;
}
.o2{
    background-color: #ffffff72;
    box-shadow: 1em 0 2em #4052db3e, -1em 0 2em #1ccbb747;
}
.o3{
  background-color: #ffffff72;
  box-shadow: 1em 0 2em #e1a7164d, -1em 0 2em #52b2db4e;
}
.design_gallerie {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.design_gallerie_photo {
  width: 60vw;
  height: 60vh;
  background-color: #ababab;
  margin-bottom: 12px;
}
}

header {
  overflow: hidden;
}
