/* Partie navigation */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto";
  width: 70%;
  margin: auto;
}

nav {
  background-color: #7f8c8d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 250px;
  margin-bottom: 60px;
}


.logo {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reste {
  width: 70%;
  display: flex;
  font-family: 'Roboto';
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 10%;
}

.reste h1 {
  font-size: 4em;
  margin-bottom: 0px;
  margin-top: 0px;
}

.reste h2 {
  font-size: 1em;
  font-weight: normal;
  margin-top: 0px;
  margin-bottom: 30px;
}

.reste button {
  width: 120px;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  border: 2px solid;
}



/* Partie images côte à côte */

.images-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.image-container {
  width: 40%;
  display: flex;
  justify-content: center;
  padding-left: 40px;
  padding-right: 40px;
  background-color: #7f8c8d;
  height: 800px;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.images-container-tiny {
  display: none;
  margin-bottom: 50px;
}

/* Partie historique */
.container-historique {
  margin: 0 auto;
  background-color: #e8f5e8;
  padding: 40px;
  margin-bottom: 50px;
}

.header {
  margin-bottom: 50px;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.header p {
  font-size: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.card {
  background-color: transparent;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icon {
  width: 32px;
  height: 32px;
  border: 2px solid #34495e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
  color: #34495e;
  font-style: italic;
}

.card h2 {
  font-size: 1.25rem;
  color: #2c3e50;
  font-weight: 600;
}

.card-content {
  padding-left: 47px;
  color: #4a5568;
  line-height: 1.6;
}

.card-content p {
  margin-bottom: 10px;
}

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

.card-content li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.card-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #34495e;
  font-weight: bold;
}

/*Partie footer*/

.footer {
  background-color: white;
  padding: 40px;
  margin-top: 40px;
  border-radius: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #2c3e50;
}

.footer-section p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 8px;
}

.facebook-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.facebook-icon {
  width: 24px;
  height: 24px;
}

/*style de la map Google exporté ici pour pouvoir le modifier (largeur et hauteur modifiées pour les tailles inférieures)*/

.gmapStyle {
  width: 600px;
  height: 450px;
  border:0;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer {
    padding: 30px 20px;
  }
}

@media (max-width: 968px) {
  .container-historique {
    padding: 30px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bottom-row {
    grid-template-columns: 1fr;
  }
  
    /*ici la largeur modifiée pour que la carte "rentre"*/
  .gmapStyle {
    height: 335px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container-historique {
    padding: 20px;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .card h2 {
    font-size: 1.1rem;
  }

  .card-content {
    padding-left: 0;
    margin-top: 10px;
  }

  .icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
    /*ici la largeur modifiée pour que la carte "rentre"*/
  .gmapStyle {
    height: 335px;
    width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  .images-container {
    display: none;
  }

  * {
    box-sizing: border-box
  }

  .images-container-tiny {
    display: block;
    background-color: #7f8c8d;
    padding: 20px;
  }

  /* Slideshow container */
  .slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    display: block;
  }

  /* Hide the images by default */
  .mySlides {
    display: none;
  }

  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }

  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .active,
  .dot:hover {
    background-color: #717171;
  }

  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @keyframes fade {
    from {
      opacity: .4
    }

    to {
      opacity: 1
    }
  }
  
  /*ici la largeur modifiée pour que la carte "rentre"*/
  .gmapStyle {
    height: 335px;
    width: 100%;
  }



@media screen and (max-width: 768px) {
  .reste {
    padding-right: 0%;
  }

  .round {
    width: 150px;
  }
  
  /*ici la largeur modifiée pour que la carte "rentre"*/
  .gmapStyle {
    height: 335px;
    width: 100%;
  }
  
}