@charset "utf-8";
/* Simplify width and height calculations */
html {
  box-sizing: border-box;
  scroll-behavior: smooth; /*Pour une transition douce lors du clic sur la fleche en mobile*/
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-style: normal;
  font-family: 'Montserrat', sans-serif; 
}
#wrapper{
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
  background-color: white;
}
p {
  font-style: normal;
  font-weight: 500;
  text-align: justify;
  padding-bottom: 15px;
}
h1  {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  margin-top: 0.5em;
  font-size: 30px;
  font-weight: 400;
    text-transform: uppercase;

}
a{   
  text-decoration: none;
}

#menulink {
  margin-right: 40px;
  text-align: center;
  font-weight: bolder;
  position: absolute;
  right: 0;
  display: none;
  width: 24px;
  margin-top: 10px;
  min-height: 20px;
  max-height: 25px;
  border-top: 5px solid black;
  border-bottom: 5px solid black;
  height: 15px;
}
#menulink a {
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.1em;
  color: rgba(255,255,255,1.00);
  font-size: 46px;
  height: 0px;
  width: auto;
  text-align: right;
  float: right;
  margin-top: -17px;
}
#navlinks {
  list-style-type: none;
  display: grid;
  grid-template-columns: max-content max-content max-content max-content;
  grid-column-gap: 15px;
  padding: 0px;   
  width: max-content;
  text-align: center;
  font-weight: 400;
  margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
#navlinks.displayed {
  z-index: 1;
  opacity: 1;
  overflow: hidden;
  font-size: 30px;
  margin-top: 10vh;
  margin-left: auto;
  margin-right: auto;
}
#navlinks.start {
    display: none;
}
#navlinks.collapsed{
    top: -27em;
    opacity: 1; 
}
#navlinks a {
    color: white;
    transition:all 0.2s ease; 
    font-size: 15px;
    font-weight: 500; 
}
#navlinks:hover a {
  color: rgba(255, 255, 255, 0.5);
  transition:all 0.2s ease; 
}
#navlinks a:hover {
    color: rgba(255, 255, 255, 1.0);
    transition:all 0.2s ease; 
}
header {
  overflow: hidden;
  position: absolute;
  z-index: 1;
  width: 100%;
}
footer {
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: transparent;
    color: black;
    text-align: center;
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    grid-column-gap: 20px;
    justify-content: center; 
}
footer p{
    margin:0; 
    font-size: 17px; 
    line-height: 18px;
    padding: 0;    
}
footer a{
    color: black;
  }
 footer  a:hover { 
    color: rgba(0,0,0,0.6);
}
#hero .background{
    height: 260px;
}
#hero .background img{
    z-index: 1;
    display: block;
    position: static;
    overflow-x: auto;
    width: 100%;
    height: 260px;
    object-fit: none;
}
#logo, #logo2 {
    position: absolute;
    margin-left: 50px;
    width: inherit;
    height: inherit;
    display: block;
}
#piedpageIndex{ 
    position: absolute;
    bottom: 0;
    margin: auto;
    width: 100%;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    grid-column-gap: 20px;
    justify-content: center; 
}
#piedpageIndex a{
    font-weight: normal; 
    color: white;
}
#piedpageIndex{ 
  margin:0; 
  font-family: 'Montserrat', sans-serif; 
  font-size: 17px; 
  line-height: 18px;
}
#gallery-sectionindex{
  position: fixed;
  top: calc(50% - 135px);
  width: 100%;
}
hr{
    position: fixed;
    top: 50%;
    z-index:-1; 
    width: 100vw;
    height: 4px;
    background-color: black;
}
.inner-width{
    width: 100%;
    max-width:1200px;
    margin: auto;
    padding: 0 40px;   
}
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out; 
    -moz-transition: all 0.15s ease-out; 
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out; 
    -moz-transition: all 0.15s ease-out; 
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}
.retour{   
    margin-top: 0.5em;
    text-align: right;
    font-size: 30px; 
    font-weight: 400; 
    color:#46a29f;
    box-sizing: content-box;
    transition:all 0.3s ease; 
    height: 2px;
} 
.retour:hover{
  transition:all 0.3s ease; 
  color: #223045;
}
.containerIndex {
    position: relative;
    width: 24%;
    display: inline-block;
    margin: 0 calc(0.4% - 1px) 0.4% calc(0.4% - 1px) ;
    font-family: Bebas Neue;
}
.imageIndex {
    display: block;
    width: 100%;
}
.text {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-family: Open Sans;
    font-weight: 300;
    font-style: normal;
    display: none;  /* Parce que sinon il affiche le fond quand on hover le text !*/
}
.textIndex {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    display: none;  /* Parce que sinon il affiche le fond quand on hover le text !*/
    text-align: center;
}
.overlay {
    position: absolute;
    opacity: 0;
    transition:all .3s ease;
}
.overlayBottom{
    width: 100%;
    height: 0;
    bottom:0;
    left:0;
    background-color: rgba(0, 0, 0, 0.5);;
}
.containerIndex:hover .overlayBottom {
    opacity: 1;
    height: 100%;
    display: block;
}
.containerIndex:hover .text {
    display: block;
}
.containerIndex:hover .textIndex {
    display: block;
}
#logo path {
    stroke-dasharray: 4060px;
    stroke-dashoffset: 4060px;
    animation: line-anim 3s  ease-in forwards;
}
#logo2 path {
    stroke-dasharray: 4060px;
    stroke-dashoffset: 0;
    animation: line-animation 3s ease reverse;
}
.logo33{
    width: 100%;
}
.logo33 img{
    width: 395px;
    margin: 7vh auto 0 auto;
    display: block;
}
@keyframes line-anim{
    to{
        stroke-dashoffset:0;
    }
}
@keyframes line-animation{
    to{
        stroke-dashoffset:-4060px;
    }   
}
.titulo{
    display: none;
}


/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 900px){
    #gallery-sectionindex{
        position: static;
        padding: 150px 0 20px 0;
    }
    hr{
        display: none;
    }
    #hero #logo, #logo2 {
        margin-top: 30px;
        margin-left: 40px;
    }
    .gallery-section .image{
        flex: 49%;
    }
    .containerIndex {
        width: 49%;
    }
    .containerIndex img{
        /*object-fit: none;*/        
    }
    #piedpageIndex{
        position: relative;
    }
    .containerIndex .overlayBottom {
        opacity: 1;
        height: 40%;
        display: block;
        margin-bottom: 30%;
    }
    .textIndex {
        display: block;
        font-size: 5vh;
        /*color: #1a1a1a;*/
    }
    .containerIndex img{
        /*object-fit: none;*/
        width: 100%;
    }
    .logo33 img{
        width: 250px;
    }
    .containerIndex:hover .overlayBottom {
        display: none;
    }
}
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 480px){
  #gallery-sectionindex{
        padding-top: 10vh;
    }
  .gallery-section .image{
        margin: O;
        flex: 100%
  }
  #menulink {
    display: block;
    height: 15px;
    margin-top: -50px;
  }  
  #navlinks {
    background-color: white;
    position: absolute;
    width: 100%;
    display: block;
    margin-top: 5vh;
  }
  #navlinks a {
    text-transform: uppercase;
    box-sizing: inherit;
    padding-right: 1%;
    padding-left: 1%;
    float: none;
    position: static;
    text-decoration: none;
    color: black;
    font-family: Bebas Neue;
    font-size: 30px;
  }
  #navlinks a:hover, #navlinks a:active, #navlinks a:focus{
    color: #46a29f;
    font-weight: 500;
    font-style: normal;
    background-clip: padding-box;
    background-origin: content-box;
    background-color: white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-style: none;
    border-width: 0px;
    position: static;
    padding-left: 1%;
    padding-right: 1%;
  }
  #navlinks a.thispage {
    color:#46a29f;
  }
  .containerIndex {
    width: 100%;
    /*height: 17vh;*/
    margin-bottom: 15px;
  }
  .containerIndex .overlayBottom {
    margin-bottom: 9%;
    height: 60%;
    display: none;
  }
  .containerIndex img{
      height: 100%;
  } 
  .inner-width{
      margin-top: 20px;
  }
  .textIndex {
    height: 6vh;
    font-family: Bebas Neue;
  }  
  #blabla{
      padding: 0 40px;
  }
  .logo33 img{
      margin-left: 40px;
      width: 175px;
      margin-top: 4vh;
      filter: invert(1);
  }
  .background, .navlinks2{
      display: none;
  }
  header{
    position: static;
  }
  .titulo{
    display: block;
    position: relative;
    color: white;
    margin: 0;
    padding: 0;
    font-size: 30px;
    top: -30px;
    left: 20px;
    height: 0;
    line-height: 0px;
  }
  footer p{
    font-size: 15px; 
  }
  .retour{   
      display: none;
  } 
}
