@font-face {
  font-family: "GothamNarrow";
  src: url("../fonts/GothamNarrow-Black.woff") format("woff")
}

html * {
  box-sizing: border-box;
}
h1, h2{
  font-family: 'GothamNarrow', sans-serif;
  text-transform: uppercase;
  color: white;
}
h2{
  line-height: 30px;
}
h3{
  font-family: 'GothamNarrow', sans-serif;
  text-transform: uppercase;
  font-size: 40px;
  color: #062E54;
  text-align: center;
}
h4{
  font-family: 'GothamNarrow', sans-serif;
  text-transform: uppercase;
  font-size: 70px;
  color: #062E54;
}
h5{
  font-family: 'GothamNarrow', sans-serif;
  text-transform: uppercase;
  font-size: 40px;
  margin-right: 20px;
  margin-bottom: 20px;
}
h6{
  font-family: 'GothamNarrow', sans-serif;
  text-transform: uppercase;
  font-size: 20px;
}
body{
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background-color: #F8E7DF;
  line-height: 20px;
}

/* MENU */

.menu-toggle {
  padding: 4em;
  display: inline-block;
  position: fixed;
  z-index: 996
}
.menu-toggle img{
  width: 35px;
}

.main-menu {
  position: absolute;
  top: 0;
  bottom: 0;
  left : -200px;
  height: 100%;
  transition: all 0.5s ease;
  z-index: 999;
}

.main-menu .menu-close {
  position: absolute;
  right: 2%;
  top: 2%;
  border-bottom: 1px solid transparent;
}

.main-menu ul {
  min-height: 100%;
  width: 200px;
  background: #062E54;
  margin: 0;
  padding: 8em 0.5em 0;
}

.main-menu a {
  display: block;
  padding: .75em 15px;
  line-height: 0.1em;
  font-size: 1.2em;
  font-family: 'GothamNarrow', sans-serif;
  text-transform: uppercase;
  font-size: 2em;
  color: #fff;
  text-decoration: none;
}
.main-menu .sousmenu{
  font-family: 'Poppins', sans-serif;
  font-size: 1.5em;
  line-height: 0.5em;
}

.main-menu:target{
  left: 0;
}

.main-menu:target .menu-close {
  z-index: 1001;
}

.main-menu:target + .backdrop {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
  background: rgba(255,255,255,.2);
  cursor: pointer;
}


/* RÉSEAUX SOCIAUX */
.sn{
  position: fixed;
  display: flex;
  flex-direction: column;
  margin: 4em;
  bottom: 0;
  z-index: 982;
}
.sn img{
  width: 35px;
}
.sn img:nth-child(1){
  margin-bottom: 25px;
}

/* SECTIONS */
section{
  height: 100vh;
}

/* BLOC FIL ROUGE */
.blocBG{
  z-index: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  width: 50%;
  background: #93C7B6;
}
#bloctop{
  z-index: 1;
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 16%;
  width: 50%;
  background: #F8E7DF;
}
#blocbot{
  z-index: 2;
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 30%;
  width: 50%;
  background: #F8E7DF;
}

/* CONTENU SECHOME */

h1{
  position: absolute;
  z-index: 5;
  font-size: 6em;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 100px;
}
#blocDA{
  position: absolute;
  height: 40%;
  width: 40%;
  background: rgba(248, 154, 110, 0.9);
  top: 45vh;
  left: 40vw;
  z-index: 4;
}

#DAline{
  border: 0.5px solid white;
  width: 200px;
  float: left;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 0;
  margin-left: 0;
}

.intro{
  display: flex;
  flex-direction: column;
  z-index: 6;
  color: white;
  width: 30%;
  position: absolute;
  top: 58vh;
  left: 45vw;
}

h2{
  font-family: 'Poppins', sans-serif;
  font-size: 1.6em;
}

.portrait{
  position: absolute;
  width: 10%;
  top: 55vh;
  left: 32vw;
  z-index: 983;
}

.feuilles{
  position: absolute;
  width: 20%;
  z-index: -1;
  top: 55vh;
  left: 9vw;
}
@keyframes papyrus {
0% { opacity: 0; }
100% { opacity: 1; }
}
@-(webkit / moz / o)-keyframes papyrus {
0% { opacity: 0; }
100% { opacity: 1; }
}
#papyrus {
  transform-origin: center;
-webkit-animation: papyrus 7s infinite;/* Safari 4+ */
-moz-animation: papyrus 7s infinite;/* Fx 5+ */
-o-animation: papyrus 7s infinite;/* Opera 12+ */
animation: papyrus 7s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 460px 387px;
}
@keyframes papyrus {
0% { transform: rotate(0.02turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(0.02turn); }
}
#tige {
  transform-origin: center;
-webkit-animation: tige 4s infinite;/* Safari 4+ */
-moz-animation: tige 4s infinite;/* Fx 5+ */
-o-animation: tige 4s infinite;/* Opera 12+ */
animation: tige 4s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 460px 397px;
}
@keyframes tige {
0% { transform: rotate(-0.01turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(-0.01turn); }
}
#branche {
  transform-origin: center;
-webkit-animation: branche 5s infinite;/* Safari 4+ */
-moz-animation: branche 5s infinite;/* Fx 5+ */
-o-animation: branche 5s infinite;/* Opera 12+ */
animation: branche 5s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 460px 387px;
}
@keyframes branche {
0% { transform: rotate(-0.01turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(-0.01turn); }
}
#palme {
  transform-origin: center;
-webkit-animation: palme 7s infinite;/* Safari 4+ */
-moz-animation: palme 7s infinite;/* Fx 5+ */
-o-animation: palme 7s infinite;/* Opera 12+ */
animation: palme 7s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 460px 387px;
}
@keyframes palme {
0% { transform: rotate(0.02turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(0.02turn); }
}
#corail {
  transform-origin: center;
-webkit-animation: corail 7s infinite;/* Safari 4+ */
-moz-animation: corail 7s infinite;/* Fx 5+ */
-o-animation: corail 7s infinite;/* Opera 12+ */
animation: corail 7s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 460px 387px;
}
@keyframes corail {
0% { transform: rotate(0.02turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(0.02turn); }
}
#sunny {
  transform-origin: center;
-webkit-animation: sunny 17s infinite;/* Safari 4+ */
-moz-animation: sunny 17s infinite;/* Fx 5+ */
-o-animation: sunny 17s infinite;/* Opera 12+ */
animation: sunny 17s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 266px 399px;
}
@keyframes sunny {
0% { transform: rotate(0.06turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(0.06turn); }
}


.leaves{
  position: absolute;
  width: 15%;
  z-index: -2;
  top: 27vh;
  left: 72vw;
}
@keyframes yelleave {
0% { opacity: 0; }
100% { opacity: 1; }
}
@-(webkit / moz / o)-keyframes yelleave {
0% { opacity: 0; }
100% { opacity: 1; }
}
#yelleave {
  transform-origin: center;
-webkit-animation: yelleave 5s infinite;/* Safari 4+ */
-moz-animation: yelleave 5s infinite;/* Fx 5+ */
-o-animation: yelleave 5s infinite;/* Opera 12+ */
animation: yelleave 5s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 56px 252px;
}
@keyframes yelleave {
0% { transform: rotate(0.02turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(0.02turn); }
}

#dbleave {
  transform-origin: center;
-webkit-animation: dbleave 4s infinite;/* Safari 4+ */
-moz-animation: dbleave 4s infinite;/* Fx 5+ */
-o-animation: dbleave 4s infinite;/* Opera 12+ */
animation: dbleave 4s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 56px 252px;
}
@keyframes dbleave {
0% { transform: rotate(-0.01turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(-0.01turn); }
}

#lbleave {
  transform-origin: center;
-webkit-animation: lbleave 3s infinite;/* Safari 4+ */
-moz-animation: lbleave 3s infinite;/* Fx 5+ */
-o-animation: lbleave 3s infinite;/* Opera 12+ */
animation: lbleave 3s infinite;/* IE 10+, Fx 29+ */
  animation-timing-function: ease-in-out;
    transform-origin: 56px 252px;
}
@keyframes lbleave {
0% { transform: rotate(-0.01turn); }
50% { transform: rotate(0turn); }
100% { transform: rotate(-0.01turn); }
}

/* CONTENU SECPRINT */

.blocPrint{
  position: absolute;
  height: 62%;
  width: 62%;
  background: rgba(231, 185, 69, 0.9);
  margin-top: 20vh;
  margin-left: 20vw;
  z-index: 7;
}
.blocPrintimg{
  position: absolute;
  height: 60%;
  width: 30%;
  margin-top: 15vh;
  margin-left: 48vw;
  z-index: 9;

  background-image: url(../img/printimg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.blocPrinttext{
  position: absolute;
  height: 54%;
  width: 50%;
  background: white;
  margin-top: 18vh;
  margin-left: 16vw;
  z-index: 8;
}
.contentPrint{
  position: absolute;
  width: 40%;
  margin-top: 13vh;
  margin-left: 6.5vw;
}
.categorie{
  margin-top: 25px;
  margin-bottom: 20px;
}
.description{
  margin-top: 30px;
  width: 85%;
  margin-left: 25px;
}
.contentPrint hr{
  border: .5px solid #062E54;
}

/* ASPECT BOUTON */
.square_btn{
  position: relative;
  display: inline-block;
  font-size: 20px;
  padding: 0.25em 0;
  text-decoration: none;
  color: #F29C71;
  margin-left: 8vw;
  margin-top: 20px;
  z-index: 18;
}
.square_btn:before{
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  top: 100%;
  left: 0;
  border-radius: 3px;
  background: #F29C71;
  transition: .2s;
}
.square_btn:hover:before{
  top: -webkit-calc(100% - 3px);
  top: calc(100% - 3px);
}



/* CONTENU SECTDIGITAL */

.blocDigi{
  position: absolute;
  height: 62%;
  width: 62%;
  background: rgba(121, 171, 183, 0.9);
  margin-top: 15vh;
  margin-left: 17vw;
  z-index: 11;
}
.blocDigiimg{
  position: absolute;
  height: 55%;
  width: 50%;
  margin-top: 23vh;
  margin-left: 33vw;
  z-index: 12;

  background-image: url(../img/digitalimg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.blocDigitext{
  position: absolute;
  height: 54%;
  width: 32%;
  background: white;
  margin-top: 30vh;
  margin-left: 21vw;
  z-index: 13;
}
.contentDigi{
  position: absolute;
  width: 55%;
  margin-top: 12vh;
  margin-left: 7vw;
}


/* CONTENU SECMANUEL */
.blocManu{
  position: absolute;
  height: 62%;
  width: 62%;
  background: rgba(6, 46, 84, 0.9);
  margin-top: 20vh;
  margin-left: 20vw;
  z-index: 14;
}
.blocManuimg{
  position: absolute;
  height: 60%;
  width: 30%;
  margin-top: 15vh;
  margin-left: 48vw;
  z-index: 16;
  background-image: url(../img/mj1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.blocManutext{
  position: absolute;
  height: 54%;
  width: 50%;
  background: white;
  margin-top: 18vh;
  margin-left: 16vw;
  z-index: 15;
}
.contentManu{
  position: absolute;
  width: 40%;
  margin-top: 13vh;
  margin-left: 6.5vw;
}
.descmanu{
  width: 70%;
  margin-left: 50px;
}

/* CONTENU SECCV */
.secCV{
  height: 50vh;
}
.blocfoot{
  height: 60%;
}
.blocCV{
  position: absolute;
  height: 25%;
  width: 40%;
  background: #F89A6E;
  margin-top: 23vh;
  margin-left: 40vw;
  z-index: 17;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footbtn{
    color: white;
    margin-left: 0;
    margin-top: 0;
    margin: 40px;
}
.footbtn:before{
  background: white;
}


/* CONTENU FOOTER */
.intranav{
  margin-top: 5vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intranav a{
  margin-left: 15%;
  margin-right: 15%;
}

footer{
  text-align: center;
  color: #F89A6E;
  font-size: 14px;
  margin: 20px;
  margin-top: 25vh;
}


@media screen and (max-width: 939px) {
/* INITIALISATION */
h1{
  font-size: 14vw;
  line-height: 1em;
  top: 22%;
}
/* MENU BURGER */
  .menu-toggle {
    padding: 2em;
}
/* RÉSEAUX SOCIAUX */
  .sn{
    flex-direction: row;
    margin: 1em;
    z-index: 997;
  }
  .sn img{
    width: 35px;
  }
  .sn img:nth-child(1){
    margin-left: 1.5em;
    margin-bottom: 0;
  }
  /* SEC HOME */
  .blocBG{
    width: 60%;
  }
  #blocDA{
    width: 90%;
    top: 35vh;
    left: 5vw;
  }
  .intro{
    width: 68%;
    top: 46vh;
    left: 18vw;
  }
  .portrait{
    visibility: hidden;
  }
  .feuilles{
    width: 30%;
    top: 70vh;
    left: 2vw;
  }
  .leaves{
    width: 30%;
    top: 22vh;
  }
  /* SEC PRINT */
  .blocPrint{
    height: 80%;
    width: 100%;
    margin-top: 10vh;
    margin-left: 0vw;
  }
  .blocPrintimg{
    height: 60%;
    width: 90%;
    margin-top: 0vh;
    margin-left: 5vw;
  }
  .blocPrinttext{
    width: 80%;
    margin-top: 40vh;
    margin-left: 10vw;
    z-index: 980;
  }
  .contentPrint{
    width: 70%;
    margin-top: 12vh;
    margin-left: 11vw;
  }
  .square_btn{
    margin-left: 25vw;
  }
  /* SEC DIGITAL */
  .blocDigi{
    height: 80%;
    width: 100%;
    margin-top: 10vh;
    margin-left: 0vw;
  }
  .blocDigiimg{
    height: 60%;
    width: 90%;
    margin-top: 0vh;
    margin-left: 5vw;
  }
  .blocDigitext{
    width: 80%;
    margin-top: 40vh;
    margin-left: 10vw;
    z-index: 980;
  }
  .contentDigi{
    width: 70%;
    margin-top: 12vh;
    margin-left: 11vw;
  }
  /* SEC MANUEL */
  .blocManu{
    height: 80%;
    width: 100%;
    margin-top: 10vh;
    margin-left: 0vw;
  }
  .blocManuimg{
    height: 60%;
    width: 90%;
    margin-top: 0vh;
    margin-left: 5vw;
  }
  .blocManutext{
    width: 80%;
    margin-top: 40vh;
    margin-left: 10vw;
    z-index: 980;
  }
  /* CONTENU SECCV */
  .blocCV{
    height: 25%;
    width: 90%;
    margin-top: 23vh;
    margin-left: 5vw;
  }
  .footbtn{
      margin: 8%;
  }
  footer{
    text-align: right;
  }
}
/* RESPONSIVE HEIGHT */
@media screen and (max-height: 700px) {
  #blocDA{
    height: inherit;
  }
  .portrait{
    visibility: hidden;
  }
  /* SEC PRINT */
  .blocPrinttext{
    height: 65%;
  }
  .secPrint{
    margin-bottom: 40%;
  }
  .contentPrint{
    margin-top: 7vh;
  }
  /* SEC DIGITAL */
  .blocDigitext{
    height: 65%;
  }
  .contentDigi{
    margin-top: 7vh;
  }
  .secDigital{
    margin-bottom: 40%;
  }
  /* SEC MANUEL */
  .blocManutext{
    height: 65%;
  }
  .contentManu{
    margin-top: 7vh;
  }
  .secManuel{
    margin-bottom: 40%;
  }
  /* CONTENU SECCV */
  .footbtn{
      margin: 4%;
  }
}
