.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: transparent;
  width: 100%;
  padding: 1rem 2rem;
  transition: 0.4s;
}

html:not([data-scroll='0']) .header-bar {
  background: #EFF0F4;
  box-shadow: 1px 0.5px 10px #bec1cc;
}

.rounded-menu {
  border: 1px solid #cccccc;
  border-radius: 100px;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.rounded-menu a {
  padding: 0.7rem;
  display: inline-block;
  color: black;
}

.rounded-menu .current {
  padding: 0.7rem;
  display: inline-block;
  background: white;
}

.rounded-menu .ext1 {
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}

.rounded-menu .ext2 {
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
}


#decouvert-btn,
#close-decouvert-btn {
  display: none;
}

#decouvert-btn {
  z-index: -1;
}

.logo-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;

  img {
    width: 4rem;
  }
}

@media (max-width: 870px) {

  #decouvert-btn,
  #close-decouvert-btn {
    display: inline-block;
    background: transparent;
    height: fit-content;
    border: none;
    font-size: 2em;
    margin-right: 1rem;
  }

  .hide-nav {
    width: 100vw;
    height: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
  }

  .hide-nav>div {
    flex-direction: column;
    align-items: center;
  }

  .hide-nav>div>a {
    border-right: none;
  }

  .show-nav {
    height: 100vh;
    background: white;
    z-index: 999999999;
  }


  .rounded-menu {
    flex-direction: column;
    border: none;
  }

  .show-nav button {
    position: fixed;
    right: 2rem;
    top: 2rem;
  }
}

@media(max-width: 480px) {
  .main-nav {
    justify-content: center;
    gap: 1rem;
  }
}