.navbar {
  background: #fff !important;
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar .navbar-nav .menu-item {
  display: flex;
  align-items: center;
}

.navbar .navbar-nav .menu-item a {
  font-family: var(--font-aeonik-regular);
  font-style: normal;
  line-height: 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--color-navy);
}

.navbar .navbar-nav .menu-item a.btn,
.navbar .navbar-nav .menu-item a.blue-btn {
  padding: 9px 11px 9px 10px;
  background: var(--blue);
  box-shadow: 0px 10px 16px rgb(0 0 0 / 16%);
  border-radius: 100px;
  font-weight: 900;
  border: 1px solid transparent;
  font-size: 14px;
  display: block;
  margin: -2px auto 0;
  text-align: center;
  letter-spacing: 1.4px;
  color: #ffffff;
  width: 200px;
}

.ham-menu {
  display: block;
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  background: transparent;
}

.ham-menu img {
  width: 100%;
  height: 100%;
}

div.custom-menu-class ul {
  list-style: none;
  text-align: right;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar .navbar-nav .menu-item a {
  font-family: var(--font-aeonik-regular);
  font-style: normal;
  line-height: 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--color-navy);
}

div.custom-menu-class ul li:last-child a {
  background: var(--blue);
  border-radius: 100px;
  letter-spacing: 1.4px;
  color: white;
  padding: 10px 25px;
}

div.custom-menu-class ul li:last-child a:hover {
  background-position: left;
}

.menu-item {
  margin-left: 25px;
  display: flex;
  align-items: center;
}

.menu-item a {
  font-family: var(--font-aeonik-regular);
  font-style: normal;
  line-height: 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--color-navy);
}

#header .navbar-brand-mobile {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 75%;
  height: 40px;
}

header .navbar-brand-mobile img {
  height: 100%;
}

.navbar .directions-register {
  color: var(--blue);
  text-align: center;
  font-family: var(--font-saygon-text-bold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

@media (max-width: 991px) {
  #header.animation img {
    height: 40px;
  }
  .navbar {
    padding: 1rem;
  }
  .navbar .navbar-toggler {
    height: 100%;
  }
  .custom-menu-class {
    height: 0px;
  }
  .navbar.opened {
    background: var(--white);
    transition: all 0.3s;
  }
  .nav-container {
    flex-wrap: wrap;
  }
  .ham-menu {
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
  }
  .ham-menu img {
    height: 40px;
    width: 40px;
    max-width: 80px;
  }
  .menu {
    width: 100%;
    overflow: hidden;
    flex-direction: column;
    text-align: center;
  }
  .navbar.closed .menu {
    max-height: 0;
  }
  .menu-item {
    margin-left: 0;
  }
  .menu-item {
    margin-bottom: 10px;
    text-align: left;
  }
  .menu-item:first-child {
    margin-top: 20px;
  }
  .menu-item:last-child {
    margin: 20px 0;
  }
  .navbar.opened .menu {
    max-height: 1000px;
    transition: all 0.3s;
    padding: 0 15px;
  }
  .menu-item a {
    font-weight: 600;
    font-weight: 600;
    font-family: var(--font-aeonik-regular);
    font-style: normal;
    line-height: 24px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0;
    color: var(--color-navy);
    font-size: 12px;
    margin-left: 10px;
    padding: 0.7rem 0.625rem;
    font-size: 0.8125rem;
    letter-spacing: 0.0625rem;
    display: block;
  }

  .menu-item:last-child a {
    width: 100%;
    padding: 9px 20px 9px 20px;
    background: var(--blue);
    box-shadow: 0px 10px 16px rgb(0 0 0 / 16%);
    border-radius: 100px;
    font-weight: 900;
    border: 1px solid transparent;
    font-size: 14px;
    display: block;
    margin: -2px auto 0;
    text-align: center;
    letter-spacing: 1.4px;
    color: #ffffff;
    margin-left: 10px;
  }

  .custom-menu-toggle {
    width: 100%;
  }
}

@media (min-width: 992px) and (max-width: 1092px) {
  .menu-item a {
    font-size: 12px;
  }
  div.custom-menu-class ul li:last-child a {
    font-size: 12px;
    line-height: 9px;
  }
}

@media (min-width: 1092px) and (max-width: 1199px) {
  .menu-item a {
    font-size: 14px;
  }

  div.custom-menu-class ul li:last-child a {
    font-size: 14px;
    line-height: 9px;
  }
}

@media (min-width: 1285px) {
  .navbar .navbar-nav .menu-item a {
    margin-right: 13px;
    margin-left: 0;
  }

  .navbar .navbar-nav .menu-item:nth-child(8) {
    margin-left: 13px;
  }
}
