@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Parisienne&display=swap");

html,
body {
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #000; /* couleur de secours */
}

}

body {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  scrollbar-width: thin;
  scrollbar-color: #888 #f2f2f2;
}

body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track {
  background: #f2f2f2;
  border-radius: 4px;
}
body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.container-site,
.index,
.contact,
.galery,
.golden-book,
.show-list {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: fit-content;
}

.index {
  background-image: url(./public/assets/index-background.jpg);
}
.contact {
  background-image: url(./public/assets/contact-background.jpg);
}
.galery {
  background-image: url(./public/assets/galery/17.jpg);
}
.golden-book {
  background-image: url("./public/assets/galery/30 - compr.jpg");
}
.show-list {
  background-image: url(./public/assets/show-list-background.jpg);
}
.container-site {
  display: flex;
  flex-direction: column;
}


header {
  width: 100%;
  color: #ccc;
  font-family: Oswald;
  font-size: x-large;
  background: rgba(255, 255, 255, 0.0025);
  backdrop-filter: blur(10px);
  border-bottom-left-radius: 23px;
  border-bottom-right-radius: 23px;
  position: fixed;
  box-shadow: 2px 2px 10px #333;
}

header ul {
  display: flex;
  justify-content: center;
  padding: 0;
}

header ul li {
  margin: 0 15px;
  list-style-type: none;
}

header a {
  color: #ccc;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
}
header a:hover,
header a.active {
  color: #ce1e1e;
}

main,
.main-galery {
  flex: 1;
  margin-top: 100px;
  color: #ccc;
  font-family: Oswald;
  font-size: x-large;
  text-align: center;
  padding: 0 15%;
  text-shadow: 2px 2px 5px #333;
}

.index main {
  font-size: 25px;
  padding: 0 20%;
}

.index main h1,
.index h1 {
  font-family: "Parisienne", cursive;
  font-size: 45px;
}

main a,
.main-galery a {
  color: #ce1e1e;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
}
main a:hover,
.main-galery a:hover {
  color: #ccc;
}

main h1,
.main-galery h1,
.root h1 {
  color: #ce1e1e;
  font-size: 2rem;
}

footer {
  width: 100%;
  color: #ccc;
  font-family: Oswald;
  font-size: small;
  text-align: center;
}

footer a {
  color: #ccc;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
}
footer a:hover {
  color: #ce1e1e;
}

input,
textarea {
  width: 50%;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 4px;
  font-family: Oswald;
}

input[type="submit"] {
  background-color: #ce1e1e;
  color: #ccc;
  border: none;
  cursor: pointer;
  padding: 10px 50px;
}
input[type="submit"]:hover {
  background-color: #e42020;
}

iframe {
  border: 10px solid #fff;
  box-shadow: 5px 5px 5px #ccc;
  border-radius: 5px;
  margin: 50px 25% 20px 25%;
  height: 400px;
  width: 50%;
}

.map iframe,
.instagram iframe,
.youtube iframe {
  box-shadow: none;
  margin: 0;
}

img {
  height: 20%;
  width: 20%;
}

.affiche {
  width: 80%;
  height: auto;
  max-width: 80%;
  max-height: auto;
  margin: 20px auto;
}

.invisible-SEO {
  display: none;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  height: 0;
  width: 0;
}

/* Pour les petits écrans (mobiles) */
@media (max-width: 767px) {
  html,
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: #888 #f2f2f2;
  }

  /* Scrollbar pour WebKit */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  /* Optional: only add unique background-position if different */
  body .index,
  .contact,
  .golden-book,
  .show-list {
    background-position: top;
    background-attachment: fixed;
    min-height: fit-content;
  }

  body .galery h1 {
    padding-top: 40px;
  }

  /* En-tête */
  header {
    width: 100%;
    color: #ccc;
    font-family: Oswald;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.0025);
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 23px;
    border-bottom-right-radius: 23px;
    position: fixed;
    box-shadow: 2px 2px 10px #333;
  }
  header ul {
    display: flex;
    justify-content: center;
  }
  header ul li {
    margin: 0 2.5%;
    list-style-type: none;
  }
  header ul li a,
  header a {
    color: #ccc;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s;
  }
  header a:hover {
    color: #ce1e1e;
  }

  /* Section principale */
  main,
  .index main,
  main-galery {
    margin-top: 100px;
    color: #ccc;
    font-family: Oswald;
    font-size: x-large;
    text-align: center;
    padding: 0 2%;
    text-shadow: 2px 2px 5px #333;
  }
  .index main {
    font-size: 25px;
    padding: 0 20%;
  }
  .index main h1 {
    font-family: "Parisienne", cursive;
    font-size: 45px;
  }
  main a,
  main-galery a {
    text-decoration: none;
    color: #ce1e1e;
    font-weight: 700;
    transition: 0.25s;
  }
  main a:hover,
  main-galery a:hover {
    color: #ccc;
  }
  main h1,
  main-galery h1,
  .root h1 {
    color: #ce1e1e;
    font-size: 2rem;
  }

  /* Pied de page */
  footer {
    bottom: 0;
    width: 100%;
    height: auto;
    color: #ccc;
    font-family: Oswald;
    font-size: small;
    text-align: center;
  }
  footer a {
    text-decoration: none;
    color: #ccc;
    font-weight: 700;
    transition: 0.25s;
  }
  footer a:hover {
    color: #ce1e1e;
  }

  /* Formulaire */
  input,
  textarea {
    width: 90%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    font-family: Oswald;
    margin-bottom: 40px;
  }
  input[type="submit"] {
    background-color: #ce1e1e;
    color: #ccc;
    border: none;
    cursor: pointer;
    width: auto;
    padding: 10px 50px;
  }
  input[type="submit"]:hover {
    background-color: #e42020;
  }

  /* Iframes */
  iframe {
    border: 10px solid #fff;
    box-shadow: 2px 2px 2px #ccc;
    border-radius: 5px;
    margin: 50px 25% 20px 25%;
    height: 200px;
    width: 200px;
  }
  .map iframe,
  .instagram iframe,
  .youtube iframe {
    margin: 0;
    box-shadow: none;
    height: auto;
    width: auto;
  }

  /* Images */
  img {
    height: 20%;
    width: 20%;
  }

  /* SEO invisibles */
  .invisible-SEO {
    display: none;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    height: 0;
    width: 0;
  }
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;
  margin: auto;
}

form input,
form textarea {
  margin-bottom: 40px;
  font-family: "Arial";
}
form input[type="submit"] {
  margin-bottom: 0;
}
