@font-face {
  font-family: "IslaRegular";
  src: url("../fonts/Isla Regular.woff2") format("woff2");
  src: url("../fonts/Isla-Regular.woff") format("woff");
}

html, body{
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-touch-callout: none;
}

header{
  margin: 0;
  width:auto;
  left: 0;
  right: 0;
  flex-shrink: 0;
  position: fixed;
  z-index: 0;
}

.headerBG{
  position: relative;
  top: 0;
  margin: 0;
  width: 100%;
  height: 80px;
  flex-shrink: 0;
  background: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  z-index: -1;
}

#logo{
  height:84px;
  width: 100px;
  -webkit-mask-image: linear-gradient(black 0%, black 92%, transparent 100%);
  mask-image: linear-gradient(black 0%, black 92%, transparent 100%);
}

.Stripe{
  float: left;
  position: relative;
  margin : 0px;
  width: 20px;
  height: 150px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

#red{
top : -47px;
left : -12px;
z-index: -1;
background-color: #DB1515;
}

#blue{
top : -31px;
left : -20px;
z-index: -1;
background-color: #19237E;
}

#yellow{
height: 200px;
top : -40px;
left : -28px;
z-index: -1;
background-color: #FFD600;
}

#center{
  margin-top : 9px;
  margin-left : 9px;
  height: 60px;
  width: 60px;
  z-index: 10;
  background: url(../images/centreClean.png) no-repeat center;
  background-size:contain;
}

a{
  color: black;
  text-decoration: none;
}

.title{
  align-self: center;
}

h1{
  font-family: IslaRegular;
  color: #000;
  font-size: 32px;
}

#dropDown{
  top: -250px;
  right: 0;
  margin: 0;
  width: 100%;
  height: 247px;
  flex-shrink: 0;
  background: linear-gradient(#fff 0%, #fff 49.5%, #ddd 49.5%, #ddd 50.5%, #fff 50.5%, #fff 74.5%, #ddd 74.5%, #ddd 75.5%, #fff 75.5%, #fff 100%);
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  position: relative;
  margin-top: 0px;
  z-index: -100;
  transition: all 500ms cubic-bezier(1, -0.2, 0, 1.2);
}

#dropDown p{
  width: 100%;
  text-align: center;
  display: inline-block;
}

#dropDown p a{
  width: 200px;
  text-align: center;
  display: inline-block;
}

.menuBtn{
  font-size: 24px;
  margin-left: auto;
  order: 2;
  flex-shrink: 0;
  width: 550px;
  justify-content: space-between;
  display: flex;
  position: relative;
  align-self: center;
  right: 30px;
  float: right;
  transition: all 400ms;
}

.menuBtn a{
  font-family:'Cardo', serif;
  font-weight: bold;
  transition: all 1s;
  background:
    linear-gradient(to right ,#DB1515, #DB1515 33%, #19237E 33%, #19237E 66%, #FFD600 66%, #FFD600 100%);
  background-size: 0 2px, 0 2px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}

.menuBtn a:hover{
  color: black;
  background-size: 100% 2px, 100% 2px;
}

.menuBtn a:active{
  color: black;
}

.burgerMenu{
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-left: auto;
  order: 2;
  align-self: center;
  position: relative;
  right : 3.5%;
  cursor: pointer;
}

.pill{
  margin : 3px;
  width: 30px;
  height: 5px;
  background-color: black;
  border-radius: 5px;
}

.animated:nth-of-type(1){
    animation: 0.5s cubic-bezier(1, -0.25, 0, 1.25) normal both running UpPill;
}

.animated:nth-of-type(2){
    animation: 0.5s cubic-bezier(1, -0.5, 0, 1.5) normal both running MidPill;
}

.animated:nth-of-type(3){
    animation: 0.5s cubic-bezier(1, -0.5, 0, 1.5) normal both running DownPill;
}

@keyframes UpPill {
  from {
    width : 30px;
    transform: translateY(0) rotate(0deg);
  }

  to {
    width : 40px;
    transform: translateY(11px) rotate(-135deg);
  }
}

@keyframes MidPill {
  from {
    width : 30px;
  }

  to {
    width : 0px;
  }
}

@keyframes DownPill {
  from {
    width : 30px;
    transform: translateY(0) rotate(0deg);
  }

  to {
    width : 40px;
    transform: translateY(-11px) rotate(-45deg);
  }
}

#blason{
  margin-top: -65px;
  width: 286px;
  height: 202px;
  margin-left: auto;
  margin-right: auto;
  background: url(../images/blasonWhite.png) no-repeat center;
  background-size:contain;
  transition: all 400ms;
  z-index: 1000;
}

p{
  font-family:'Cardo', serif;
}

h2, h3{
  font-family: IslaRegular;
}

.underconstruction{
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: IslaRegular;
  font-weight: bold;
  font-size: 22px;
}

.content{
  top: 70px;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: -5000;
  width: 100%;
  overflow-x: hidden;
}

.text p{
  text-indent: 1em;
}

section{
    animation : 0.35s /*cubic-bezier(1, -0.25, 0, 1.25)*/ linear normal both running SectionFadeIn;
}
section.fadeOut{
    animation : 0.35s /*cubic-bezier(1, -0.25, 0, 1.25)*/ linear normal both running SectionFadeOut;
}

@keyframes SectionFadeIn{
    from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes SectionFadeOut{
    from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

footer{
    animation : 0.35s /*cubic-bezier(1, -0.25, 0, 1.25)*/ linear normal both running SectionFadeIn;
}
footer.fadeOut{
    animation : 0.35s /*cubic-bezier(1, -0.25, 0, 1.25)*/ linear normal both running SectionFadeOut;
}

#theleme{
    animation : 0.35s /*cubic-bezier(1, -0.25, 0, 1.25)*/ linear normal both running ThelemeFadeIn;
}
#theleme.fadeOut{
    animation : 0.35s /*cubic-bezier(1, -0.25, 0, 1.25)*/ linear normal both running ThelemeFadeOut;
}

@keyframes ThelemeFadeIn{
    from {
    opacity: 0;
  }

  to {
    opacity: 0.25;
  }
}
@keyframes ThelemeFadeOut{
    from {
    opacity: 0.25;
  }

  to {
    opacity: 0;
  }
}

#container1{
  flex:1;
  position: relative;
  display: flex;
  min-width: 100%;
  min-height: 962px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

#container1 .backGround{
  position: absolute;
  top: 0; bottom: 0;
  -webkit-filter : brightness(40%) blur(2px);
  filter : brightness(40%) blur(2px);
  display: block;
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  margin: auto;
  z-index: -500;
  background-color : black;
}

#container1 .text{
  margin-top: 150px;
  margin-left: 30px;
  margin-right: 30px;
  min-height: 628px;
  text-align: justify;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow : 0 2px 1px black;
}

#container1 .text p{
  max-width: 983px;
  color: white;
  font-size: 24px;
}

.OrdreBtn{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 50px;
  border-radius: 10px;
  transition-timing-function: ease-in-out;
  transition-duration: 0.3s;
  transition-property: all;
}

.OrdreBtn p{
  font-size: 24px;
  font-weight: bold;
  transition-timing-function: ease-in-out;
  transition-duration: 0.3s;
  transition-property: all;
}

#container1 .OrdreBtn{
  margin-top: 20px;
  background-color: rgba(255,255,255,0.75);
  border: 3px solid rgba(255,255,255,0.0);
}

#container1 .OrdreBtn:hover{
  background-color: rgba(255,255,255,0);
  border: 3px solid rgba(255,255,255,0.75);
}

#container1 .OrdreBtn p{
  color: black;
}

#container1 .OrdreBtn:hover p{
  color: white;
}

#container2{
  position: relative;
  display: flex;
  min-width: 100%;
  min-height: 962px;
  overflow: hidden;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.5);
}

#container2 img{
  -webkit-filter: saturate(0);
  filter: saturate(0);
  border-radius: 50%;
}

#PortraitRabelaisBig{
  width: 35%;
  max-width: 700px;
}

#PortraitRabelaisLittle{
  display: none;
  width: 35%;
}

#container2 .right{
  width: 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 24px;
}

#container2 .right h3{
  margin-bottom: 60px;
  letter-spacing: 3.6px;
  width: 100%;
  text-align: center;
}

#container2 .right .text p{
  font-size: 20px;
  text-align: justify;
  font-weight: bold;
}

#container2 .OrdreBtn{
  margin-top: 60px;
  background-color: black;
  border: 3px solid transparent;
}

#container2 .OrdreBtn:hover{
  background-color: rgba(0,0,0,0);
  border: 3px solid black;
}

#container2 .OrdreBtn p{
  color: white;
}

#container2 .OrdreBtn:hover p{
  color: black;
}

#container3{
  position: relative;
  display: flex;
  min-width: 100%;
  min-height: 900px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background-color: #101754;
  z-index: -10;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

#container3 h3{
  color: #FFD600;
  font-size: 40px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.switch {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 55px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}


.slider:before {
  position: absolute;
  content: "";
  height: 45px;
  width: 45px;
  left: 5px;
  bottom: 5px;
  background-color: #101754;
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  transform: translateX(0px);
  -webkit-transition: .4s;
  transition: .4s;
}

.switch:hover:not(.mobile) .slider:before{
  -webkit-transform: translateX(3px);
  -ms-transform: translateX(3px);
  transform: translateX(3px);
}

input:checked + .slider:before {
  -webkit-transform: translateX(45px);
  -ms-transform: translateX(45px);
  transform: translateX(45px);
}

.switch:hover:not(.mobile) input:checked + .slider:before{
  -webkit-transform: translateX(42px);
  -ms-transform: translateX(42px);
  transform: translateX(42px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 55px;
  display : flex;
  flex-direction : row;
  justify-content : center;
}

#female{
  color: #101754;
}

#male{
  color: #FFD600;
}

input:checked + .slider.round #male{
  color: #101754;
}

input:checked + .slider.round #female{
  color: #FFD600;
}

.slider.round p{
  font-weight: bold;
  font-size: 28px;
  width : 48px;
  height : 55px;
  line-height: 55px;
  z-index : 5000;
  text-align : center;
  margin : 0;
  user-select: none;
  transition: .4s;
}

.slider.round:before {
  border-radius: 50%;
}

#container3 .text{
  width: 85%;
  color: #FFD600;
  line-height: 1.7em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 23px;
}

#container3 .column1 p, #container3 .column2 p{
  width : 350px;
  text-align: justify;
  margin: 45px;
  text-indent: 0;
}
#line{
  width : 2px;
  height: 500px;
  margin-left: 5%;
  margin-right: 5%;
  background-color: #DB1515;
}

#container3 .OrdreBtn{
  background-color: #FFD600;
  border: 3px solid transparent;
}

#container3 .OrdreBtn:hover{
  background-color: transparent;
  border: 3px solid #FFD600;
}

#container3 .OrdreBtn p{
  color: #101754;
}

#container3 .OrdreBtn:hover p{
  color: #FFD600;
}

footer{
  width: 100%;
  height: 150px;
  background-color: #101754;
  color:#FFF000;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  align-content: center;
  align-items: center;
  font-size: 18px;
  z-index: -100;
}

footer .middle{
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

footer .middle p{
  margin: 0;
  font-size: 16px;
}

footer a{
  font-size: 14px;
  color:#FFF000;
}

#innerCircle, #outerCircle{
  border: 2px solid #DB1515;
  background-color: transparent;
  border-radius: 50%
}

#innerCircle{
  position: relative;
  margin: auto;
  width: 69px;
  height: 69px;
  text-align: center;
}
#outerCircle{
  width: 77px;
  height: 77px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#crescat{
  margin-top: 5px;
  width: 40px;
  height: 60px;
}

@media (max-width: 1400px) {
  #blason{
    width: 143px;
    height: 101px;
  }
  .menuBtn{
    width: 500px;
  }
  #container1 .text{
    margin-top: 20px;
  }
}

@media (max-width: 1200px) {
  #blason{
    display: none;
  }
  .menuBtn{
    width: 425px;
    font-size: 18px;
  }
  #line{
    width: 2px;
    z-index: 5000;
    margin: auto;
    margin-left: auto;
    margin-right: auto;
  }
  #container3 h3{
    margin-bottom: 0;
  }
  #container3 .text{
    font-size: 18px;
  }
}

@media (max-width: 1000px) {
  .title{
    margin: auto;
  }
  #blason{
    display: none;
  }
  .menuBtn{
    display: none;
  }
  .burgerMenu{
    display: flex;
  }
  #container1 .text p{
    font-size: 20px;
  }
  #container2 .right {
    width: 85%;
  }
  #container2 .right h3 {
    margin-bottom: 30px;
  }
  #PortraitRabelaisBig{
    display: none;
  }

  #PortraitRabelaisLittle{
    display: block;
  }
  #line{
    display: none;
  }
  #container3 h3{
    margin-bottom: 30px;
  }
  #container3 .text{
    font-size: 23px;
    flex-direction: column;
    justify-content: center;
  }
  #container3 .text p{
    text-align: center;
  }
  .column2{
    margin-top: -40px;
    margin-bottom: 20px;
  }
  .crescat{
    transform: scale(75%);
  }

  footer{
    flex-direction: column;
    height: auto;
  }
}

@media (max-width: 600px) {
  h1{
    font-size: 4vw;
  }
  .burgerMenu{
    right: 1%;
  }
  footer p{
    font-size: 16px;
  }
}
