/* default settings page */

@import url(https://db.onlinewebfonts.com/c/f1fcc5aed1e20fc0cdb9f8a7573625bd?family=Integral+CF+Regular);
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap");
@import url(https://db.onlinewebfonts.com/c/61637e80c3e88812def846832594f24d?family=Larken-Regular);

* {
  margin: 0;
  padding: 0;
}

html,
body {
  background-color: #fff4e2;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
}

.cta a {
  color: black;
  text-decoration: none;
}

/* nav settings */

nav {
  display: flex;
  align-items: flex-end;
  position: absolute;
  top: 0;
  width: 100vw;
  justify-content: space-between;
  padding: 25px;
  box-sizing: border-box;
}

/* hamburger settings */

.burger {
  position: relative;
  width: 40px;
  height: 20px;
  cursor: pointer;
  display: block;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  top: 20px;
  height: 3px;
  width: 100%;
  background: black;
  opacity: 1;
  left: 0;
  margin-top: 4px;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}
.burger input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg) translate(-50%, -50%);
  width: 65%;
  top: 40%;
  left: 50%;
}

.burger input:checked ~ span:nth-of-type(2) {
  transform: rotate(-45deg) translate(-50%, -50%);
  width: 65%;
  top: 40%;
  left: 50%;
}

.span-01.active,
.span-02.active {
  margin-top: 2px;
  background: white; /* Change the color to white on click */
}

.dyna.active {
  z-index: 9;
  width: 10%; /* New width for the active state */
  padding: 10px; /* New padding for the active state */
}

.parent {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.parent div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
  font-size: 16px;
  font-family: "Integral CF Regular";
  padding: 0px;
  margin: 0 auto;
  margin-bottom: 10px;
  margin-top: 10px;
  color: wHITE;
  border-top: 3px solid rgb(190, 190, 190);
}

.parent div a {
  color: white;
  text-decoration: none;
  transition: color 0.5s ease;
}

.parent div a:hover {
  color: #80af49;
  transition: 0.5s ease;
}

.div1 {
  grid-area: 1 / 1 / 2 / 2;
}
.div2 {
  grid-area: 2 / 1 / 3 / 2;
}
.div3 {
  grid-area: 3 / 1 / 4 / 2;
}
.div4 {
  grid-area: 4 / 1 / 5 / 2;
}

/* svg logo settings */

nav svg {
  z-index: 9999;
  width: 100px;
  height: auto;
}

/* boutton dynamique hamburger */

.dyna {
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  background-color: wheat;
  width: 20%;
  height: 15px;
  padding: 15px;
  border-radius: 30px;
  transition: width 0.5s ease, padding 0.5s ease;
}

.fraise {
  position: absolute;
  right: 5%;
  top: 75%;
  z-index: 2;
}

.fraise-2 {
  position: absolute;
  right: 5%;
  top: 130%;
  z-index: 2;
}

.abricot {
  position: absolute;
  left: 5%;
  top: 15%;
  z-index: 2;
}

/* h1 contact css */

.cta {
  z-index: 8;
  border: none;
  background: none;
  cursor: pointer;
}

.cta.active a,
.cta.active path {
  color: white;
}

.cta .active,
.svg.active {
  color: white;
  fill: white;
}

/* boutton top droite */

.cta span {
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 14px;
  padding-right: 15px;
  text-transform: uppercase;
}

.cta svg {
  width: 30px;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active svg {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  padding-bottom: 20px;
}

.valide {
  background-color: #ff4949;
  opacity: 0.5;
  padding: 10px;
  width: 600px;
  margin-bottom: 20px;
  border-left: 3px solid #ff2c2c;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.valide-2 {
  background-color: #25e47b;
  opacity: 0.5;
  padding: 10px;
  width: 600px;
  margin-bottom: 20px;
  border-left: 3px solid #3dff8e;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* animation ouverture hamburger menu */

/* General styles for both hamburger elements */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow-y: hidden;
  top: 0;
  z-index: 5;
  opacity: 0;
  transform: translateY(-100%);
}

.hamburger-2 {
  display: none;
  flex-direction: column;
  align-items: center;
  overflow-y: hidden;
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: 4;
  opacity: 0;
  transform: translateY(-100%);
}

.hamburger {
  background-color: #2e3824;
}

.hamburger-2 {
  background-color: #4a6233;
}
@keyframes slideIn {
  0% {
    opacity: 1;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(-100%);
  }
}
.hamburger.show {
  display: flex;
  overflow-y: hidden;
  animation: slideIn 3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hamburger.hide {
  animation: slideOut 3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
    linear infinite;
  overflow-y: hidden;
}

.hamburger-2.show {
  overflow-y: hidden;
  display: flex;
  animation: slideIn 2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
    slideInOut 3s linear infinite;
}

.hamburger-2.hide {
  animation: slideOut 2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
    linear infinite;
  overflow-y: hidden;
}

/* titre site */

.title-01 {
  display: flex;
  width: 100vw;
  height: 100vh;
  z-index: -9999;
  font-size: 32px;
  flex-direction: column;
  font-family: "Larken-Regular";
  font-weight: bold;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.title-01 span {
  color: #80af49;
}

.title-01 svg {
  border: 1px solid black;
  border-radius: 60%;
  position: relative;
  top: 50px;
  animation: moveDown 0.8s infinite alternate;
}

@keyframes moveDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}

/* 1er container du body titre ou aller */

.container-01 {
  display: flex;
  flex-direction: column;
  width: 80%;
  position: relative;
  left: 5%;
  height: auto;
  align-items: flex-start;
  font-family: "Larken-Regular";
  font-weight: bold;
  font-size: 26px;
  border-bottom: 2px solid grey;
}

.container-01 a {
  margin-bottom: 25px;
  position: relative;
  text-decoration: none;
  color: black;
  transition: color 0.3s;
}

.container-01 a::before {
  content: attr(data-text);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(to right, black, #80af49);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  z-index: -1;
  transition: left 0.3s;
}

.container-01 a:hover::before {
  left: 0;
}

.container-01 a:hover {
  color: #80af49;
}

/* css deuxieme div image */

.container-02 {
  display: flex;
  width: 100%;
  margin-top: 20%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  justify-content: space-evenly;
  flex-direction: row-reverse;
  height: auto;
}

.container-02 img,
.container-03 img {
  width: 150px;
  object-fit: cover;
  height: auto;
}

.container-02-title {
  width: 40%;
  color: #5e7f38;
}

/* container 2eme image */

.container-03 {
  display: flex;
  width: 100%;
  margin-top: 20%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  justify-content: space-evenly;
  flex-direction: row;
  height: auto;
}

/* div "que fait-on" */

.container-04-title {
  width: 80%;
  margin-top: 20%;

  margin: 20% auto;
  justify-content: center;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.container-04-title h1 {
  margin-bottom: 5%;
  font-family: "Larken-Regular";
  font-weight: bold;
}

.container-04-title span {
  color: #80af49;
}

/* les étapes div */

.etapes {
  font-family: "Larken DEMO Bold";
  text-align: center;
  position: relative;
  top: -35px;
  color: black;
}

.parent-1 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  opacity: 0;
}

.parent-1 div {
  color: black;
  width: 85%;
  margin: 0 auto;
  border-top: 3px solid rgb(190, 190, 190);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.parent-1 div h1 {
  font-family: "Integral CF Regular";
  margin-top: 20px;
  margin-bottom: 20px;
}

.parent-1 div h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.div-1 {
  grid-area: 1 / 1 / 2 / 2;
}
.div-2 {
  grid-area: 2 / 1 / 3 / 2;
}
.div-3 {
  grid-area: 3 / 1 / 4 / 2;
}
.div-4 {
  grid-area: 4 / 1 / 5 / 2;
}
.div-5 {
  grid-area: 5 / 1 / 6 / 2;
}

/* quelques jardins div */

.jardins {
  font-family: "Larken-Regular";
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
}

.container-02-title .cta {
  margin-top: 50px;
}

.container-05 img {
  width: 150px;
  object-fit: cover;
  height: auto;
}

.container-05 {
  display: flex;
  width: 100%;
  align-items: center;
  margin-top: 20%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  justify-content: space-evenly;
  flex-direction: row;
  height: auto;
}

.container-06 {
  display: flex;
  width: 100%;
  align-items: center;
  margin-top: 20%;
  margin-left: -40%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  justify-content: flex-start;
  flex-direction: row-reverse;
  height: auto;
}

.container-06 img {
  width: 250px;
  object-fit: cover;
  height: 250px;
}

.container-10 {
  display: flex;
  width: 100%;
  align-items: center;
  margin-top: 20%;
  margin-left: -25%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  justify-content: flex-start;
  flex-direction: row-reverse;
  height: auto;
}

.container-10 img {
  width: 200px;
  object-fit: cover;
  height: 200px;
}

/* NOUS CONTACTER */

.contact-01 {
  font-family: "Larken-Regular";
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
}

.pin-spacer {
  display: none;
}

/* le formulaire */

/* footer */

footer {
  width: 100%;
  height: 300px;
  background-color: black;
}

.footer-2 {
  width: 100%;
  height: auto;
  background-color: black;
}

/* dyna-01 display none */

.dyna-01 {
  display: none;
}

/* fiouuu apparition div dynamique */

.fiouu {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease-out, transform 5s ease-out;
}

.fiouu.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  display: none;
}

.loader {
  /* Initialement caché */
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: #ffe4b2; /* Fond semi-transparent */
  z-index: -2;
  transition: opacity 0.2s ease; /* Transition de l'opacité pour le fondu */
}

.loader.active {
  display: flex; /* Affiche le loader */
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.loader img {
  width: 250px; /* Taille de l'image de chargement */
  height: 250px;
  margin: 0 auto;
}

/* Animation CSS pour l'opacité */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.form-container-2 input {
  width: 200px;
}

.input-03 {
  display: flex;
  justify-content: center;
  border-radius: 10px;
  padding: 15px;
  background-color: #ff811a;
  width: 200px;
  margin: 10px auto;
  border: none;
  box-shadow: inset 0 4px 4px -2px rgba(0, 0, 0, 0.5); /* Add shadow inside at the top */
}

.input-03::placeholder {
  color: white;
  font-weight: bold;
}

.input-03:focus {
  background-color: #ff811a; /* Ensure background color stays the same on focus */
  outline: none; /* Remove default focus outline */
}

.input-03:active {
  background-color: #ff811a; /* Ensure background color stays the same on active */
}

.form-btnn {
  padding: 10px 15px;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  border-radius: 20px;
  border: 0 !important;
  outline: 0 !important;
  display: flex;
  margin-top: 20px;
  margin-bottom: 100px;
  position: relative;
  top: 0px;
  background: #5e7f38;
  color: #fbfbfb;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.form-btnn:hover {
  background: #5e7f38;
  color: rgb(255, 255, 255);
}

.form-btnn:active {
  box-shadow: none;
}

.form-btn-02 {
  padding: 10px 15px;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  border-radius: 20px;
  border: 0 !important;
  outline: 0 !important;
  display: flex;
  margin: 20px auto;
  margin-bottom: 100px;
  position: relative;
  top: 0px;
  background: #5e7f38;
  color: #fbfbfb;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.form-btn-02:hover {
  background: #5e7f38;
  color: rgb(255, 255, 255);
}

.form-btn-02:active {
  box-shadow: none;
}

#form-message {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  background-color: #e0ffe0;
  color: #005000;
  text-align: center;
}

.form-message {
  color: #000000;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}
.form-message.success {
  background-color: #e0ffe0;
  color: #005000;
}
.form-message.error {
  background-color: #ffe0e0;
  color: #500000;
}

.footer-p1 {
  color: wheat;
  font-family: "M PLUS Rounded 1c", sans-serif;
  padding: 20px;
  font-size: 12px;
  height: auto;
  width: 40%;
}

.footer-p2 {
  color: wheat;
  font-family: "M PLUS Rounded 1c", sans-serif;
  padding: 20px;
  font-size: 12px;
  height: auto;
  text-align: center;
  width: 40%;
}

.footer-p2 ul {
  display: flex;
  flex-direction: column; /* Arrange les enfants en colonne */
  align-items: center;
}

.footer-p2 ul a {
  color: white;
  text-decoration: none;
}

.footer-p3 {
  display: flex;
  flex-wrap: wrap;
}

footer {
  border-top: 2px solid grey;
  display: flex;
}

.footer-2 {
  border-top: 2px solid grey;
  display: flex;
  align-items: baseline;
}

.footer-p1-01 {
  margin-top: 40px;
}

.modif-mdp {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: 30%;
}

.erreur-mdp {
  color: black;
  width: 500px;
  height: auto;
  opacity: 0.5;
  border-left: 3px solid red;
  padding: 15px;
  margin-top: 40px;
  background-color: #ff4949;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.valid-mdp {
  color: black;
  width: 500px;
  height: auto;
  opacity: 0.5;
  border-left: 3px solid rgb(67, 243, 78);
  padding: 15px;
  margin-top: 40px;
  background-color: #44d15b;
  font-family: "M PLUS Rounded 1c", sans-serif;
}
