@-webkit-keyframes slide-menu {
  0% { opacity: 0; -webkit-transform: translateZ(-100%); }   
100% { opacity: 1; -webkit-transform: translateZ(0); }
}
@-moz-keyframes slide-menu {
  0% { opacity: 0; -moz-transform: translateZ(-100%); }   
100% { opacity: 1; -moz-transform: translateZ(0); }
}

@-webkit-keyframes slide-menu-mobile {
  0% { opacity: 0; -webkit-transform: translateY(-100%); }   
100% { opacity: 1; -webkit-transform: translateY(0); }
}
@-moz-keyframes slide-menu-mobile {
  0% { opacity: 0; -moz-transform: translateY(-100%); }   
100% { opacity: 1; -moz-transform: translateY(0); }
}

@font-face {
  font-family: comic;
  src: url("../font/COMIC.TTF");
 }

@keyframes slidy {
  0% { left: 0%; }
  20% { left: 0%; }
  25% { left: -100%; }
  45% { left: -100%; }
  50% { left: -200%; }
  70% { left: -200%; }
  75% { left: -300%; }
  95% { left: -300%; }
  100% { left: -400%; }
}

* {
  font-family: comic;
}

*, footer, footer *, footer h3 {
  background-color:#efeff1;
}

body {
  width: 1281px;
  border: #696969 solid 0.2em;
}

body, nav, #tarifs section div div, #tarifs section div div img {
  border-radius: 1em;
}

body, #mail_validation, .right_logo div, section div p:not(.logo) {
  margin: 0 auto;
}

#mobile_navigation, .mobile_title, .under, .invisible, .display_first {
  display: none;
}

.annexe section {
  width: 40em;
}

.annexe {
  margin-top: 2em;
}

#mail_validation p, #tarifs section div div p {
  width: auto;
}

h1, .under, #contact, #contact p, #social_link, .annexe h2, #tarifs section div div h3 {
  text-align: center;
}

#social_link img {
  transition: transform .2s;
}

#social_link img:hover {
  transform: scale(1.5);
}

.invisible_menu, nav ul li:hover .under, .visible {
  display: block;
}

nav, nav ul li:hover .under {
  border: #EDB356 solid;
}

form input, #tarifs section div div {
  width: 15em;
}

nav, iframe {
  width: 13.5em;
}

.fixed {
  width: 13.5em;
}

nav ul li, .page, div, .visible_modale, .images {
  display: flex;
}

body p {
  text-align: justify;
}

.desktop_title {
  border-top-left-radius: 0.4em;
  border-top-right-radius: 0.4em;
  margin-top: 0;
}

.desktop_title img {
  border-top-left-radius: 0.37em;
  border-top-right-radius: 0.37em;
  width: 1281px;
  height: 320px;
  object-fit: cover;
}

nav ul {
  padding: 0;
}

nav ul li, nav ul li a, .logo img {
  color: #696969;
}

nav ul li {
  list-style: none;
  margin-bottom: 3em;
  font-size: 1.1em;
}

nav ul li, .modale {
  justify-content: center;
}

nav ul li h3, figure {
  margin: 0;
}

nav ul li h3 {
  font-size: 1.25em;
}

#particuliers a[href="particuliers.php"] {
  color: #EDB356;
}

#evenements a[href="evenements.php"] {
  color: #EDB356;
}

#entreprises a[href="entreprises.php"] {
  color: #EDB356;
}

#tarifs a[href="tarifs.php"] {
  color: #EDB356;
}

#evenements a[href="evenements.php"] {
  color: #EDB356;
}

#page_contact a[href="contact.php"] {
  color: #EDB356;
}

nav ul li a, footer a {
  text-decoration: none;
}

#contact_menu {
  display: none;
}

.fixed, .fixed ul {
  position: fixed;
  z-index: 1;
}

.fixed {
  top: 1em;
}

.under, li div {
  position: absolute;
  z-index: 1;
}

.under, #tarifs section div div {
  padding: 1em;
}

.under li, #contact *, .template img {
  margin-bottom: 1em;
}

.under {
  width: 10em;
  margin-left: 24.5em;
  border-top-right-radius: 1em;
  border-bottom-right-radius: 1em;
}

nav ul li:hover .under {
  -webkit-animation: slide-menu .30s ease-out;
  -moz-animation: slide-menu .30s ease-out;
}

nav ul li:hover > a, nav ul li:hover > div {
  color: #EDB356;
}

.page {
  justify-content: space-around;
}

.logo img {
  margin-right: 0.5em;
  margin-top: 0.3em;
}

.image_pres {
  margin-bottom: 0;
}

.image_pres img {
  width: 20em;
}

div p, .modale {
  align-items: center;
}

h2 {
  color: #696969;
  font-size: 1.5em;
}

nav h3 {
  color: #696969;
}

#tarifs h3 {
  color: #696969;
}

h3 {
  color: #EDB356;
}

div div {
  flex-direction: column;
}

div div p {
  margin-bottom: 0.1em;
}

.right_logo {
  justify-content: left;
}

.right_logo, .left_logo {
  flex-direction: initial;
}

.left_logo {
  justify-content: right;
}

.left_content div {
  margin-right: 2em;
}

.image_pres {
  display:block;
  position:relative;
  z-index: 0;
}

.ajust .image_pres img {
  margin-top: 5em;
}

.image_pres:before {
  display:block;
  content:'';
  position:absolute;
  width:100%;
  height:100%;
  -moz-box-shadow:inset 0px 0px 6px 6px #efeff1;
  -webkit-box-shadow:inset 0px 0px 6px 6px #efeff1;
  box-shadow: inset 0px 0px 6px 12px #efeff1;
  z-index: 10;
}

.right_content div {
  margin-left: 2em;
}

.right_logo, .left_logo {
  justify-content: center;
}

.right_content, .left_content {
  align-items: center;
  margin-bottom: 5em;
}

footer, footer * {
  background-color: #696969;
}

footer a {
  color: white;
}

footer p {
  text-align: center;
  padding-top: 0.3em;
}

footer {
  height: 2em;
  border-bottom-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}

li div {
  margin-left: 9em;
}

form {
  margin-top: 1em;
}

.template img {
  transition: transform .2s;
}

.template img:hover {
  transform: scale(1.5);
}

#facebook, #instagram {
  width: 3.5em;
}

#facebook {
  margin-right: 1em;
}

textarea {
 resize : none;
}

form select {
  width: 15.5em;
}

/*Particuliers page*/
.modale {
  position: fixed;
  top: 10;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background: rgba(0, 0, 0, .7);
}

.modale .portrait {
  width: 25em;
}

.modale .paysage {
  width: 52em;
}

figcaption {
  background-color: black;
  margin-top: -0.3em;
  color: #efeff1;
}

.boite {
  background-color: #fff;
  border-radius: 20px;
}

.fermer {
  font-size: 2em;
  background-color: transparent;
}

.fermer i, footer p {
  background-color: transparent;
  color: white;
}

.boite .fermer{
  position:absolute;
  top: 20px;
  right: 60px;
  cursor: pointer;
  transform: scale(1);
  transition: .3s;
}

.boite .fermer:hover{
  transform:scale(1.3);
}

#slide_image img, .images, .logo img {
  width: 2em;
}

.annexe {
  margin-bottom: 2em;
}

.images {
  flex-wrap: wrap;
}

.template img {
  width: 90%;
  cursor: pointer;
}

.grid1 div {
  width: 5em;
  height: 5em;
  background-color: red;
}

.grid1 div, .grid2 div, .grid3 div, #tarifs section div div {
  margin: 1em;
}

.grid2 div {
  width: 5em;
  height: 8em;
  background-color: lawngreen;
}

.grid3 div {
  width: 5em;
  height: 3em;
  background-color: blue;
}

/*Tarifs*/
#tarifs section div div {
  border: 0.2em solid #EDB356;
}

#tarifs section div div p {
  text-align: initial;
}

#tarifs section img {
  height: 10em;
}

#mentions_legales span, #mentions_legales .mentions_legales a {
  text-decoration: none;
  color: #696969;
}

#mentions_legales .donnees {
  font-weight: bold;
  color: black;
}

h2 + p {
  margin-bottom: 4em;
}

/*Template*/
#template, #add_image {
  border: none;
}

#add_image div, .table_template {
  display: block;
}

table td {
  text-align: center;
}

table td img {
  width: 10em;
}

.template {
  width: 41.7em;
}

.template div {
  width: 33%;
}

.template img {
  margin-bottom: 1em;
  width: 90%;
}

/*Back-office*/
#back-office, #bandeau {
  border: none;
}

#back-office button a {
  text-decoration: none;
  color: black;
  font-size: 1.5em;
}

#back-office button {
  margin-right: 2em;
}

#template button a {
  font-size: 2em;
  text-decoration: none;
  color: black;
}

.slider-container {
  max-width: 800px;
  position: relative;
  margin: auto;
  height: 350px;
  overflow: hidden;
}

.menu {
  position: absolute;
  left: 0;
  z-index: 11;
  width: 100%;
  bottom: 0;
  text-align: center;
  display: block;
}

.menu label {
  cursor: pointer;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50px;
  margin: 0 0.2em 1em;
}

.menu label:hover,
.menu label:focus {
  background: #1c87c9;
}

.slide-input {
  opacity: 0;
}

.slide-img {
  max-width: 100%;
  width: 100%;
  height: 300px;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 10;
  transition: left 0s 0.75s;
}

.slide-img:hover {
  transform: none;
}

[id^="slide"]:checked+.slide-img {
  left: 0;
  z-index: 100;
  transition: left 0.65s ease-out;
}


/*Mobile*/
@media (max-width: 1300px) {
  body {
    width: 991px;
  }

  .right_content, .left_content, #tarifs section div {
    flex-direction: column;
  }

  section div p:not(.logo) {
    margin: 0;
  }

  .right_content .image_pres {
    order: 3;
  }

  .left_content .image_pres, .right_content .image_pres {
    margin-top: 1em;
  }

  .left_content .image_pres img {
    margin-left: 0;
  }

  .right_content .image_pres img {
    margin-right: 0;
  }

  .page section {
    width: 30em;
  }

  .page section, .page section * {
    justify-content: center;
  }

  nav {
    margin-right: 1em;
    margin-left: 1em;
  }

  nav li {
    color: #696969;
    font-size: 2em;
  }

  .right_content div, .left_content div {
    margin: 0;
  }

  #tarifs section div div {
    width: 25em;
  }

  h1 img {
    width: 991px;
  }

  .template {
    width: auto;
  }
}

@media (max-width: 991px) {
 body {
    width: auto;
    margin: 0 auto;
    border: none;
  }

  .page section {
    width: auto;
  }
  .annexe section {
    width: auto;
  }

  #contact {
    align-self: flex-end;
  }

  #navigation_mobile {
    position: absolute;
    top: 3em;
    z-index: 1;
  }

  #navigation_mobile li:hover li {
    color: #EDB356;
  }

  #mobile_navigation {
    margin-top: 1.5em;
    display: block;
  }

  #mobile_navigation button {
    border: none;
  }

  #mobile_navigation div {
    width: 2em;
    height: 0.25em;
    border-top: 3px solid black;
  }

  .page {
    display: block;
  }
  
  .page section, #contact {
    margin: 0 auto;
  }

  .desktop_title, #navigation ul li ul {
    display: none;
  }

  .mobile_title {
    display: block;
  }

  .visible_menu {
    display: block;
    -webkit-animation: slide-menu-mobile .5s ease-out;
    -moz-animation: slide-menu-mobile .5s ease-out;
  }

  nav {
    width: 15em;
  }

  #contact {
    border: none;
    width: auto;
  }

  #contact form {
    display: none;
  }

  #contact h3 {
    display: none;
  }

  #contact_menu {
    display: flex;
  }

  #contact_title {
    text-align: center;
  }

  #contact input {
    width: auto;
  }

  #contact p {
    width: auto;
  }

  .contact_menu {
    border: none;
  }

  #navigation {
    display: none;
  }

  .part, .ev, .entr {
    margin-left: 0;
    margin-top: 0;
    border: #696969 solid;
    width: 12em;
    font-size: 1.1em;
  }

  .arrow_back {
    justify-content: left;
    padding-bottom: 2em;
  }

  .arrow_back div {
    margin-left: 0;
    margin-right: 2em;
  }

  section {
    margin-left: 1em;
    margin-right: 1em;
  }

  .template {
    width: auto;
  }

  #tarifs section div div {
    width: auto;
  }

  footer {
    height: auto;
  }

  .under {
    border: #EDB356 solid;
  }

  .contact_menu {
    width: auto;
  }

  .modale .portrait {
    width: 24em;
  }

  .modale .paysage {
    width: 33em;
  }
}

@media (max-width: 540px) {
  .modale .portrait {
    width: 19em;
  }

  .modale .paysage {
    width: 20em;
  }
}