.header {
  text-align: center;
  background-color: #0B342F;
  border-bottom: 1px solid #0B342F;
  width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 2;
}

.header__title {
  text-transform: uppercase;
  letter-spacing: 4px;
  padding: 25px 0 0 0;
  color: white;
}

.header__title a {
  text-decoration: none;
}

.header__title a:hover,
.header__title a:visited {
  color: #fff;
}

.button-primary--header {
  position: absolute;
  right: 20px;
  top: 4px;
}

.header__nav {
  display: block;
}

.nav-is-open {
  display: block;

}

.nav ul {
  margin: 15px 0;
}

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

.header__nav ul li a {
  display: block;
  height: 100%;
  padding: 10px 0;
  color: white;
  text-decoration: none;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;

}

.header__nav ul li a.active,
.header__nav ul li a:hover {
  color: #fafafa;
  text-decoration: underline;
}



.header__toggle-menu-button {
  display: none;
  position: absolute;
  left: 15px;
  top: 22px;
  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: #fff;
  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__title {
    max-width: 435px;
    margin: 0 auto;

  }
}

@media screen and (max-width: 800px) {
  .button-primary--header {
    position: relative;
    top: auto;
    right: auto;
    margin: 14px;
  }

  .header__title {
    font-size: 26px;
    line-height: 34px;
  }
}

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

  .header__nav {
    display: none;

  }

  .header__nav.nav-is-open {
    display: block;
    position: fixed;
    left: 0;
    top: 120px;
    background: #0B342F;
    width: 100%;
    box-shadow: 0 24px 16px rgb(0 0 0 / 6%);
    z-index: 2;
  }


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

  .header__title {
    width: 85%;
    padding: 22px 0 0 0;
    margin: 0 auto;
    margin-left: 42px;
    font-size: 20px;
    line-height: 30px;
  }



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

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


@media screen and (max-width: 320px) {
  .header__title {
    font-size: 14px;
    line-height: 20px;
  }
}