@font-face {
  font-family: "Pedagogique";
  src: url("assets/fonts/Pedagogique-Bold.woff") format("woff");
  font-weight: bold;
}

@font-face {
  font-family: "Pedagogique";
  src: url("assets/fonts/Pedagogique-Medium.woff") format("woff");
  font-weight: 500;
}

@font-face {
  font-family: "Super Foods";
  src: url("assets/fonts/Super-Foods.woff") format("woff");
}

@font-face {
  font-family: "Motley Forces";
  src: url("assets/fonts/Motley-Forces.woff") format("woff");
}

@font-face {
  font-family: "Prilly Monly";
  src: url("assets/fonts/Prilly-Monly.woff") format("woff");
}

:root {
  --green: #368e49;
  --pink: #ff8ea6;
  --orange: #f57335;
  --yellow: #ffb800;
  --light-beige: #fff9eb;
  --dark-beige: #fbf4e2;
  --brown: #4e533b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

*:not(#under-links, #under-links li, #hamburger) {
  transition: all 0.2s ease-in-out;
}

body {
  background-color: var(--light-beige);
  min-width: 375px;
}

/* ------- GENERAL ------- */

h2 {
  text-align: center;
  font-family: "Motley Forces";
  font-size: 2.3rem;
  width: fit-content;
  margin: 0 auto;
  color: var(--yellow);
  font-weight: 500;
  text-transform: uppercase;
  padding: 0 7% 40px;
}

h3 {
  font-family: "Super Foods";
  font-weight: 500;
  font-size: 1.5rem;
}

#jardins-dispos p.plantation {
  font-size: 0.65rem;
}

p,
td {
  color: var(--brown);
  font-family: "Pedagogique";
  font-weight: 500;
  font-size: 0.75rem;
  margin: 0;
}

.subtitles {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  padding: 0 8% 60px;
}

section {
  margin: 0 auto;
  padding: 40px 0 60px;
  width: 100%;
}

/* main {
  margin-bottom: 100px;
} */

.connexion .grass-section {
  padding-bottom: 95px;
}

.grass-section {
  position: relative;
  padding-bottom: 200px;
}

.grass-ontop-section {
  padding-top: 80px;
}

.grass-bottom {
  position: absolute;
  bottom: -2px;
  z-index: 50;
}

.hidden {
  display: none;
}

/* ------------- BOUTONS ------------- */

/* ------- Bouton flèche retour ------- */
.cancel a svg,
.cancel a svg path {
  width: 40px;
  height: auto;
  fill: var(--green);
}

.cancel a svg:hover > path,
.cancel a svg path:hover {
  fill: var(--pink);
}

/*En commun pour tous les boutons*/

.button {
  color: var(--light-beige);
  font-family: "Pedagogique";
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: none;
  border-radius: 25px;
  height: fit-content;
  text-align: center;
}

.button:not(.confirm-button, .button-jardin):hover,
.confirm-button.enabled:hover {
  cursor: pointer;
  background-color: var(--pink);
}

/* -- Boutons généraux -- */

.button:not(.confirm-button, .button-jardin, .button-reservation-jardin) {
  background-color: var(--yellow);
}

/* -> Boutons spécifiques par page */

.cancel-box {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  grid-template-rows: auto;
  justify-items: center;
  margin-top: 15px;
}

.button-cancel {
  color: var(--light-beige);
  background-color: var(--orange);
  width: fit-content;
  padding: 15px 25px;
  border-radius: 25px;
  border: none;
  font-family: "Pedagogique";
  cursor: pointer;
}

.action {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cross svg,
.cross svg path,
.check svg,
.check svg path {
  fill: var(--light-beige);
  width: 18px;
  height: auto;
}

.cross,
#parcelles-empruntees .send-message,
#demandes-parcelles .send-message,
.check {
  width: 60px;
  height: 45px;
  border: none;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#parcelles-empruntees .send-message,
#demandes-parcelles .send-message {
  background-color: var(--pink);
}

.check {
  background-color: var(--green);
}

.check:hover {
  background-color: #2f763e;
}

.cross {
  background-color: var(--orange);
  margin-top: 10px;
}

.cross:hover,
.button-cancel:hover {
  background-color: #df5422;
}

#parcelles-empruntees .send-message:hover,
#demandes-parcelles .send-message:hover {
  background-color: #ff5d80;
}

a.button-reservation-jardin {
  text-decoration: none;
}

.voir-profil {
  display: block;
  background-color: white;
  color: var(--brown);
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  width: fit-content;
  cursor: pointer;
  margin: 10px auto 0;
}

.voir-profil:hover {
  background-color: var(--green);
  color: var(--light-beige);
}

.connexion .button,
#reservation-container .button {
  width: 100%;
  padding: 20px;
  margin-top: 50px;
}

#profils-buttons .button,
.jardin.confirm-button {
  width: 100%;
  padding: 20px 10%;
}

.jardin.confirm-button {
  margin: 30px auto 0;
}

#profils-buttons {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  width: 85%;
  margin: 20px auto 0;
  gap: 10px;
}

nav .button-jardin:hover,
.header-button:hover {
  background-color: var(--green);
  cursor: pointer;
}

.button-fonct {
  text-decoration: none;
  margin-top: 15px;
}

/* -- Boutons de confirmation changement -- */

/* -> Apparence générale */
.confirm-button,
.confirm-button[disabled] {
  background-color: #5cb7707b;
  cursor: not-allowed;
  width: fit-content;
}

.confirm-button.enabled,
.confirm-button[enabled] {
  background-color: var(--green);
  cursor: pointer;
}

/* -> Spécifique aux check button */
#confirm-image svg path,
#confirm-image svg {
  fill: var(--light-beige);
  height: 30px;
  width: auto;
}

#confirm-image {
  padding: 5px 30px;
  border-radius: 15px;
}

/* ------------- NAV ------------- */

.notif-in {
  color: var(--light-beige);
  background: var(--orange);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

li a:not(.header-button) {
  display: flex;
  gap: 7px;
}

nav {
  padding: 20px 5% 28px;
  background-color: var(--light-beige);
  position: relative;
  z-index: 100;
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  box-shadow: #6c69693d 0 5px 30px;
}

.logo-nav {
  display: block;
  width: 100px;
  height: fit-content;
}

.logo-nav img {
  width: 100%;
  height: auto;
}

#hamburger {
  width: 30px;
  cursor: pointer;
  z-index: 300;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease-in-out;
}

.line {
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 25px;
  background-color: var(--green);
  transition: all 0.25s ease-in-out;
}

.line:nth-child(1) {
  top: 0;
}

.line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.line:nth-child(3) {
  bottom: 0;
}

#hamburger.show-menu {
  position: fixed;
  top: 15px;
  left: 0;
  margin: 15px 5%;
}

#hamburger.show-menu .line:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

#hamburger.show-menu .line:nth-child(2) {
  top: 50%;
  transform: rotate(-45deg);
}

#hamburger.show-menu .line:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

#header-links,
#main-links-right,
#main-links-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#main-links-right,
#main-links-left {
  gap: 30px;
}

#main-links-right {
  margin-top: 30px;
}

#header-links,
#header-links li,
#header-links a,
#prenom-header {
  font-family: "Pedagogique";
  font-weight: bold;
  text-decoration: none;
  list-style: none;
}

#header-links,
#header-links
  a:not(#header-links a.button, #under-links a, #header-links a.login),
#prenom-header {
  color: var(--green);
}

#header-links
  a:not(
    #header-links a.button,
    #header-links a.login,
    .page_active,
    #under-links a.button,
    #under-links form a
  ):hover {
  color: var(--yellow);
}

#header-links
  a:not(
    #header-links a.button,
    #under-links a,
    #header-links a.login
  ).page_active:hover {
  color: var(--yellow);
}

#prenom-header {
  font-size: 1.3rem;
}

#under-links a:not(#under-links a.button, #under-links form a) {
  color: var(--green);
  font-weight: 500;
}

.header-button {
  padding: 15px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.button-jardin,
.connexion-button {
  width: fit-content;
  padding: 15px 25px;
  display: block;
}

.button-jardin {
  background-color: var(--pink);
}

.button-jardin:hover {
  cursor: pointer;
  background-color: var(--green);
}

#header-links {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  transform: translateY(-150%);
  justify-content: flex-start;
  text-align: left;
  padding: 0 5%;
}

#header-links.show-menu {
  transform: translateY(0);
  z-index: 200;
  padding: 100px 5%;
  width: 100%;
  height: 100vh;
  background-color: var(--light-beige);
  z-index: 100;
}

#profil-deroulant {
  border-top: solid var(--green) 1px;
  padding: 17px 0;
}

#profil-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

#under-links li {
  padding: 8px 0;
  cursor: default;
}

#profil-deroulant span img,
.profil-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.arrow,
.arrow path {
  display: none;
  width: 15px;
  height: auto;
  fill: var(--green);
}

/* ------- ACCUEIL | COJARDINER ------- */

.illu {
  position: absolute;
  height: auto;
  z-index: -1;
}

#cojardiner {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

#cojardiner .fleur-img {
  top: -7%;
  right: -8%;
  width: 40%;
}

#cojardiner .fleur-img .pétals {
  fill: var(--orange);
}

.bouton {
  fill: var(--light-beige);
}

#cojardiner .abeille {
  bottom: 20%;
  left: 10%;
  width: 40px;
  transform: rotate(15deg);
}

#cojardiner .fleur-tulipe {
  bottom: 3px;
  left: 29%;
  width: 30px;
}

#cojardiner .fleur-geo {
  bottom: 30px;
  left: 50%;
  width: 25px;
}

#cojardiner .fleur-soleil {
  bottom: 10px;
  left: 75%;
  width: 30px;
}

#grass1 path,
#grass6 path {
  fill: var(--green);
  z-index: 300;
}

/* ------- ACCUEIL | SE LANCER ------- */

#se-lancer {
  background-color: var(--green);
  position: relative;
  overflow: hidden;
}

#se-lancer h2,
#se-lancer .subtitles {
  color: var(--light-beige);
}

#se-lancer .subtitles {
  position: relative;
}

#se-lancer .subtitles::before {
  position: absolute;
  content: url(assets/img/abeille.svg);
  width: 27px;
  height: auto;
  top: -65px;
  right: 10%;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1) rotate(10deg);
}

.svg-container {
  z-index: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.content-wrapper {
  position: inherit;
  z-index: 10;
}

#se-lancer .illu {
  z-index: 0;
}

#se-lancer .fleur01 {
  top: 7%;
  left: -5%;
  width: 50%;
}

#se-lancer .fleur01 .pétals {
  fill: var(--yellow);
}

#se-lancer .fleur02 {
  top: 20%;
  right: -10%;
  width: 40%;
}

#se-lancer .fleur02 .pétals {
  fill: var(--pink);
}

#se-lancer .fleur03 {
  top: 59%;
  right: 20%;
  width: 25%;
  transform: rotate(289deg);
}

#se-lancer .fleur03 .pétals {
  fill: var(--yellow);
}

#se-lancer .tulipe {
  bottom: 8%;
  left: -15%;
  width: 40%;
  transform: rotate(-5deg);
}

#se-lancer .tulipe .fleur {
  fill: var(--pink);
}

#se-lancer .carotte {
  bottom: -5%;
  right: -4%;
  width: 50%;
}

#se-lancer h3 {
  color: var(--green);
}

#fonctionnalités {
  margin-top: 10px;
  width: 100%;
  z-index: 100;
}

.fonctionnalité {
  display: flex;
  flex-direction: column;
  background-color: var(--light-beige);
  gap: 35px;
  padding: 50px;
  padding-left: 70px;
  margin: 20px 15px;
  border-radius: 35px;
}

.fonct-img {
  width: 50%;
  max-width: 150px;
  margin: 0 auto;
}

.fonct-img img {
  width: 100%;
  height: auto;
  margin-left: -10px;
}

.fonct-contenu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet {
  position: relative;
  width: fit-content;
}

.bullet::before {
  content: url(assets/img/bullet-fleur.svg);
  position: absolute;
  bottom: 2px;
  left: -30px;
  width: 20px;
  height: 100%;
}

.fonctionnalité p {
  margin-top: 4px;
}

#grass2 path {
  fill: var(--light-beige);
}

/* ------- ACCUEIL | VALEURS ------- */

#valeurs h2,
#valeurs h3 {
  color: var(--orange);
}

#valeurs {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
  width: 100%;
  gap: 50px;
  padding-left: 8%;
  padding-right: 8%;
}

#valeurs .abeille {
  position: absolute;
  width: 50px;
  top: -58px;
  left: 6%;
  transform: rotate(25deg);
  z-index: 60;
}

.valeur {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.valeur img {
  height: 150px;
  width: auto;
}

/* ------- ACCUEIL | PHOTO ------- */

#photo .fleur01 {
  position: absolute;
  z-index: 50;
  top: 20px;
  right: 10%;
  width: 70px;
}

#photo .fleur01 .pétals {
  fill: var(--yellow);
}

#photo {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

#grass4 path {
  fill: var(--pink);
}

#photo-img {
  width: 100%;
  height: 550px;
}

#photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------- ACCUEIL | TEMOIGNAGE ------- */
#temoignage {
  background-color: var(--pink);
  position: relative;
}

#temoignage h2,
#temoignage p {
  color: var(--light-beige);
}

.quote {
  font-size: 2rem;
}

.italic {
  font-style: italic;
}

#photos {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 40px;
  width: 100%;
}

#photos img {
  border-radius: 20px;
}

#pics-col2,
#pics-col1 {
  width: 100%;
  height: auto;
}

#pics-col2 img,
#pics-col1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#pics-col1 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#pics-row {
  display: flex;
  flex-direction: row-reverse;
  gap: 15px;
}

#grass5 {
  fill: var(--light-beige);
}

/* ------- CONNEXION / INSCRIPTION ------- */
.connexion {
  position: relative;
  background-color: var(--green);
}

/* .connexion .fleur-rose,
.connexion .orange {
  position: absolute;
  z-index: -1;
} */

.connexion .orange {
  width: 50%;
  height: auto;
  top: 8%;
  left: -16%;
}

.connexion .fleur-rose {
  width: 80%;
  height: auto;
  bottom: 5%;
  right: -41%;
}

.connexion .fleur-rose .pétals {
  fill: var(--pink);
}

.cancel {
  display: block;
  margin: 0 6% 50px;
  z-index: 50;
}

.connexion .cancel a svg,
.connexion .cancel a svg path {
  fill: var(--light-beige);
}

section.login-form {
  padding: 40px 0 60px;
  z-index: 50;
  position: relative;
  overflow: hidden;
}

.connexion h2 {
  padding: 0 7%;
}

.form-connexion h2 {
  position: relative;
}

.form-connexion h2::before {
  width: 27px;
  height: auto;
  position: absolute;
  top: -50%;
  left: -7%;
  transform: rotate(15deg);
}

.inscription .form-connexion h2::before {
  content: url(assets/img/abeille.svg);
}

.form-connexion {
  background-color: var(--light-beige);
  width: 90%;
  border-radius: 45px;
  margin: 0 auto;
  padding: 10%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  width: 100%;
  max-width: 800px;
}

.connexion .form-group {
  max-width: 560px;
}

.double-form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

label,
input,
.login-form a,
legend,
textarea,
th {
  font-family: "Pedagogique";
}

label:not(.plantation-label),
legend,
.label,
th {
  color: var(--brown);
  font-weight: bold;
  font-size: 0.8rem;
}

.login-form a,
input,
textarea,
.plantation-label {
  font-weight: 500;
  font-size: 0.75rem;
}

input:not(.input-field,
    input[type="file"],
    input[type="submit"],
    input[type="radio"],
    #gestion-demandes-jardin input
  ),
textarea {
  border: none;
  border-radius: 25px;
  font-weight: 500;
  height: fit-content;
  padding: 15px;
  width: 100%;
}

input:not(input[type="file"], input[type="submit"], input[type="radio"]),
textarea {
  color: var(--brown);
}

::placeholder {
  color: #7a7e6c;
}

textarea {
  height: 200px;
}

input#cp {
  width: 40%;
}

.connexion form a {
  color: var(--brown);
  text-decoration: none;
  width: fit-content;
  margin-top: 15px;
  display: block;
}

.underlined {
  text-decoration: underline;
}

.alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 30px auto;
  width: fit-content;
  color: var(--light-beige);
  font-size: 1.2rem;
  font-family: "Pedagogique";
  background-color: var(--pink);
  padding: 35px 10%;
  border-radius: 34px;
  z-index: 400;
}

/* ------- PROFIL ------- */

/* PROFIL PERSO */
#profile-pic-form.simple-form {
  display: grid;
  grid-template-columns: 100px auto;
  grid-template-rows: repeat(3, auto);
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.simple-form {
  background-color: var(--dark-beige);
  width: 90%;
  margin: 0 auto;
  border-radius: 30px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#profile-pic-form .profile-pic {
  grid-row: 1;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  background-color: var(--pink);
}

#profile-pic-form #confirm-image {
  grid-row: 3;
  grid-column: 1/3;
}

#profile-pic-form .form-group {
  grid-row: 1;
}

.profile-pic-default {
  cursor: pointer;
  border-radius: 25px;
}

.profile-pic-default.selected {
  transform: translateY(-3px);
  border: 3px var(--light-beige) solid;
}

.profile-pic-container {
  background-color: #ff8ea700;
  gap: 2%;
  grid-row: 2;
  grid-column: 1/3;
  width: 250px;
  display: flex;
  flex-wrap: wrap;
}

.profile-pic-container img {
  width: 22%;
  height: auto;
}

.profile-pic img,
.add-jardin-pic img,
.jardin-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

#profile-pic-form .form-group {
  width: 100%;
  margin: 0;
}

#profile-form {
  margin-top: 30px;
}

input[type="file"]::file-selector-button {
  border: none;
  border-radius: 12px;
  background-color: var(--brown);
  color: var(--light-beige);
  padding: 9px;
  font-family: "Pedagogique";
  font-weight: 500;
  font-size: 0.58rem;
}

input[type="file"] {
  font-size: 0.58rem;
  color: #7a7e6c;
  max-width: 50%;
}

input[type="file"]:hover,
input[type="file"]::file-selector-button:hover {
  cursor: pointer;
}

/* MODAL MDP */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--light-beige);
  padding: 40px;
  width: 80%;
  max-width: 700px;
  border-radius: 15px;
}

.modal h3 {
  color: var(--green);
  font-size: 1.3rem;
}

#modal-header {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.close {
  font-family: "Pedagogique";
  color: var(--brown);
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.close:hover,
.close:focus {
  color: var(--orange);
  text-decoration: none;
  cursor: pointer;
}

/* .button:hover {background-color: #3e8e41}
.button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
} */

.modal .button {
  padding: 15px 30px;
  margin-top: 30px;
}

/* PROFIL UTILISATEUR AUTRE */
#profil-autre {
}

#profil-autre .profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}

#profil-autre .profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#profil-autre #reservation-carte {
  width: 45%;
  margin: 0 auto;
}

#infos-profil {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  width: 100%;
  text-align: center;
  align-items: center;
}

/* ------- AJOUT JARDIN ------- */

.add-jardin-pic {
  width: 215px;
  height: 150px;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 15px;
}

fieldset {
  border: none;
  width: 100%;
}

.plantations {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.carte-jardin .plantations {
  margin-bottom: 10px;
}

.plantation-form,
.plantation {
  display: flex;
  flex-direction: row-reverse;
  border-radius: 35px;
  width: fit-content;
  height: fit-content;
  align-items: center;
}

.plantation-form {
  gap: 10px;
  padding: 15px 25px;
}

.plantation-form label,
.plantations p {
  color: var(--light-beige);
}

.arbres {
  background-color: var(--green);
}

.legumes {
  background-color: var(--orange);
}

.fruits {
  background-color: var(--yellow);
}

.fleurs {
  background-color: var(--pink);
}

#switch-pousse {
  display: flex;
  margin-top: 35px;
  align-items: center;
  gap: 15px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(124, 117, 117, 0.759);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--green);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--green);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ------- JARDINS DISPOS ------- */

#jardins-dispos {
  position: relative;
}

/* Form recherche */

#recherche-jardin {
  background-color: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#map {
  width: 90%;
  margin: 0 auto;
  height: 400px;
}

.form-recherche {
  background-color: var(--light-beige);
  padding: 45px;
  border-radius: 25px;
  margin: 20px 5%;
}

#recherche-jardin #filterForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inline-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.end.inline-group {
  align-items: flex-end;
}

.center.inline-group {
  align-items: center;
}

.inline-content {
  width: 100%;
  max-width: 450px;
}

.rayon {
  max-width: 300px;
}

.recherche,
.surface-choix {
  width: 100%;
}

.surface-choix {
  max-width: 150px;
}

.surface-choix input {
  margin-top: 10px;
}

.form-recherche .plantations {
  width: fit-content;
  gap: 10px;
  margin: 0;
}

input#address,
.recherche input {
  background-color: white;
  background-position-x: 13px;
  background-position-y: center;
  background-repeat: no-repeat;
  padding-left: 38px !important;
}

.recherche input {
  background-image: url(assets/img/loupe.svg);
  background-size: 14px;
}

input#address {
  background-image: url(assets/img/localisation.svg);
  background-size: 10px;
}

#cartes-jardins {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: fit-content;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
  padding: 0 5%;
}

.carte-jardin {
  display: flex;
  flex-direction: column;
  background-color: #fbf4e2;
  width: 100%;
  height: fit-content;
  padding: 25px;
  gap: 25px;
  border-radius: 25px;
}

.carte-jardin p {
  width: fit-content;
}

.carte-top,
.carte-bottom,
.carte-jardin-contenu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.carte-jardin-img {
  margin: 0 auto;
  width: 287px;
  height: 198px;
  overflow: hidden;
  border-radius: 15px;
}

.carte-jardin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jardin-titre {
  font-weight: bold;
  font-size: 0.9rem;
}

#jardins-dispos .plantations {
  gap: 8px;
  margin: 0;
}

.plantation {
  padding: 7px 15px;
}

.button-reservation-jardin {
  background-color: var(--brown);
  color: var(--light-beige);
  padding: 15px;
  margin-top: 10px;
  width: fit-content;
}

/* ------- JARDINS PARTAGES ------- */

/* .parcelles {
  display: none;
} */

.pink-title {
  color: var(--pink);
}

.action-picto button,
.action-picto input {
  background-color: rgba(255, 255, 255, 0);
  border: none;
  cursor: pointer;
}

.action-picto button:hover svg path,
.action-picto input:hover svg path {
  fill: #ca4d13;
}

.action-picto svg,
.action-picto svg path {
  width: 20px;
  height: auto;
  fill: var(--orange);
}

.action-picto:first-of-type {
  margin-bottom: 15px;
}

.demandes-radio {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 15px;
  margin-left: 4%;
}

.demandes-radio div {
  width: fit-content;
  display: flex;
  gap: 10px;
}

tr td:first-child div {
  display: flex;
  gap: 20px;
}

.jardin-pic {
  width: 95px;
  height: 66px;
  overflow: hidden;
  border-radius: 15px;
}

.arrow-jardin,
.arrow-jardin path {
  width: 20px;
  height: auto;
  fill: var(--green);
}

#jardins-partages .arrow-jardin:hover path {
  fill: #245f31;
}

.jardin-ligne {
  cursor: pointer;
}

.jardin-ligne:hover {
  background-color: #e1eed4;
}

.table-container {
  padding: 0 4%;
  min-width: 375px;
  overflow-x: auto;
}

table {
  width: 100%;
  border: none;
  border-spacing: 0;
  table-layout: auto;
}

th {
  border-radius: 25px;
  padding: 15px;
  background-color: #e1eed4;
  border: 4px solid var(--light-beige);
  width: auto;
}

tbody tr {
  margin-top: 0px;
  border-radius: 25px;
}

tbody td {
  width: fit-content;
  padding: 30px;
  margin: 0;
  text-align: center;
  border-color: var(--light-beige);
  border-width: 5px;
}

tbody tr:nth-child(odd) {
  background-color: var(--dark-beige);
}

tr td:first-child {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

tr td:last-child {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

tr:first-child td {
  border-top-style: solid;
}
tr td:first-child {
  border-left-style: solid;
}

/* PAGINATION */
.pagination {
  width: 100%;
  padding: 35px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-family: "Pedagogique";
}

.pagination a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--green);
}

p.page_actuelle {
  font-weight: bold;
  font-size: 1rem;
  background-color: var(--green);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-beige);
  cursor: default;
}

/* ------- RESERVATION PARCELLE ------- */

#reservation-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  margin: 0 5%;
  gap: 50px;
}

/* PARCELLES DU JARDIN */

.jardin-parcelles {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 15px auto 0;
}

.parcelle {
  border-radius: 20px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.parcelle .surface {
  font-family: "Pedagogique";
  font-weight: 500;
  font-size: 1rem;
  color: var(--light-beige);
}

.disponible {
  background-color: var(--green);
}

.indisponible {
  background-color: #73ae7a;
  cursor: not-allowed;
  color: var(--brown);
}

.parcelle.selected {
  background-color: var(--pink) !important;
}

.parcelle.disponible:hover {
  background-color: var(--yellow);
}

#parcelle-container {
  max-width: 525px;
  width: 100%;
}

/* CARTE INFOS JARDIN */

#profil-proprio,
.infos-proprio {
  display: flex;
}

#profil-proprio {
  flex-direction: column;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background-color: var(--green);
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  padding: 35px;
}

.infos-proprio {
  align-items: center;
  gap: 10px;
}

.infos-proprio p {
  color: var(--light-beige);
  font-size: 1rem;
  font-weight: bold;
}

.send-message {
  border: none;
  background-color: rgba(255, 255, 255, 0);
  color: var(--light-beige);
  cursor: pointer;
}

#reservation .send-message {
  padding: 0 !important;
}

.send-message:hover {
  color: var(--pink);
}

.message-proprio {
  display: flex;
  gap: 10px;
}

.message-proprio input {
  font-size: 0.9rem;
  width: fit-content !important;
}

.message-proprio svg,
.message-proprio svg {
  width: 25px;
  height: auto;
  fill: var(--light-beige);
}

#infos-jardin {
  background-color: var(--dark-beige);
  display: flex;
  flex-direction: column;
  padding: 60px 35px;
  gap: 20px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.loca-jardin {
  display: flex;
  gap: 8px;
  align-items: center;
}

.loca-jardin svg,
.loca-jardin svg path {
  fill: var(--brown);
  width: 15px;
  height: auto;
}

/* ------- CONTACT ------- */
.contact .form-connexion p {
  margin: 15px auto;
  padding: 0 5%;
}

.contact .form-connexion p {
  text-align: center;
}

/* .contact .fleur-orange {
  width: 50%;
  height: auto;
  top: 8%;
  left: -16%;
}

.contact .fleur-orange .pétals {
  fill: var(--orange);
}

.contact .citron {
  width: 40%;
  height: auto;
  bottom: 30%;
  right: -5%;
}

.contact .tulipe .fleur {
  fill: var(--pink);
}

.contact .tulipe {
  width: 20%;
  height: auto;
  bottom: 10%;
  left: 5%;
} */

.contact .fleur-orange {
  width: 70%;
  height: auto;
  top: 5%;
  left: -29%;
}

.contact .fleur-orange .pétals {
  fill: var(--orange);
}

.contact .citron {
  width: 60%;
  height: auto;
  bottom: 36%;
  right: -18%;
  transform: rotate(12deg);
}

.contact .tulipe .fleur {
  fill: var(--pink);
}

.contact .tulipe {
  width: 35%;
  height: auto;
  bottom: 15%;
  left: -10%;
}

/* ------- MENTIONS LEGALES ------- */

.legal {
  padding: 7%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: var(--brown);
}

.legal h3 {
  color: var(--green);
}

.legal h4 {
  font-family: "Pedagogique";
  font-weight: bold;
  font-size: 1rem;
  margin-top: 15px;
}

.legal ul li,
.legal ul {
  font-family: "Pedagogique";
  font-weight: 500;
  font-size: 0.9rem;
  list-style: disc;
  padding: revert-layer;
}

.legal ul li {
  padding-left: 10px;
}

/* ------- MESSAGES ------- */

.chat-body {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background-color: var(--light-beige);
  font-family: "Pedagogique";
  color: var(--brown);
  border-bottom: 3px solid var(--dark-beige);
}

.header {
  color: var(--light-beige);
  background: var(--green);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 30px;
}

.header .cancel {
  margin: 0;
}

.header .cancel svg path, .header .cancel svg {
  fill: var(--light-beige);
  width: 30px;
}

.conversations-container {
  height: 84vh;
  overflow-y: auto;
}

.messages-container,
.conversation, .wrapper {
  height: 84vh;
}

.conv-content {
  border: 2px solid var(--dark-beige);
  width: 100%;
  padding: 25px 15px;
  margin: 0;
}

.conv-content:hover, .conv-content:active {
  background-color: var(--dark-beige);
}

.conv-content span {
  font-weight: 500;
}

.conv-name {
  border: none;
  background-color: rgba(255, 255, 255, 0);
  font-weight: bold;
  font-family: "Pedagogique";
  color: var(--brown);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  cursor: pointer;
}

.messages-container {
  background-color: var(--dark-beige);
}

.chat-box {
  height: 60vh;
  overflow-y: auto;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  display: flex;
  flex-direction: column;
}

.chat {
  padding: 8px 14px;
  max-width: 65%;
  width: fit-content;
  background-color: white;
  border-radius: 20px;
}

.timestamp {
  color: #4e533bc9;
  font-size: 0.65rem;
  margin-top: 6px;
}

.outgoing {
  float: right;
  background-color: white;
}

.incoming {
  float: left;
}

.conversation {
  position: relative;
  padding: 25px;
  border-bottom-right-radius: 20px;
}

.typing-area-container {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  width: 92%;
  margin: 0 4%;
}

.typing-area {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 3%;
}

.input-field {
  width: 100%;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  height: fit-content;
  padding: 15px;
}

.send {
  background-color: var(--green);
  padding: 10px 15px;
  width: fit-content;
  border: none;
  border-radius: 20px;
  width: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.send svg, .send svg path {
  fill: var(--light-beige);
  width: 30px;
}

.send:hover {
  background-color: #245f31;
}

/* ------- FOOTER ------- */

footer {
  position: relative;
  background-color: var(--light-beige);
  width: 100%;
  padding: 50px 8% 30px;
}

.grass-top {
  position: absolute;
  /* top: -2px; */
}

#grass3 path {
  fill: var(--light-beige);
}

#grassfooter path {
  fill: var(--light-beige);
}

footer h3,
footer a {
  color: var(--brown);
}

footer a {
  text-decoration: none;
  font-family: "Pedagogique";
  font-weight: 500;
}

footer a:not(a.button):hover {
  text-decoration: underline;
}

footer a:not(footer a:last-of-type) {
  padding-right: 15px;
  position: relative;
}

footer a:not(footer a:last-of-type)::after {
  content: "|";
  position: absolute;
  right: 0;
}

footer .button-jardin {
  background-color: var(--brown);
}

.footer-content div {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.footer-content div:not(.links-content) {
  padding: 40px 0;
}

.copyright {
  text-align: center;
  margin-top: 60px;
}

/* footer .border-bottom {
border-bottom: 2px var(--brown) solid;
} */

@media screen and (min-width: 460px) {
  /* ------- GENERAL ------- */

  h3 {
    font-size: 1.6rem;
  }

  p,
  #jardins-dispos p.plantation,
  td {
    font-size: 0.85rem;
  }

  /* ------- GENERAL ------- */

  #header-links {
    transform: translateX(-150%);
  }

  nav.show-menu::before {
    content: "";
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.356);
    backdrop-filter: blur(2px);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  #header-links.show-menu {
    transform: translateX(0);
    width: 80%;
  }

  /* ------- ACCUEIL | COJARDINER ------- */

  #cojardiner .fleur-img {
    top: -8%;
    right: 4%;
    width: 30%;
  }

  #cojardiner .abeille {
    left: 12%;
  }

  #cojardiner .fleur-tulipe {
    left: 26%;
  }

  #cojardiner .fleur-geo {
    bottom: 40px;
    left: 45%;
  }

  /* ------- ACCUEIL | SE LANCER ------- */
  #se-lancer .fleur01 {
    left: -13%;
  }

  #se-lancer .fleur02 {
    top: 30%;
  }

  #se-lancer .tulipe {
    width: 30%;
  }

  #se-lancer .carotte {
    bottom: -7%;
    right: -4%;
    width: 45%;
  }

  #fonctionnalités {
    display: grid;
    grid-template-columns: 0.5fr 8fr 0.5fr;
    grid-template-rows: repeat(3, auto);
    row-gap: 50px;
  }

  #fonct1 {
    grid-column: 2/4;
    border-radius: 50px 0 0 50px;
  }

  #fonct2 {
    grid-column: 1/3;
    border-radius: 0 50px 50px 0;
  }

  #fonct3 {
    grid-column: 2/4;
    border-radius: 50px 0 0 50px;
  }

  .fonctionnalité {
    margin: 0;
  }

  .fonct-img img {
    margin-left: -20px;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #valeurs .abeille {
    top: -70px;
  }

  /* ------- PROFIL ------- */

  input[type="file"]::file-selector-button {
    border-radius: 15px;
    padding: 10px;
    font-size: 0.7rem;
  }

  input[type="file"] {
    font-size: 0.7rem;
    max-width: 55%;
  }

  input:not(
      input[type="file"],
      input[type="submit"],
      #gestion-demandes-jardin input
    ),
  textarea {
    padding: 20px;
  }

  .carte-jardin-img {
    width: 375px;
    height: 247px;
  }

  .button-reservation-jardin {
    width: 90%;
    margin: 10px auto 0;
  }

  .form-connexion h2::before {
    width: 30px;
    left: -8%;
  }

  .modal-content {
    padding: 60px;
  }

  #modal-header {
    align-items: center;
  }
}

@media screen and (min-width: 576px) {
  /* ------- GENERAL ------- */
  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 1.68rem;
  }

  p,
  #jardins-dispos p.plantation,
  .login-form a,
  input,
  textarea,
  .plantation-label,
  td {
    font-size: 0.8rem;
  }

  /* ------- NAV ------- */
  #header-links.show-menu {
    width: 70%;
  }
  .logo-nav {
    width: 120px;
  }

  .demandes-radio {
    flex-direction: row;
  }

  #hamburger.show-menu {
    top: 20px;
  }

  /* ------- ACCUEIL | COJARDINER ------- */

  #cojardiner .fleur-img {
    top: -7%;
    right: 5%;
    width: 25%;
    max-width: 225px;
  }

  #cojardiner .fleur-img {
    top: -8%;
    right: 4%;
    width: 30%;
  }

  #cojardiner .abeille {
    bottom: 25%;
  }

  #cojardiner .fleur-tulipe {
    bottom: 25px;
  }

  #cojardiner .fleur-geo {
    bottom: 57px;
    left: 48%;
    width: 30px;
  }

  #cojardiner .fleur-soleil {
    bottom: 20px;
    left: 75%;
    width: 35px;
  }

  /* ------- ACCUEIL | SE LANCER ------- */

  #se-lancer .tulipe {
    width: 25%;
    left: -3%;
  }

  #se-lancer .carotte {
    bottom: -8%;
    right: 4%;
    width: 40%;
  }

  #se-lancer .subtitles::before {
    width: 30px;
    top: -70px;
  }

  #fonctionnalités {
    grid-template-columns: 1fr 8fr 1fr;
    row-gap: 50px;
  }

  .fonctionnalité p {
    margin-top: 10px;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #valeurs .abeille {
    top: -76px;
  }

  #photo .fleur01 {
    top: 30px;
  }

  /* ------- CONNEXION / INSCRIPTION ------- */
  .contact .form-connexion h2::before {
    content: url(assets/img/abeille.svg);
  }

  .connexion .fleur-rose {
    width: 55%;
    bottom: 17px;
    right: -127px;
  }

  .form-connexion h2::before {
    width: 35px;
    left: -10%;
  }

  /* ------- CONTACT ------- */

  .contact .citron {
    width: 50%;
    bottom: 30%;
  }

  /* ------- BOUTONS ------- */
  .button {
    font-size: 1.1rem;
  }

  #confirm-image {
    padding: 8px 35px;
    border-radius: 20px;
  }

  /* ------- PROFIL ------- */

  .profile-pic-default.selected {
    transform: translateY(-5px);
    border: 5px var(--light-beige) solid;
  }

  #profile-pic-form.simple-form {
    grid-template-columns: 150px auto;
  }

  #profile-pic-form .profile-pic {
    width: 150px;
    height: 150px;
  }

  .profile-pic-container {
    width: 100%;
    max-width: 700px;
  }

  input[type="file"] {
    max-width: 70%;
  }

  /* ------- JARDINS DISPOS ------- */

  #map {
    height: 500px;
  }

  .jardin-titre {
    font-size: 1.2rem;
  }

  .rayon div {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .rayon {
    max-width: 350px;
  }

  .rayon p {
    width: fit-content;
    white-space: nowrap;
  }

  #recherche-jardin #filterForm {
    gap: 35px;
  }

  .form-recherche {
    padding: 55px;
  }

  .inline-group:not(.plant.inline-group) {
    gap: 40px;
  }

  /* ------- FOOTER ------- */

  .connexion .grass-section {
    padding-bottom: 140px;
  }
}

@media screen and (min-width: 700px) {
  #cojardiner .fleur-img {
    top: -8%;
    right: 4%;
    width: 30%;
  }

  #cojardiner .abeille {
    bottom: 27%;
    left: 14%;
    width: 38px;
  }

  #cojardiner .fleur-tulipe {
    width: 27px;
    bottom: 35px;
  }

  #cojardiner .fleur-geo {
    bottom: 70px;
  }

  #cojardiner .fleur-soleil {
    bottom: 25px;
  }

  #se-lancer .tulipe {
    width: 18%;
    left: -2%;
    bottom: 8%;
  }

  #se-lancer .carotte {
    bottom: -10%;
    width: 38%;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #photo .fleur01 {
    top: 45px;
  }
}

@media screen and (min-width: 768px) {
  h2 {
    font-size: 2.6rem;
    padding: 0 8% 40px;
  }

  .connexion h2 {
    padding: 0 7% 20px;
  }

  h3 {
    font-size: 1.6rem;
  }

  /* p:not(#jardins-dispos p.plantation, p.label),
  .login-form a,
  input,
  textarea,
  .plantation-label {
    font-size: 1.1rem;
  } */

  .subtitles {
    padding: 0 10% 60px;
  }

  #accueil .subtitles {
    font-size: 1rem;
  }

  .grass-section {
    padding-bottom: 240px;
  }

  .cancel-box {
    margin-top: 20px;
  }
  /* ------- ACCUEIL | COJARDINER ------- */

  #cojardiner {
    padding-bottom: 170px;
  }

  #cojardiner .fleur-img {
    top: -8%;
    right: 4%;
    width: 30%;
  }

  #cojardiner .abeille {
    bottom: 33%;
    left: 14%;
    width: 43px;
  }

  #cojardiner .fleur-tulipe {
    width: 32px;
    bottom: 50px;
  }

  #cojardiner .fleur-geo {
    bottom: 75px;
  }

  #cojardiner .fleur-soleil {
    bottom: 30px;
  }

  /* ------- ACCUEIL | SE LANCER ------- */

  #se-lancer .fleur01 {
    width: 40%;
    left: -10%;
  }

  #se-lancer .fleur03 {
    top: 56%;
    right: 29%;
    width: 18%;
  }

  #se-lancer .tulipe {
    width: 15%;
    left: 6%;
    bottom: 10%;
  }

  #se-lancer .carotte {
    bottom: -14%;
    width: 35%;
  }

  #fonctionnalités {
    grid-template-columns: 1fr 5fr 1fr;
    row-gap: 70px;
  }
  /*
  #fonct2 {
    text-align: right;
  } */

  .button-fonct {
    margin-top: 20px;
  }

  .fonct-contenu {
    align-items: flex-start;
  }

  /* #fonct2 .fonct-contenu {
    align-items: flex-end;
  } */

  .connexion .double-form-group {
    max-width: 560px;
  }

  .double-form-group {
    flex-direction: row;
    gap: 20px;
    align-items: flex-end;
    width: 100%;
    max-width: 800px;
  }

  .add-jardin-double {
    align-items: center;
  }

  .add-jardin-pic {
    width: 301px;
    height: 210px;
    margin-right: 20px;
  }

  .fonctionnalité {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: center;
    gap: 75px;
    padding: 55px 75px;
  }

  .fonct-img {
    max-width: 250px;
  }

  .fonct-img img {
    margin-left: 0;
  }

  #fonct1,
  #fonct3 {
    border-radius: 80px 0 0 80px;
  }

  #fonct2 {
    border-radius: 0 80px 80px 0;
    flex-direction: row-reverse;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #photo-img {
    width: 100%;
    height: 700px;
  }

  #valeurs .abeille {
    top: -83px;
  }

  #photo .fleur01 {
    top: 50px;
  }

  #valeurs {
    flex-direction: row;
    gap: 8%;
    justify-content: space-evenly;
  }

  .valeur {
    gap: 35px;
  }

  /* ------- ACCUEIL | TEMOIGNAGE ------- */

  #photos {
    flex-direction: row-reverse;
    padding: 40px 8%;
  }

  #pics-col2,
  #pics-col1 {
    width: 50%;
  }

  /* ------- CONNEXION / INSCRIPTION ------- */
  .form-connexion h2::before {
    width: 45px;
  }

  section.login-form {
    padding: 80px 0 100px;
  }

  .form-connexion {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    padding: 12%;
  }

  .simple-form {
    width: 80%;
    padding: 5%;
  }

  #profile-form {
    margin-top: 50px;
  }

  .double-form-group .form-group {
    width: 47%;
  }

  .double-form-group .form-group input {
    width: 95%;
  }

  label:not(.plantation-label),
  legend,
  th,
  p.label {
    font-size: 0.85rem;
  }

  /* p.label {
    font-size: 1rem;
  } */

  input:not(input[type="file"], #gestion-demandes-jardin input),
  textarea {
    padding: 20px;
  }

  /* ------- CONTACT ------- */

  .contact .fleur-orange {
    width: 60%;
    left: -31%;
  }

  .contact .citron {
    width: 40%;
    right: -23%;
  }

  .contact .tulipe {
    width: 30%;
  }

  /* ------- BOUTONS ------- */

  .button {
    font-size: 1.05rem;
  }

  #profils-buttons {
    flex-direction: row;
    justify-content: center;
    margin: 50px auto 0;
    gap: 2%;
    width: 80%;
  }

  #profils-buttons .button,
  #reservation-container .button {
    width: fit-content;
    padding: 25px 8%;
  }

  #reservation-container .button {
    margin: 60px auto 0;
    display: flex;
    align-items: center;
  }

  .jardin.confirm-button {
    margin: 40px auto 0;
    padding: 25px 8%;
  }

  #confirm-image {
    padding: 12px 45px;
    border-radius: 25px;
  }

  /* ------- PROFIL ------- */

  .profile-pic-container img {
    width: 18%;
  }

  input[type="file"] {
    max-width: 90%;
  }

  /* ------- JARDINS DISPOS ------- */
  #cartes-jardins {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0 2%;
  }

  .carte-jardin {
    width: 47.5%;
    max-width: 600px;
    padding: 25px;
  }

  .carte-jardin-img {
    width: 223px;
    height: 155px;
  }

  /* ------- JARDINS PARTAGES ------- */

  .jardin-pic {
    width: 143px;
    height: 100px;
    overflow: hidden;
    border-radius: 15px;
  }

  /* ------- RESERVATION PARCELLE ------- */
  /* CARTE INFOS JARDIN */
  #reservation-carte {
    width: 70%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 900px) {
  #cojardiner .fleur-geo {
    bottom: 85px;
  }

  #cojardiner .fleur-soleil {
    bottom: 35px;
  }

  #se-lancer .carotte {
    bottom: -13%;
    width: 28%;
    right: 9%;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #photo .fleur01 {
    top: 60px;
  }
}

@media screen and (min-width: 960px) {
  .header-button.a:hover,
  .header-button:hover {
    color: var(--green);
    background-color: var(--light-beige) !important;
  }

  .header-button:hover .header-button a {
    color: var(--green);
  }

  /* ------- GENERAL ------- */
  h2 {
    font-size: 2.64rem;
  }

  h3 {
    font-size: 1.7rem;
  }

  p:not(#jardins-dispos p.plantation, .subtitles),
  td {
    font-size: 0.87rem;
  }

  .login-form a,
  input,
  textarea,
  .plantation-label {
    font-size: 0.8rem;
  }

  .subtitles {
    padding: 0 11% 70px;
  }

  #accueil .subtitles {
    font-size: 1.1rem;
  }

  #cojardiner {
    padding-bottom: 190px;
  }

  #cojardiner .fleur-img {
    top: -8%;
    right: 4%;
    width: 30%;
  }

  #cojardiner .abeille {
    bottom: 33%;
    left: 14%;
    width: 48px;
  }

  #cojardiner .fleur-tulipe {
    width: 39px;
    bottom: 60px;
  }

  #cojardiner .fleur-geo {
    bottom: 80px;
    left: 45%;
    width: 40px;
  }

  #cojardiner .fleur-soleil {
    bottom: 35px;
    left: 78%;
    width: 40px;
  }

  /* ------- NAV ------- */
  nav a.page_active {
    position: relative;
  }

  a::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 4px;
  }

  a.page_active::before {
    background-color: var(--yellow);
    transform-origin: bottom right;
    z-index: 300;
  }

  nav {
    flex-direction: row;
    padding: 26px 5% 23px;
    align-items: baseline;
  }

  .logo-nav {
    width: 120px;
  }

  #hamburger {
    display: none;
  }

  #header-links,
  #main-links-right,
  #main-links-left {
    flex-direction: row;
    align-items: center;
  }

  .arrow,
  .arrow path {
    display: block;
  }

  #main-links-right,
  #main-links-left {
    gap: 40px;
  }

  #main-links-right {
    margin-top: 0;
  }

  .button-jardin,
  .connexion-button {
    font-size: 0.8rem;
  }

  #profil-deroulant {
    position: relative;
    padding: 0;
    border: none;
  }

  #profil-header {
    justify-content: center;
    margin: 0;
  }

  #profil-deroulant:hover {
    cursor: pointer;
  }

  #prenom-header {
    display: none;
  }

  #header-links {
    position: initial;
    transform: translateY(0);
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
    height: fit-content;
    padding: 0;
  }

  #header-links
    a:not(
      #header-links a.button,
      #under-links a,
      #under-links a.button,
      #under-links form a,
      #header-links a.login
    ).page_active:hover {
    color: var(--green);
  }

  #under-links li {
    padding: 10px 35px;
    height: 0;
    opacity: 0;
  }

  #under-links li:first-of-type {
    padding: 35px 35px 10px;
  }

  #under-links li:last-of-type {
    padding: 10px 35px 35px;
  }

  #under-links.dropdown li {
    height: fit-content;
    opacity: 1;
  }

  #under-links {
    height: 0;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background-color: #49a15c;
    color: rgba(255, 255, 255, 0);
    display: flex;
    flex-direction: column;
    width: 280px;
    border-radius: 25px;
    text-align: left;
    z-index: -100;
    transition: opacity 0.2s ease-in-out;
  }

  #under-links.dropdown {
    z-index: 110;
    height: fit-content;
    opacity: 1;
    visibility: visible;
    color: var(--light-beige);
    transition: opacity 0.2s ease-in-out;
  }

  #under-links a:not(#under-links a.button, #under-links form a) {
    color: var(--light-beige);
  }

  #under-links li a:not(.header-button, .header-button a):hover {
    color: var(--yellow);
  }

  /* ------- ACCUEIL | SE LANCER ------- */
  #se-lancer .fleur01 {
    left: -4%;
    top: 9%;
    width: 18%;
  }

  #se-lancer .fleur02 {
    top: 21%;
    left: 5%;
    width: 15%;
  }

  #se-lancer .fleur03 {
    top: 58%;
    right: 41%;
    width: 10%;
  }

  #se-lancer .tulipe {
    width: 9%;
    left: 11%;
    bottom: 13%;
  }

  #fonctionnalités {
    row-gap: 80px;
  }

  #fonct1 {
    border-radius: 100px 0 0 100px;
  }

  #fonct2 {
    border-radius: 0 100px 100px 0;
  }

  #fonct3 {
    border-radius: 100px 0 0 100px;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #valeurs .abeille {
    top: -110px;
    width: 65px;
    left: 8%;
  }

  /* ------- CONNEXION / INSCRIPTION ------- */

  .form-connexion h2::before {
    width: 40px;
  }

  .connexion .fleur-rose {
    width: 65%;
    bottom: 0;
    right: -30%;
  }

  .connexion .orange {
    width: 50%;
    height: auto;
    top: -5%;
    left: -5%;
  }

  .form-connexion {
    width: 75%;
    padding: 6%;
  }

  label:not(.plantation-label),
  legend,
  th {
    font-size: 0.9rem;
  }

  .label {
    font-size: 0.95rem;
  }

  .connexion-form a {
    margin-top: 25px;
  }

  /* ------- CONTACT ------- */

  .contact .citron {
    width: 35%;
    right: -14%;
  }

  .contact .fleur-orange {
    width: 55%;
    left: -28%;
    top: 10%;
  }

  .contact .tulipe {
    width: 22%;
    bottom: 20%;
  }

  /* ------- Boutons ------- */

  .cancel {
    grid-column: 1;
    margin: 0 10% 50px;
  }

  h2 {
    grid-column: 2;
  }

  #profile-pic-form .button {
    padding: 14px 50px;
    border-radius: 25px;
  }

  #profile-pic-form .confirm-button svg {
    height: 45px;
    margin: 0;
  }

  #profils-buttons .button {
    width: 100%;
    padding: 30px 7%;
  }

  .jardin.confirm-button {
    margin: 60px auto 0;
    width: 70%;
    padding: 30px 7%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav .button.deconnexionbtn:hover {
    background-color: var(--orange);
  }

  /* ------- PROFIL ------- */

  #profile-pic-form .form-group {
    width: fit-content;
  }

  .profile-pic-container {
    width: 100%;
  }

  #profile-pic-form #confirm-image {
    grid-row: 1/3;
    grid-column: 3;
  }

  input[type="file"] {
    max-width: 100%;
    font-size: 0.8rem;
  }

  input[type="file"]::file-selector-button {
    padding: 12px;
    font-size: 0.8rem;
  }

  #cartes-jardins {
    gap: 40px;
  }

  .carte-jardin {
    padding: 40px;
  }

  .carte-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .carte-jardin-contenu {
    width: 50%;
  }

  /* ------- RESERVATION PARCELLE ------- */
  #reservation-container {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  #parcelle-container {
    width: 65%;
    max-width: 560px;
  }
  /* CARTE INFOS JARDIN */

  #reservation-carte {
    width: 33%;
    margin: 0;
  }

  #profil-proprio {
    gap: 20px;
    padding: 35px 20px;
  }

  /* .recherche, .surface-choix {
    width: fit-content;
  } */

  .form-recherche {
    padding: 65px;
    max-width: 1000px;
    width: 90%;
  }

  /* ------- FOOTER ------- */

  .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
  }

  footer a:not(footer a:last-of-type) {
    padding-right: 0;
  }

  footer a:not(footer a:last-of-type)::after {
    content: "";
  }

  footer .button-jardin {
    background-color: var(--brown);
  }

  .footer-content div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-content div:not(.links-content) {
    padding: 40px 0;
  }

  footer h3 {
    font-size: 1.4rem;
  }

  footer a {
    font-size: 0.8rem;
    width: fit-content;
  }

  .footer-content div {
    width: fit-content;
  }

  .connexion .grass-section {
    padding-bottom: 200px;
  }
}

@media screen and (min-width: 1024px) {
  #se-lancer .fleur03 {
    top: 58%;
    width: 6%;
    right: 39%;
  }

  #se-lancer .carotte {
    bottom: -10%;
    width: 29%;
    right: 9%;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #photo .fleur01 {
    top: 65px;
    width: 85px;
  }

  #valeurs .abeille {
    top: -125px;
    left: 8%;
  }

  .connexion .fleur-rose {
    width: 55%;
    bottom: 0;
    right: -20%;
  }

  .connexion .orange {
    width: 40%;
    height: auto;
    top: -5%;
    left: -5%;
  }

  .connexion .grass-section {
    padding-bottom: 310px;
  }

  #cojardiner {
    padding: 140px 0 245px;
  }

  #cojardiner .fleur-img {
    right: 15%;
    max-width: 250px;
  }

  .button-jardin,
  .connexion-button {
    font-size: 0.9rem;
  }

  .fonctionnalité {
    padding: 80px 90px;
  }

  .form-connexion {
    width: 58%;
  }

  .double-form-group .form-group input {
    width: 90%;
  }

  /* ------- CONTACT ------- */

  .contact .citron {
    width: 27%;
    right: 2%;
    bottom: 35%;
  }

  .contact .fleur-orange {
    width: 40%;
    left: -7%;
    top: 4%;
  }

  .contact .tulipe {
    width: 12%;
    bottom: 28%;
    left: 4%;
  }

  /* ------- NAV ------- */

  #main-links-right,
  #main-links-left {
    gap: 50px;
  }
}

@media screen and (min-width: 1150px) {
  #cojardiner .fleur-tulipe {
    bottom: 75px;
  }

  #cojardiner .fleur-geo {
    bottom: 100px;
  }

  #cojardiner .fleur-soleil {
    bottom: 50px;
  }

  #se-lancer .fleur01 {
    left: -4%;
    top: 9%;
    width: 17%;
  }

  #se-lancer .fleur02 {
    top: 22%;
    left: 5%;
    width: 14%;
  }

  #se-lancer .carotte {
    bottom: -16%;
    width: 27%;
  }

  #photo-img {
    height: 820px;
  }
}

@media screen and (min-width: 1350px) {
  #cojardiner .abeille {
    bottom: 37%;
  }
  #cojardiner .fleur-tulipe {
    bottom: 85px;
  }

  #cojardiner .fleur-geo {
    bottom: 115px;
  }

  #cojardiner .fleur-soleil {
    bottom: 60px;
  }

  #se-lancer .carotte {
    bottom: -18%;
    width: 25%;
    max-width: 400px;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #photo .fleur01 {
    top: 80px;
  }

  #valeurs .abeille {
    top: -135px;
  }
}

@media screen and (min-width: 1500px) {
  #cojardiner .abeille {
    bottom: 39%;
  }
  #cojardiner .fleur-tulipe {
    bottom: 100px;
  }

  #cojardiner .fleur-geo {
    bottom: 135px;
  }

  #cojardiner .fleur-soleil {
    bottom: 65px;
  }

  /* ------- ACCUEIL | VALEURS ------- */

  #valeurs .abeille {
    top: -145px;
  }

  #photo-img {
    height: 1000px;
  }

  .footer-content {
    justify-content: space-evenly;
    gap: 200px;
  }
}
