header {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 15px;
  position: absolute;
  width: 100%;
  z-index: 1501;
  top: 0;
  left: 0;
  box-sizing: border-box;
}

/* LOGO */

.logo-container {
  display: flex;
  height: 100%;
}

.logo-container img {
  max-height: 50px;
}

/* NAVIGATION */

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #304f5f;
  padding: 5px;
  padding-left: 20px;
  border-radius: 30px;
  margin: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
}

nav ul li a:not(.active, .menuButton):hover {
  text-decoration: underline;
}

nav ul li a.active {
  text-decoration: underline;
}

.menuButton {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 15px;
  border-radius: 20px;
  transition: all 0.3s;
}

.menuButton:hover,
.menuButton.active {
  background: #b4c5e4;
  color: #000;
  text-decoration: none;
}

.menuButton i {
  font-size: 1em;
  transform: rotate(45deg);
}

/* MENU BURGER */

.mobile {
  display: none;
}

.hidden {
  display: none;
  opacity: 0;
}

/* RESPONSIVE */

@media screen and (width <= 768px) {
  .mobile {
    display: flex;
    gap: 5px;
  }

  nav ul {
    display: none;
  }

  .mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    aspect-ratio: 1/1;
    padding: 8px;
    border-radius: 50%;
  }

  .menu-burger {
    background-color: white;
  }

  .mobile a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .mobile img {
    width: 25px;
  }

  .mobile i {
    position: relative;
    left: 2px;
    top: 1px;
  }

  .burger-content {
    position: absolute;
    top: 60px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
    z-index: 1100;
    background-color: white;
    transition: all 0.3s ease-in-out;
  }

  .burger-content a {
    padding: 8px;
  }

  .burger-content img,
  .burger-content i {
    width: 25px;
  }
}

/* COOKIE */
.banniere-cookies {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  z-index: 10000;
}

.content-banniere {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #fff;
  border: 2px solid #486c84;
  border-radius: 25px;
  padding: 25px;
  gap: 15px;
}

.texte-explicatif p {
  margin: 0;
  color: #000;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
}

.texte-explicatif strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.accepter-cookies {
  background-color: #486c84;
  color: #fff;
  border: none;
  padding: 12px 0;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.accepter-cookies:hover {
  background-color: #b4c5e4;
  color: #000;
}

@media screen and (max-width: 500px) {
  .banniere-cookies {
    left: 20px;
    width: auto;
  }
}
