@charset "utf-8";

/* CSS Document */
/* Reset des règles par défaut */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  font: inherit;
  vertical-align: baseline;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

input {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  font: inherit;
  vertical-align: baseline;
}

textarea,
input {
  font-family: inherit;
  font-size: inherit;
}

/* Règles globales */
@font-face {
  font-family: "DM-Sans";
  font-weight: 400;
  src: url("../fonts/DMSans-Regular.ttf") format("TrueType");
  font-display: swap;
}

@font-face {
  font-family: "DM-Sans";
  font-weight: 700;
  src: url("../fonts/DMSans-Bold.ttf") format("TrueType");
  font-display: swap;
}

@font-face {
  font-family: "Mansalva";
  font-weight: 400;
  src: url("../fonts/Mansalva-Regular.woff2") format('woff2');
  font-display: swap;
}

body {
  font-family: DM-sans, Arial, sans-serif;
  --color1: #353a37;
  --color2: #e0d5d0;
  --color3: #c58b5e;
  --color4: #b05459;
  --color5: #2c302d;
  --color6: #a06c44;
  --colorError: var(--color4);
  color: var(--color1);
  background: var(--color2);
}

@media (max-width: 599px) {
  body {
    font-size: .9rem;
  }
}

h1 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 2.5rem;
}

h2 {
  font-weight: 400;
  font-size: 2rem;
}

p {
  line-height: 1.5rem;
}

a {
  color: var(--color3);
  transition: 300ms;
}

a:visited {
  color: var(--color3);
}

a:hover {
  color: var(--color4);
}

a:active {
  color: var(--color4);
}

.standard>div {
  width: min(1200px, 80%);
  margin: auto;
}

@media (max-width: 399px) {
  .standard>div {
    width: 90vw;
  }
}

/* GESTION DES POPUPS */

div[data-function="popup"] {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  justify-content: center;
  align-items: center;
}

div[data-function="popup"][aria-expanded="false"] {
  display: none;
}

div[data-function="popup"][aria-expanded="true"] {
  display: flex;
  z-index: 55;
}

div[data-function="popup"]>div {
  background-color: var(--color2);
  width: min(1200px, 80%);
  padding: 2rem;
  box-sizing: border-box;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
}

@media (max-width: 599px) {
  div[data-function="popup"]>div {
    padding: .5rem;
    max-height: 90%;
  }
}

button[data-function="close-popup"][data-forme="croix"] {
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, .2);
  color: var(--color2);
  transition: 150ms;
  box-sizing: border-box;
}

button[data-function="close-popup"][data-forme="croix"]:hover {
  background-color: rgba(0, 0, 0, .5);
}

button[data-function="close-popup"][data-forme="bouton"] {
  display: block;
  margin: auto;
  padding: 1rem;
  cursor: pointer;
  background-color: var(--color1);
  color: var(--color2);
  transition: 300ms;
}

button[data-function="close-popup"][data-forme="bouton"]:hover {
  background-color: var(--color5);
}

/* NAVIGATION */

nav {
  --colorHamburger1: var(--color2);
  --colorHamburger2: var(--color3);
  position: fixed;
  top: 0;
  width: 100%;
  color: var(--color2);
  z-index: 10;
}

nav>div:first-child {
  background-color: var(--color5);
}

nav>div:first-child a {
  color: var(--color2);
}

nav>div:first-child a:hover,
nav>div:first-child a:active {
  color: var(--color3);
}

nav>div:last-child {
  background-color: var(--color1);
}

nav>div>div {
  width: min(1200px, 80%);
  margin: auto;
}

nav>div:first-child>div {
  display: flex;
  justify-content: center;
  gap: 4rem;
  font-size: .8rem;
  padding: .25rem 0;
}

@media (max-width: 499px) {
  nav>div:first-child>div {
    gap: 1rem;
  }
}

nav>div:last-child>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav>div:last-child>div>div:first-child {
  font-family: Mansalva;
  font-size: 1.2rem;
}

nav>div:last-child>div>div:first-child button {
  background-color: transparent;
  cursor: pointer;
  transition: 0.16667s ease;
  color: var(--color2);
}

nav>div:last-child>div>div:first-child button:hover {
  color: var(--color3);
}

@media (min-width: 1200px) {
  nav>div:last-child>div>div:first-child {
    font-size: 2.5rem;
  }
    nav>div:last-child>div>div:first-child.scrolled {
    font-size: 1.5rem;
  }
}

@media (max-width: 1199px) {
  nav>div:last-child>div {
    flex-wrap: wrap;
  }
}

nav .hamburger-menu {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 0.125rem solid transparent;
  cursor: pointer;
  background: transparent;
  transition: 0.166667s ease;
  margin: 0.25rem 0;
}

@media (min-width: 1200px) {
  nav .hamburger-menu {
    display: none;
  }
}

nav .hamburger-menu span {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

nav .hamburger-menu::before,
nav .hamburger-menu::after,
nav .hamburger-menu span {
  display: block;
  height: 0.125rem;
  background: var(--colorHamburger1);
  transition: 0.16667s ease;
}

nav .hamburger-menu::before,
nav .hamburger-menu::after {
  content: '';
  position: absolute;
  width: 100%;
  transform-origin: center center;
}

nav .hamburger-menu::before {
  top: 10%;
}

nav .hamburger-menu::after {
  bottom: 10%;
}

.hamburger-menu.active {
  border-radius: 50%;
  border-color: var(--colorHamburger2);
}

.hamburger-menu.active span {
  opacity: 0;
}

.hamburger-menu.active::before,
.hamburger-menu.active::after {
  background: var(--colorHamburger2);
}

.hamburger-menu.active::before {
  transform: translateY(0.625rem) rotate(45deg) scale(0.57143, 1);
}

.hamburger-menu.active::after {
  transform: translateY(-0.625rem) rotate(-45deg) scale(0.57143, 1);
}


@media (max-width: 1199px) {
  nav {
    transition: 0.16667s ease;
    overflow: hidden;
    max-height: 398px;
  }

  nav[hamburger-expanded="false"] {
    max-height: 64.8px;
    transition: 0.16667s ease 0.16667s;
  }

  nav[hamburger-expanded="false"] .item {
    transform: translateX(100%);
    transition: 0.16667s ease;
  }
}

@media (max-width: 1199px) {
  nav .empty {
    display: none;
  }
}

nav .item {
  position: relative;
  transition: 0.16667s ease;
  cursor: pointer;
}

nav .item:last-child button {
  color: var(--color3);
}

@media (max-width: 1199px) {
  nav .item {
    flex: 100%;
    text-align: center;
    transform: translateX(0%);
    transition: 0.16667s ease 0.16667s;
  }

  nav .item:last-child {
    margin-bottom: 1rem;
  }
}

@media (min-width: 1200px) {
  nav .item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    display: block;
    height: 0.25rem;
    background: var(--colorHamburger2);
    transition: 0.16667s ease;
  }
}

nav .item:hover {
  color: var(--colorHamburger2)
}

nav .item:hover::before {
  width: 100%;
}

nav .item button,
nav .item a {
  display: block;
  width: fit-content;
  margin: auto;
  background-color: transparent;
  cursor: pointer;
  color: var(--colorHamburger1);
  transition: 0.16667s ease;
  padding: 1rem;
}

nav .item:hover button,
nav .item:hover a {
  color: var(--colorHamburger2)
}

/* HEADER */

header {
  width: 100%;
  height: 100vh;
  background-image: url("../images/header.jpg");
  background-size: cover;
  background-position: 50% 50%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

header button {
  cursor: pointer;
  color: var(--color2);
  background-color: var(--color5);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 300ms;
  visibility: visible;
  opacity: 1;
  margin-bottom: 5rem;
  animation: header 2s infinite ease-in-out;
}

@keyframes header {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

header button:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}

/* ACCUEIL */

.s-accueil {
  padding: 4rem 0;
}

@media (max-width: 1199px) {
  .s-accueil {
    text-align: center;
  }
}

.s-accueil>div>div:first-child {
  line-height: 1.5rem;
}

@media (min-width: 1200px) {
  .s-accueil>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .s-accueil>div>div {
    flex: 1;
  }

  .s-accueil>div>div>div {
    width: 70%;
    margin: auto;
  }

  .s-accueil>div>div:last-child>div {
    text-align: center;
  }
}

@media (max-width: 1199px) {
  .s-accueil>div>div {
    margin: 2rem 0;
  }
}

.s-accueil h2 {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}

.s-accueil button {
  padding: 1rem;
  font-family: Mansalva;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 300ms;
  background-color: var(--color1);
  color: var(--color2);
  border-top: 10px solid var(--color3);
  border-left: 10px solid var(--color3);
  border-bottom: 10px solid var(--color6);
  border-right: 10px solid var(--color6);
}

.s-accueil button:hover {
  background-color: var(--color5);
}

/* NOTRE CUISINE */

.s-cuisine {
  background-color: var(--color1);
  color: var(--color2)
}

@media(max-width: 1199px) {
  .s-cuisine {
    padding: 4rem 0;
  }
}

.s-cuisine>div {
  display: flex;
  align-items: center;
  gap: 12rem;
}

@media (max-width: 1199px) {
  .s-cuisine>div {
    flex-direction: column;
    gap: 4rem;
  }
}

.s-cuisine>div>div {
  flex: 1
}

.s-cuisine>div>div:nth-child(1) h2 {
  font-family: Mansalva;
  font-size: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 1199px) {
  .s-cuisine>div>div:nth-child(1) h2 {
    text-align: center;
  }
}

.s-cuisine>div>div:nth-child(1) p {
  text-align: justify;
  font-size: 1.125rem;
  line-height: 1.8rem;
}

@media (max-width: 1199px) {
  .s-cuisine>div>div:nth-child(1) p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.s-cuisine>div>div:nth-child(2) {
  /*border-top: 10px solid var(--color3);
  border-left: 10px solid var(--color3);
  border-bottom: 10px solid var(--color6);
  border-right: 10px solid var(--color6);*/
  height: 500px;
  box-sizing: border-box;
}

.s-cuisine>div>div:nth-child(2)>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-histoire>div>div:nth-child(2)>img {
  object-position: 50% 0%;
}

.s-histoire>div>div:first-child {
  order: 2;
}

/* CARTE / MENU */

.s-carte {
  padding: 4rem 0;
}

.s-carte>div {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

@media (max-width: 1199px) {
  .s-carte>div {
    flex-direction: column;
    gap: 4rem;
  }
}

.s-carte>div>div {
  flex: 1;
}

@media (max-width: 1199px) {
  .s-carte>div>div {
    margin: auto;
  }
}

.s-carte>div>div h2 {
  text-align: center;
  font-family: Mansalva;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.s-carte>div>div:first-child>div {
  width: 80%;
  margin: auto;
  height: 400px;
  background-color: var(--color1);
  border-top: 10px solid var(--color3);
  border-left: 10px solid var(--color3);
  border-bottom: 10px solid var(--color6);
  border-right: 10px solid var(--color6);
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .s-carte>div>div:first-child>div {
    width: 60%;
    height: 400px;
  }
}

.s-carte>div>div:first-child>div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-carte>div>div:last-child>div:first-of-type {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 1200px) {
  .s-carte>div>div:last-child>div:nth-of-type(2)>div {
    width: 80%;
  }
}

.s-carte>div>div:last-child>div:nth-of-type(2)>div {
  margin: 1rem auto 0 auto;
  display: flex;
  gap: 1rem;
}

.s-carte>div>div:last-child>div:nth-of-type(2) .carte-precision {
  font-size: .8rem;
  opacity: .8;
  margin: 0 auto;
}

.s-carte>div>div:last-child>div:nth-of-type(2) .carte-titre {
  font-weight: 700;
}

.s-carte>div>div:last-child>div:nth-of-type(2)>div>span:nth-of-type(1) {
  max-width: 70%;
}

.s-carte>div>div:last-child>div:nth-of-type(2)>div>span:nth-of-type(2) {
  flex-grow: 1;
  height: 1rem;
  background-color: transparent;
  border-bottom: 1px solid var(--color1);
}

.s-carte>div>div:last-child>div:nth-of-type(2)>div>span:nth-of-type(3) {
  flex-shrink: 0;
  font-family: 'Trebuchet MS';
}

.s-carte>div>div:last-child>div:nth-of-type(3) {
  display: none;
}

.s-carte button {
  padding: .5rem;
  margin: .5rem;
  font-family: Mansalva;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 300ms;
  background-color: var(--color1);
  color: var(--color2);
  border-top: 5px solid var(--color3);
  border-left: 5px solid var(--color3);
  border-bottom: 5px solid var(--color6);
  border-right: 5px solid var(--color6);
  position: relative;
}

.s-carte button:hover {
  background-color: var(--color5);
}

.s-carte button::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 10%;
    width: 0%;
    display: block;
    height: 0.15rem;
    background: var(--color2);
    transition: 0.16667s ease;
}

.s-carte button:hover::before {
  width: 80%;
}

.s-carte button.active::before {
  width: 80%;
}

/* SECTION VICHY */

.s-vichy {
  height: 120px;
  background-image: repeating-linear-gradient(45deg, var(--color4) 25%, transparent 25%, transparent 75%, var(--color4) 75%, var(--color4)), repeating-linear-gradient(45deg, var(--color4) 25%, var(--color2) 25%, var(--color2) 75%, var(--color4) 75%, var(--color4));
  background-position: 0 0, 40px 40px;
  background-size: 80px 80px;
}

/* GALERIE */

.s-gallery {
  padding: 0 0 4rem 0;
}

@media (min-width: 1200px) {
  .s-gallery {
    padding: 4rem 0;
  }
}

.s-gallery h2 {
  text-align: center;
  font-family: Mansalva;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.gallery {
  width: min(1200px, 80%);
  margin: auto;
  display: grid;
  grid-gap: 0.5em;
}

@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(14, 100px);
  }
}

@media (max-width: 1199px) {
  .gallery {
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(14, 70px);
  }
}

@media (max-width: 799px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(12, 150px);
  }
}

@media (min-width: 800px) {
  .gallery>div {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery>div:nth-child(1),
  .gallery>div:nth-child(4),
  .gallery>div:nth-child(6),
  .gallery>div:nth-child(8),
  .gallery>div:nth-child(9),
  .gallery>div:nth-child(11),
  .gallery>div:nth-child(13),
  .gallery>div:nth-child(15),
  .gallery>div:nth-child(13),
  .gallery>div:nth-child(17),
  .gallery>div:nth-child(13),
  .gallery>div:nth-child(20),
  .gallery>div:nth-child(22),
  .gallery>div:nth-child(23) {
    grid-column: span 3;
  }

  .gallery>div:nth-child(3),
  .gallery>div:nth-child(12),
  .gallery>div:nth-child(18) {
    grid-row: span 3;
  }

  .gallery>div:nth-child(21) {
    grid-row: span 4;
  }

  .gallery>div:nth-child(7) {
    grid-row: 4 / span 3;
    grid-column: 6 / span 2;
  }

  .gallery>div:nth-child(9),
  .gallery>div:nth-child(19) {
    grid-row: span 3;
    grid-column: span 3;
  }
}

.gallery>div>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

#gallery-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(10, 10, 10, 0.9);
  z-index: 10;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#gallery-screen>div {
  max-height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#gallery-screen>div>img {
  max-width: 95vw;
  max-height: 95vh;
  margin: 0 auto;
}

#gallery-screen>svg {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  color: white;
  background: transparent;
  width: 20px;
  height: 20px;
}

/* AVIS GOOGLE */

.avis-google {
  padding: 4rem 0;
}

.avis-google h2 {
  text-align: center;
  font-family: Mansalva;
  font-size: 3rem;
  margin-bottom: 2rem;
}

.avis-google-slider {
  max-width: 1000px;
  margin: auto;
}

.avis-google-slider a {
  color: inherit;
}

.avis-google-slider>div:not(:first-child)>a>div.avis-google-slide {
  display: none;
}

.avis-google-slide {
  background-color: rgba(255, 255, 255, .2);
  padding: 1rem;
  margin: 1rem;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 10px -5px;
}

@media (max-width: 599px) {
  .avis-google-slider {
    max-width: 90%;
  }

  .avis-google-slide {
    padding: .5rem;
    margin: .5rem;
    max-width: 80%;
    margin: 1rem auto;
  }

  .avis-google-slide p {
    text-align: center;
  }
}

.avis-google-quote {
  font-size: 1.5rem;
  margin-right: .2rem;
}

.avis-google-quote:last-child {
  position: absolute;
}

.avis-google-slide>div:nth-of-type(1) {
  text-align: center;
  font-weight: 700;
}

.avis-google-slide>div:nth-of-type(2) {
  text-align: center;
  margin-top: .5rem;
  margin-bottom: 1rem;
}

.avis-google-slide>div:nth-of-type(2)>svg {
  width: .8rem;
  margin: .1rem;
  fill: grey;
}

.avis-google-slide>div:nth-of-type(2)>svg.avis-google-star {
  fill: var(--color3);
}

.avis-google-slider .slick-prev::before,
.avis-google-slider .slick-next::before {
  color: var(--color1);
  transition: 300ms;
}

.avis-google-slider .slick-dots li button::before {
  color: var(--color5);
  transition: 300ms;
}

.avis-google-slider .slick-dots li.slick-active button::before {
  color: var(--color1);
}

/* BANDEAU DES COOKIES */

.cookie-bandeau {
  background: var(--color1);
  color: var(--color2);
  position: fixed;
  bottom: 25px;
  width: 100vw;
  z-index: 50;
}

.cookie-bandeau.active {
  display: none;
}

.cookie-bandeau button {
  border: none;
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px 0 5px;
  background: var(--color5);
  color: var(--color2);
  transition: 0.5s;
}

.cookie-bandeau button:last-child {
  background: transparent;
  border: 1px solid var(--color2);
  color: var(--color2);
}

.cookie-bandeau button:hover {
  background: rgba(255, 255, 255, .1);
}

.cookie-bandeau button:last-child:hover {
  background: rgba(255, 255, 255, .1);
}

.cookie-bandeau>div {
  margin: auto;
  padding: 10px 0;
  width: 80vw;
}

.cookie-bandeau>div>div:nth-child(1) {
  text-align: left;
}

@media (max-width: 599px) {
  .cookie-bandeau>div>div:nth-child(1) {
    text-align: center;
  }
}

@media (max-width: 1199px) {
  .cookie-bandeau>div>div:nth-child(2) {
    text-align: center;
    margin-top: 15px;
  }
}

@media (min-width: 1200px) {
  .cookie-bandeau>div {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 50px;
  }

  .cookie-bandeau>div>div:nth-child(1) {
    flex: 2;
  }

  .cookie-bandeau button {
    margin: 0 0 0 5px;
    padding: 1rem;
  }
}

@media (max-width: 450px) {
  .cookie-bandeau button:last-child {
    margin: 1rem 0;
  }
}

.cookie-bandeau>div>div:first-child button[data-id="confidentialite"] {
  padding: 0;
  border: 0;
  margin: 0;
  display: inline;
  text-decoration: underline;
  background: transparent;
  transition: 300ms;
}

.cookie-bandeau>div>div:first-child button[data-id="confidentialite"]:hover {
  background: transparent;
  color: var(--color4);
}

/* PREFERENCES COOKIES */

#cookies-prefs {
  width: min(300px, 90%);
  margin: 5rem auto;
  padding: 10px;
  text-align: center;
}

#cookies-prefs h2 {
  margin-bottom: 2rem;
}

#cookies-prefs>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
}

#cookies-prefs>div>div:nth-child(1) {
  text-align: left;
}

#cookies-prefs input[type=submit] {
  border: none;
  padding: 15px 32px;
  cursor: pointer;
  margin: 10px;
  transition: 0.5s;
  border-radius: 10px;
  background: var(--color1);
  color: var(--color2);
  font-weight: 700;
  font-family: DM-sans, Arial, sans-serif;
  font-size: 1rem;
}

#cookies-prefs input[type=submit]:hover {
  background: var(--color5);
}

#cookies-prefs input[type=submit].active {
  background: var(--color5);
  color: var(--color5);
  cursor: auto;
}

#cookies-prefs .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 0;
}

#cookies-prefs .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#cookies-prefs .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

#cookies-prefs .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

#cookies-prefs input:checked+.slider {
  background-color: var(--color1);
}

#cookies-prefs input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#cookies-prefs .slider.round {
  border-radius: 34px;
}

#cookies-prefs .slider.round:before {
  border-radius: 50%;
}

/* DEMANDE DE RESERVATION */

div[data-id="reserver"]>div>h2 {
  text-align: center;
  font-family: Mansalva;
  font-size: 3rem;
  margin-bottom: 4rem;
}

#reservation {
  /* Pour égaliser le margin-top: 15px du formulaire retour */
  margin: 15px auto 0 auto;
}

@media (min-width: 1200px) {
  #reservation {
    max-width: 80%;
    text-align: left;
  }
}

@media (max-width: 1199px) {
  #reservation {
    text-align: center;
  }
}

#reservation>div:first-child {
  display: grid;
  grid-gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 1200px) {
  #reservation>div:first-child {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, auto);
  }
  
  #reservation>div:first-child>div:nth-child(1), #reservation>div:first-child>div:nth-child(2), #reservation>div:first-child>div:nth-child(3), #reservation>div:first-child>div:nth-child(4) {
    grid-column: span 3;
  }
  
  #reservation>div:first-child>div:nth-child(5), #reservation>div:first-child>div:nth-child(6), #reservation>div:first-child>div:nth-child(7) {
    grid-column: span 2;
  }
  
  #reservation>div:first-child>div:nth-child(8) {
    grid-column: span 6;
  }
}

@media (max-width: 1199px) {
  #reservation>div:first-child {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(8, auto);
  }
}

#reservation input[type=text], #reservation input[type=date],
#reservation textarea {
  padding: 10px;
  width: 100%;
  border: none;
  color: var(--color1);
  background: rgba(255, 255, 255, .4);
  outline: none;
  transition: color 0.5s;
  box-sizing: border-box;
}

#reservation input[type=text]::placeholder,
#reservation textarea::placeholder {
  color: var(--color1);
  opacity: 1;
  font-size: 1rem;
  font-family: DM-sans, Arial, sans-serif;
}

#reservation input[type=text]:focus,
#reservation textarea:focus {
  color: var(--color5);
}

#reservation input[type=text]:focus::placeholder,
#reservation textarea:focus::placeholder {
  color: var(--color5);
}

#reservation #consentement {
  width: 1.15em;
  height: 1.15em;
  margin-right: 10px;
  accent-color: var(--color5);
}

#reservation>div:last-child {
  text-align: center;
}

#reservation input[type=submit],
#reservation button.enablerecaptcha {
  width: fit-content;
  background: var(--color1);
  color: var(--color2);
  border: 0;
  cursor: pointer;
  padding: 1rem;
  transition: 0.5s;
  margin: 1rem auto 0 auto;
  font-family: DM-sans, Arial, sans-serif;
}

#reservation button.enablerecaptcha {
  margin: 1rem auto;
}

#reservation input[type=submit]:hover,
#reservation button.enablerecaptcha:hover {
  background: var(--color5);
}

#reservation input[type=submit].active {
  background: var(--color5);
  color: var(--color5);
  cursor: auto;
}

#reservation #formulaire_retour {
  margin: 15px 0;
  text-align: center;
  width: 100%;
}

#reservation .form-error {
  color: var(--colorError);
  box-sizing: border-box;
}

#reservation button[data-function="popup"] {
  background-color: transparent;
  color: var(--color1);
  cursor: pointer;
  transition: 300ms;
  text-decoration: underline;
}

#reservation button[data-function="popup"]:hover {
  color: var(--color6);
}

/* MENTIONS LEGALES ET CONFIDENTIALITE */

div[data-id="mentions"]>div>div {
  margin: 50px auto;
}

div[data-id="mentions"]>div>h2 {
  text-align: center;
}

@media (min-width: 1200px) {
  div[data-id="mentions"]>div>div:first-of-type {
    display: flex;
    justify-content: center;
    column-gap: 100px;
  }

  div[data-id="mentions"]>div>div:last-of-type {
    text-align: center;
  }
}

div[data-id="mentions"]>div>div:last-of-type a {
  font-weight: 700;
}

@media (max-width: 1199px) {
  div[data-id="mentions"]>div>div {
    text-align: center;
  }
}

div[data-id="confidentialite"] h2 {
  margin: 50px 0;
  text-transform: uppercase;
  text-align: center;
}

div[data-id="confidentialite"] h3 {
  margin: 30px 0;
  text-transform: uppercase;
}

div[data-id="confidentialite"] h4,
div[data-id="confidentialite"] h5 {
  margin: 20px 0;
}

div[data-id="confidentialite"]>div>div {
  margin: 50px auto;
}

div[data-id="confidentialite"] p,
div[data-id="confidentialite"] li {
  text-align: justify;
  margin-bottom: 5px;
}

/* FOOTER */

footer {
  background: var(--color1);
  color: var(--color2);
}

footer>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 0;
}

footer>div:first-child>div {
  flex: 1;
}

@media (max-width: 1199px) {
  footer>div {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

footer>div>div>div {
  margin: .5rem 0;
}

footer a {
  color: var(--color2);
  transition: 300ms;
}

footer a:hover {
  color: var(--color3);
}

footer>div:first-child>div:nth-child(1) {
  max-width: 300px;
  text-align: center;
}

footer .signature>div:nth-child(1) {
  font-family: Mansalva;
  font-size: 1.5rem;
}

footer .signature>div:nth-child(2) {
  text-transform: uppercase;
}

footer .signature>div:nth-child(3) {
  margin: 2rem 0;
}

footer .socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

footer>div:first-child>div:nth-child(2) {
  text-align: center;
}

@media (max-width: 1199px) {
  footer>div:first-child>div:nth-child(2) {
    margin: 2rem 0;
  }
}

footer>div:first-child>div:nth-child(2)>div {
  margin: 2rem 0;
}

@media (min-width: 1200px) {
  footer>div:first-child>div:nth-child(2)>div {
    margin: 2rem auto;
    max-width: 70%;
    text-align: left;
  }
}

footer>div:first-child>div:nth-child(2)>div:first-child>div {
  margin: .5rem 0;
}

footer>div:first-child>div:nth-child(2)>div:first-child>div:first-child {
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .5rem;
}

footer svg {
  width: 2rem;
  fill: var(--color2);
  transition: 300ms;
}

footer a:hover svg {
  fill: var(--color3);
}

footer>div:last-child {
  justify-content: center;
  gap: 2rem;
  padding: 0 0 .5rem 0;
}

@media (max-width: 1199px) {
  footer>div:last-child {
    gap: 1rem;
    padding: 0 0 1rem 0;
  }
}

footer>div:last-child button[data-function="popup"] {
  background-color: transparent;
  color: var(--color2);
  cursor: pointer;
  transition: 300ms;
  font-size: .8rem;
}

footer>div:last-child button[data-function="popup"]:hover {
  color: var(--color3);
}

.s-footer {
  text-align: center;
  background-color: var(--color5);
  color: var(--color2);
}

@media (min-width: 1200px) {
  .s-footer {
    padding: .5rem 0;
  }
}

.s-footer span:first-child {
  font-family: Mansalva;
}

.s-footer a {
  color: var(--color2);
  transition: 300ms;
}

.s-footer a:hover {
  color: var(--color3);
}

/* FORMULAIRE */

#formulaire {
  /* Pour égaliser le margin-top: 15px du formulaire retour */
  margin-top: 15px;
}

@media (min-width: 1200px) {
  #formulaire {
    max-width: 450px;
    text-align: left;
  }
}

@media (max-width: 1199px) {
  #formulaire {
    text-align: center;
  }
}

#formulaire div:not(:last-child) {
  margin-bottom: .5rem;
}

#formulaire input[type=text],
#formulaire textarea {
  padding: 10px;
  width: 100%;
  border: none;
  color: var(--color1);
  background: var(--color2);
  outline: none;
  transition: color 0.5s;
  box-sizing: border-box;
}

#formulaire input[type=text]::placeholder,
#formulaire textarea::placeholder {
  color: var(--color1);
  opacity: 1;
  font-size: 1rem;
  font-family: DM-sans, Arial, sans-serif;
}

#formulaire input[type=text]:focus,
#formulaire textarea:focus {
  color: var(--color5);
}

#formulaire input[type=text]:focus::placeholder,
#formulaire textarea:focus::placeholder {
  color: var(--color5);
}

#formulaire #consentement {
  width: 1.15em;
  height: 1.15em;
  margin-right: 10px;
  accent-color: var(--color5);
}

#formulaire input[type=submit],
#formulaire button.enablerecaptcha {
  width: 100%;
  background: var(--color5);
  color: var(--color2);
  border-radius: 5px;
  border: 0;
  cursor: pointer;
  padding: 10px;
  transition: 0.5s;
  margin-top: 1rem;
  font-family: DM-sans, Arial, sans-serif;
}

#formulaire input[type=submit]:hover,
#formulaire button.enablerecaptcha:hover {
  background: var(--color3);
}

#formulaire input[type=submit].active {
  background: var(--color5);
  color: var(--color5);
  cursor: auto;
}

#formulaire #formulaire_retour {
  margin-top: 15px;
  text-align: center;
  width: 100%;
}

#formulaire .form-error {
  color: var(--colorError);
  box-sizing: border-box;
}

#formulaire button[data-function="popup"] {
  background-color: transparent;
  color: var(--color2);
  cursor: pointer;
  transition: 300ms;
  text-decoration: underline;
}

#formulaire button[data-function="popup"]:hover {
  color: var(--color4);
}

/* STICKER */

#top {
  cursor: pointer;
  color: var(--color2);
  background-color: var(--color5);
  position: fixed;
  right: 5vw;
  bottom: 5vw;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 300ms;
  visibility: hidden;
  opacity: 0;
  z-index: 40;
}

@media (max-width: 1199px) {
  #top {
    right: 3vw;
    bottom: 15vh;
  }
}

#top:hover {
  transform: scale(1.1);
}

#top.scrolled {
  visibility: visible;
  opacity: 1;
}

/* ANCHOR */
.anchor {
  position: relative;
  top: -30px;
}