@font-face { font-family: "BebasNeue"; src: url("../font/BebasNeue/BebasNeue-Regular.otf") format("opentype"), url("../font/BebasNeue/BebasNeue-Regular.ttf") format("truetype"); }
@font-face { font-family: "Cinzel"; src: url("../font/Cinzel/Cinzel-Regular.ttf") format("truetype"); }
@font-face { font-family: "Great Vibes"; src: url("../font/Great_Vibes/GreatVibes-Regular.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; src: url("../font/Montserrat/Montserrat-Medium.ttf") format("truetype"); }
*{ color: #333; }
html, body{ margin: 0; padding: 0; }
header{
  border: solid 2px #c26648;
  border-bottom: none;
}
header>.banner>*{
  margin: 0;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 1.75em;
}
header>.banner>h2{
  font-size: 1.75em;
  color: black;
  font-family: 'Great Vibes', cursive;
  font-weight: 100;
}
header>.banner{
  background-clip: content-box;
  background-color: rgba(245, 245, 245, 1);
  border-top: solid 2px rgba(245, 245, 245, 0.5);
  border-bottom: 1px solid rgba(245, 245, 245, 1);
}
header>div:first-child{ display: flex; }
header>div:first-child>img{ margin: auto; }
nav{
  text-align: center;
  padding: .75em 0;
  background-color: rgba(245, 245, 245, .5);
}
nav a{
  padding: 5px 10px;
  color: rgba(45, 45, 45, 1);
  font-weight: bolder;
}
nav a:last-child:not(.active){ color: #c26648; }
nav a:hover{ 
  text-shadow: 0 0 15px black;
  color: rgba(45, 45, 45, .75); 
}
nav a.active{ 
  background-color: rgba(49, 122, 118, 1);
  color: rgba(245, 245, 245, 1); 
}
nav a.active:last-child{ background-color: #c26648; }
.BebasNeue { font-family: 'BebasNeue'; }
main{
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr 3em;
}
header, header>:first-child, main{
  background-image: url("../img/bg.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-color: ivory;
}
.content{
  background-color: rgba(49, 122, 118, 0.75);
  border: solid 2px #c26648;
  display: flex;
  border-bottom: none;
  border-top: none;
}
.content>section{
  padding: 0.5em 15vw;
  width: 100%;
  margin: auto;
}

.direct{
  padding: 1px 10% 50px;
  display: grid;
  border-radius: 7.5px;
}
:not(.content)>section div{
  background-color: transparent;
  border-radius: none;
  padding: none;
}
article h3{ 
  text-align: center;
  font: 2.5em "Great Vibes", cursive;
  margin-top: 30px;
  margin-bottom: 20px;
}
.logo h4{ 
  text-align: center;
  font: 2.5em "Great Vibes", cursive;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #555;
}
article p{ 
  padding: 0 15px; 
  font: .8em 'Montserrat', sans-serif;
  color: #757575;
  text-align: justify;
}
article li{
  font: .75em 'Montserrat', sans-serif;
  position: relative;
  margin-bottom: 20px;
  display: inline-block;
}
article li:before{
  font-size: 1.25em;
  position: absolute;
  left: -20px;
}
form table{
  margin: auto;
}
form tr>:first-child{
  text-align: right;
}
footer{
  background-color: #333;
  padding: 0.5em;
}

article{
  margin: 50px 40px 0;
}

.col{
  margin: 10px;
  padding: 30px;
}
.col-box{
  background-color: #f5f5f5;
  border-top: 2px solid rgba(49, 122, 118, 0.75);
  border-bottom: 2px solid rgba(49, 122, 118, 0.75);
  border-radius: 3px;
  margin: 30px 0;
}
.col2{
  column-count: 2;
  column-gap: 50px;
}

.col3{
  column-count: 3;
  column-gap: 30px;
}

.col4{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.col4>div{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.col4 p{
  text-align: center;
}

.col>li{
  display: inline-block;
}

b{
  color: rgba(49, 122, 118, 0.75);
}
.switcher{
  display: flex;
  border-top: 2px solid rgba(49, 122, 118, 0.75);
  border-bottom: 2px solid rgba(49, 122, 118, 0.75);
  background-color: rgba(49, 122, 118, 0.25);
}
.switcher>section{
  width: 50%;
  display: flex;
  height: 32.5em;
  transition: all .5s ease;
  border:solid 1px rgba(49, 122, 118, 0.75);
  background-color: rgba(49, 122, 118, 0.25);
  overflow: hidden;
}
.sous-titre{
  font-size: 75%;
  color: #555;
}
.switcher:hover>section:not(:hover){
  background-color: rgba(49, 122, 118, 0.5);
}
.switcher>section:hover{
  width: 150%;
  display: block;
  background-color: transparent;
}
.switcher .Hshow{
  display: none;
}
.switcher:hover>section:not(:hover)>*:not(.logo){
  display: none;
}
.switcher>section:hover .Hshow{
  display: block;
}
.switcher>section:hover .Hhide{
  display: none;
}
.r23805{
  background-color: rgba(238, 238, 238, .5);
}
.r255025{
  background-color: rgba(255, 255, 255, .25);
  border-radius: 5px;
  padding: 1px;
}
.logo{
  margin: auto;
  width: 100%;
}
.large{
  margin: 0;
  width: 115%;
  margin-left: -7.5%;
}
.Fbutton{
  margin: auto;
  width: 50%;
  text-align: center;
  border: whitesmoke solid 1px;
  background-color: rgba(245, 245, 245, .33) !important;
  padding: 1em 5px;
}

.marge{
  margin-top: 75px;
}
.marge>.img{
  float: left;
  margin: 1em;
  margin-left: -93px;
  margin-top: -1em;
  background: repeating-linear-gradient();
}
/* CSS FORM */


.form {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  display: block;
  width: 90%;
  padding: 1rem 2rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: rgba(49, 122, 118, 0.75);
  border: 1px solid #f0f0f0;
  border-radius: 0;
  background-color: #fff;
  background-clip: padding-box;
  overflow: visible;
  margin: 10px;           
  font-family: Lato,sans-serif;
}

.form:focus{
  border: 1px solid rgba(49, 122, 118, 0.75);
}
.textzone{
  overflow: auto;
  resize: vertical;
}

.formcontainer{
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.btn{
  color: #151515;
  background-color: transparent;           
  font-family: Lato,sans-serif;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  display: inline-block;
  padding: 1rem 2rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: color .1s;
  text-align: center;
  vertical-align: middle;
  color: #777;
  border: 2px solid rgba(49, 122, 118, 0.75);
  margin-left: 10px;
}
.btn:hover{
  color: rgba(49, 122, 118, 0.75);
  font-weight: 700;
}

*{box-sizing: border-box;}

hr{
  border: 0.5px solid rgba(49, 122, 118, 0.4);
  margin: 15px 40px 15px 10px ;
}

.circle{
  border: 1px solid rgba(49, 122, 118, 0.4);
  height: 100px;
  width : 100px;
  border-radius: 50%;
  margin: 0 20px 20px 20px;
  overflow: hidden;
}
.circle img{
  height: 100%;
  width : 100%;
}
.cite{
  color: #777;
}
@media screen and (min-width: 992px){
  nav span{
    display: none;
  }
  header{
    position: sticky;
    z-index: 1200;
    top: 0;
  }
}
@media screen and (max-width: 1249.8px){

  .content>section{
    padding: 0.5em 10vw;
  }

}
@media screen and (max-width: 991.8px){

  .marge>.img {
    float: none;
    margin: 1em auto;
    width: fit-content;
  }
  .content>section{
    padding: 0.5em 2.5vw;
  }
  .col4{
    grid-template-columns: 100%;
  }
  .col2, .col3{
    column-count: 1;
  }
  .direct{
    padding: 1px 5% 50px;
  }
  header{
    padding-top: 173px;
  }
  header>:first-child{
    position: fixed;
    border-top: solid 2px #c26648 ;
    top: 0;
    left: 2px;
    right: 2px;
    z-index: 1000;
  }
  header>nav{
    position: fixed;
    top: 125px;
    left: 2px;
    right: 2px;
    z-index: 1000;
    background-color: rgba(245, 245, 245, .75);
  }
  .large{
    margin: 0;
    width: 110%;
    margin-left: -5%;
  }
  .switcher{
    flex-direction: column;
  }
  .switcher>section{
    width: 100%;
    height: 26rem;
  }
  .switcher:hover>section{
    width: 100%;
    height: 12rem;
  }
  .switcher>section:hover{
    width: 100%;
    height: 40rem;
    display: block;
    background-color: transparent;
  }
  nav>:not(.active)>a.active{
    display: initial;
    margin-right: 45px;
    float: right;
  }
  nav a {
    display: none;
  }
  nav>.active>a{
    display: block;
    margin: 0 20%;
  }
  nav>.active{
    background-color: inherit;
  }
  nav span{
    position: absolute;
    top: 12px;
    right: 10px;
    font-size: 28px;
  }
  .formcontainer{
    grid-template-columns: auto;
  }
}

/* Social icon */
footer i {
  opacity: 0;
  font-size: 28px;
  color: #1F1E1E;
  will-change: transform;
  -webkit-transform: scale(.1);
          transform: scale(.1);
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.btn_wrap {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  cursor: pointer;
  width: 145px;
  height: 2em;
  background-color: #EEEEED;
  border-radius: 80px;
  padding: 0 18px;
  will-change: transform;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  margin-left: calc(100% - 160px)
}

.btn_wrap:hover {
  /* transition-delay: .4s; */
  -webkit-transform: scale(1.1);
          transform: scale(1.1)
}

footer span {
  position: absolute;
  z-index: 99;
  width: 141px;
  height: 1.5em;
  border-radius: 80px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 20px;
  text-align: center;
  line-height: 28px;
  letter-spacing: 2px;
  color: #EEEEED;
  background-color: #1F1E1E;
  padding: 0 18px;
  -webkit-transition: all 1.2s ease;
  transition: all 1.2s ease;
}

.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
        align-items: center;
  width: 240px;
  height: 64px;
  border-radius: 80px;
}

.container i:nth-of-type(1) {
  -webkit-transition-delay: 1.1s;
  transition-delay: 1.1s;
}

.container i:nth-of-type(2) {
  -webkit-transition-delay: .9s;
  transition-delay: .9s;
}

.container i:nth-of-type(3) {
  -webkit-transition-delay: .7s;
  transition-delay: .7s;
}

.container i:nth-of-type(4) {
  -webkit-transition-delay: .4s;
  transition-delay: .4s;
}

.btn_wrap:hover span {
  -webkit-transition-delay: .25s;
          transition-delay: .25s;
  -webkit-transform: translateX(-280px);
          transform: translateX(-280px)
}

.btn_wrap:hover i {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}


.dr {
  position: absolute;
  bottom: 16px; 
  right: 16px;
  width:100px;
}