/* Header */

.header {
  padding: 40px 0;
  border-radius: 60px 0 0 0;
  background-color: var(--color-black);
}

.logo-img {
  width: 100px;
}

.header--mob .container > .wrapper {
  display: none;
}

.burger {
  display: none;
}

.nav {
  display: grid;
  grid-template-columns: auto 1.5fr 1fr;
  gap: 32px;
  align-items: center;
}

.nav__item {
  display: grid;
}

.nav__item .line {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  margin-top: 8px;
  justify-self: end;
  transition: var(--transition-3);
}

.nav__item.active .line {
  background-color: var(--color-accent);
}

.nav__list,
.breadcrumbs__list {
  display: flex;
  align-items: baseline;
}

.nav__list {
  justify-content: space-between;
}

.nav__link {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-white);
  transition: all .3s ease-in-out;
}

.nav__link:hover {
  color: #0756a5;
}

.lang-btn {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn,
.lang-menu .dropdown__menu {
  background-color: #e5e5e5;
}

.lang-menu .dropdown__menu {
  padding: 9px;
}

.lang-btn,
.lang-menu a {
  font-size: 1.4rem;
  font-weight: 600;
}

.lang-menu a {
  transition: all 0.3s ease-in-out;
}

.lang-menu a:hover {
  color: var(--color-accent);
}

.lang-menu {
  justify-self: end;
  width: fit-content;
}

.lang-menu.active img {
  transform: rotate(180deg);
}

@media screen and (max-width: 1024px) {
  .nav {
    grid-template-columns: auto auto auto;
  }
}

@media screen and (max-width: 768px) {
  .header--mob .container > .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    display: none;
    padding: 48px 40px;
    z-index: 99;
    position: fixed;
    width: 95vw;
    top: 16px;
    left: 16px;
    grid-template-columns: 1fr;
    background-color: var(--color-black);
    border-radius: 60px 0 0 0;
  }
  .nav.active {
    display: grid;
  }
  .nav__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lang-menu {
    justify-self: start;
  }

  .lang-menu .dropdown__menu {
    position: static;
  }

  .nav__item .line {
    justify-self: start;
  }
  .nav .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .burger {
    display: grid;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 14px 12px;
  }

  .burger div,
  .close div {
    width: 23px;
    height: 3px;
    border-radius: 4px;
    background-color: var(--color-white);
  }
  .close {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 47px;
    width: 47px;
    background-color: rgba(255, 255, 255, 0.15);
  }
  .close div:nth-child(1) {
    transform: rotate(45deg) translate(9px, -8px);
  }

  .close div:nth-child(2) {
    transform: rotate(-45deg) translate(-8px, -7px);
  }
  .burger :nth-child(2) {
    background-color: var(--color-accent);
  }
}

/* Breadcrumbs */

.breadcrumbs__list-wrapper{
  overflow: scroll;
  width:100%;
  padding-bottom: 5px;
}

.breadcrumbs__list-wrapper::-webkit-scrollbar {
  display: none;
}

.breadcrumbs__list-wrapper { -ms-overflow-style: none; }

.breadcrumbs__list {
  margin-top: 32px;
}

.breadcrumbs__list, .breadcrumb__text {
  white-space: nowrap;
}

.breadcrumbs__list .breadcrumb__text {
  color: var(--color-neutral-60);
  font-size: 1.2rem;
  text-decoration: none;
}

.breadcrumbs__item.link::after{
  content: "|";
  color: var(--color-neutral-60);
  margin: 0 4px;
}

.breadcrumbs__item:last-of-type>span {
  text-decoration: underline;
  color: var(--color-neutral-60);
  font-size: 1.2rem;
}
