/* ******* */
/* POLICES */
/* ******* */

@font-face{
    font-family: "Roustel";
    src: url("fonts/Roustel.ttf") format("truetype");
}

@font-face{
    font-family: "FSElliot-thin";
    src: url("fonts/FSELLIOT/FSElliot-Thin.otf") format("truetype");
}

@font-face{
    font-family: "FSElliot-light";
    src: url("fonts/FSELLIOT/FSElliot-Light.otf") format("truetype");
}

@font-face{
    font-family: "FSElliot-regular";
    src: url("fonts/FSELLIOT/FSElliot-Regular.otf") format("truetype");
}

@font-face{
    font-family: "FSElliot-bold";
    src: url("fonts/FSELLIOT/FSElliot-Bold.otf") format("truetype");
}

@font-face{
    font-family: "FSElliot-heavy";
    src: url("fonts/FSELLIOT/FSElliot-Heavy.otf") format("truetype");
}

/* **** */
/* BODY */
/* **** */

body{
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;

    font-family: 'FSElliot-regular', 'sans-serif';
}


/* Links */

a{
    text-decoration: none;
    color: white;
}

/******************************************************/
/*                     PAGE 1                        */
/******************************************************/


.page1{
    height: 100vh;
    overflow: hidden;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
  
    background-color: #64d8c2;
    color: white;
}

/* ***** */
/* TITLE */
/* ***** */

.title-p1{
    width: auto;
    min-width: 340px;
    position: relative;
    left: 50px;
    top: -48px;

    z-index: 9;
}

.h1-p1{
    min-width: 235px;
    margin-bottom: 0;

    font-family: 'FSElliot-bold', 'sans-serif';
    font-size: 40px;
    font-weight: 100;
}

/* ******************* */
/* FADE EFFECT ON SPAN */
/* ******************* */

span{
    min-width: 615px;

    margin-top: -30px;
    padding-top: 0;

    display: none;
    position: absolute;

    font-family: 'Roustel', 'sans-serif';
    font-size: 6em;
    font-weight: 100;
}

.spans{
    transform: rotate(-4deg);
}

/* **** */
/* LOGO */
/* **** */

#logo-p1{
    width: 300px;
    position: relative;
    left: -50px;
}

/* ************************ */
/* Continue button animated */
/* ************************ */

.continue{
    position: absolute; 
    bottom: 30px;
    color: #234f47;
    font-size: 0.6em;
    font-weight: 100;
    text-align: center;
}

.scroll-down {
    opacity: 1;
    -webkit-transition: all .5s ease-in 3s;
    transition: all .5s ease-in 3s;
  }
  
  .scroll-down {
    position: absolute; 
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    bottom: 10px;

    display: block;
    width: 12px;
    height: 12px;
    z-index: 2;
    -webkit-animation: bounce 2s infinite 2s;
    animation: bounce 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    transform: scale(1);
  }
  
  .scroll-down:before {
      position: absolute;
      top: calc(50% - 8px);
      left: 1.5px;
      transform: rotate(-45deg);
      display: block;
      width: 7px;
      height: 7px;
      content: "";
      border: 2px solid #234f47;
      border-width: 0px 0 2px 2px; 
  }

/******************************************************/
/*                     PAGE 2                         */
/******************************************************/

.page2{
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #fc423d;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* *********** */
/* HANDS IMAGE */
/* *********** */

.hands{
    width: 100%;
    position: relative;
}

.hands img{
    position: sticky;
    width: 100%;
    opacity: 0.60;
}

/* ******* */
/* Title 1 */
/* ******* */

.title1-p2{
    width: 100%;
    position: absolute;
    top: 20%;

    display: flex;
    justify-content: center;

    font-weight: 100;
    color: white;
}

.title1-p2 h1{
    width: 435px;
    margin: 0;
    font-family: 'FSElliot-bold', 'sans-serif';
    font-size: 40px;
    font-weight: 100;
}

.title1-p2 h2{
    margin: 0;
    margin-top: 70px;
    position: absolute;
    white-space: nowrap;

    font-size: 2.2vw;
    font-weight: 100;
    font-family: 'FSElliot-light', 'sans-serif';
    color: black;
}

.title1-p2 h2::after{
    content: ' VOS PROJETS';
    font-family: 'FSElliot-bold', 'sans-serif';
    font-weight: 100;
}

/* ******* */
/* Title 2 */
/* ******* */

.title2-p2{
    position: absolute;
    white-space: nowrap;
    top: 65%;

    font-size: 1.5vw;
    font-weight: 100;
    font-family: 'FSElliot-bold', 'sans-serif';
    color: rgb(0, 0, 0);
}

/* *********** */
/* Description */
/* *********** */

.description h3{
    font-family: 'FSElliot-regular', 'sans-serif';
    font-size: 1.4em;
    font-weight: 100;
    color: white;
}

.description{
    width: 435px;
    margin-top: -10%;
    margin-bottom: 60px;
    position: relative;
    bottom: 0;

    font-size: 1.1em;
    font-weight: 100;
    font-family: 'FSElliot-light', 'sans-serif';
}

.description p:nth-child(5){
    font-family: 'FSElliot-Bold', 'sans-serif';
}

/******************************************************/
/*                     PAGE 3                        */
/******************************************************/

.page3{
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: #43c9f7;
}

/* ***** */
/* Title */
/* ***** */

.title-p3{
    width: 100%;
    margin-top: 3%;
    margin-bottom: 5%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.h1-p3{
    margin-bottom: 2%;
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: white;
}

.h1-p3 h1{
    margin: 6px;
    padding: 0;
}

.h1-p3 h1:nth-child(odd){
    font-family: 'FSElliot-bold', 'sans-serif';
    font-size: 40px;
    font-weight: 100;
}

.h1-p3 h1:nth-child(even){
    font-size: 4em;
    font-weight: 100;
}

.title-p3 h2{
    margin: 0;
    font-weight: 100;
    font-size: 1.3em;
    font-family: 'FSElliot-light', 'sans-serif';
}

/* ************* */
/* Arrow wrapper */
/* ************* */

.arrow-wrapper{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 150px 380px 1fr;
}

#arrow1{
    width: 60px;
    margin-right: 30px;

    grid-column: 1/2;
    grid-row: 2/3;
}

#arrow2{
    width: 80px;

    grid-column: 3/4;
    grid-row: 3/4;
}

/* ********* */
/* Rubriques */
/* ********* */

.rubriques{
    margin-bottom: 10%;

    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    column-gap: 10%;

    grid-column: 2/3;
    grid-row: 1/4;
}

.rubriques section{
    min-width: 275px;
    max-width: 300px;

    padding-bottom: 40px;
}

section h3{
    margin-top: 0;
    color: white;
    font-size: 1em;
    font-weight: 100;
}

section img{
    width: 40px;
}

section p{
    margin: 0;
    font-family: 'FSElliot-light', 'sans-serif';
}

/* ************* */
/* Grid sections */
/* ************* */

#p1{
   grid-row: 1/2;
   grid-column: 1/2;
}

#p2{
   grid-row: 1/2;
   grid-column: 2/3;
}

#p3{
   grid-row: 2/3;
   grid-column: 1/2;
}

#p4{
    grid-row: 2/3;
    grid-column: 2/3;
}

#p5{
    grid-row: 3/4;
    grid-column: 1/2;
}

#p6{
   grid-row: 3/4;
   grid-column: 2/3;
}

#p7{
    grid-row: 4/5;
    grid-column: 1/2;
}

#p8{
    grid-row: 4/5;
    grid-column: 2/3;
}

/******************************************************/
/*                     PAGE 4                        */
/******************************************************/

.page4{
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #3216d8;
}

/* ***** */
/* Title */
/* ***** */

.title-p4{
    width: 100%;
    margin-top: 10%;
    margin-bottom: 7%;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-p4 h1{
    margin: 0;
    margin-bottom: 10px;
    font-family: 'FSElliot-bold', 'sans-serif';
    font-size: 40px;
    font-weight: 100;
}

.title-p4 h2{
    margin: 0;
    font-size: 40px;
    font-weight: 100;

    font-family: 'FSElliot-thin', 'sans-serif';
}

/* ******* */
/* Gallery */
/* ******* */

.gallery{
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.img-container{
    overflow: hidden;
}

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.img-container img:hover{
    transform: scale(1.2);
}

.modal-gallery{
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease-out;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-gallery.open{
    opacity: 1;
    pointer-events: all;
    z-index: 9999;
}

.full-img{
    max-width: 90%;
    max-height: 70%;
    position: relative;
    transition: all 0.25s ease-out;
}

.modal-gallery p{
    max-width: 90%;
    padding: 0;
    color: white;
    font-size: 1.1rem;
    font-weight: 100;
    position: relative;

    text-align: center;
}

.caption-title{
    margin-top: 16px;
    margin-bottom: 0;
}

.caption-text{
    margin-top: 7px;
}

/* ************ */
/* Grid projets */
/* ************ */

#projet1{
    grid-row: 1/2;
    grid-column: 1/2;
}

#projet2{
    grid-row: 1/2;
    grid-column: 2/3;
}

#projet3{
    grid-row: 1/2;
    grid-column: 3/4;
}

#projet4{
    grid-row: 1/2;
    grid-column: 4/5;
}

#projet5{
    grid-row: 2/3;
    grid-column: 1/2;
}

#projet6{
    grid-row: 2/3;
    grid-column: 2/3;
}

#projet7{
    grid-row: 2/3;
    grid-column: 3/4;
}

#projet8{
    grid-row: 2/3;
    grid-column: 4/5;
}

#projet9{
    grid-row: 3/4;
    grid-column: 1/2;
}

#projet10{
    grid-row: 3/4;
    grid-column: 2/3;
}

#projet11{
    grid-row: 3/4;
    grid-column: 3/4;
}

#projet12{
    grid-row: 3/4;
    grid-column: 4/5;
}

/* ************ */
/* Logo clients */
/* ************ */

.background-clients{
    background-color: #e2e2e2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ***** */
/* Title */
/* ***** */

.title-clients{
    font-size: 1.8em;
    font-weight: 100;
    padding: 30px;
    color: #acacac;
}

/* ******* */
/* Clients */
/* ******* */

.grid-clients{
    margin-bottom: 7%;

    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 0px;
    column-gap: 0px;
}

.client{
    width: 160px;
    height: 80px;
}

.client img{
    width: 100%;
}

/* ************ */
/* Grid clients */
/* ************ */

#client1{
    grid-row: 1/2;
    grid-column: 1/2;
}

#client2{
    grid-row: 1/2;
    grid-column: 2/3;
}

#client3{
    grid-row: 1/2;
    grid-column: 3/4;
}

#client4{
    grid-row: 1/2;
    grid-column: 4/5;
}

#client5{
    grid-row: 2/3;
    grid-column: 1/2;
}

#client6{
    grid-row: 2/3;
    grid-column: 2/3;
}

#client7{
    grid-row: 2/3;
    grid-column: 3/4;
}

#client8{
    grid-row: 2/3;
    grid-column: 4/5;
}

#client9{
    grid-row: 3/4;
    grid-column: 1/2;
}

#client10{
    grid-row: 3/4;
    grid-column: 2/3;
}

#client11{
    grid-row: 3/4;
    grid-column: 3/4;
}

#client12{
    grid-row: 3/4;
    grid-column: 4/5;
}

#client13{
    grid-row: 4/5;
    grid-column: 1/2;
}

#client14{
    grid-row: 4/5;
    grid-column: 2/3;
}

#client15{
    grid-row: 4/5;
    grid-column: 3/4;
}

#client16{
    grid-row: 4/5;
    grid-column: 4/5;
}

#client17{
    grid-row: 5/6;
    grid-column: 1/2;
}

#client18{
    grid-row: 5/6;
    grid-column: 2/3;
}

#client19{
    grid-row: 5/6;
    grid-column: 3/4;
}

#client20{
    grid-row: 5/6;
    grid-column: 4/5;
}

/******************************************************/
/*                     PAGE 5                        */
/******************************************************/

.page5{
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #650fed;
    
    display: grid;
    grid-template-rows: 1fr 1fr 1fr auto;
    grid-template-columns: 1fr fit-content(310px) 50px fit-content(310px) 1fr;
}

/* ******************* */
/* Contact information */
/* ******************* */

.contact-info{
    width: 100%;
    min-width: 375px;
    color: white;

    font-family: 'FSElliot-light', 'sans-serif';

    grid-row: 2/3;
    grid-column: 2/3;
}

#mail{
    font-family: 'FSElliot-regular', 'sans-serif';
}

.contact-info h1{
    margin-bottom: 50px;
    margin-top: 0;

    font-family: 'FSElliot-bold', 'sans-serif';
    font-size: 40px;
    font-weight: 100;
}

.adress{
    margin: 0;
}

/* ************ */
/* Contact form */
/* ************ */

.contact-form{
    width: 100%;
    min-width: 300px;
    max-width: 310px;

    grid-row: 2/3;
    grid-column: 4/5;
}

form input, textarea{

    /* Remove shadows on iOs */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    padding: 10px;
    margin: 3px;
    width: 90%;

    font-size: 1em;
    font-weight: 100;

    background-color: #650fed;
    border: 1px solid rgb(31, 31, 31, 0.6);
    border-radius: 5px;
}

form input::placeholder, textarea::placeholder {
    color: rgb(255, 255, 255);
    opacity: 1; 
    font-family: 'FSElliot-light', 'sans-serif';
}

form textarea{
    height: 110px;
    resize : none;
    font-family: 'FSElliot-regular', 'sans-serif';
}

.btn-form{
    margin-top: 10px;
    padding: 5px;
    margin-left: 74%;

    background-color: #650fed;
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255, 0.8);
    border-radius: 5px;
    
    font-family: 'FSElliot-regular', 'sans-serif';
    font-size: 14px;
    font-weight: 100;
}

.btn-form:hover{
    color: black;
    border: 1px solid black;
}

/* *********** */
/* Google maps */
/* *********** */

.maps{
    width: 100%;
    height: 200px;
    position: relative;
    bottom: 0;

    grid-row: 4/5;
    grid-column: 1/6;
}

/******************************************************/
/*                     FOOTER                         */
/******************************************************/

footer{
    height:80px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;

    background-color: #2D2D2D;
    color: white;

    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

/* **** */
/* Left */
/* **** */

footer .left-footer{
    width: max-content;
    height: auto;

    color: #686868;
}

.left-footer p{
    margin: 0;
    padding: 0;

    font-size: 0.7em;
    font-weight: 100;
}

#horaires{
    margin-bottom: 5px;
}

/* ****** */
/* Center */
/* ****** */

.center-footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center-footer img{
    width: 30px;
    margin-bottom: 5px;
    color: #686868;
}

.center-footer p{
    margin: 0;
    padding: 0;
    color: #686868;

    font-size: 0.7em;
    font-weight: 100;
}

/* ***** */
/* Right */
/* ***** */

.right-footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.right-footer p{
    margin: 0;
    margin-top: 4px;
    padding: 0;
    color: #686868;

    font-size: 0.7em;
    font-weight: 100;
}

.right-footer button{
    width: max-content;
    cursor: pointer;
    color: #686868;

    font-family: 'FSElliot-regular', 'sans-serif';
    font-size: 0.7em;
    font-weight: 100;

    background-color: #2D2D2D;
    border: none;
}

/* ******************** */
/* Legale notice pop-up */
/* ******************** */

.modal{
    width: 500px;
    max-width: 80%;
    max-height: 90%;
    overflow: scroll;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(0,0,0);
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    z-index: 10;
    background-color: white;
    color: black;
}

.modal.active-popup{
    transform: translate(-50%, -50%) scale(1);
}

.modal-header{
    padding: 10px 15px;
    margin-bottom: 0;
    padding-bottom: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title{
    font-size: 1.2rem;
    font-weight: 100;
}

.modal-header .close-button{
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 1.25rem;
    font-weight: 100;
}

.modal-body{
    padding: 10px 15px;
}

#overlay{
    position: fixed;
    transform: translate3d(0,0,0);
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0, 0, 0, 0.5);
    pointer-events: none;
}

#overlay.active-popup{
    opacity: 1;
    pointer-events: all;
}

/* Design */

.info-societe{
    margin: 0;
    padding: 0;
}

#whoWeAre{
    margin-top: 0;
    padding-top: 0;
}

.title-margin{
    margin-top: 0;
}

.modal-body h3{
    margin-bottom: 5px;
}

/******************************************************/
/*                    END OF PAGES                    */
/******************************************************/

/******************************************************/
/*                     NAVIGATION                     */
/******************************************************/

/*****************/
/* DESKTOP - NAV */
/*****************/

nav{
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    left: 4%;
    top: 8%;

    color: rgb(255, 255, 255);

    z-index: 99;
}

.ulflex{
    width: 100%;
    padding-left: 0;
    list-style: none;

    display: flex;
    flex-direction: column;
}

#logo-navDesktop{
    width: 100px;
    margin-bottom: 30%;
    position: relative;
    left: -14%;
}

.ulflex li{
    margin: 5px;
    width: 50px;
    font-size: 0.8em;
    font-weight: 100;
}

.ulflex li a{
    display: flex;
    color: white;
}

nav ul li a p{
    display: none;
}

.nav-icons:hover + p{
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 0.8em;
    font-weight: 100;
}

.showParagraphe{
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 0.8em;
    font-weight: 100;
    animation:fadeOut 1s ease-in;
}

.nav-icons{
    width: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.active-border{
    border-bottom: 1px solid rgb(255, 255, 255, 0.4);
    border-top: 1px solid rgb(255, 255, 255, 0.4);
}

/****************/
/* MOBILE - NAV */
/****************/

#logo-navMobile{
    width: 60px;
}

#centerLogo-nav{
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

 .window {
    width: 100%;
    height: 100vh;
    overflow: hidden;

	position: relative;
	display: none;
	border-radius: 3px;
	background: #f1f1f1;
}
 .window .header {
    height: 50px;
    width: 100%;
    overflow: hidden;
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	transition: all 0.5s ease-out;
    background: 1s ease-out;
	transition-delay: 0.2s;
	z-index: 1;
}
 .window .header .burger-container {
    height: 50px;
	width: 50px;
	cursor: pointer;
    transform: translate3d(0,0,0);
	position: relative;
	display: inline-block;
	transform: rotate(0deg);
	transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
 .window .header .burger-container #burger {
    transform: translate3d(0,0,0);
	 width: 18px;
	 height: 8px;
	 position: relative;
	 display: block;
	 margin: -4px auto 0;
	 top: 50%;
}
 .window .header .burger-container #burger .bar {
    transform: translate3d(0,0,0);
	 width: 100%;
	 height: 1px;
	 display: block;
	 position: relative;
	 background: rgb(0, 0, 0);
	 transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
	 transition-delay: 0s;
}
 .window .header .burger-container #burger .bar.topBar {
    transform: translate3d(0,0,0);
	 transform: translateY(0px) rotate(0deg);
}
 .window .header .burger-container #burger .bar.btmBar {
    transform: translate3d(0,0,0);
	 transform: translateY(6px) rotate(0deg);
}
 .window .header .icon {
    transform: translate3d(0,0,0);
	 display: inline-block;
	 position: absolute;
	 height: 100%;
	 line-height: 50px;
	 width: 50px;
	 height: 50px;
	 text-align: center;
	 color: #fff;
	 font-size: 22px;
     font-weight: 100;
	 left: 50%;
	 transform: translateX(-50%);
}
 .window .header .icon.icon-bag {
    transform: translate3d(0,0,0);
	 right: 0;
	 top: 0;
	 left: auto;
	 transform: translateX(0px);
	 transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
	 transition-delay: 0.65s;
}
 .window .header ul.menu {
    transform: translate3d(0,0,0);
	 position: relative;
	 display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     width: 100%;
     height: 80%;
     margin: 0;
     padding: 0;

	 list-style: none;
}
 .window .header ul.menu li.menu-item {
    transform: translate3d(0,0,0);
	 margin-top: 5px;
	 transform: scale(1.15) translateY(-30px);
	 opacity: 0;
	 transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
 .window .header ul.menu li.menu-item:nth-child(1) {
    transform: translate3d(0,0,0);
	 transition-delay: 0.49s;
}
 .window .header ul.menu li.menu-item:nth-child(2) {
	 transition-delay: 0.42s;
}
 .window .header ul.menu li.menu-item:nth-child(3) {
	 transition-delay: 0.35s;
}
 .window .header ul.menu li.menu-item:nth-child(4) {
	 transition-delay: 0.28s;
}
 .window .header ul.menu li.menu-item:nth-child(5) {
	 transition-delay: 0.21s;
}
 .window .header ul.menu li.menu-item:nth-child(6) {
	 transition-delay: 0.14s;
}
 .window .header ul.menu li.menu-item:nth-child(7) {
	 transition-delay: 0.07s;
}
 .window .header ul.menu li.menu-item a {
    transform: translate3d(0,0,0);
	 display: block;
	 position: relative;
	 color: #fc423d;
	 font-family: 'FSElliot-light', sans-serif;
	 font-weight: 100;
	 text-decoration: none;
	 font-size: 35px;
	 line-height: 2.35;
	 font-weight: 100;
	 width: 100%;
}
 .window .header.menu-opened {
    transform: translate3d(0,0,0);
     width: 100%;
	 height: 100%;
	 background-color: #fff;
	 transition: all 0.3s ease-in;
     background: 0.5s ease-in;
	 transition-delay: 0.25s;
}
 .window .header.menu-opened .burger-container {
	 transform: rotate(90deg);
     transform: translate3d(0,0,0);
}
 .window .header.menu-opened .burger-container #burger .bar {
     transform: translate3d(0,0,0);
	 transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
	 transition-delay: 0.2s;
}
 .window .header.menu-opened .burger-container #burger .bar.topBar {
    transform: translate3d(0,0,0);
	 transform: translateY(4px) rotate(45deg);
}
 .window .header.menu-opened .burger-container #burger .bar.btmBar {
    transform: translate3d(0,0,0);
	 transform: translateY(3px) rotate(-45deg);
}
 .window .header.menu-opened ul.menu li.menu-item {
    transform: translate3d(0,0,0);
	 transform: scale(1) translateY(0px);
	 opacity: 1;
}
 .window .header.menu-opened ul.menu li.menu-item:nth-child(1) {
	 transition-delay: 0.27s;
}
 .window .header.menu-opened ul.menu li.menu-item:nth-child(2) {
	 transition-delay: 0.34s;
}
 .window .header.menu-opened ul.menu li.menu-item:nth-child(3) {
	 transition-delay: 0.41s;
}
 .window .header.menu-opened ul.menu li.menu-item:nth-child(4) {
	 transition-delay: 0.48s;
}
 .window .header.menu-opened ul.menu li.menu-item:nth-child(5) {
	 transition-delay: 0.55s;
}

 .window .header.menu-opened .icon.icon-bag {
    transform: translate3d(0,0,0);
	 transform: translateX(75px);
	 transition-delay: 0.3s;
}

/******************************************************/
/*                      KEYFRAMES                     */
/******************************************************/
  
/* ****** */
/* Bounce */
/* ****** */

  @keyframes bounce {
    0%,
    100%,
    20%,
    50%,
    80% {
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
    }
    40% {
      -webkit-transform: translateY(-10px);
      -ms-transform: translateY(-10px);
      transform: translateY(-10px);
    }
    60% {
      -webkit-transform: translateY(-5px);
      -ms-transform: translateY(-5px);
      transform: translateY(-5px);
    }
  }

  /* ******** */
  /* Fade out */
  /* ******** */

  @keyframes fadeOut {
    from { 
      opacity:0;
    }
    to {
      opacity:1;
    }
}

/******************************************************/
/*                    MEDIA QUERIES                   */
/******************************************************/

/* Change navigation for small/medium screen */
@media (max-width: 1000px) {

    /* PAGE 3 */

    #arrow1, #arrow2{
        display: none;
    }

    /* PAGE  */

    .page5{
        grid-template-columns: 1fr 1fr 3% 1fr 1fr;
    }

    /* MOBILE NAV */

    nav{
        display: none;
    }

    .window {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        border-radius: 0px;

        z-index: 999;
   }
    .window .header {
        position: fixed;
        transform: translate3d(0,0,0);
   }

}

@media (max-width: 767px) {

    /* PAGE 1 */

    .title-p1{
        top: -38px;
    }

    .h1-p1{
        min-width: unset;
        font-size: 32px;
        font-weight: 100;
    }

    span{
        font-size: 4em;
        font-weight: 100;
    }

    #logo-p1{
       width: 200px;
       left: -40px;
    }

    /* PAGE 2 */

    .page2{
        min-height: auto;
    }

    .title1-p2{
        top: 18%;
    }

    .title1-p2 h1{
        width: 310px;
        font-size: 32px;
    }

    .title1-p2 h2{
        margin-top: 45px;
    }

    .title1-p2 h2, .title2-p2 h2{
        font-size: 15px;
    }

    .description{
        width: 310px;
        font-size: 0.8em;
        font-weight: 100;
    }

    /* PAGE 3 */

    .h1-p3 h1:nth-child(odd){
        font-family: 'FSElliot-bold', 'sans-serif';
        font-size: 32px;
        font-weight: 100;
    }

    .rubriques{
        display: grid;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        column-gap: 2%;
    
        width: auto;
        margin-bottom: 10%;
    
        grid-column: 2/3;
        grid-row: 1/4;
    }

    .rubriques section{
        min-width: 195px;
        max-width: 215px;
    
        padding-bottom: 30px;
        font-size: 0.7em;
        font-weight: 100;
    }

     /* PAGE 4 */

    .title-clients{
        font-size: 1em;
        font-weight: 100;
        padding: 15px;
    }

    .title-p4 h1{
        font-size: 32px;
    }

    .title-p4 h2{
        font-size: 32px;
    }

    .client{
        width: 110px;
        height: 60px;
    }

    /* PAGE 5 */

    .page5{
        grid-template-rows: 50px auto 1fr auto;
        grid-template-columns: 1fr 350px 1fr;
        height: 100%;
    }

    .contact-info{
        min-width: 300px;

        grid-row: 2/3;
        grid-column: 2/3;
    }

    .contact-info h1{
        font-size: 32px;
        font-weight: 100;
        margin-bottom: 20px;
    }

    .contact-form{
        width: 350px;

        padding-top: 30px;
        padding-bottom: 60px;
        grid-row: 3/4;
        grid-column: 2/3;
    }

    .maps{
        grid-row: 4/5;
        grid-column: 1/4;
    }

    /* FOOTER */

    footer{
        height: 80px;
    }

}

@media (max-width: 480px) {

    /* PAGE 1 */

    .title-p1{
        top: -18px;
        min-width: 230px;
    }

    .h1-p1{
        font-size: 20px;
        font-weight: 100;
    }

    .spans{
        margin-top: 10px;
        word-spacing: -15px;
    }

    span{
        font-size: 2.8em;
        font-weight: 100;
    }

    #logo-p1{
        width: 130px;
        left: -60px;
    }

    /* PAGE 2 */

    .title1-p2{
        top: 15%;
    }

    .title1-p2 h1{
        width: 257px;
        font-size: 23px;
    }

    .title1-p2 h2{
        margin-top: 30px;
    }

    .title2-p2{
        top: 60%;
    }

    .description{
        margin-top: -5%;
        margin-bottom: 30px;
        width: 257px;
    }

    .description h3{
        font-size: 1.2em;
    }

    /* PAGE 3 */

    .h1-p3 h1{
        margin: 3px;
    }

    .h1-p3 h1:nth-child(odd){
        font-family: 'FSElliot-bold', 'sans-serif';
        font-size: 23px;
        font-weight: 100;
    }

    .h1-p3 h1:nth-child(even){
        font-size: 40px;
        font-weight: 100;
    }

    .title-p3 h2{
        font-size: 0.9em;
        font-weight: 100;
    }

    .rubriques{
        display: grid;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        column-gap: 4%;
    
        margin-bottom: 10%;
    
        grid-column: 2/3;
        grid-row: 1/4;
    }

    .rubriques section{
        min-width: 100px;
        max-width: 143px;
    
        padding-bottom: 30px;
        font-weight: 100;
    }

    section img{
        width: 30px;
    }

    .br-p3{
        display: none;
    }

    /* PAGE 4 */

    .title-p4 h1{
        font-size: 23px;
    }

    .title-p4 h2{
        font-size: 23px;
    }

    .gallery{
        display: flex;
        flex-direction: column;
    }

    .modal-gallery p{
        max-width: 70%;
        font-size: 0.9rem;
    }

    .client{
        width: 80px;
        height: 50px;
    }

    /* PAGE 5 */

    .page5{
        grid-template-columns: 1fr 270px 1fr;
    }

    .contact-info{
        min-width: 260px;
        margin-left: 5px;

        grid-row: 2/3;
        grid-column: 2/3;
    }

    .contact-info h1{
        font-size: 23px;
        font-weight: 100;
        margin-bottom: 20px;
    }

    .contact-form{
        min-width: 270px;
        max-width: 270px;

        padding-top: 10px;
        padding-bottom: 60px;
        grid-row: 3/4;
        grid-column: 2/3;
    }

    .btn-form{
        margin-left: 71%;
    }

    /* FOOTER */

    footer{
        height: 60px;
        font-size: 0.7em;
    }

    #logo6{
        width: 22px;
    }
        
}

/* Only on large screen */
@media (min-width: 1500px) {

    /* Limit size title on PAGE 2 */
    .title1-p2 h2, .title2-p2 h2{
        font-size: 34px;
    }

    /* Better text size and spacing */
    .description{
        margin-top: -5%;
        margin-bottom: 100px;
        font-size: 1.1em;
    }

}