/*** MENU PRINCIPAL HAMBURGER ***/

.navbar {
  position: absolute;

  max-width: 100%;

  height: 3rem;

  margin-top: 0.5rem;
  /* border-top: 1px solid rgba(255, 255, 255, 0.6); */

  line-height: 1.5rem;
  width: 100%;
  padding-inline: 1rem;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  font-size: 0.7rem;
  color: white;
  font-family: "Gotham Pro", sans-serif;
  text-transform: uppercase;

  translate: 0;
  opacity: 0;

  animation: slideDown 2s 1s ease-in-out forwards;
  transition: visibility 0.3s ease-in-out;

  z-index: 11;
}
.home .navbar {
  animation: slideDown 2.4s 3s ease-in-out forwards;
}
@keyframes slideUp {
  0% {
    opacity: 0;
    translate: 0 6rem;
  }
  100% {
    opacity: 1;
    translate: 0;
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    translate: 0 -3rem;
  }
  100% {
    opacity: 1;
    translate: 0;
  }
}

.scroll .navbar {
  opacity: 0;
  display: none;
}

@media screen and (max-width: 450px) {
}

nav.navbar > ul {
  width: 90%;
  margin-inline: auto;
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;

  border: solid 0px red;
  flex-flow: row;
  flex-wrap: wrap;

  z-index: 10;
  overflow: hidden;
  transition: font-size 0.6s ease-in-out;
}

nav.navbar > ul:hover {
  border-bottom: #ccc;
}

nav.navbar ul li {
  list-style: none;
  white-space: nowrap;
  text-align: center;
  z-index: 15;
  display: inline-block;
  position: relative;
  border-bottom: solid 0px white;
  margin: 0px;
  padding: 0px;
  text-align: center;
  min-width: clamp(0rem, -7.9412rem + 35.2941vw, 7.5rem);
  font-weight: 400;
}

nav.navbar > ul > li {
  width: auto;
  margin-inline: 0.2rem;
  margin-bottom: clamp(0.5rem, -0.1667rem + 3.3333vw, 1.5rem);

  position: relative;
  border: solid 0px;
  text-align: center;
}

nav.navbar ul a {
  text-decoration: none;
  position: relative;

  margin: 0 auto;
  padding-inline: 0.2rem;
  display: block;

  text-transform: uppercase;

  font-size: 0.95rem;
}

nav.navbar a {
  border-bottom: 1px solid transparent;
  transition: border 0.5s ease;
  position: relative;
  width: fit-content;
  text-align: center;
  color: rgba(35, 49, 202, 1);
  color: white;
}

#body-home nav.navbar a {
  /* page d'accueil */
  color: #fff;
}
nav.navbar a::after {
  content: "";
  height: 1px;

  background-color: rgba(35, 49, 202, 1);
  background-color: white;
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  display: block;
  margin-inline: auto;
  width: 0;
  transition: width 0.2s ease-in-out;
}

#body-home nav.navbar a::after {
  /* page d'accueil */
  background-color: white;
}

nav.navbar a:hover::after {
  width: 100%;
}
nav.navbar a:hover {
  /* text-decoration: underline;
  text-underline-offset: 6px; */
}

/** Sous menu ***/
nav.navbar > ul > li > span {
  position: relative;
  display: block;
  margin: auto;
  width: fit-content;
  height: fit-content;
}
nav.navbar > ul > li > span::before {
  content: "▼";
  position: absolute;
  bottom: -11px;
  left: 49%;
  display: block;
  transform: rotate(0deg);
  filter: opacity(0.6);
  font-size: 0.5rem;
  font-weight: 200;
  color: white;
}

nav.navbar > ul > li ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background: rgb(255, 255, 255, 0 7);

  position: relative;
  top: 0;
  left: 0;
  overflow: hidden;

  width: 100%;
  border: solid 0px red;

  max-height: 0;
  transition: max-height 0.5s ease-in-out;
}

nav.navbar > ul > li:hover ul {
  max-height: 500px;

  overflow: hidden;
}
nav.navbar > ul > li:hover span {
  width: 100%;
}

nav.navbar > ul > li:hover span::before {
  opacity: 0;
}

nav.navbar > ul > li > ul > li {
  width: 100%;
  text-align: center;
  overflow: hidden;
  display: none;
  border-right: solid 1px #ccc;
  border-left: solid 1px #ccc;
}

nav.navbar > ul > li:hover ul > li {
  display: block;
  background: #fff;
}
nav.navbar > ul > li:hover ul > li a:hover {
  background: #dfdddd;
}
nav.navbar > ul > li > ul > li a {
  text-decoration: none;
  padding: 0.3rem 0.1rem;
  display: block;
  font-size: 0.8em;
  letter-spacing: -0.1ch;
  color: #333;
  font-weight: normal;
}

.sous-titre-menu {
  background: #e6e1e1;
  font-size: 0.8rem;
  text-transform: none;
  color: #333;
}

/** bouton menu fermer **/

.btn-menu {
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  background: none;
  border: none;
  border: 1px solid transparent;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.6rem;
  color: transparent;
  font-size: 0.8rem;
  transition: color 0.2s, background 0.3s;
  border-radius: 0.3rem;
  z-index: 12;
}
@media screen and (min-width: 800px) {
  .btn-menu {
    border: solid 1px transparent;
    color: rgba(0, 0, 0, 0.35);
  }
}
.btn-menu:hover .btn-menu-icon span {
  /*transform: translateX(5px);
	  transition: transform 0.3s, opacity 0.3s;*/
  border: 0;
}

.btn-menu[aria-expanded="true"] {
  background: #fff;
  transition: color 0.2s, background 0.3s;
}

.btn-menu[aria-expanded="true"] .btn-menu-icon span {
  opacity: 0;
  /*transform: translateX(30px);
	  transition: transform 0.3s, opacity 0.3s*/
}

.btn-menu[aria-expanded="true"] .btn-menu-icon:before {
  top: 50%;
  background: #333;
  transform: rotate(-45deg);
  transition: background 0.3s, transform 0.3s, top 0.3s;
}

.btn-menu[aria-expanded="true"] .btn-menu-icon:after {
  top: 50%;
  background: #333;
  transform: rotate(45deg);
  transition: background 0.3s, transform 0.3s, top 0.3s;
}

.btn-menu[aria-expanded="true"] .btn-menu-label {
  display: none;
}

.btn-menu[aria-expanded="true"] .btn-menu-label:last-of-type {
  display: block;
}

.btn-menu-label {
  display: block;
}

.btn-menu-label:last-of-type {
  display: none;
}

.btn-menu-icon {
  position: relative;
  display: block;
  width: 1.4rem;
  height: 14px;
  margin: 0 auto 5px;
}

.btn-menu-icon span {
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  top: 8px;
  background: white;
  transition: transform 0.3s, opacity 0.3s;
}
.btn-menu:hover .btn-menu-icon span {
  transform: translateX(4px);
}

.btn-menu-icon:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  top: 0;
  background: white;
  transition: background 0.3s, top 0.3s, transform 0.3s;
}

.btn-menu-icon:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  top: 16px;
  background: white;
  transition: background 0.3s, top 0.3s, transform 0.3s;
}
.btn-menu-icon span,
.btn-menu-icon::before,
.btn-menu-icon::after {
  background: transparent;
}
.scroll .btn-menu-icon span,
.scroll .btn-menu-icon::before,
.scroll .btn-menu-icon::after {
  background: rgb(35, 49, 202);
}
.scroll .btn-menu {
  border: solid 1px rgba(35, 49, 202, 0.5);
  background-color: rgba(255, 255, 255, 0.8);
  transition: 0.2s ease-in-out;
}
.scroll .btn-menu:hover {
  border: solid 1px rgba(35, 49, 202, 1);
  background-color: rgba(255, 255, 255, 18);
}

/*** Menu header Langues ***/
/* langues */
nav.menu-langues {
  width: fit-content;
  height: 1.8rem;

  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 12;
}

nav.menu-langues ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  z-index: 2;
  list-style-type: none;
}
nav.menu-langues a {
  display: block;
  height: 1.8rem;
  width: 1.8rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 2.4; /*centrage du texte */
  color: white;
  border: solid 1px white;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  text-align: center;
  z-index: 10;
}

nav.menu-langues li a:hover {
  background: transparent;
}

nav.menu-langues li {
  min-width: fit-content;
  transition: 0.3s ease-in-out;
  margin-block: 4px;
}
nav.menu-langues li:nth-child(2) {
  translate: 0 -1.8rem;
  opacity: 0;
}

nav.menu-langues ul:hover li:nth-child(2) {
  translate: 0;
  opacity: 1;
}
.scroll nav.menu-langues a {
  border: solid 1px white;
  color: white;
}
.scroll nav.menu-langues li:nth-child(2) a {
  background: white;
}

/*** Menu header Instagram ***/
div.instagram {
  display: inline-block;
  display: none;

  height: 2.4rem;

  position: absolute;

  top: 0.5rem;
  right: 2.75rem;
  z-index: 1000;
}
div.instagram svg {
  height: 36px;
  width: 36px;
  fill: #fff;
}
.scroll div.instagram svg {
  height: 36px;
  width: 36px;
  fill: #666;
}

div.instagram a img {
  padding: 0;
  margin: 0;
}

/*** menu haut gauche ***/
.menu-slide {
  position: fixed;
  top: 0;
  left: 0;
  padding: 0.5rem;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 1rem;

  z-index: 100;
}
.scroll .menu-slide {
  gap: 0;
}

/*** Menu header Réserver ***/

nav.menu-slide .reserver-menu {
  font-size: 0.6rem;
}
nav.menu-slide .reserver-menu a {
  border: 1px solid transparent;
  padding: 0.2rem 0.25rem;
  background-color: rgba(0, 0, 0, 0.05);
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  transition: 0.2s ease-in-out;
}
nav.menu-slide .reserver-menu a:hover {
  background: white;
  color: #666;
}
.scroll nav.menu-slide .reserver-menu a {
  color: #666;
}
.scroll nav.menu-slide .reserver-menu a:hover {
  border: 1px solid #666;
}
/*** Menu header slide ***/
nav.menu-slide > ul {
  position: absolute;
  top: 0;
  left: 0;

  margin: 0;
  display: flex;
  justify-content: center;
  gap: 3vh;
  flex-flow: column;
  align-items: center;

  width: min(100vw, 500px);
  height: 100vh;
  padding: 0 2rem;
  background: #f1f1f1;

  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 11;
}

@media screen and (max-width: 600px) {
  nav.menu-slide {
    gap: 1rem;
  }
  .scroll nav.menu-slide {
    gap: 0;
  }
}

nav.menu-slide ul li {
  white-space: nowrap;
  width: auto;
  max-width: fit-content;
  min-width: 120px;
}

nav.menu-slide > ul > li:hover {
  background: transparent;
}

nav.menu-slide ul > li {
  text-align: center;
}

nav.menu-slide > ul > li > span {
  padding-block: 0.6rem;
  font-size: 1.2rem;
  margin-bottom: 6px;
  display: inline-block;
  text-align: center;
  display: block;
}
nav.menu-slide > ul > li > span:nth-child(n + 2) {
  margin-top: 2vh;
}

nav.menu-slide a {
  position: relative;
  background: transparent;
  max-width: fit-content;
  padding: 0.5rem 0.2rem;
  line-height: 1.2rem;
  font-size: 0.9rem;

  text-transform: uppercase;
  display: block;

  margin-inline: auto;
  font-size: 1.4rem;
  text-decoration: none;
}

nav.menu-slide a::after {
  content: "";
  height: 1px;
  background-color: #666;
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  display: block;
  margin-inline: auto;
  width: 0;
  transition: width 0.2s ease-in-out;
}
.home nav.menu-slide a::after {
}
nav.menu-slide a:hover::after {
  width: 100%;
}

/** Sous menu mob ***/

.sous-titre-menu a {
  min-width: 120px;
}
nav.menu-slide > ul > li > ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1vw;

  padding: 0;
  position: relative;
  border: 0;
  min-width: 360px;
  max-width: 100vw;
}

nav.menu-slide > ul > li:hover > ul {
  max-height: 500px;
  border: 0;
}

nav.menu-slide > ul > li > ul > li {
  width: auto;
  display: inline-block;
  max-width: fit-content;
  margin: 0;
  border: 0;
  min-width: none;
  text-align: left;
}
nav.menu-slide > ul > li > ul > li a {
  width: 100%;
  font-size: 0.9rem;
  line-height: 1.2rem;
  border: solid 1px rgba(0, 0, 0, 0);
}
nav.menu-slide > ul > li > ul > li a:hover {
  text-decoration: none;
}

nav.menu-slide > ul > li > ul > li:hover {
  border: 0;
}
nav.menu-slide > ul > li > ul > li:last-child {
  border-bottom: none;
}

/***** FIN MENU HAMBURGER  ***/
