@charset "UTF-8";
/*
Contient le style pour remettre à zéro les balises principales
*/
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto%20Sans");
* {
  box-sizing: border-box;
}

body, html {
  font-size: 20px;
  margin: 0;
}

div {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

ul, li, menu, button {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  list-style: none;
}

form {
  display: flex;
}

a {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

@media only screen and (max-width: 1199px) and (max-device-width: 1199px) and (orientation: landscape) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
}
@media screen and (max-device-width: 796px) and (orientation: portrait) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
}
/* 
Style Structurant le site en affichage sur PC
*/
#corps {
  transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}

#page {
  display: grid;
}

#corps {
  display: grid;
}

#entete {
  min-height: 8vh;
  padding: 0;
  margin: 0;
  z-index: 5;
}

.icon_menu_m {
  display: none;
}

#nav_menu {
  display: block;
  min-height: 8vh;
  box-shadow: #000000 0 0 8px 1px;
}

#menu {
  display: flex;
  margin: 0 auto;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 8vh;
}

.li_menu {
  display: inline-flex;
}

.onglet_menu {
  font-weight: bold;
  min-height: 8vh;
  padding: 14px 32px;
  font-size: 24px;
  cursor: pointer;
}

#entete_mobile {
  display: none;
}

#pied_de_page {
  height: 12vh;
  padding: 3vmin;
  text-align: center;
  box-shadow: #000000 0 5px 16px 0px;
  position: relative;
  z-index: 4;
}
#pied_de_page div a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

/* 
Style Structurant le site en affichage paysage sur mobile (et petit écran)
*/
@media only screen and (max-width: 1199px) {
  #nav_menu {
    display: block;
  }
  #menu {
    display: block;
  }
}
@media only screen and (max-width: 1199px) and (max-device-width: 1199px) and (orientation: landscape) {
  .onglet_menu {
    min-height: 16vh;
  }
  #nav_menu {
    display: block;
  }
  #menu {
    display: block;
  }
  #pied_de_page {
    min-height: 22vh;
  }
}
@media screen and (max-device-width: 796px) and (orientation: portrait) {
  #corps {
    padding-bottom: 8vh;
  }
  #entete {
    background: none;
    height: 0;
    min-height: 0;
  }
  #nav_menu {
    display: block;
    width: 100vw;
    position: fixed;
    bottom: 0;
    transition: top 0.3s;
    box-shadow: #000000 0 0 16px -5px;
  }
  #menu {
    display: flex;
    position: relative;
    margin: 0;
    width: 100vw;
    min-height: 8vh;
  }
  .li_menu {
    display: inline-flex;
  }
  .onglet_menu {
    min-height: 8vh;
    height: 8vh;
    width: 25vw;
    padding: 30px;
    font-size: 0;
  }
  .icon_menu_m {
    display: inline-block;
    height: -webkit-fill-available;
  }
  #entete_mobile {
    display: block;
    position: fixed;
    box-shadow: #000000 0 0 12px -4px;
    font-weight: bold;
    text-align: center;
    width: 100vw;
    height: 7vh;
    font-size: 3vh;
    z-index: 20;
    transition: all 0.4s cubic-bezier(0, 0, 0.2, 1);
  }
  #entete_mobile span {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    padding: 1.5vh 8vw;
    margin: auto;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
  }
  #pied_de_page {
    display: none;
  }
}
/* 
Theme contient tout ce qui est "design" de la page, les couleurs, les polices de caractères, etc...
*/
/* Pour modifier le theme directement, modifier cette première section */
body, html {
  font-family: "Segoe UI", Noto Sans, Nunito, Tahoma, Geneva, Verdana, sans-serif;
}

#entete {
  background: #049277;
}

.onglet_menu {
  color: #f0fff4;
  background: #049277;
  transition: all 0.3s ease-out;
}

.onglet_menu:hover {
  color: #049277;
  background: #f0fff4;
}

#corps {
  color: #025f28;
  background-color: #f0fff4;
}

#pied_de_page {
  color: #f0fff4;
  background: #025f28;
}

/*-------------- Format Tablette et Mobile Paysage --------------- */
/*------------------------ Format Mobile -------------------------- */
@media screen and (max-device-width: 796px) and (orientation: portrait) {
  #nav_menu {
    background-color: #049277;
  }
  .onglet_menu {
    color: #f0fff4;
    background: #049277;
  }
  .onglet_menu:hover {
    color: #f0fff4;
    background: #049277;
  }
  .onglet_menu:active {
    color: #049277;
    background: #f0fff4;
  }
  .onglet_menu:active .icon_menu_m {
    filter: invert(35%) sepia(37%) saturate(6636%) hue-rotate(153deg) brightness(94%) contrast(97%);
  }
  .icon_menu_m {
    filter: invert(89%) sepia(1%) saturate(1819%) hue-rotate(79deg) brightness(107%) contrast(110%);
  }
  #entete_mobile {
    background: #029879;
  }
  #entete_mobile span {
    color: #f0fff4;
  }
  #entete_mobile span:active {
    filter: brightness(1.1) contrast(1.2);
    text-shadow: #f0fff4 0 0 5px;
  }
}
#page_maintenance {
  background-image: url(../ressources/arriere_plan/entravaux.jpg);
  background-size: contain;
  background-position: center;
  min-height: 80vh;
  animation: deplacement_background 16s infinite linear;
}

@keyframes deplacement_background {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 91.3333333333vh;
  }
}
#texte_maintenance {
  position: absolute;
  display: inline-grid;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding: 30px;
  text-align: center;
  text-shadow: #000000 1px 1px 7px;
  color: #ffffff;
  border-radius: 30px;
}

#titre_maintenance {
  margin: auto;
  font-size: 4em;
}

#message_maintenance {
  margin: auto;
  font-size: 1.2em;
}

@media only screen and (max-width: 1199px) and (max-device-width: 1199px) and (orientation: landscape) {
  #page_maintenance {
    min-height: 62vh;
    animation: deplacement_background 16s infinite linear;
  }
  @keyframes deplacement_background {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: 70.7833333333vh;
    }
  }
  #titre_maintenance {
    font-size: 3.2em;
  }
  #message_maintenance {
    font-size: 1em;
  }
}
@media screen and (max-device-width: 796px) and (orientation: portrait) {
  #page_maintenance {
    background-image: url(../ressources/arriere_plan/entravaux_m.jpg);
    background-size: cover;
    min-height: 92vh;
    animation: deplacement_background 16s infinite linear;
  }
  @keyframes deplacement_background {
    0% {
      background-position-x: -57.0833333333vh;
    }
    100% {
      background-position-x: 47.95vh;
    }
  }
  #texte_maintenance {
    border-radius: 0;
    width: 100vw;
    background-color: rgba(240, 107, 34, 0.7960784314);
    text-shadow: none;
  }
  #titre_maintenance {
    font-size: 4.2em;
  }
  #message_maintenance {
    font-size: 2.2em;
  }
}