html {
  overflow: hidden;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  background: black;
  color: white;
}

.page-contact {
  background-image: url('../images/backkground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-galerie {
  background-image: url('../images/backkground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
}

main {
  max-width: 1080px;
  margin: 0 auto;
}

header nav {
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 35px;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;

}

header nav ul li {
  display: inline-block;
  margin: 0;
  padding: 0.2em 0.7em;
  font-family: 'Fairplay Regular', serif;
}

header nav a {
  display: inline-block;
  padding: 0.5em 1em;
  color: white;
  text-decoration: none;
  font-family: 'Fairplay Regular', serif;
  font-size: 1.15em;
  font-weight: lighter;
  letter-spacing: 1px;
  border: 1px solid transparent;
  border-radius: 5px;
  background-color: transparent;
  transition: all 0.3s ease-in-out;

}

header nav a:hover {
  color: white;
  background-color: rgb(180, 111, 123);
  transform: scale(1.1);
  border: 1px solid rgba(180, 111, 123, 0.647);
  box-shadow: 0 2px 10px rgba(180, 111, 123, 0.5);

}


.nav-bg {
  content: '';
  position: absolute;
  display: block;
  top: -100%;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgb(50, 50, 50);
  transition: .45s ease-in-out;
}


.bg-hidden {
  top: -100%;
  opacity: 0;
}

.bg-visible {
  top: 0;
  opacity: 1;
}

h1 {
  text-align: center;
  font-family: Ubuntu;
  letter-spacing: 1px;

}


.centered {

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  padding-top: 100px;

}

h1 {
  font-family: 'Fairplay Regular', serif;
  font-size: 4.5rem;
  text-align: center;
  margin: 0;
  margin-bottom: 50px;
  color: #eeeeeee1;
}

p {
  font-family: 'Fairplay Regular', serif;
  z-index: 10000000;
  font-size: 2.0em;
  max-width: 700px;
  margin: 20px auto;
  margin-left: 55px;
  text-align: left;
  line-height: 1.1;
  /* Augmente l'espacement entre les lignes */
  margin-bottom: 90px;
  margin-top: 120px;
}

.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.rightparagraph-one {
  font-size: 2.0em;
  max-width: 700px;
  margin: 20px auto;
  margin-right: 55px;
  text-align: right;
  line-height: 1.1;
  margin-top: 300px;
}


.rightparagraph-one.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.rightparagraph-one.hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.leftparagraph-two {
  font-size: 2.0em;
  max-width: 700px;
  margin: 20px auto;
  margin-left: 55px;
  text-align: leftt;
  line-height: 1.1;
  margin-top: 300px;
}


.lefttparagraph-two.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.lefttparagraph-two.hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.active {
  background-color: rgb(180, 111, 123);
  color: rgb(232, 227, 227);
  font-weight: bold;
  border-bottom: 3px solid white;

}







.hero {
  position: relative;
  width: 100%;
  height: 500px;
  background: rgb(50, 50, 50);
  background: url('../images/roulerdesaturer.jpg') no-repeat 50% 50% fixed;
  background-size: 130%;
  overflow: hidden;
}

.hero h1 {
  position: sticky;
  top: 50%;
  left: 0;
  width: 100%;
  padding: -5em;
  font-size: 8em;
  font-weight: lighter;
  font-family: "Playfair", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;

}

.content-wrapper {
  width: 80%;
  height: 250px;
  padding: 1em 10%;
}

.content-wrapper h1 {
  margin: 0;
  color: rgb(180, 111, 123);
}

.content-wrapper p {
  font-family: "Open Sans";
  text-indent: 1.5em;
}




.rounded-image {
  position: absolute;
  top: 1250px;
  right: 30px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: url('../images/millefeuille.jpg') no-repeat center center;
  background-size: cover;
  border: 2px solid #bb8383;
  display: block;
  ;
}

.rounded-image-two {
  position: absolute;
  top: 1800px;
  left: 30px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: url('../images/tt.jpg') no-repeat center center;
  background-size: cover;
  border: 2px solid #bb8383;
  display: block;
}

.rounded-image-tree {
  position: absolute;
  top: 2440px;
  right: 30px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: url('../images/parisbrest.jpg') no-repeat center center;
  background-size: cover;
  border: 2px solid #bb8383;
  display: block;
  ;
}


.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

* {
  cursor: url('../images/fouetcurseur.png'), auto;
}

a {
  cursor: url('../images/cuillere.png'), auto;
}

button {
  cursor: url('../images/cuillere.png'), auto;
}

.dropdown-content a {
  cursor: url('../images/cuillere.png'), pointer;
}

div.dt-container .dt-paging .dt-paging-button:hover {
  cursor: url('../images/cuillere.png'), pointer;
}




div.dt-container .dt-input {
  background-color: black;
}

div.dt-container .dt-paging .dt-paging-button:hover {
  background: rgb(180, 111, 123);
}

div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button.disabled:hover,
div.dt-container .dt-paging .dt-paging-button.disabled:active {
  color: white !important;
}

#patisserieTable {
  font-size: 1.2em;
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  background-color: #000;
  color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#patisserieTable th,
#patisserieTable td {
  font-size: 1.0em;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #444;
}

#patisserieTable th {
  background-color: rgb(180, 111, 123);

  color: #fff;

  text-transform: uppercase;

  font-weight: bold;

}

#patisserieTable tr:hover {
  background-color: rgb(180, 111, 123);

  cursor: pointer;

}

.table-container {
  padding: 20px;
  margin: 0 auto;

  width: 90%;
  max-width: 1200px;

  box-sizing: border-box;
}



:root {
  --button-hover-color: rgb(180, 111, 123);
  --form-bg-color: rgb(50, 50, 50);
}

#en-tete {
  width: 80%;
  max-width: 400px;
  margin: 5em auto;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--form-bg-color);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

form {
  width: 50%;
  max-width: 500px;
  margin: 5em auto;
  padding: 2em;
  border-radius: 10px;
  background-color: var(--form-bg-color);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

form label {
  font-size: 1rem;
  color: white;
  font-family: 'Fairplay Regular', serif;
  display: block;
  margin-bottom: 8px;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: black;
  color: white;
  font-family: 'Fairplay Regular', serif;
  margin-bottom: 1.5em;
}

form input[type="email"] {
  padding-top: 1em;
  padding-bottom: 1em;
}

form textarea {
  resize: none;
  height: 100px;
}

form input[type="submit"] {
  width: 100%;
  padding: 0.8em;
  background-color: var(--button-hover-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Fairplay Regular', serif;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

form input[type="submit"]:hover {
  background-color: white;
  color: var(--button-hover-color);
  transform: scale(1.05);

}


.name-fields {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.name-fields div {
  width: 48%;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 20px;
  padding: 25px;
}

.gallery img {
  object-fit: cover;
  border-radius: 25px;
  margin-top: 30px;
  width: 300px !important;
  height: 300px !important;
  filter: grayscale(80%);
  transition: all 0.3s ease;
}

.gallery img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}


.ligne {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-bottom: 40px;
  font-size: 14px;
}

/* Ajoute une animation pour l'effet d'apparition progressif */
.ligne.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ligne.hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.ligne:nth-child(odd) {
  flex-direction: row;
}

.ligne:nth-child(even) {
  flex-direction: row-reverse;
}

.article {
  width: 540px;
  padding: 10px;
}

.article a {
  text-decoration: none;
  color: #ffffff;

}

.article a:hover {
  text-decoration: underline;
}

.aside {
  width: 300px;

}

.tete {
  width: 120%;
  border-radius: 50%;
}

.h1 {
  margin-left: auto;
  margin-right: auto;
  font-size: 50px;
  text-shadow: rgb(224, 116, 145) 2px 2px 4px;
}

h3 {
  font-size: 30px;
}

.part {
  margin: 0;
}







.page-credits {
  padding: 40px;
  max-width: 800px;
  width: 100%;
}

.credits-container,
.other-images-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credits-container ul {
  list-style: none;
  padding: 0;
}

.credits-container li {
  margin: 10px 0;
  font-size: 1.2em;
  line-height: 1.6;
  color: #ddd;
  width: auto;
  text-align: center;
}

.credits-container a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.credits-container a:hover {
  color: #fff;
  text-decoration: underline;
}

.credits-container li:hover {
  background-color: rgb(180, 111, 123);
  border-radius: 5px;
  padding: 5px;
  transform: scale(1.05);
}

.gallery {
  display: flex;

  align-items: center;
}

.special-title {
  text-align: center;
  font-size: 2.5em;
  font-weight: bold;
  margin-top: 20px;
}

.special-paragraph {
  text-align: center;
  font-size: 1.2em;
  color: #ddd;
  max-width: 600px;
  margin: 10px auto;
}




.pdf-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 20px 0;
}

.pdf-item {
  background-color: var(--background-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex: 1;
}

.pdf-item h3 {
  font-size: 24px;
  color: var(--titles);
  margin: 30px 0;
}

.pdf-item embed {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 10px;
}

.team-subject {
  font-size: 18px;
  display: flex;
  justify-content: center;
}

.radio {
  display: inline-block;
}

.radio label {
  width: 200px;
}


footer {
  background-color: rgb(0, 0, 0);
  font-family: 'Fairplay Regular', serif;
  padding: 20px 5%;
  border-top: 2px solid rgb(180, 111, 123);
  text-align: center;
  margin-top: 10em;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  font-family: 'Fairplay Regular', serif;
  align-items: center;
  gap: 10px;
}

.footer-content {
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: 'Fairplay Regular', serif;
  justify-content: center;
  flex-wrap: wrap;
}

footer p {
  margin: 0;
  font-size: 1rem;
  color: white;
  font-family: 'Fairplay Regular', serif;
}

footer a {
  color: rgb(230, 230, 230);
  font-family: 'Fairplay Regular', serif;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bold;
}

footer a:hover {
  color: rgb(226, 141, 155);
  font-family: 'Fairplay Regular', serif;
  opacity: 0.8;
}