.nav-logo {
  width: 48px;
  height: 48px;
}

.nav-logo-container {
  transition: 0.1s;
  object-fit: contain;
}

.nav-logo-container.visible {
  border-radius: 50%;
  background: #e6e6e6;
  padding: 6px;
}

.nav-bar-desktop {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: white;
  position: fixed;
  /* left: 96px; */
  width: 100%;
  min-height: 116px;
  top: 0px;
  transition: 0.3s ease-out;
}

.nav-bar-desktop.visible {
  background: white;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  color: #111;
}

.nav-bar-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 192px);
  /* padding: 0px 96px; */
  flex-wrap: wrap;
  padding-bottom: 12px;
}

.nav-bar-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  flex-wrap: wrap;
}

.nav-headings {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-heading {
  font-family: 'Sen';
  font-size: 24px;
  margin: 0;
}

.nav-subheading {
  font-family: 'Inter';
  font-size: 16px;
  margin: 0;
}

.nav-bar-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 20px;
  row-gap: 16px;
  justify-content: center;
  white-space: nowrap;
}

.nav-item {
  position: relative;
  font-family: 'Inter';
}

.nav-item-label {
  font-size: 14px;
  cursor: pointer;
}

.nav-child-label {
  font-size: 12px;
  color: #333;
  cursor: pointer;
  padding: 16px 0px;
  border-bottom: 1px solid #ccc;
  text-transform: uppercase;
}

.nav-child-label:nth-last-child(2) {
  border-bottom: none;
}

.nav-children {
  display: none;
}

.nav-children.visible {
  display: grid;
  flex-direction: column;
  background: white;
  padding: 12px 24px;
  min-width: 160px;
  border-radius: 8px;
  position: absolute;
  transform-origin: top center;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 0%);
  white-space: nowrap;
  color: #111;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
}

.nav-dropdown-connector {
  position: absolute;
  transform: translate(-50%, 0%);
  top: -8px;
  left: 50%;
  height: 8px;
}

@media (max-width: 1080px) {
  .nav-bar-desktop {
    display: none;
  }

  .nav-bar-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: fixed;
    width: 100%;
    height: 116px;
    top: 0px;
    transition: 0.3s ease-out;
    background: white;
  }

  .nav-bar-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 72px);
    flex-wrap: wrap;
    padding-bottom: 0px;
  }

  .nav-heading {
    font-family: 'Sen';
    font-size: 18px;
    margin: 0;
  }

  .nav-subheading {
    font-family: 'Inter';
    font-size: 12px;
    margin: 0;
  }

  .nav-logo {
    width: 48px;
    height: 48px;
  }

  .nav-mobile-menu {
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
}

@media (min-width: 1081px) {
  .nav-bar-mobile {
    display: none;
  }
}

.nav-mobile-menu-container {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.nav-mobile-menu {
  background: white;
  height: 100%;
  width: 75%;
  display: flex;
  box-shadow: -10px 0px 30px rgba(0, 0, 0, 0.3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-mobile-menu-close {
  position: absolute;
  right: 36px;
  width: 20px;
  height: 20px;
  top: 46px;
  cursor: pointer;
}

.nav-mobile-menu-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.nav-mobile-menu-item {
  font-family: Inter;
  font-size: 24px;
  outline: none;
  border: none;
  align-self: flex-start;
  background: none;
  width: 100%;
  text-align: left;
  border-bottom: 2px dashed #f3f3f3;
  padding: 0px;
  padding-bottom: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 400;
}

.nav-mobile-menu-item.active {
  font-weight: 700;
}

.nav-mobile-menu-item-icon {
  transform: rotate(-90deg);
  width: 12px;
  height: 12px;
}

.nav-mobile-menu-copyright {
  margin: 0;
  font-family: Inter;
  font-weight: 300;
  color: #333;
  font-size: 10px;
}

.nav-mobile-menu-list {
  display: flex;
  flex-direction: column;
  width: 80%;
  gap: 24px;
  height: 75%;
  padding-top: 36px;
}
