.header {
  width: 100%;
  padding: 30px 0;
  position: fixed;
  top: 0;
  z-index: 9;
  transition: background var(--time) ease-in-out,
    padding var(--time) ease-in-out;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: calc(100% - 80px);
}

.site-logo {
  position: relative;
  z-index:9;
}

.header-sticky .white-logo{
  display: none;
}

.header:not(.header-sticky) .black-logo{
  display: none;
}

/* ------------------------------------------------------------ */

.menu-ul {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  column-gap: 45px;
  transition: column-gap 0.4s ease-in-out;
}

.menu-ul a {
  font-weight: 500;
  color: #ffffff;
  padding-block: 12px;
}

.active .menu-link,
.menu-link:hover,
.sub-menu a:hover {
  color: var(--color-primary);
}

.header-sticky {
  background: #ffffff;
  padding: 20px 0;
  box-shadow: 2px -12px 20px -2px #090909;
}

/* .header-sticky img, */
.open .header img,
.open .header-sticky img {
  filter: invert();
}

.header-sticky li:not(.active) .menu-link {
  color: #090909;
}

.header-sticky .menu-ul {
  column-gap: 30px;
}

/* ------------------------------------------------------------ */

.menu-icon {
  height: 15px;
  width: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: all var(--time) ease-in-out;
  transition: all var(--time) ease-in-out;
  border-radius: 0 4px 4px 0;
  display: none;
  position: relative;
  z-index: 9;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 27px;
  background: #ffffff;
  border-radius: 4px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: all var(--time) ease-in-out;
  transition: all var(--time) ease-in-out;
}

.header-sticky .menu-icon span {
  background: #090909;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2),
.menu-icon span:nth-child(3) {
  top: 7px;
}

.menu-icon span:nth-child(4) {
  top: 14px;
}

.menu-icon.open span:nth-child(1) {
  top: 10px;
  width: 0;
  left: 50%;
}

.menu-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menu-icon.open span:nth-child(4) {
  top: 10px;
  width: 0;
  left: 50%;
}

.menu-icon.open span {
  color: var(--color-primary);
  background: var(--color-primary);
}

/* ------------------------------------------------------------  */

@media (max-width: 767px) {
  .menu-icon {
    display: block;
  }
  .menu-icon {
    display: block;
  }
  .navbar {
    position: fixed;
    width: 100%;
    z-index: 8;
    background: #ffffff;
    background-size: cover;
    top: 0;
    height: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    -webkit-transition: all var(--time) ease-in-out;
    transition: all var(--time) ease-in-out;
  }

  .header .slow {
    height: 100%;
  }

  .menu-ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .menu-ul li {
    padding: 0;
  }

  .menu-ul li + li {
    margin-top: 25px;
  }

  .menu-ul a {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    color: #090909;
  }
  .header {
    padding: 12px 0;
  }
}

@media (max-width: 768px) {
  .header .container {
    max-width: 100%;
  }
}
