@charset "UTF-8";

.bandeau {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 0 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.topnav {
  /* background-color: #8996d5; */
  display: flex;
  align-items: center;
  flex: 1;
}

.topnav a {
  float: left;
  display: block;
  /* color: #ffffff; */
  color: #000000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  /* background-color: #e5a5fc; */
  /* color: #ffffff; */
  color: #000000;
}

.topnav .icon {
  display: none;
  /* color:#ffffff; */
  color: #000000;
  font-weight: bold;
}

.dropdown {
  overflow: hidden;
}

.nav-items img {
  width: 30px;
  height: 30px;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  /* color: #ffffff; */
  color: #000000;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #000000;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  /* background-color: #a5b4fc; */
  /* color: white; */
  color: #000000;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: #000000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav-items {
  display: flex;
  align-items: center;
}

.nav-items + .nav-items {
  margin-left: auto;
}

.nav-items + .nav-items .dropdown-content {
  right: 0;
  left: auto;
}

@media screen and (max-width: 390px) {
  .topnav {
    background-color: #ffffff;
  }

  .nav-logo {
    flex: 1;
    justify-content: center;
  }

  .nav-items + .nav-items {
    margin-left: 0;
  }

  .nav-items:first-of-type {
    display: none;
  }

  .topnav a.icon {
    display: flex;
    align-items: center;
    align-self: stretch;
    order: -1;
  }

  .topnav a.icon:hover {
    background-color: #f9f9f9;
    color: #000000;
  }

  .topnav.icon-hover-open .nav-items:first-of-type,
  .topnav.responsive .nav-items:first-of-type {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
    min-width: 180px;
    float: none;
  }

  .topnav.icon-hover-open .nav-items:first-of-type .dropdown,
  .topnav.responsive .nav-items:first-of-type .dropdown {
    float: none;
    overflow: hidden;
  }

  .topnav.icon-hover-open .nav-items:first-of-type .dropdown .dropbtn,
  .topnav.responsive .nav-items:first-of-type .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }

  .topnav.icon-hover-open .nav-items:first-of-type .dropdown:hover .dropdown-content,
  .topnav.responsive .nav-items:first-of-type .dropdown:hover .dropdown-content {
    display: block;
    position: relative;
    width: 100%;
    box-shadow: none;
  }

  .topnav.icon-hover-open .nav-items:first-of-type .dropdown-content a,
  .topnav.responsive .nav-items:first-of-type .dropdown-content a {
    display: block;
    margin-left: 20px;
  }

  /* Hide icon when .responsive is active (hamburger clicked) */
  .topnav.responsive .icon {
    display: none;
  }
}
