body{
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'Nunito sans', sans-serif;
    overflow-x: hidden;
}
h1, h2, h3, li{
  font-family: 'Montserrat',sans-serif;
}
html{
    scroll-behavior:smooth;
}
/****************************************************************Barre de Navigation********************************************************************/

.navbar {
  display: flex;
  justify-content:space-evenly;
  align-items: center;
  padding: 10px 20px;
  background-color: #8eb4a8;
  position: sticky;
  top: 0;
  z-index: 1000;

}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;

}
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

section{
  scroll-margin-top: 80px;
}

/********************************************************************** Responsive Burger ********************************************************/
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #8eb4a8;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }
  
}

/*********************************************************************Première partie *******************************************************/
main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #00644A ;
    background-image: url(image/carte-france.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70vh;
    height: 80vh;
    text-align: center;
    position: relative;
    padding: 20px;
}

.logDis{
    position: static;
    max-width: 90%;
    max-height: auto;
}

.actDis{
    color: rgb(255, 255, 255);
    font-size: 1.2rem;;
    position: static;
    max-width: 90%;
}

/*********************************************************************Separation en vert pale**************************************************/

.separation{
    width: 100%;
    height: 50px;
    background-color: #8EB4A8;
    margin:0px;
    
}

/*********************************************************************Partie Acteur Engagé******************************************************************/

.acteur{
    position: relative;
    background-color: white;
    color: #00644A;
    margin: 0;
    max-width: 100%;
    max-height: auto;
}

.acteur h1{
    position: relative;
    padding: 2rem 0 2%;
    text-align: center;
    margin: 0;
}
.actexpli{
  text-align: center;
    position: relative;
    color: #777777;
    font-size: 18px;


}


@media(min-width:768px){

.parking{
    height: auto;
    max-width: auto;
    color: #777777;
    position: relative;
    color: #00644A;
    padding-left: 1em;
    text-align: center;
}
}
/***********************************************************************************Partie Implantation stations-service*****************************************************/

.implantationS-S{
  position: relative;
    background-color: #00644A;
    line-height: 1.5;
    margin: 0 ;
    max-width: 100%;
    max-height: auto;
    color: white;
}

.implantationS-S h1, h3{
  margin: 0;
  text-align: center;
  font-size: 20px;
}
.implantationS-S h3{
  color: white;
}
.implantationS-S h1{
  background-color: #00644A;
  padding-top: 2rem;
}
.implantationS-S p{
  text-align: center;
}
.terrains-grand,
.terrains-petit{
  display: none;
}
/**************************Version Vertical*********************************************/
@media only screen and (orientation: portrait){
          .terrains-petit {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin: 40px auto;
          }

          .maps-petit {
            border-radius: 10px;
            width: 80%;
            max-width: 300px;
          }

          /* Liste en deux colonnes sur mobile */
  .position-petit {
    color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 40px;
    max-width: 700px;
    text-align: left;
  }
  .parkcam-petit{
    display: flex;
    width: 300px;
    border-radius: 10px;
    align-items: center;
    padding-bottom: 5px;
}
  .position-petit li {
    margin: 0.5rem 0;
    break-inside: avoid;
    padding-left: 10px;
  }
}
/*************************Version Horizontal*****************************************/
@media only screen and (orientation: landscape){
  .terrains-grand {
  display: flex;
  align-items: center;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
}

.position-grand,
.position-granD {
  list-style: none;
  padding:0;
  margin: 0;
  text-align: left;
  color: white;
}
.position-granD{
  margin-top:auto ;
  margin-bottom: auto;
}
.position-grand{
  margin-top: auto ;
  margin-bottom: auto;
}
.parkcam{
  border-radius: 10px;
  margin-top: auto;
  margin-bottom: auto;
}

.maps-grand {
  border-radius: 10px;
  margin: 0 40px;
  width: 500px;
}
/*****************************************************/
}
.contacte{
  margin-bottom: 10px;
  margin-top: 16px;
}
.contacte:last-of-type{
  margin: 0;
  padding: 5px;
}

/**************************************************************************Partie Stockage Energie***********************************************************************/

.energie{
  color: #777777;
  border: 0;
  height: auto;
  padding: 1px;
  text-align: center;
}
.energie h1, h3{
  color: #00644A;
}
.energie p{
  line-height: 1.5;
  
}

.batterie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}
@media only screen and (orientation: landscape){
.stockverte{
  border-radius: 10px;
  max-width: 850px; /* largeur max sur grand écran */
  max-height: auto;
}

}
@media only screen and (orientation: portrait){
.stockverte{
  border-radius: 10px;
  max-width: 300px; /* largeur max sur grand écran */
  max-height: auto;
}
}
.stockair{
width: 100%;
  max-width: 600px; /* largeur max sur grand écran */
  height: auto;
  border-radius: 10px;
}


.contacts p{
  color: black;
  margin-bottom: 10px;
  margin-top: 16px;
}

/*****************************************************************************Partie Recherche de foncier*****************************************************************/

.foncier{
  background-color: #00644A;
  line-height: 1.5;
  border: 0;
  height: auto;
  color: white;
  padding: 1px;
  text-align: center;
}
.foncier h3{
  padding-top: 20px;
  color: white;
}
.foncier img{
  display: flex;
  max-width: 80%;

  margin: auto;
  align-items: center;
}

/***********************************************************************************************Partie Pourquoi Distry*********************************************************/

.pourdis{
  color: #00644A;
  line-height: 1.5;
  text-align: center;
  list-style-position:inside;
}
.pourdis p{
  color: #777777;
}
.fin{
  font-size: 22px;
}
.liste{
  color:#777777;
  padding: 0 12px;
}
ul{
  padding: 0;
}

/*Partie Mention Légale*/

.menale{
  background-color: #00644A;
  border: 0;
  display: flex;
  justify-content:space-evenly; 
  color: white;
  padding: 5vh 0;
  text-align: center;
}
.lepage {
  color: white;
  text-decoration: none;
}
.lepage:hover{
  color: #777777 ;
}
.lepage::after{
  color: #777777;
}


/*responsive*/

@media (max-width: 768px) {
  body {
      padding: 0 ;
  }
  section {
      width: 100%; /* Take full width on small screens */
  }
}

