@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap");
header {
  padding: 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  position: sticky;
  top: 0;
  bottom: auto;
  background-color: #fff;
  z-index: 999;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 100%;
  z-index: 1;
  position: relative;
}
@media (max-width: 1599px) {
  nav {
    padding: 0px 16px;
  }
}
@media (min-width: 1600px) {
  nav {
    padding-left: 0;
    padding-right: 0;
    max-width: 1536px;
  }
}
@media (max-width: 600px) {
  nav {
    padding: 8px 16px;
    height: 56px;
  }
}
@media (max-width: 992px) {
  nav .nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
  }
}
nav button.navbar-toggler {
  background: transparent;
  border: 0px none;
  padding: 0;
  height: 24px;
}
@media (min-width: 992px) {
  nav button.navbar-toggler {
    display: none;
  }
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style-type: none;
  height: 100%;
}
nav ul li.navigation-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (max-width: 992px) {
  nav ul li.navigation-link {
    display: none;
  }
}
nav ul li.navigation-link a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  height: 100%;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #595959;
  gap: 8px;
  transition: all;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-duration: 200ms;
}
nav .navigation-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (max-width: 599px) {
  nav .navigation-buttons {
    height: 100%;
  }
  nav .navigation-buttons .nav-button.filled.btn {
    display: none;
  }
}
nav .navigation-buttons .mob-menu-btn {
  display: none;
}
@media (max-width: 599px) {
  nav .navigation-buttons .mob-menu-btn {
    display: block;
  }
}
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
  nav .navigation-buttons .mob-menu-btn {
    display: block;
  }
}
@media (max-width: 599px) {
  nav .navigation-buttons .desk-menu-btn {
    display: none;
  }
}
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
  nav .navigation-buttons .desk-menu-btn {
    display: none;
  }
}
nav .navigation-buttons .login-button.btn.line-btn,
nav .navigation-buttons .desk-menu-btn {
  max-height: 52px;
}
@media (max-width: 610px) {
  nav .navigation-buttons .login-button.btn.line-btn,
  nav .navigation-buttons .desk-menu-btn {
    max-height: 40px;
    padding: 8px 20px;
  }
}
@media (max-width: 599px) {
  nav .navigation-buttons .nav-button.filled {
    white-space: nowrap;
  }
}
@media (min-width: 992px) {
  nav div.mobile-menu,
  nav div.mobile-submenu {
    display: none;
  }
}
@media (max-width: 992px) {
  nav .mobile-menu {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
  }
  nav .mobile-menu button {
    background: transparent;
    border: 0px none;
    padding: 0;
    height: 24px;
  }
  nav #forCarers.mobile-submenu a.line-btn {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
  }
  nav #findCarer.mobile-submenu a.line-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.014em;
  }
  nav .mobile-submenu {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
  }
  nav .mobile-submenu button.navbar-close-toggler {
    background: transparent;
    border: 0px none;
    padding: 0;
    height: 24px;
  }
  nav .mobile-submenu .login-button {
    font-family: Manrope;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0px;
    color: #616161;
  }
  nav .mobile-submenu .back-btn {
    gap: 4px;
  }
  nav .top-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    gap: 16px;
    height: 72px;
    border-bottom: 1px solid #EEEEEE;
  }
  nav .login-btn {
    display: flex;
    gap: 16px;
  }
  nav a.login-button {
    font-size: 16px;
    font-weight: 700;
  }
  nav .mobile__main-content {
    height: calc(92vh - 80px);
    padding: 0px 0px 8px;
    gap: 8px;
  }
  nav ul.mobile__nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 24px 16px 16px 16px;
    gap: 8px;
    margin: 0;
  }
  nav li.mobile__nav-link {
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 16px;
    border-radius: 12px;
  }
}

@media (max-width: 992px) {
  .nav-logo img {
    max-width: 97px;
    height: auto;
  }
}
a.header-home-link {
  color: #494FC9;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-right: 32px;
}
@media (max-width: 992px) {
  a.header-home-link {
    display: none;
  }
}
a.header-home-link:hover {
  color: #494FC9;
  text-decoration: underline;
}