.header {
  background-color: transparent;
  flex-flow: column;
  align-items: center;
  margin-top: 1.5rem;
  display: flex;
  position: fixed;
  left: 0%;
  right: 0%;
  z-index: 1000;
}

.w-dropdown { 
  position: relative;
  display: inline-block;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  z-index: 900;
}
/* used on index.htm */
.w-inline-block { 
  max-width: 100%;
  display: inline-block;
}

.w-dropdown-toggle, .w-dropdown-link {
  position: relative;
  vertical-align: top;
  text-decoration: none;
  color: rgba(34,34,34,1);
  padding: 20px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}
.w-dropdown-toggle { 
  user-select: none;
  display: inline-block;
  cursor: pointer;
  padding-right: 40px;
}
.w-dropdown-toggle:focus {
  outline: 0;
}
.w-dropdown-list { 
  position: absolute;
  background: rgba(221,221,221,1);
  display: none;
  min-width: 100%;
}

.w-dropdown { 
  position: relative;
  display: inline-block;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  z-index: 900;
}
.w-dropdown-list.w--open {
  display: block;
}
.w-dropdown-link { 
  padding: 10px 20px;
  display: block;
  color: rgba(34,34,34,1);
}
.w-dropdown-link.w--current {
  color: rgba(0,130,243,1);
}
.w-dropdown-link:focus {
  outline: 0;
}
.w-icon-dropdown-toggle { 
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  margin-right: 20px;
  width: 1em;
  height: 1em;
}

.social-link-header { 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.w-dropdown-toggle { 
  user-select: none;
  display: inline-block;
  cursor: pointer;
  padding-right: 40px;
}

.w-dropdown-list { 
  position: absolute;
  background: #dddddd;
  display: none;
  min-width: 100%;
}
.w-dropdown-list.w--open {
  display: block;
}
.w-dropdown-link { 
  padding: 10px 20px;
  display: block;
  color: #222;
}
.w-dropdown-link.w--current {
  color: #0082f3;
}
.w-dropdown-link:focus {
  outline: 0;
}
.w-icon-dropdown-toggle { 
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  margin-right: 20px;
  width: 1em;
  height: 1em;
}

.social-link-header { 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.social-link-header:hover {
  opacity: 0.8;
}
.social-icon-header { 
  width: 32px;
  height: 32px;
  border-radius: 7px;
  transition: width .2s ease, height .2s ease;
}

.social-link-header:hover {
  opacity: 0.8;
}
.social-icon-header { 
  width: 32px;
  height: 32px;
  border-radius: 7px;
  transition: width .2s ease, height .2s ease;
}

.menu-icon-top, .menu-icon-center, .menu-icon-bottom { 
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-icon { 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-right: -.5rem;
  padding-bottom: 0;
  padding-right: 0;
  display: flex;
}
.menu-icon-center-inner {
  width: 4px;
  height: 0;
  padding-bottom: 0;
  padding-right: 0;
}
.navbar-container {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  grid-template-rows: auto;
  grid-template-columns: auto 1fr auto;
  grid-auto-columns: 1fr;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  min-height: 4.5rem;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  position: relative;
}


@media screen and (max-width: 991px) {
  .navbar-container {
    grid-template-columns: auto 1fr;
   width: 102%;
  }
}
@media screen and (max-width: 767px) {
  .navbar-container {
    width: 102%;
    min-height: 4rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
@media screen and (max-width: 479px) {
 .navbar-container {
   background-color: rgba(255,255,255,0.95);
  }
  .menu-icon { 
   border: 1px solid rgba(245,245,245,1);
    border-radius: 6px;
  }
  .navbar-menu { 
    padding-left: 0;
    padding-right: 0;
  }
  .menu-icon { 
    border: 1px solid var(--white-smoke);
    border-radius: 6px;
  }
  .navbar-menu { 
    padding-left: 0;
    padding-right: 0;
  }
}

.navbar-container-blur {
  z-index: 1;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background-color: rgba(255,255,255,0.86);
  border-radius: 8px;
  position: absolute;
  inset: 0%;
  transition: all 0.4s ease;
}

.navbar__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 2;
  position: relative;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.navbar-logo-link {
  padding-left: 0;
  width: 150px;
  position: relative;
  z-index: 3;
}

.navbar-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
}

.navbar-menu-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-dropdown {
    position: relative;
}

.nav-link {
  color: var(--blue);
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color .2s, background-color .2s;
  border-radius: 6px;
}

.nav-link:hover {
  color: rgba(26,52,105,1);
  background-color: rgba(240,245,255,1);
}

.nav-dropdown-list {
  background-color: rgba(255,255,255,1);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 0.5rem;
  min-width: 220px;
  margin-top: 0.5rem;
}

.nav-dropdown-link {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--blue);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.nav-dropdown-link:hover {
  background-color: var(--numbers-bg);
  color: var(--combine-library--primary-600);
}

.navbar-button-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-menu-icon {
  display: none;
  cursor: pointer;
  padding: 8px;
  z-index: 3;
}

.menu-icon {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  margin-right: 10px;
}

.menu-icon-top,
.menu-icon-center,
.menu-icon-bottom {
  width: 100%;
  height: 2px;
  background-color: var(--blue);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: absolute;
  left: 0;
}

.menu-icon-top { top: 0; }
.menu-icon-center { top: 50%; transform: translateY(-50%); }
.menu-icon-bottom { bottom: 0; }

@media screen and (max-width: 1199px) {
    .navbar-container {
      align-items: flex-start;
      padding-top: 0;
      padding-bottom: 0;
      padding-left: 2%;
      padding-right: 2%;
      width: 96%;
    }
    .navbar-menu {
      flex-basis: 100%;
      order: 3;
      flex-direction: column;
      align-items: stretch;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease-in-out, margin-top 0.4s ease-in-out;
      margin: 0;
      gap: 0;
    }
    .header.is-open .navbar-menu {
      max-height: 100vh;
      margin-top: 1rem;
    }
    .navbar-button-wrapper {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      padding-top: 1rem;
      margin-top: 1rem;
    }
    .navbar-button-wrapper .button {
      justify-content: center;
    }
    .navbar-menu-left {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }
    .navbar-menu-icon {
      display: flex;
    }
    .header.is-open .menu-icon-top {
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
    }
    .header.is-open .menu-icon-center {
      opacity: 0;
    }
    .header.is-open .menu-icon-bottom {
      top: 50%;
      transform: translateY(-50%) rotate(-45deg);
    }
    .w-dropdown {
      width: 100%;
    }
    .w-dropdown-toggle {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .w-dropdown-list {
      position: static;
      box-shadow: none;
      border: none;
      background: transparent;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0;
      margin-top: 0;
    }
    .w-dropdown-list.w--open {
      max-height: 500px;
      padding-top: 0.5rem;
    }
    .w-dropdown-link {
      padding: 0.75rem 1rem;
      text-align: center;
    }
    .w-icon-dropdown-toggle {
      transition: transform 0.3s ease;
    }
    .w-dropdown-toggle.w--open .w-icon-dropdown-toggle {
      transform: rotate(180deg);
    }
}
