
/*=============== HEADER ===============*/
.header {
  position: relative;
  width: 100%;
  background-color: var(--black-color);
  border-bottom: 1px solid var(--secondary-color);
  z-index: 9999;
}




/*=============== NAV ===============*/
.nav {
  height: var(--header-height);

}


.nav__burger, 
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content:space-between;
  align-items: center;
  margin-right: 15px;
}

.nav__logo {
    display: flex;
}

.nav__logo img {
  width: 32px;
  height: 50px;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

.nav__link.active {
  color: #00ff66;
}


@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--black-color);
    padding-top: 1rem;
  }
  .nav__list2 {
    display: none;
  }

  .dropdown__menu {
  max-height: 0;
  overflow: hidden;
  border: none;
  transition: max-height .6s ease-out;
}
}

.nav__link {
  color: var(--nav-text-color);
  background-color: var(--black-color);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.nav__link a{
  color: var(--nav-text-color);
  transition: all 0.3s ease;
}

.nav__link:hover {
  color: var(--secondary-color);
}

.nav__link a:hover {
  color: var(--secondary-color);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 4.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size:  1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--white-color);
  background-color: var(--black-color);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: 400;
  transition: color .3s;
}


.dropdown__link:hover {
  color: var(--secondary-color);
}


.dropdown__menu {
  max-height: 0;
  overflow: hidden;
  border: 1px solid var(--secondary-color);
  transition: max-height .6s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 0.5rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--black-color);
  border-bottom: 1px solid var(--secondary-color);
}

  .container {
    margin-inline: 2rem;
  }
  .nav {
    height: calc(var(--header-height));
  display: flex;
  width: 100%;
  justify-content: space-between;
    /* border: 2px solid #fff; */
  }
  .nav__toggle {
    display: none;
  }

  .nav__data {
  height: 100%;
  width: 0;
  display: flex;
  justify-content:space-between;
  align-items: center;
}


  .nav__list {
    height: 100%;
    width: 100%;
    display: flex;
    padding-left: 40px;
    column-gap: 2rem;
    /* border: 2px solid #fff; */
  }
    .nav__list2 {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: end;
    column-gap: 2rem;
    /* border: 2px solid #fff; */
  }

      .nav__list3 {
    display: none;
  }

  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .nav__data {
  justify-content: center;
}

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: -2rem;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link {
 padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }


  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 4.5rem;
    pointer-events: initial;
    transition: top .3s;
  }


  

}