header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
  background-color: transparent;
  --color: #fff;
}
@media screen and (max-width: 992px) {
  header {
    padding: 14px 0;
  }
}
@media screen and (max-width: 576px) {
  header {
    --color: #333;
    background-color: #fff;
  }
}
header.white {
  border-bottom: 1px solid #f5f5f5;
  background-color: #fff;
  --color: #333;
}
header.white .menu-btn .center-line::after,
header.white .menu-btn .center-line::before {
  background-color: #1074D4;
}
header.white .menu-btn::after,
header.white .menu-btn::before {
  background-color: #1074D4;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 992px) {
  header .container {
    flex-direction: column;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
header .logo {
  padding: 10px 14px 10px 0;
  color: var(--color);
  font-size: 22px;
  line-height: 1.09;
}
@media screen and (max-width: 1400px) {
  header .logo {
    max-width: 247px;
  }
}
@media screen and (max-width: 992px) {
  header nav {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    height: calc(100vh - 73px);
    max-width: 375px;
    align-self: flex-start;
    background-color: rgba(250, 250, 250, 0.3);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.35s ease-in-out;
  }
  header nav.open {
    transform: translateY(0);
  }
}
@media screen and (max-width: 576px) {
  header nav {
    background-color: #fff;
  }
}
@media screen and (max-width: 490px) {
  header nav {
    height: calc(100vh - 76px);
    max-width: none;
  }
}
header nav > ul {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
}
@media screen and (max-width: 992px) {
  header nav > ul {
    padding: 0 30px;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
  }
}
header nav > ul li {
  padding: 28px 20px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 1680px) {
  header nav > ul li {
    padding: 28px 16px;
  }
}
@media screen and (max-width: 1200px) {
  header nav > ul li {
    padding: 28px 10px;
  }
}
@media screen and (max-width: 992px) {
  header nav > ul li {
    padding: 15px 0;
    flex-wrap: wrap;
  }
}
header nav > ul li .link-a {
  color: var(--color);
  font-size: 22px;
  line-height: 1.09;
}
@media screen and (max-width: 1200px) {
  header nav > ul li .link-a {
    font-size: 18px;
  }
}
@media screen and (max-width: 992px) {
  header nav > ul li .link-a {
    font-size: 22px;
  }
}
header nav > ul li .link-a + .bi {
  margin-left: 5px;
  color: var(--color);
  font-size: 10px;
}
@media screen and (max-width: 992px) {
  header nav > ul li .link-a + .bi {
    font-size: 18px;
    flex-shrink: 0;
  }
}
header nav > ul li .sub-menu {
  position: absolute;
  top: 100%;
  opacity: 0;
  transform: translateY(-1000px);
  transition: opacity 0.35s ease-in-out;
}
@media screen and (max-width: 992px) {
  header nav > ul li .sub-menu {
    position: static;
    transform: none;
    background-color: transparent;
    opacity: 1;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease-in-out;
  }
}
header nav > ul li .sub-menu ul {
  border-radius: 0px 0px 10px 10px;
  border: 1px solid #f5f5f5;
  background-color: #FFFFFF;
  flex-direction: column;
  overflow: hidden;
}
@media screen and (max-width: 992px) {
  header nav > ul li .sub-menu ul {
    border-radius: 0;
    border: 0;
    background-color: transparent;
  }
}
header nav > ul li .sub-menu ul li {
  border-bottom: 1px solid #F8F8F8;
  padding: 0 20px;
  width: 100%;
}
@media screen and (max-width: 992px) {
  header nav > ul li .sub-menu ul li {
    border-bottom: 0;
  }
}
header nav > ul li .sub-menu ul li:last-child {
  border-bottom: 0;
}
header nav > ul li .sub-menu ul li .bi {
  margin-right: 14px;
  color: #C5C5C5;
  transition: color 0.35s ease-in-out;
}
@media screen and (max-width: 992px) {
  header nav > ul li .sub-menu ul li .bi {
    display: none;
  }
}
header nav > ul li .sub-menu ul li .link-a {
  padding: 16px 0;
  font-size: 18px;
  white-space: nowrap;
  display: block;
  width: 100%;
  flex-direction: column;
  color: #333;
  position: relative;
  left: 0;
  transition: left 0.35s ease-in-out;
}
@media screen and (max-width: 992px) {
  header nav > ul li .sub-menu ul li .link-a {
    font-size: 20px;
  }
}
header nav > ul li .sub-menu ul li:hover .link-a {
  left: -4px;
}
header nav > ul li .sub-menu ul li:hover .bi {
  color: #1074D4;
}
header nav > ul li:hover .sub-menu {
  transform: translateY(0);
  opacity: 1;
}
header .menu-btn {
  margin-right: 20px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: none;
}
@media screen and (max-width: 992px) {
  header .menu-btn {
    display: flex;
  }
}
header .menu-btn .center-line {
  position: relative;
  width: 25px;
}
header .menu-btn .center-line::after,
header .menu-btn .center-line::before {
  content: '';
  width: 100%;
  height: 2px;
  background-color: var(--color);
  display: block;
  transform: rotate(0);
  transition: transform 0.35s ease-in-out;
}
header .menu-btn .center-line::before {
  position: absolute;
  left: 0;
  top: 0;
}
header .menu-btn::after,
header .menu-btn::before {
  margin-top: 5px;
  content: '';
  width: 100%;
  height: 2px;
  background-color: var(--color);
  display: block;
  transition: width 0.35s ease-in-out;
}
header .menu-btn::before {
  margin-top: 0;
  margin-bottom: 5px;
}
header .menu-btn.active .center-line::after {
  transform: rotate(45deg);
}
header .menu-btn.active .center-line::before {
  transform: rotate(-45deg);
}
header .menu-btn.active::after,
header .menu-btn.active::before {
  width: 0;
}
