.tab ul {
  list-style-type: none;
}

.tab a {
  text-decoration: none;
}

.tab {
  width: 100%;
  background-color: var(--torr-blue-color);
  z-index: 60;
  padding: 0 8%;
}

.navi {
  height: var(--header-height);
  font-size: var(--fs-200);
}
.navi__logo {
  margin-left: 0;
}
.navi__logo,
.navi__burger_tab,
.navi__close_tab {
  color: white;
}

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

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

.navi__burger_tab,
.navi__close_tab {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.navi__close_tab {
  opacity: 0;
}

/* mobile  */
@media screen and (max-width: 1250px) {
  .tab {
    padding: 0;
  }
  .navi__tab {
    position: absolute;
    left: 0;
    /* top: 2.5rem; */
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    /* transition: top 0.4s, opacity 0.3s; */
    z-index: 60;
  }
  .navi__tab::-webkit-scrollbar {
    width: 0;
  }
  .navi__list_tab {
    background-color: var(--white-color);
  }
}

.tab__link > a {
  color: white !important;
  text-decoration: none;
}

.tab__link:hover > a,
.tab__link:hover {
  color: var(--accent-color) !important;
  font-weight: 500;
}

.tab__link {
  color: white;
  background-color: var(--torr-blue-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  text-decoration: none;
}

.tab__link:hover {
  background-color: var(--white-color-dark);
  color: var(--accent-color);
}

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

/* show icon  */
.show-icon-tab .navi__burger_tab {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon-tab .navi__close_tab {
  opacity: 1;
  transform: rotate(90deg);
}

/* drop down  */
.dropdown__item_tab {
  cursor: pointer;
  z-index: 60;
}

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

.dropdown__link_tab {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: black;
  background-color: var(--white-color-dark);
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color 0.3s;
  line-height: 1.5;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.dropdown__link_tab i {
  font-size: 1.25rem;
}

.dropdown__link_tab:hover {
  background-color: var(--white-color-darken);
}

.dropdown__menu_tab {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

/* show dropdown menu  */
.dropdown__item_tab:hover .dropdown__menu_tab {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
  z-index: var(--z-fixed);
}

/* show drop menu for mobile  */
.showdrop {
  max-height: 1000px;
  transition: max-height 0.4s ease-in;
}

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

.show-arrow {
  transform: rotate(180deg);
}

/* breakpoints  */
@media screen and (max-width: 340px) {
  .tab__link {
    padding-inline: 1rem;
  }
}

/* large display */
/* large display */
@media screen and (min-width: 1251px) {
  .navi {
    height: calc(var(--header-height) + 1rem);
    display: flex;
    justify-content: flex-start;
  }
  .navi__toggle_tab {
    display: none;
  }
  .navi__list_tab {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .tab__link {
    height: 100%;
    padding: 0 15px;
    justify-content: initial;
    column-gap: 0.25rem;
  }
  .navi__logo {
    margin-left: 40px;
  }

  .dropdown__item_tab {
    position: relative;
  }
  .dropdown__menu_tab {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    /* top: 6rem;  */
    opacity: 0;
    pointer-events: none;
    /* transition: opacity 0.3s, top 0.3s; */
  }
  .dropdown__link_tab {
    padding-inline: 1rem 3.5rem;
  }

  /* show drop down menu */
  .dropdown__item_tab:hover .dropdown__menu_tab {
    opacity: 1;
    /* top: 5.5rem; */
    pointer-events: initial;
    /* transition: top 0.3s; */
  }
}
