*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #333;
  font-family: "Nunito", sans-serif;
  color: #613319;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}

h1 {
  font-family: "Satisfy", cursive;
  font-weight: 400;
  color: #f77335;
  color: #faab00;
  font-size: clamp(3rem, 0.4286rem + 11.4286vw, 4rem);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0);
  font-style: normal;
  text-align: center;
}
h2 {
  font-family: "Satisfy", cursive;
  font-weight: 400;
  font-size: clamp(2rem, -0.5714rem + 11.4286vw, 3rem);
  margin: 0px;
  word-spacing: 2px;
  text-align: center;
  margin-top: 1rem;
}
h3 {
  font-size: 1.5rem;
  text-align: center;
}
section {
  padding-block: 1rem;
  scroll-margin-top: 2rem;
}
/******** HEADER *******/

header {
  margin-top: 1rem;
}
@media screen and (max-width: 700px) {
  header {
    margin-top: 3rem;
  }
}
header h1 {
  z-index: 1;
  display: block;
  margin-top: 1rem;
  animation: appearH1 1s ease-in-out forwards;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
  line-height: 1;
}
header h2 {
  font-size: 2rem;
  z-index: 0;
  display: block;
  animation: appearH2 2s ease-in-out forwards;
  margin: 0;
}
@keyframes appearH1 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes appearH2 {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}
@media screen and (max-width: 420px) {
  header h2 {
    margin-block: 0.5rem;
    line-height: 1;
  }
}
header img {
  width: 100%;
  height: 95vh;
  object-fit: cover;
  z-index: 2;
  position: relative;
}
menu {
  display: block;
}
menu ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 0;

  width: fit-content;
}
menu li {
  display: inline-block;
  padding: 0 0.8rem;
}
menu li a {
  text-decoration: none;
}

/*** menu haut de page ***/
.menu-top {
  position: fixed;
  background-color: transparent;
  top: 2px;
  right: 4px;
  z-index: 3;
}
.menu-top ul {
  padding-block: 0.5rem;
  box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.15);
  border: solid 0px red;
  border-radius: 6px;
  background-color: #613319;
  color: antiquewhite;
}
.menu-top li {
  position: relative;
  padding-block: 0rem;
  transition: all 0s ease-in-out;
  width: 100%;
  text-align: center;
}
.menu-top li a {
  display: block;
  width: 100%;
}
.menu-top:hover li {
  margin-bottom: 0.5rem;
}
.menu-top li:hover {
  background-color: #2a160b;
}

.menu-top li:first-child::after {
  content: "^";
  position: absolute;
  right: 6px;
  bottom: 0;
  display: block;
  transform: rotate(180deg);
  font-size: 0.8rem;
}
.menu-top li:nth-child(n + 2) {
  max-height: 0;
  opacity: 0;
}

.menu-top ul:hover li:nth-child(n + 2) {
  transition: opacity 0.2s ease-in-out, max-height 0.2s 0.8s ease-in-out;
  max-height: none;
  opacity: 1;
  padding-block: 0.2rem;
}
/** menu langues **/
ul.langues {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 40px;
  height: fit-content;
  list-style-type: none;

  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 0rem;

  z-index: 3;
}
ul.langues li {
  height: 30px;
  margin-block: 0.1rem;
  transition: 0.2s ease-in-out;
}
ul.langues li img {
  height: 100%;
  width: auto;
}
ul.langues li:nth-child(1) {
  z-index: 4;
}
ul.langues li:nth-child(2) {
  transform: translateY(-100%);
  opacity: 0;
}
ul.langues li:nth-child(3) {
  transform: translateY(-200%);
  opacity: 0;
}
ul.langues li:nth-child(4) {
  transform: translateY(-300%);
  opacity: 0;
}
ul.langues:hover li {
  transform: translateY(0);
  opacity: 1;
}

.texte {
  max-width: 900px;
  margin-inline: auto;
  margin-block: 1rem;
}

.texte p,
.texte div {
  font-size: clamp(1.2rem, 0.4286rem + 3.4286vw, 1.5rem);
  line-height: 1.5;
  text-align: center;
  margin-inline: 0.5rem;
}
.texte div strong {
  font-size: 1.1em;
}
.texte p::first-letter {
  font-size: clamp(1.8rem, 0.7714rem + 4.5714vw, 2.2rem);
  font-family: "Satisfy", cursive;
  color: #eb7632;
  color: #faab00;
  margin-right: 2px;
  vertical-align: 3px;
}

p.contact-link a {
  color: white;
  background-color: #613319;
  line-height: 2;
  display: inline-block;
  border-radius: 2rem;
  padding-inline: 1rem;
  text-decoration: none;
  margin-block: 0.5rem;
  transition: 0.2s ease-in-out;
}
p.contact-link a:hover {
  background-color: #f77335;
  background-color: #faab00;
}
.texte p.contact-link::first-letter {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  margin: 0;
  display: inline;
}

p.partenaires img {
  height: 50px;
  width: auto;
  margin-inline: 1rem;
  transition: 0.15s ease-in-out;
}
p.partenaires a img:hover {
  transform: scale(1.1);
}

.separateur::after {
  content: url(photos/colombes-orange2.png);
  transform: scale(0.5) translateY(-50px);
  height: auto;
  text-align: center;
  font-size: 4rem;
  margin-bottom: 2rem;
  margin-inline: auto;
  display: block;
  height: 100px;
}

/*** Panneau de Photos (Cadre Lightbox) ****/
.grid {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, 400px);
  grid-gap: 6px;
  justify-content: center;
  padding: 20px 0;
  margin: auto;
}
@media screen and (max-width: 400px) {
  .grid {
    grid-template-columns: repeat(auto-fill, 350px);
  }
}
.item {
  min-height: 340px;
  width: 100%;
  border-radius: 8px;
  background-color: #a84028;
  background-position: center center;
  background-size: cover;
  transition: 0.4s ease;
  position: relative;
}
#grid-jardin {
  grid-template-columns: repeat(auto-fill, 340px);
}
#grid-jardin .item {
  min-height: 280px;
}
.item a {
  display: block;
  width: 100%;
  height: 100%;
  transition: 0.4s ease;
}
.item a:hover {
  background-color: rgba(0, 0, 0, 0.2);
}
.item:hover {
  transform: scale(0.96);
}
div.item p {
  position: absolute;
  bottom: 2px;
  color: white;
  display: block;
  z-index: 1;
  font-size: clamp(1.2rem, 0.4286rem + 3.4286vw, 1.5rem);
  padding: 0.2rem 0.5rem;
}

/**** Carte Openstreet map ***/
#situation {
  text-align: center;
}
.iframe-container {
  width: 90%;
  display: block;
  margin: auto;
  scroll-margin-top: 0;
}
iframe {
  width: 100%;
  height: 60vh;
  border: 0;
  padding: 0;
  margin: 0;
}

/***** Disponibilités ***/
.disponibilites {
  width: min(1200px, 96%);
  margin: 30px auto 60px;
  display: block;
  min-height: 80vh;
  border: solid 1px grey;
  border-radius: 4px;
}
.disponibilites .titre-planning {
  display: none !important;
}
/*** FOOTER ***/
footer {
  background-color: #613319;
  color: white;
}
footer h3 {
  margin-bottom: 0.5rem;
}
footer p {
  line-height: 2;
}
footer div.footer-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: self-start;
  align-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-block: 2rem;
}
.footer-container div {
  max-width: 350px;
  text-align: center;
}
footer menu ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: start;
  align-items: self-start;
  align-content: start;
  gap: 0.15rem;
}
footer menu li {
  padding-block: 0;
  margin: 0;
}
footer menu li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media screen and (max-width: 1100px) {
  .footer-container div:nth-child(3) {
    display: none;
  }
  footer p {
    margin-left: 0.5rem;
  }
  .footer-container div {
    width: 350px;
  }
}
.basdepage {
  background-color: #2a160b;
  font-size: 0.9rem;
  padding-block: 2rem;
  color: white;
}
.basdepage p {
  margin-inline: auto;
  max-width: min(95%, 1200px);
  width: fit-content;
  line-height: 2;
  margin-block: 1rem;
  text-align: center;
}
.basdepage p span {
  border: solid 1px;
  border-radius: 1rem;
  padding: 0.2rem 0.3rem;
  text-decoration: none;
  margin-inline: 0.5rem;
}

/*** MODIF ***/
#modif input[type="text"] {
  padding: 0.2rem 0.5rem;
  font-size: 1rem;
}
#modif input[type="submit"] {
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  margin: 0.5rem;
}
#modif h3 {
  margin-block: 1rem 0.25rem;
  text-align: center;
  font-size: 1.5rem;
  margin-block: 4rem 1rem;
}
