


/*barre de navigation*/
nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center; 
  column-gap: 20px; /* Ajouté pour l'écartement entre les éléments */
  height: 50px;
  margin-bottom: 5%;
  padding-top: 2%;
  padding-bottom: 2%;
  background-color: #a9bfee;
  flex-wrap: nowrap; /* Empêche le replie des éléments */
}

.nav_container{
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav {
  background-color: rgb(255, 255, 255);
  color: black;
  list-style-type: none;
  padding: 1% 20px;
  margin-right: 10%;
  font-size: 20px;
  border-radius: 5px;
  text-decoration: none;
  align-content: center;
}

.nav:hover {
  background-color: #d4eef8;
}

.logo {
  margin-left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  margin-right: 10%;
}





/*footer*/


.bas_de_page {
  clear: both;
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 5%;
  margin-top: 5%;
  padding-left:5px;
  background-color: #a9bfee;
  align-items: center;
}


#reseau{
  display: flex; 
  justify-content: center;
  flex-direction: row;
  gap: 15%;
}


.p {
  background-color: #a9bfee;
  font-size: 20px;
}

.bas {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly; 
  width: 100%; 
  gap: 15%; 
}

#instagram{
  padding-right:11%;
}

.instagram, .facebook {
  width: 50px;
  height: 50px;
  margin-top: 1%;
  margin-bottom: 1%;
  padding-right: 10%;
  max-width: 50px;
}


.instagram {
  margin-left: 20%;
  border-radius: 30px;
}

a{
  text-decoration: none;
  color: black;
}




















/*Responsive site*/
nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
  height: 50px;
  margin-bottom: 5%;
  padding-top: 2%;
  padding-bottom: 2%;
  background-color: #a9bfee;
  flex-wrap: nowrap;
}

.nav_container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav {
  background-color: white;
  color: black;
  list-style-type: none;
  padding: 1% 20px;
  font-size: 20px;
  border-radius: 5px;
  text-decoration: none;
  align-content: center;
}

.nav:hover {
  background-color: #d4eef8;
}

.logo {
  margin-left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 30px;
}

@media screen and (max-width: 1024px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .nav_container {
    flex-direction: column;
    align-items: center;
  }

  .nav {
    font-size: 18px;
    padding: 8px 15px;
    margin: 5px 0;
  }

  .logo {
    margin: 10px auto;
  }
}


@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  .nav_container {
    flex-direction: column;
    width: 100%;
  }

  .nav {
    width: 80%;
    text-align: center;
    margin: 5px 0;
  }

  .logo {
    width: 50px;
    height: 50px;
  }

  .bas_de_page {
    flex-direction: column-reverse;
    text-align: center;
  }

  .bas {
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .nav {
    font-size: 16px;
    padding: 5px 10px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .instagram, .facebook {
    width: 40px ;
    height: 40px;
  }
  .facebook{
    padding-top: 18%;
    padding-left: 18%;
  }
  .instagram{
    padding-top: 18%;
  }
  .p{
    font-size: 15px;
  }
}
