html{
  scroll-behavior: smooth;
}

body{
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: black;
}
/* Box sizing rules */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
}
ul, li{
  list-style: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
p{
  line-height: 1.5;

}
h1{
  font-size: 40px;
  margin-top: 0;
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
}
h2{ 
  font-size: 24px;
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}
.bree-serif-regular {
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
}

/*///////// MISE EN PAGE ////////*/

.wrapper{
  display:flex;
}
.wrapper .left{
  width: 350px;
  background: white;
  flex-shrink: 0;
  flex-grow: 0;
  height: 100vh;
  position: fixed;
  padding: 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.logo {
  flex-grow: 1;
  overflow: hidden;
  width: 100%;
  margin-bottom: 40px;
}
.logo img{
  max-width: 25vh;
  max-height: 100%;
  object-fit: cover;
}

.burger{
  cursor:pointer;
  z-index: 8;
  position: fixed;
  display: block;
  top: 7vw;
  right: 7vw;
}
.burger img{
  width: 40px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  filter: drop-shadow(0px 0px 10px rgb(0 0 0 / 0.4));
}

.wrapper .right{
  flex-grow: 1;
  height: 100%;
  transition: 0.5s;
}

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

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(255,255,255, 1);
  overflow-x: hidden;
  transition: 0.2s;

  display: flex;

}

.overlay-content {
  position: relative;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}



.overlay .closebtn {
  position: absolute;
  top: 7vw;
  right: 7vw;
  color: #000;
  z-index: 100;
}

.overlay .closebtn img {
  width: 40px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}



.fa-x { 
  transform: scale(1.15,1); 
}





.nav {
  background: url("../img/degrade_nav_gauche.jpg") no-repeat left / contain;
  width: 80%;
  box-sizing: border-box;
  height: fit-content;
}
.nav .nav-inner{
  background: url("../img/degrade_nav_droite.jpg") no-repeat right / contain;
  box-sizing: border-box;
  padding: 10px 0 10px 0;
}
.nav .nav-inner ul {
  text-align: center;
  background: white;
  margin: 0 10px;
  box-sizing: border-box;
  padding: 4vh 0;
  
}
.nav .nav-inner ul li{
  padding: 10px;
  box-sizing: border-box;
}
.nav .nav-inner ul li a{
  text-decoration: none;
  color: black;

  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-size: 9vw;
}



/*///////// HERO ////////*/


.wrapper .right section.hero{
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 85vh;
  background: url('../img/bg-100.webp') center / cover;
  background-attachment: fixed;
  padding: 10vw 7vw 5vw 10vw;
  padding: 7vw 7vw 5vw 7vw;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.wrapper .right .hero img.portrait{
  width: 90vw;
  border-radius: 100%;
  position: absolute;
  top: 15%;
  right: -22vw;
  z-index: -2;
  transform: translateZ(-10px);
}

.wrapper .right .hero p{
  position: relative;
  font-size: 7.1vw;
  color: rgba(255, 255, 255, 1);
  width: 94%;
  margin: 0;
  line-height: 1.2;
  transform: translateZ(-5px);
}

.wrapper .right .hero p::before, 
.wrapper .right .hero p::after{
  position: absolute;
  font-size: 400%;
  line-height: 0.07;
  z-index: -1;
  margin-left: -90px;
  margin-left: -40px;
  margin-left: -7%;
  font-style: italic;
}

.wrapper .right .hero p::before{
  content:"«";
  color: #84B8CA;
  
}
.wrapper .right .hero p::after{
  content:"»";
  color: #F60274;
}

.wrapper .right .hero .chevron{
  width: 40px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  margin-top: 5vh;
  margin-left: auto;
  margin-right: auto;
}

/*///////// À PROPOS ////////*/

.wrapper .right .bio{
  padding: 7vw 7vw 7vw 7vw;
  box-sizing: border-box;
  background: url(../img/bg-logo.webp) no-repeat;
  background-size: 120%;
  background-position: center;
  background-attachment: fixed;
}

/*///////////// SERVICES ///////////////*/

.services{
  padding: 7vw;
  box-sizing: border-box;
  background: url('../img/bg_service_80.webp') center / cover;
  background-attachment: fixed;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;

}
.services h2{
  margin: 0 0 10px 0;
}
.services p{
    margin: 0 0 16px 0 ;
    padding: 0;
  }
dl{
  width: 50%;
}
dl, dt, dd{
  margin: 0;
  padding: 0;
}
dl dt{
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  list-style: disc;
}
dd{
  margin-bottom: 20px;
}
.icon img{
  width: 90px;
}
.col-wrapper{
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.col-left, .col-right{
  width:100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.icon{
  width: 20%;
  display: flex;
  align-items: flex-start;
  margin-right: 6vw;
  margin-top: 10px;
}
.description{
  width: 70%;
}


/*////////////// PORTFOLIO /////////////*/


.portfolio{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: url('../img/bg_behance_1.webp') center / cover;
  background-attachment: fixed;
  padding: 7vw;
  box-sizing: border-box;
  height: 100vh;
  animation: mymove 5s ease-in-out infinite alternate;
}

@keyframes mymove {
  0% { background-image: url('../img/bg_behance_1.webp'); }
  33% { background-image: url('../img/bg_behance_1.webp'); }
  66% { background-image: url('../img/bg_behance_2.webp'); }
  100% { background-image: url('../img/bg_behance_2.webp'); }
}
.portfolio h1{
  margin-bottom: -10px;
}
.portfolio p{
  width: 80vw;
/*  width: 20vw;*/
  text-align: center;
}
.btn{
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 30px;
  color: white;
  font-weight: normal;
  box-sizing: border-box;
  text-decoration: none;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 200% 200%;
  animation: gradient 15s ease infinite;
  border: none;
}
.btn:hover{
  background: linear-gradient(45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 200% 200%;
  animation: gradient 15s ease infinite;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/*///////////// QUOTES ////////////////*/

.quotes{
  background: url('../img/bg-100.webp') center / cover;
  background-attachment: fixed;
  padding: 7vw;
  text-align: center;
  color: white;
  }

.quotes h1{
  color: white;
}

.quotes .col-un,
.quotes .col-deux,
.quotes .col-trois{
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.flickity-viewport {
    height: 80vh;
}
q{
  font-size: 1em;
  margin-bottom: 20px;
  box-sizing: border-box;
  display: block;
  color: white;
  text-align: center;
  font-style: italic;
  letter-spacing: 0.5px;
}
q::before, q::after{
  position: absolute;
  font-size: 6em;
  line-height: 0;
  z-index: 0;
  margin-left: -0.3em;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
}


q::before{
  content: "«";
}
q::after{
  content: "»";
}
.quotes hr{
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 2em 0;
}

.gallery {
  background: none;
}

.gallery-cell {
  width: 100%;
  /*height: 50vh;*/
  height: 100%;
  margin-right: 10px;
  background: none;
  counter-increment: gallery-cell;
  padding: 7vw 10vw;
  text-align: center;
  color: white;

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

.signature{
  display: flex;
    align-items: center;
    justify-content: center;
}

.signature img{
  width: 75px;
  border-radius: 100px;
  margin-right: 10px;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.signature p{
  text-align: left;
}

/* cell number */
.gallery-cell:before {
  display: none;
  text-align: center;
  content: counter(gallery-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

/*///////////// CONTACT /////////////*/


.contact {
  width: 100%;
  height: 100%;
  padding: 7vw;
  box-sizing: border-box;
  text-align: center;
}
.contact .btn{
  display: block;
  text-align: center;
}
.contact .col-wrapper{
  align-items: center;
}
.contact .col-un, .contact .col-deux, .contact .col-trois {
  margin-bottom: 3vh;
}

.contact .col-un p, .contact .col-deux p, .contact .col-trois ul{
  margin: 0;
}
.contact h2{
  margin-top: 0;
  margin-bottom: 1vh;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text],input[type=email], select, textarea {
  width: 100%; /* Full width */
  padding: 15px; /* Some padding */ 
  border:none;
  border-radius: 40px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
  font-size: 16px;
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  /*background-color: #04AA6D;*/
  /*color: white;*/
  /*padding: 12px 20px;*/
  border: none;
  /*border-radius: 4px;*/
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  /*background-color: #45a049;*/
}

.contact a img {
  display: block;
  width: 40px;
}
.contact .social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  flex-direction: row;
  /*margin-top: -15px;*/
}
.contact .social li{
  margin-right: 10px;
}
.contact .social li:last-child{
  margin-right: 0;
}
.contact .col-right, .contact .col-left{
  display: block;
}


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

footer{
  padding: 7vw;
  background: url('../img/bg-100.webp') center / cover;
  display: flex;
  flex-wrap: wrap;
  color: white;
  font-size: 12px;
  align-items: center;
  justify-content: space-between;
}
footer img{
  width: 150px;
  padding-bottom: 10px;
}
footer p{
  margin: 0;
}
footer .footernav{
  text-align: right;
  line-height: 1.8;
}
footer .footernav a{
  color: white;
  text-decoration: none;
  font-family: "Bree Serif", serif;
  font-weight: 100;
  font-size: 18px;
}

footer #mc_embed_shell{
  order: -1;
  width: 100%;
  margin-bottom: 3vh;
}
footer #mc_embed_shell h2{
  margin: 0 0 2vh 0;
  text-align: center;
}
footer #mc_embed_signup_scroll{
  display: flex;
  justify-content: space-between;
}
footer #mc_embed_signup_scroll .mc-field-group{
  width: 100%;
}
footer #mc_embed_signup_scroll .mc-field-group{
  padding-right: 10px;
}


@media only screen and (max-device-width: 1024px) {
  .parallax, .portfolio, .services, .quotes {
    background-attachment: scroll !important;
    background-size: cover !important;
    /*    background-size: cover;*/
  }
}



@media (min-width: 425px) {
  .wrapper .right .hero p{
    /*font-size: 8vw;*/
  }
}

/*/////// iPad 1, 2, Mini and Air ////////*/

@media (min-width: 768px) {
  .wrapper .right section.hero {
    height: 90vh;
  }
  .logo img{
    max-width: 33vh;
  }
  .wrapper .right .hero p {
    font-size: 4.9vw;
  }
  .wrapper .right .hero i {
    font-size: 8vw;
    margin-top: 4vw;
    line-height: 0.6;
    display: block;
  }

  .icon{
    width: 15%;
  }
  .description{
    width: 75%;
  }

  .services p{
    margin-bottom: 3vh;
  }
  .portfolio{
    height: 50vh;
  }
  q {
  }
  .quotes{
  }
  footer #mc_embed_shell{
    order: 0;
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .nav{
    width: 50%;
  }
  .nav .nav-inner ul li a{
    font-size: 5vw;
  }
  .overlay .closebtn{
    top: 5vw;
    right: 5vw;
  }

  .logomobile{
    
  }

  .logo img {
        max-width: 40vh;
    }

  .wrapper .right section.hero{
    padding: 5vw 5vw 3vw 5vw;
    align-items: flex-start;
  }
  .wrapper .right .hero p{
    width: 80vw;
    font-size: 3.7vw;
  }
  .wrapper .right .hero img.portrait{
    width: 50vw;
    right: -7vw;
  }

  .burger{
    top: 5vw;
    right: 5vw;
  }

  .wrapper .right .hero i{
    font-size: 4vw;
    margin: 2vw auto 0 auto;
  }

  .col-wrapper{
    flex-direction: row;
  }

  .icon{
    margin-right: 2vw;
  }

  .portfolio {
        height: 100vh;
    }

    .portfolio p {
      width: 45vw;
    }

    .contact .col-right {
    margin-left: 4vw;
  }
  .contact{
    text-align: left;
  }
  .quotes{
    padding: 7vw 10vw;
  }
  .quotes hr{
    display: none;
  }

  .quotes .col-wrapper .col-un,
  .quotes .col-wrapper .col-deux,
  .quotes .col-wrapper .col-trois{
    width: 24vw;
  }
  footer #mc_embed_shell h2 {
    text-align: left;
}

  

}

/* ----------- iPad Pro 12.9" ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px)
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {

    .wrapper .right section.hero{
      padding: 7vw;
    }

    .logo img {
        max-width: 33vh;
    }

  .wrapper .right .hero img.portrait{
    width: 70vw;
    right: -11vw;
  }
  .wrapper .right .hero p{
    width: 100%;
    font-size: 6vw;
  }
  .wrapper .right .hero p::before, .wrapper .right .hero p::after{
    margin-left: -90px;
  }

}

@media only screen 
  and (min-device-width: 1280px) 
  and (max-device-height: 720px){

    .wrapper .right .hero p {
        width: 70vw;
        font-size: 3.2vw;
    }
  }

@media only screen 
  and (min-device-width: 1366px) {

    .wrapper .right section.hero{
      height: 100vh;
    }

    .wrapper .right .hero p {
        width: 70vw;
        font-size: 3.2vw;
    }
  }



/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen 
  and (min-device-width: 1366px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

@media (min-width: 1280px){
  .overlay{
    width: auto;
    background-color: transparent;
    height: auto;
    top: 5%;
    right: 4vw;
    left: auto;
    transition: none;
  }
  .closebtn, .burger{
    display: none;
  }
  .overlay .overlay-content .nav{
    background: none;
    width: 100%;
  }
  .overlay .overlay-content .nav .nav-inner{
    background: none;
    padding: 0;
  }
  .overlay .overlay-content .nav .nav-inner ul{
    background: none;
    display: flex;
    justify-content: flex-end;
    padding: 0 ;
    margin: 0;

  }
  .overlay .overlay-content .nav .nav-inner ul li{
    padding: 0 20px;
  }
  .overlay .overlay-content .nav .nav-inner ul li a{
    font-size: 1.7vw;
    color: white;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3) ;
  }
}

@media (min-width: 1366px){
  .contact{
      padding: 7vw 20vw;
    }
}

@media (min-width: 1440px) {

  .wrapper .right .hero p {
        width: 63vw;
        font-size: 3.7vw;
    }
    .wrapper .right .bio, .services{
      padding: 7vw 15vw 7vw 15vw;
    }
    footer .copyright{
      text-align: center;
    }
    footer img{
      width: 200px;
    }

    footer .footernav a {
      font-size: 24px;
    }

    
    
  
}

@media only screen 
  and (min-device-width: 1536px) 
  and (max-device-height: 864px){
    
  }

@media screen and (max-height: 450px) {
  
  }
}