@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100&family=Ubuntu:wght@300&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  padding: 0;
  background-color: rgb(221, 221, 221);
  height: 100vh;
}

h1 {
  text-align: center;
  font-family: "Poppins";
  font-size: 42px;
  font-weight: 400;
}

nav {
  display: flex;
  justify-content: flex-end;
  width: 85%;
  margin: 0 auto;
  background: transparent;
  padding: 0;
}
nav ul {
  list-style: none;
  text-align: center;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 10px;
}
nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all 0.5s;
}
nav ul li a:hover {
  color: #aaa;
}

nav.stroke ul li a,
nav.fill ul li a,
nav.stroke ul li a.active,
nav.fill ul li a.active {
  position: relative;
}
nav.stroke ul li a:after,
nav.fill ul li a:after,
nav.stroke ul li a.active:after,
nav.fill ul li a.active:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: ".";
  color: transparent;
  background: #aaa;
  height: 1px;
}
nav.stroke ul li a:hover:after,
nav.stroke ul li a.active:after {
  width: 100%;
}

.header {
  margin-bottom: 40px;
  background-image: url("/images/galerie/capcorse.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 90px;
  height: 350px;
}

.header {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

main {
  padding-inline: 50px;
  width: 1080px;
  margin: 0 auto;
}

#cadre {
  display: flex;
  gap: 3em;
  align-items: center; /* Center items vertically */
}

#cadre #imagen1 {
  width: 270px;
  height: 270px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

#cadre .texte {
  flex: 2; /* Take remaining space */
  margin-left: 2em; /* Add margin for spacing between photo and text */
  line-height: 2;
  font-family: sans-serif;
}

#cadre .logoappareil img {
  width: 270px;
  height: 270px;
  border-radius: 10px;
  overflow: hidden;
}

.footer {
  background-color: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: 40px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}

.slider-frame {
  overflow: hidden;
  height: 350px;
  width: 900px;
  margin-top: 40px;
  border-radius: 15px;
  margin-inline: auto;
  margin-bottom: 100px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

@keyframes slide_animation {
  0% {
    left: 0px;
  }
  10% {
    left: 0px;
  }
  20% {
    left: 1200px;
  }
  30% {
    left: 1200px;
  }
  40% {
    left: 2400px;
  }
  50% {
    left: 2400px;
  }
  60% {
    left: 1200px;
  }
  70% {
    left: 1200px;
  }
  80% {
    left: 0px;
  }
  90% {
    left: 0px;
  }
  100% {
    left: 0px;
  }
}

@-webkit-keyframes slide_animation {
  0% {
    left: 0px;
  }
  10% {
    left: 0px;
  }
  20% {
    left: 1200px;
  }
  30% {
    left: 1200px;
  }
  40% {
    left: 2400px;
  }
  50% {
    left: 2400px;
  }
  60% {
    left: 1200px;
  }
  70% {
    left: 1200px;
  }
  80% {
    left: 0px;
  }
  90% {
    left: 0px;
  }
  100% {
    left: 0px;
  }
}

.slide-images {
  width: 3600px;
  height: 800px;
  margin: 0 0 0 -2400px;
  position: relative;
  -webkit-animation-name: slide_animation;
  animation-name: slide_animation;
  -webkit-animation-duration: 33s;
  animation-duration: 33s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-play-state: running;
  animation-play-state: running;
}

.img-container {
  height: 800px;
  width: 1200px;
  position: relative;
  float: left;
  height: 25px;
}

#form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1em;
  gap: 1em;
  width: 400px; /* Adjust the width of the form */
  height: auto;
  margin: 5% auto;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 17px #333;
}

/* Reste de votre CSS inchangé */
#form #form__header input {
  height: 30px;
  width: 130px;
  border-radius: 10px;
}

#form .form-email input {
  height: 30px;
  border-radius: 10px;
}

#form .form-message textarea {
  height: 80px; /* Ajuste la hauteur de la zone de texte */
  border-radius: 10px;
}

#form div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#form #form__header {
  display: flex;
  flex-direction: row;
  gap: 1em;
}

/* Ajuste la taille du bouton pour mieux s'adapter au formulaire */
#form input[type="submit"] {
  height: 40px;
  background-color: #4CAF50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease; /* Ajoute une transition pour un effet de survol en douceur */
}

#form input[type="submit"]:hover {
  background-color: #45a049;
}

#form-radio {
  display: block;

}

#galerie-traitements {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

#cadre-partenaire {
  display: flex;
  flex-direction: column;
  gap: 3em;
}

#cadre-partenaire .partenaire {
  box-shadow: -5px 5px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: row;
  padding: 1em;
  border-radius: 0.4em;
  align-items: center;
  gap: 1em;
  text-align: left;
  line-height: 1.5;
}

#cadre-partenaire .partenaire .partenaire__img {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

#cadre-partenaire .partenaire .partenaire__content {
  /*align-self: center;*/
  display: flex;
  flex-direction: column;
  text-wrap: pretty;
}

#cadre-partenaire .partenaire .partenaire__content p {
  max-height: 96px;
  overflow-y: scroll;
}

#cadre-partenaire .partenaire .partenaire__content h3 {
  align-self: flex-start;
}

#cadre-partenaire .partenaire:nth-child(2n) {
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.5);
  flex-direction: row-reverse;
}

#cadre-partenaire .partenaire .partenaire__content--header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#cadre-partenaire .partenaire:nth-child(2n) .partenaire__content--header {
  flex-direction: row-reverse;
}

#main-partenaire a {
  display: block;
  width: 150px;
  line-height: 25px;
  text-align: center;
  vertical-align: middle;
  color: white;
  text-decoration: none;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  background-color: black;
}

#main-partenaire a:hover {
  background-color: white;
  color: black;
}

#pdf {
  margin-top: 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

#pdf a {
  display: block;
  width: 130px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  color: white;
  text-decoration: none;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  background-color: black;
  gap: 10px;
}

#pdf a:hover {
  background-color: white;
  color: black;
}
 
