header#site-header {
  position: fixed;
  padding: 32px 0;
  width: 100%;
  z-index: 1001;
  transition: background-color 0.12s ease-in-out;
}

header#site-header .menu-wrapper__inner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease-in-out, visibility 0.12s ease-in-out;
}

header#site-header a.custom-logo-link {
  position: relative;
}

header#site-header a.custom-logo-link svg {
  transition: color 0.3s ease;
  color: black;
}

header#site-header a.custom-logo-link.white svg {
  color: white;
}

header#site-header.toggled {
  background-color: #5D0BFF;
  transition: background-color 0.12s ease-in-out;
}

header#site-header.toggled .menu-wrapper__inner {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.12s ease-in-out, visibility 0.12s ease-in-out;
}

header#site-header.toggled a.custom-logo-link svg {
  transition: color 0.3s ease;
  color: white;
}



.header__container {
  max-width: 100%;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.header__logo {
  display: flex;
}

.burger {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  background: transparent;
  padding: 0;
}

.burger svg.burger-text path {
  transition: all 0.12s ease;
}

.burger span {
  position: relative;
  display: block;
  padding: 0;
  width: 32px;
  height: 26px;
  outline: none;
  background: transparent;
  font-size: 0;
}

.burger.white span::after,
.burger.white span::before {
  background: #fff;
  transition: all 0.12s ease;
}

.burger.white svg.burger-text path {
  fill: #fff;
  transition: all 0.12s ease;
}

.burger span::after,
.burger span::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background: #191919;
  left: 0;
  transition: all 0.12s ease;
}

.burger span::before {
  top: 9px;
}

.burger span::after {
  bottom: 9px;
}

.burger.open span::after,
.burger.open span::before {
  background: #fff;
}

.burger.open svg.burger-text path {
  fill: #fff;
  transition: all 0.12s ease;
}

.burger.open span::before {
  top: 50%;
  transform: translate(0, -50%) rotate(-45deg);
  transition: all 0.12s ease;
}

.burger.open span::after {
  top: 50%;
  bottom: auto;
  transform: translate(0, -50%) rotate(45deg);
  transition: all 0.12s ease;
}

@media screen and (max-width: 767px) {
  .burger svg.burger-text {
    display: none;
  }
}

nav#site-navigation {
  display: none;
  max-width: 100%;
  padding: 20px 40px 6px 40px;
  max-height: 500px;
  height: 100vh;
  width: 100%;
}

.menu-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.menu-wrapper__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

ul#primary-menu {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px 45px;
  flex-wrap: wrap;
}

ul#primary-menu li {
  display: flex;
}

ul#primary-menu a {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 120%;
  transition: color 0.3s;
  padding: 0 2px;
}

/* Contacts navigation */
ul#contacts-menu {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  flex-wrap: wrap;
}

ul#contacts-menu li {
  display: flex;
}

ul#contacts-menu>li a {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 155%;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

ul#contacts-menu>li a:hover {
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 1080px) {
  ul#primary-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: auto;
    margin-top: auto;
  }

  ul#primary-menu a {
    font-size: 43px;
    letter-spacing: -1.29px;
    line-height: 110%;
  }

  .menu-wrapper {
    height: 100%;
    align-items: center;
  }

  ul#contacts-menu {
    align-items: flex-start;
    gap: 8px;
  }

  ul#contacts-menu>li a {
    letter-spacing: 1.12px;
  }

  header#site-header {
    padding-bottom: 80px;
  }

  header#site-header .menu-wrapper__inner {
    height: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
  }

  nav#site-navigation {
    overflow-y: auto;
    padding: 20px 30px 0px 30px;
  }
}