* {
  font-family: sans-serif;
}

/*Navbar Styles*/
#header-main {
  position: relative;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  z-index: 20;
  margin: auto;
}

#header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header-main .main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}

#header-main a {
  text-decoration: none;
}

#header-main .main-menu .dropdown {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 40;
  width: 100%;
  bottom: -10rem;
  border-radius: 1rem;
  border-top-right-radius: 0;
  padding: 2rem 1rem 3rem 1rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity .2s ease-out;
}

#header-main .main-menu .item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  z-index: 40;
  padding-left: .5rem;
  padding-right: .5rem;
  cursor: pointer;
  color: #3E3E3E;
}

#header-main .main-menu a {
  color: #3E3E3E;
}

#header-main .main-menu .item.item-dropdown {
  position: relative;
}

#header-main .main-menu .item.item-dropdown:hover {
  cursor: pointer;
}

#header-main .main-menu .item.item-dropdown:before {
  content: "";
  position: absolute;
  background-color: #3E3E3E;
  width: calc(100% + 1.25rem);
  height: 3.45rem;
  pointer-events: none;
  left: -10%;
  top: -1rem;
  opacity: 0;
  transition: opacity .2s ease-out;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

#header-main .main-menu .item.item-dropdown.active:before {
  opacity: 1;
  z-index: -1;
}

#header-main .main-menu .item.item-dropdown.active svg {
  transform: rotate(180deg);
}

#header-main .main-menu .dropdown.active {
  opacity: 1;
  pointer-events: all;
  z-index: 10;
}

#header-main .main-menu .dropdown .item img {
  width: 40px;
}

#header-main #menu-toggler {
  display: none;
  z-index: 9999999;
}

#header-main #menu-toggler .hamburger-inner,
#header-main #menu-toggler .hamburger-inner:after,
#header-main #menu-toggler .hamburger-inner:before {
  background-color: #065F9B;
  opacity: 1;
}

#header-main .logo {
  position: relative;
  z-index: 500;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 992px) {
  #header-main #menu-toggler {
    display: inline-block;
  }

  #header-main .main-menu {
    display: flex;
    position: fixed;
    background: rgba(255, 255, 255, 0);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
    border: 1px solid rgba(255, 255, 255, 0.11);
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-left: 2rem;
    padding-right: 2rem;
    flex-direction: column;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease-out;
    padding-top: 9rem;
    justify-content: start;
  }

  body.nav-open #header-main .main-menu {
    z-index: 90;
    opacity: 1;
    pointer-events: all;
    overflow: scroll!important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 3em!important;
  }

  #header-main .main-menu .dropdown .item p br {
    display: none;
  }

  #header-main .main-menu .item {
    font-weight: 500;
    font-size: var(--text-ml);
    color: #3E3E3E;
  }

  #header-main .main-menu .dropdown {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    bottom: 2rem;
    row-gap: 40px;
  }
}

