:root{
    --bg-color: #171717;
    --grey: #202020;
    --momentum: #35F9D5;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a{
    color: none ;
    
}

body{
    margin: 0;
    padding: 0;
    color: white;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100%;
    width: 100%;

    /* width: 100vw;
    height: 100vh; */
    overflow-x: hidden;
    
}


/* .wrapper {
    width: 100%;
    height: 100%;
} */

.transition{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    background: white;
    -webkit-transform: scaleY(0) ;
    transform: scaleY(0);
}


.panel {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

section{
    min-height: 100vh;
    width: 100vw;
    padding: 0 10%;
    background: var(--bg-color);
}

/* #hero_section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

} */

/* ------------------------ Hero section------------------------ */

#hero_section{
    position: relative;
}

#metier{
    display: inline-block;
    position: absolute;
    bottom: 5rem;
    /* left: 50%; */
    position: absolute; 
    left: 0; 
    right: 0; 
    margin-inline: auto; 
    width: fit-content;
}

#bloc_titre{
    /* position: relative; */
    display: flex;
    flex-direction: column;

    
    
    /* border: solid 1px red; */
    /* width: 50%; */
    /* background-color: #fff; */
    
}

.giant{
    line-height: 14rem;
    font-size: 15rem;
    /* font-family: 'Poppins'; */
    font-weight:900;
    font-style: italic;
    text-transform: uppercase;
    /* background-color: #9a3434; */
}

.right{
    text-align: right;
}


/* ------------------------ Project_section ------------------------ */

#projects_section{
    display: flex;
    justify-content: center;
    align-items: center;


    flex-wrap: wrap;
    gap: 2rem;

    padding: 5rem 0;
}

/* ------------------------ Cartes-projet ------------------------ */

.card_project{
    display: flex;
    flex-direction: column;
    
    /* width: 370px; */
    width: 400px;
    /* height: 800px; */
    background: var(--grey);

    padding: 2rem;
    

    border-radius: 15px;
    gap: 2rem;
    
    outline:#35f9d500 2px solid ;
    transition: 0.2s;
    cursor: pointer;
}

.card_project:hover{
    /* outline:#35F9D5 2px solid ; */
    outline:white 2px solid ;
    transition: 0.2s;
    scale: 1.03;
    
}


.card_project:hover .goto_project_button{
    opacity: 1;
    transition: 0.2s;
}


.thumbnail{
    /* width: 100%; */
    /* aspect-ratio: 16/9; */
    object-fit: cover;
    /* background: url(img/momentum_thumbnail.png); */

    border-radius: 7px;
    clip-path: path("M2.92893 22.5711L22.5711 2.92893C24.4464 1.05357 26.99 0 29.6421 0H326C331.523 0 336 4.47715 336 10V166.858C336 169.51 334.946 172.054 333.071 173.929L313.429 193.571C311.554 195.446 309.01 196.5 306.358 196.5H10C4.47715 196.5 0 192.023 0 186.5V29.6421C0 26.99 1.05356 24.4464 2.92893 22.5711Z");
    
}

img{
    object-fit: cover;
    
    
}

.summary{
    width: 100%;
}

.goto_project_button{
    text-decoration: none;
    display: inline-block;
    color: white;
    /* text-align: right; */
    /* background: #000; */
    /* max-width: 200px; */
    /* justify-self: flex-end; */
    align-self: flex-end;
    font-style: italic;
    font-weight: bold;
    opacity: 0;
    /* transition: 0.2s; */
}

.goto_project_button:hover{
    /* text-decoration: underline; */

}

p{
    width: 100%;
    /* background: blue; */
}

.cadre_descro{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    /* width: 100%; */
    /* background: green; */
    max-width: 500px;
    min-width: 400px;
}


.projet{
    display: flex;  
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
    /* background:linear-gradient(0deg, var(--bg-color) 90.98%, rgba(252, 86, 86, 0.00) 100%), url(img/locknroll-screen-2.png) no-repeat; */
    background-size: cover;
    min-height: 100vh;
    padding: 10%;
}

.bloc_description_projet{
    display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
    
}

.descro_projet{
    display: block;
    justify-self: center;
    align-self: center;
}

.image_illustration{
    object-fit: cover;
    width: 100%;
    border-radius: 2px;
}

h2{
    margin-bottom: 5rem;
    font-size: 2rem;
}






/* bouton fleche */

.button {
    display: block;
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0;
    overflow: hidden;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    border: 0;
  }
  
  .button:before,
  .button:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 7px;
  }
  
  .button:before {
    border: 4px solid #f0eeef;
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .button:after {
    border: 4px solid #96daf0;
    transform: scale(1.3);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
  }
  
  .button:hover:before,
  .button:focus:before {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .button:hover:after,
  .button:focus:after {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .button-box {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .button-elem {
    display: block;
    width: 20px;
    height: 20px;
    margin: 17px 18px 0 18px;
    transform: rotate(180deg);
    fill: #f0eeef;
  }
  
  .button:hover .button-box,
  .button:focus .button-box {
    transition: 0.4s;
    transform: translateX(-56px);
  }

  
  @media (min-width: 800px) {
  .left_button{
    scale: 1.5;
    position: absolute;
    left: 3rem;
    bottom: calc(50vh);
  }
  
  .right_button{
    scale: 1.5;
    position: absolute;
    right: 3rem;
    bottom: calc(50vh);

    transform: rotate(180deg)
  }
  
  #bouton_retour{
  position: absolute;
  top: 100px;
  left: 100px;
  width: 100px;
  background: white;
  z-index: 5;
  border-radius: 5px;
  border: solid 2px white;
  padding: 10px;
  font-family: "Poppins";
}

}



  

  @media (max-width: 800px) {

    .bloc_description_projet{
        display: flex;
        flex-direction: column;
        justify-content: center;
    
        gap: 1rem   ;
        /* min-height: 500px; */
    }


    .giant{
        line-height: 4rem;
        font-size: 4rem;
        /* font-family: 'Poppins'; */
        font-weight:900;
        font-style: italic;
        text-transform: uppercase;
        /* background-color: #9a3434; */
    }

    .card_project{
        display: flex;
        flex-direction: column;
        
        width: 370px;
        /* width: 400px; */
        /* height: 800px; */
        background: var(--grey);
    
        padding: 2rem;
        
    
        border-radius: 15px;
        gap: 2rem;
        
        outline:#35f9d500 2px solid ;
        transition: 0.2s;
        cursor: pointer;
    }


    .left_button{
        scale: 1.5;
        position: absolute;
        left: 1rem;
        /* bottom: calc(50vh); */
        /* bottom: calc(1vh); */
        /* bottom: 20px; */
        margin: 0;
        padding: 0;
        transform: translateY(-50px);
      }
      
      .right_button{
        scale: 1.5;
        position: absolute;
        right: 1rem;    
        /* bottom: 2rem; */
        
        transform: translateY(-50px) rotate(180deg);
      
      }

      .projet{
        padding-bottom: 10rem;
      }
      
      #bouton_retour{
  /* position: absolute; */
  margin: auto;
  width: 100px;
  height: 44px;
  bottom: 25px;
  background: white;
  z-index: 5;
  border-radius: 5px;
  padding: 0px;
  font-family: "Poppins";
  position: fixed;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
text-align: center;
}
    
  }




.retour_style{
  font-family: "Poppins";
}

#bouton_retour:hover{
  cursor: pointer;
  background: var(--bg-color);
  color: white;
  transition:0.2s;
}




.maquette{
  color: white;
  font-weight: bold;
  /* margin-top: 10rem; */
}