html,body{
  margin:0;
  padding:0;
  width: 100vw;
  overflow-x: hidden;
}

/* Typography */
@font-face {
    font-family: 'Nunito-Medium';
    src: url(../webfonts/Nunito-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: 'Nunito-Bold';
    src: url(../webfonts/Nunito-Bold.ttf);
    font-weight: 600;
}

@font-face {
  font-family: 'Nunito-Black';
  src: url(../webfonts/Nunito-Black.ttf);
  font-weight: 900;
}

h1,h2,h3,h4{
  font-family: 'Nunito-Black','Arial',sans-serif;
}

strong{
  font-family: 'Nunito-Bold','Arial',sans-serif;
}

h2{
  color:#00a887;
  font-size: 1.8rem;
}

a{
  text-decoration: none;
  color:#00A887;
  font-family: 'Nunito-Bold','Arial',sans-serif;
  transition: all 0.5s ease-in;
}

a:hover{
  color:#008369;
}

.hightlight{
  color: #00A887;
}

i{
  font-family: "Font Awesome 5 Free";
  color:#00a887;
}

i.ibig{
  font-size: 4rem;
}

/* Object */
body{
  font-family: 'Nunito-Medium','Arial',sans-serif;
  font-weight: 500;
}

button{
  background:#00A887;
  padding:20px 30px;
  border-radius: 100px;
  border:none;
  color:#FFF;
  font-family: 'Nunito-Bold','Arial',sans-serif;
  transition: all 0.5s ease-in;
}

button:hover{
  background:#008369;
}

button:disabled{
  background: #9a9a9a;
}

ul{
  list-style: none;
}

/* form */

label{
  font-family: 'Nunito-Bold','Arial',sans-serif;;
  margin-bottom:5px;
}

form input:focus,form textarea:focus {
  border: 1px solid #00A887!important;
  box-shadow: none!important;
}

form .text-danger {
  color: #e74c3c; 
  font-weight: 700;
}

form .alert{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}

/* Layout */
section{
  width: 100vw;
  padding:5vh 0;
}

img{
  max-width: 100%;
  height: auto;
}

.scrollspy-section{
  align-items: unset;
  justify-content:unset;
  font-weight:unset;
  font-size:unset;
  height:unset;
  font-family:unset;
}

.grecaptcha-badge{
  z-index: 999;
}

/* NAV */
#mainNav {
  transition: all 0.5s ease-in;
  border: none; 
  z-index: 999;
  height:80px;
}

#mainNav .navbar-toggler {
  font-size: 1.5rem;
  right: 0;
  padding: 13px;
  border: 0;
  background: #fff;
  margin-top:0;
  z-index: 999;
  position: absolute;
  top:20px;
  right:0;
}

#mainNav .navbar-nav .nav-item .nav-link {
  letter-spacing: 0.8px;
  color:#FFF;
  transition:all 0.3s ease-in-out;
}

#mainNav .navbar-nav .nav-item .nav-link::after{
  display: block;
  background:#00a887;
  margin-top:5px;
  height:3px;
  width:0px;
  content:"";
  transition: all 0.3s ease-in;
}

#mainNav .navbar-nav .nav-item .nav-link.hover1:hover{
  color:#FFF !important;
}

#mainNav .navbar-nav .nav-item .nav-link.hover2:hover{
  color:#00a887 !important;
}

#mainNav .navbar-nav .nav-item .nav-link.active{
  color:#00a887;
}

#mainNav .navbar-nav .nav-item .nav-link.active::after{
  width:40px;
}

/* HOME */
#home{
  height: 75vh;
  background: url('../img/home.png') no-repeat;
  background-size: contain;
  background-position: top right;
}

#home iframe{
  position: relative;
  top:65px;
}

#home img{
  margin-left:-50px;
}

#logow{
  display: none; 
 }
 #logo{
   display: flex;
 }

/* Etape number */
span.etape{
  background:#00a887;
  display: flex;
  justify-content: center;
  align-items: center;
  width:120px;
  height:120px;
  border-radius: 100%;
  position: relative;
  z-index: 2;
  margin:100px 0;
}

span.etape h2{
  margin:0;
  color:#fff;
}

span.firststep::after{
  width:10px;
  height:60px;
  background: #979797;
  content:"";
  position: absolute;
  bottom:-60px;
  border-radius: 0 0 20px 20px;
  z-index: 0;
}

span.step::before{
  width:10px;
  height:60px;
  background: #979797;
  content:"";
  position: absolute;
  top:-60px;
  border-radius: 20px 20px 0 0;
  z-index: 0;
}

/* Etapes content */
#step2 article{
  background:url(../img/etape2_s1.png) no-repeat;
  background-position: center center;
  background-size: 50%;
}

#step3 article{
  background:#fdfdfd;
  padding:7vh 0;
}

/* Partenaires */
#partenaires ul{
  padding:0;
}

#partenaires img{
  max-height: 90px;
  max-width: 150px;
  cursor:pointer;
}

/* contact */
#contactspace {
  background: url(../img/contact.png) no-repeat;
  background-position: bottom left;
  background-size: contain;
  min-height: 75vh;
  padding-right: 10%;
}

/* footer */

#credits {
  width: 100vw;
  background:#004134;
  padding: 27px 80px;
  text-align: center; 
  position: relative;
}

#credits ul li{
  text-align: left;
}

#credits a{
  color:#fff;
  padding:0 30px;
  font-size: 0.8rem;
}

#credits img{
  max-width: 200px;
}

#credits span.copyright {
  font-size: 0.8rem;
  line-height: 40px;
  text-transform: none;
  text-transform: uppercase;
  color:#00a887;
}
  /* LARGE SCREEN*/

@media screen and (min-width: 1601px){
  section#home iframe{
    transform: scale(1.2);
  }
  #step2 article{
    background-size: contain;
    margin: 3rem 7vw !important;
  }
  #partenaires img{
    max-height: 180px;
    max-width: 300px;
    cursor:pointer;
  }
}

/* SMALL SCREEN */
@media screen and (max-width: 1400px){
  #home{
    background: url('../img/home.png') no-repeat, linear-gradient(180deg, rgba(9,161,144,1) 0%, rgba(0,168,135,1) 100%);
    background-size: contain;
    background-position: top right;
    min-height: 95vh;
  }

  #logow{
   display: flex; 
  }
  #logo{
    display: none;
  }

  #home h2, #home a{
    color:#FFF; 
  }

  #home button{
    background: #fff;
    color:#00A887;
  }

  #home button:hover{
    background: #fff;
    color:#008369;
  }

  #home iframe{
    transform: scale(0.8);
  }

  #contactspace {
    min-height: 50vh;
    background-size: 45%;
    padding-right: 5%;
  }
}

/* TABLET */
@media screen and (max-width: 992px){
  p, a{
    font-size: 1.3em;
  }

  ol li p{
    font-size: 1.2em;
  }

  .navbar-nav{
    width: 100vw;
    background: #fff;
    position: absolute;
    top:0;
    left:0;
    right: 0;
    padding:70px 0 30px 30px;
  }

  .navbar-nav a{
    color: #000!important;
  }

  #home{
    background: url('../img/home.png') no-repeat, linear-gradient(180deg, rgba(9,161,144,1) 80%, rgba(0,168,135,1) 100%);
    background-position: bottom right;
  }

  #step2 article{
    background:none;
  }

  #contactspace{
    padding-right: 0;
    background: url(../img/contact.png) no-repeat, linear-gradient(180deg, rgba(9,161,144,1) 0%, rgba(0,168,135,1) 100%);
    background-size: contain;
    background-position: bottom left;
  }

  #contactspace span, #contactspace label{
    color:#FFF;
  }

  #contactspace button{
    background:#fff;
    color:#00A887;
  }
}

/* SMARTPHONE */
@media screen and (max-width: 767px){
  #mainNav .navbar-toggler{
    top:20px;
    right:20px;
  }

  #home{
    min-height: 130vh;
    background-size: 180%;
  }

  #home img{
    margin-left: 0;
  }

  #home iframe{
    transform: scale(0.5) translateY(-100px)
  }

  #partenaires img{
    max-height:70px;
    max-width: 100px;
  }

  #credits{
    padding: 20px;
  }
}
