/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */
/* RESET RESET RESET */

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */
/* HEADER HEADER HEADER */

header {
  height: 100vh;
  width: 100vw;
  background: red;
  display: none;
}

.navbar {
  /* position: absolute; */
  padding: 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  background-color: rgb(0, 146, 70);
  align-items: center;
  position: fixed;
  z-index: 1000;
  top: 0;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 3vw;
}

.navbar .navbar-left .logo img {
  max-width: 80px;
}

.navbar a {
  color: rgb(66, 64, 64);
}

.nav-links {
}

.navbar .logo {
  font-size: 2em;
  font-weight: bold;
}

.h1-navbar {
  font-style: italic;
}

.navbar .nav-links ul {
  display: flex;
}

.navbar .nav-links ul li {
  margin: 0 25px;
  font-size: 24px;
  transition: color 0.3s ease-in-out;
}

.navbar .nav-links ul li:hover {
  color: #f1f1f1;
}

.menuburger {
  width: 35px;
  position: absolute;
  top: 8px;
  right: 50px;
  display: none;
}

.active {
  color: red;
  font-weight: 600;
}

@media screen and (max-width: 900px) {
  .navbar {
    padding: 0;
  }

  .menuburger {
    display: block;
    z-index: 10;
    color: black;
  }

  .nav-links {
    position: absolute;
    background-color: rgba(183, 174, 174, 0.91);
    width: 100%;
    height: 100vh;
    z-index: 2;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -100%;
    transition: all 0.5s ease;
  }

  .mobile-menu {
    margin-left: 0;
  }

  .nav-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar .nav-links ul li {
    margin: 25px 0px;
    font-size: 1em;
  }
}

/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */
/* MAIN MAIN MAIN */

main {
  width: 100%;
  margin: auto;
}

.diapo {
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}

#nav-droite,
#nav-gauche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3em;
}

#nav-droite {
  right: 20px;
}

#nav-gauche {
  left: 20px;
}

.elements {
  display: flex;
  transition: 1s linear;
}

.element {
  flex: 1 0 100%;
  position: relative;
}

.element > img {
  width: 100%;
  max-height: 800px;
  object-fit: cover;
  overflow: hidden;
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.541);
  padding: 30px;
  font-size: 2vw;
}

/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */
/* SECTION 1 */

.section1 {
  display: flex;
  padding: 0 15%;
  margin-top: 50px;
  justify-content: space-between;
}

.section1-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.section1 h2 {
  font-size: 2vw;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  margin-bottom: 15px;
}

.section1 img {
  height: 632px;
  width: 502px;
  object-fit: cover;
  margin-left: 80px;
  box-shadow: -10px 5px 5px grey;
}

.section1-text {
  background-color: rgba(0, 146, 70, 0.1);
  padding: 0 2%;
  border-radius: 25px 25px;
  max-width: 45%;
  text-align: justify;
}

.section1-text ul li,
.section1-text p {
  font-size: 20px;
}

.section1-bouton {
  border: solid 1px grey;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  text-align: center;
  background-color: rgb(0, 146, 70);
  color: #f1f1f1;
  border-radius: 5px 5px;
  padding: 10px 20px;
  text-transform: uppercase;
  transition: all 0.4s ease-in-out;
}

.section1-bouton:hover {
  color: black;
  background-color: #f1f1f1;
}

/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/
/* SECTION 2*/

.section2 {
  display: flex;
  padding: 0 15%;
  margin-top: 50px;
  flex-direction: column;
}

.section2-portraitcontainer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 50px;
}

.section2 h2 {
  text-align: center;
  font-size: 2vw;
  font-weight: 400;
  font-style: italic;
}

.portrait {
  background-color: rgba(0, 146, 70, 0.1);
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 5px;
}

.section2-portraitcontainer img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
}

.nav-links ul li a {
  text-transform: uppercase;
}

/* PAGE COMMENT */
/* PAGE COMMENT */
/* PAGE COMMENT */
/* PAGE COMMENT */
/* PAGE COMMENT */
/* PAGE COMMENT */
/* PAGE COMMENT */
/* PAGE COMMENT */

.comment,
.contact {
  display: flex;
  flex-direction: row;
  margin-top: 150px;
  width: 80%;
}

.contact {
  justify-content: space-between;
}

.comment .comment-text,
.contact .contact-text {
  display: flex;
  flex-direction: column;
}

.comment .comment-text h2 {
}

.comment .comment-text p {
}

.comment-img {
  max-width: 450px;
}

/* Page CONTACT*/

.contact-img {
  max-width: 3000px;
  box-shadow: -10px 5px 5px grey;
}

/* style.css */
body {
  font-family: Arial, sans-serif;
}

.logo {
  max-width: 80px;
}

.navbar-text {
  font-size: 1.5rem;
  font-weight: bold;
}

.carousel-caption {
  z-index: 950;
}

.carousel-caption h2 {
  font-size: 2rem;
}

.carousel-caption p {
  font-size: 1.2rem;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.document-download {
  display: flex;
}

footer {
  padding: 20px 0;
}

footer h5 {
  margin-bottom: 20px;
}

/* Carrousel */
.carousel-inner img {
  width: 100%;
  height: 500px;
  /* Vous pouvez ajuster cette hauteur en fonction de vos besoins */
  object-fit: cover;
}

/* Témoignages */
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card img {
  height: 200px;
  /* Ajustez cette hauteur selon vos besoins */
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.card-text ul {
  list-style-type: none;
  padding-left: 0;
}

.card-text ul li {
  margin-bottom: 5px;
}

/* Section 2 */
.section2 .col-md-4 {
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  .carousel-inner img {
    height: 300px;
    /* Adjust the height for mobile view */
  }

  .card img {
    height: 150px;
    /* Adjust the height for mobile view */
  }
}

/* Global styles */
body {
  font-family: Arial, sans-serif;
}

.logo {
  max-width: 80px;
}

.navbar-text {
  font-size: 1.5rem;
  font-weight: bold;
}

.carousel-caption h2 {
  font-size: 2rem;
}

.carousel-caption p {
  font-size: 1.2rem;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

footer {
  padding: 20px 0;
}

footer h5 {
  margin-bottom: 20px;
}

/* Rendre le doc-download-container responsive */
.doc-download-container {
  display: flex;
  justify-content: center;
  gap: 2%;
  align-items: flex-end;
  flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
}

.document-download {
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Styles pour les écrans de taille inférieure à 768px */
@media screen and (max-width: 768px) {
  .doc-download-container {
    flex-direction: column;
    align-items: center; /* Centrer les éléments en colonne */
    gap: 1rem; /* Espacement entre les éléments en mode colonne */
  }

  .document-download {
    width: 100%; /* Occupe toute la largeur en mode colonne */
    max-width: 300px; /* Optionnel : Limite la largeur pour les écrans très étroits */
  }
}
