.header {
  text-align: center;
  background-color: #F2CFEE; /*main*/
  display: flex;
  align-items: center;
  width: 100%;
  padding-bottom: 8px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 3;
}

.header__mobile {
  display: none;
}

.isDesktop,
.nav-is-open ul li.isDesktop {
  display: block;
}

.header__title {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  align-items: center;
  text-decoration: none;
  font-family: "DMsans-b";
}

/* Custom css depending of logo shape */

.header__img {
  width: 200px;
}

.header__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 42px;
}

.header__nav>div {
  flex: 1;
  text-align: center;
}

.header__nav>div.isDesktop {
  flex: 0 0 auto;
  margin: 0 auto;
}

.header__nav ul {
  margin-top: 22px;
}

.header__nav ul li {
  display: inline-block;
  text-align: center;
  margin: 0 20px;
  padding: 0;
}

.header__nav ul li a {
  display: block;
  height: 100%;
  padding: 10px 0;
  color: #191919; /*if light bg, keep, if dark change to fff*/
  text-decoration: none;
  font-size: 16px;
  line-height: 21px;
  font-family: 'DMsans-sb';
}

.header__nav ul li a.active,
.header__nav ul li a:hover {
  color: #D8BCEB; /*if light bg, keep, if dark change to fff*/
  position: relative;
}

.header__nav ul li a.active::before {
  content: '';
  width: 100%;
  position: absolute;
  background-color: #D8BCEB; /*if light bg, keep, if dark change to fff*/
  height: 1px;
  bottom: 6px;
}

@media only screen and (max-width: 480px) {

  .header__nav {
    display: none;

  }
}

.header__nav.nav-is-open {
  display: block;
  position: fixed;
  left: 0;
  top: 38px;
  background: white;  /*main*/
  width: 100%;
  box-shadow: 0 24px 16px rgb(0 0 0 / 6%);

}


.header__toggle-menu-button {
  display: none;
  position: absolute;
  left: 15px;
  top: -14px;
  cursor: pointer;
  z-index: 3;
  transform: rotate(0deg);
  width: 32px;
  height: 32px;
}

.header__toggle-menu-button>span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 1px;
  background-color: #333333;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.header__toggle-menu-button span:nth-child(1) {
  top: 0px;
  transform-origin: left center;
}

.header__toggle-menu-button span:nth-child(2) {
  top: 12px;
  transform-origin: left center;
}

.header__toggle-menu-button span:nth-child(3) {
  top: 24px;
  transform-origin: left center;
}

.header__toggle-menu-button.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 4px;
  left: 4px;
}

.header__toggle-menu-button.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.header__toggle-menu-button.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 27px;
  left: 4px;
}


@media screen and (max-width: 1024px) {

  .header__nav {
    justify-content: flex-end;
  }

  .header__nav ul li {
    margin: 0 5px;
  }


}

@media screen and (max-width: 800px) {

  .button-white--header {
    top: -8px;
  }

  .header__nav ul:nth-child(2) {
    margin: 0;
  }


}

@media screen and (max-width: 480px) {

  .isDesktop,
  .nav-is-open ul li.header__desktop--button {
    display: none;
  }

  .header__toggle-menu-button {
    display: block;
  }

  .header {
    height: 80px;
    position: fixed;
  }

  .header__mobile {
    display: block;
    position: absolute;
    width: 100%;
    top: -20px;
    left: 0;
  }

  .header__mobile>button {
    position: absolute;
    right: 16px;
    top: 4px;
  }


  .header__nav ul li a {
    padding: 10px 20px;
  }

  .header__nav ul li a.active::before {
    background-color: transparent;
  }

  .header__nav ul {
    margin: 0;
  }

  .nav-is-open ul li {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    text-align: left;
    background-color: white; /*main*/
  }



  .header__title {
    font-size: 13px;
    line-height: 18px;

  }


  .button-white--header {
    position: absolute;
    right: 20px;
    top: -16px;
    padding: 5px 10px;
  }

  .header__nav.nav__is-open ul li {
    display: flex;
    flex-direction: column;
    margin: 0;
    border-bottom: 1px solid #f1f1f1;
    padding: 8px;
  }

  .header__nav ul:nth-child(2) {
    margin: 0;
  }
}