body:has(.mobile-nav--open) {
  overflow: hidden;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 80vh;
  max-height: 100dvh;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
  background: url("../assets/img/backgrounds/hero-background.webp") center /
    cover no-repeat;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav--open {
  transform: translateY(0);
}

.mobile-nav__header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.mobile-nav__logo {
  width: clamp(4rem, 20vw, 6.25rem);
  height: auto;
}

.mobile-nav__close {
  display: flex;
  padding: 4px;
  border: none;
  background: transparent;

  & img {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(29%) sepia(80%) saturate(1500%)
      hue-rotate(198deg) brightness(95%);
  }
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  list-style: none;
}

.mobile-nav__link {
  color: var(--base-color-bright);
  font-size: 1.75rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav__lang {
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: 1rem;
}

.mobile-nav__social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.mobile-nav__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.75rem, 14vw, 4rem);
  height: clamp(2.75rem, 14vw, 4rem);
  border: 2px solid white;
  border-radius: 50%;

  & img {
    width: 75%;
    filter: brightness(0) invert(1);
  }
}
