@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic");
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap');

body {
  font-family: 'Titillium Web', sans-serif;
  margin: 0px;
  padding: 0px;
  font-weight: 300;
  line-height: 1.65em;
}

/* Barre de navigation */
.navbar {
  margin-bottom: 150px;
}

nav {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  background-color: white;
  position: relative;
  top: 0;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 30;
}

nav img {
  width: 20px;
}

nav .onglets {
  display: flex;
  flex-wrap: wrap;
}

nav .onglets p {
  color: black;
  text-decoration: none;
  font-size: 17px;
  margin-right: 10px;
  cursor: pointer;
}

a.link {
  border-bottom: none;
  text-decoration: none;
}

a.link:hover {
  text-decoration: underline;
  color: #b34b32;
}

nav .onglets p#page-actuel {
  color: #b34b32;
}

nav .onglets input {
  margin: 8px 20px;
  padding: 15px;
  border-radius: 30px;
  border: none;
  background-color: #f2f2f2;
  outline: none;
}

/* menu burger */
#page-actuelle-menu {
  color: #b34b32;
}

.menuburger {
  display: none;
}

.burger-icon {
  margin-top: 8%;
}

.sidenav {
  height: 100%;
  width: 100vw;
  position: fixed;
  z-index: 10;
  top: 0;
  right: -500px;
  background-color: #e8e8e8;
  padding-top: 60px;
  transition: right 0.5s ease;
}

/* Sidenav menu links */
.sidenav a {
  padding-top: 25px;
  text-decoration: none;
  color: #666;
  font-size: 25px;
  display: block;
  transition: 0.3s;
  text-align: center;
}

.sidenav a:hover {
  color: #111;
}

.sidenav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Active class */
.sidenav.active {
  right: 0;
}

/* Close btn */
.sidenav .close {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
}


/* footer */
footer {
  margin-top: 100px;
  background-color: #b1c8be;
  /*padding: 30px;*/
  color: #000000;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

footer .gauche-foot {
  display: flex;
}

footer .droite-foot {
  margin-left: 10 px;
  display: flex;
}

p.charte {
  margin-right: 10px;
}

/* Fin de la barre de navigation */
@media screen and (max-width: 900px) {}

@media screen and (max-width: 480px) {
  .navbar {
    display: none;

  }

  .menuburger {

    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-right: 3%;
    position: sticky;
    top: 0px;
    z-index: 100;
    /* Assurez-vous que le z-index est élevé pour que le menu reste au-dessus du reste du contenu */
    background-color: #e8e8e8;
    width: 100%;
  }

  .burger-icon {
    padding-right: 21px;
  }

  .droite-foot {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .gauche-foot {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}