.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--fixed-header, 99);
  width: 100%;
  transition: all 0.3s;
}
.scroll-header {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(111, 111, 111, 0.1);
}
.header .container {
  display: flex;
  align-items: center;
  transition: height 0.3s;
  height: var(--header-height);
}
.header__logo {
  height: 60%;
  display: block;
  font-size: 0;
}
.header__logo img {
  height: 100%;
}
.nav__item a {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--title-color-light);
}
.nav__item a.active-link {
  color: var(--first-color);
  position: relative;
}
.nav__item a.active-link::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -7px;
  width: 0.5rem;
  height: 4px;
  border-radius: 4px;
  background-color: var(--first-color-d);
}
.nav__toggle {
  display: none;
}

@media screen and (max-width: 767px) {
  .header .container {
    position: relative;
  }
  .nav {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 6px rgba(111, 111, 111, 0.1);
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    transition: 0.3s;
  }
  .nav.show-menu {
    top: 0;
    /* top: var(--header-height); */
  }
  .nav__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .nav__toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  .nav__toggle img {
    width: 60%;
  }
}

@media screen and (min-width: 768px) {
  .nav {
    display: block;
  }
  .nav__list {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 2.4rem;
    margin-left: 2.4rem;
  }
}

@media screen and (min-width: 992px) {
  :root {
    --header-height: 104px;
  }
  .scroll-header {
    --header-height: 80px;
  }
  .nav__list {
    gap: 5.5rem;
    margin-left: 5.5rem;
  }
  .nav__item a {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1560px) {
  :root {
    --header-height: 124px;
  }
  .scroll-header {
    --header-height: 104px;
  }
  .nav__item a {
    font-size: 2rem;
  }
  .nav__item a.active-link::after {
    height: 7px;
    width: 0.8rem;
    bottom: -10px;
  }
}
