.header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  padding: 8px 0;
  /* background: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.8), black); */
  background: #030305;
  z-index: 99;
}

.logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.header-bg {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: bottom center;
  z-index: -1;
  pointer-events: none;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav__link {
  font-variation-settings: "wght" 500;
  transition: 300ms linear;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 6px;
  height: 40px;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
}

.nav__link:hover {
  background: #1e1e1e;
  border: 2px solid #1e1e1e;
}

.header__dropdown {
  position: relative;
  isolation: isolate;
  z-index: 2;
}

.header__dropdown-content {
  position: absolute;
  left: 0;
  bottom: 0;
  padding-top: 20px;
  transform: translateY(100%);
  display: none;
}

.header__dropdown-container {
  padding: 16px;
  width: 280px;
  background: #0b0b0b;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

.header__dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  transition: 200ms;
}

.header__dropdown-link:hover {
  background: #1e1e1e;
}

.button--header {
  font-size: 14px;
  background: transparent;
  border: 2px solid #ee364c;
  height: 40px;
  padding: 0 28px;
}

.button--header:hover {
  color: #fff;
  background: #e91932;
  filter: none;
}

.header .nav--btn {
  display: none;
}
.trigger {
  cursor: pointer;
}
.trigger .trigger__arrow {
  transition: 200ms;
}

.trigger.open .trigger__arrow {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .header__nav--wrapper {
    display: none;
  }
  .header .nav--btn {
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    outline: none;
    float: none;
    position: relative;
  }
  .header .nav--btn span {
    position: absolute;
    left: 0;
    right: 0;
    width: 85%;
    height: 3px;
    margin: 0 auto;
    background-color: #fff;
    -webkit-transition: 350ms;
    transition: 350ms;
  }
  .header .nav--btn span:nth-of-type(1) {
    top: 7px;
  }
  .header .nav--btn span:nth-of-type(2) {
    top: 14px;
  }
  .header .nav--btn span:nth-of-type(3) {
    top: 21px;
  }
  .header .nav--btn.open span:nth-of-type(1) {
    top: 14px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .header .nav--btn.open span:nth-of-type(2) {
    opacity: 0;
  }
  .header .nav--btn.open span:nth-of-type(3) {
    top: 14px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .header .logo {
    height: 48px;
  }

  .header__nav--wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    flex-direction: column;
    background: #030305;
    padding: 0 16px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav--btn.open + .header__nav--wrapper {
    display: flex;
  }
  .nav__link {
    padding-left: 0;
  }
  .nav__link:hover {
    background: inherit;
    border: 2px solid transparent;
  }
  .header__dropdown-content {
    width: calc(100vw - 32px);
    position: static;
    transform: translate(0, 0);
    padding-top: 12px;
  }
  .header__dropdown-container {
    width: 100%;
  }
}
