#header {
  width: 100%;
  height: 10rem;
  z-index: 99;
  background-color: #fff;
  position: relative;
  z-index: 9;
}
#header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1rem;
  background: #4bdd94;
  z-index: 3;
}
.header-curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #fff;
  box-shadow: 0 5px 5px -5px;
  z-index: 2;
  opacity: 0;
  transition: all ease 0.5s;
}
.header-con {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 120rem;
  height: inherit;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
  z-index: 9;
}
.header-con:has(.header-menu-main > li:hover) {
  overflow: visible;
}
.header-con:has(.header-menu-main:hover) + .header-curtain {
  height: 31rem;
  opacity: 1;
}
.header-logo img {
  width: 18rem;
  height: 4.5rem;
  object-fit: contain;
}
.header-menu-main {
  display: flex;
  text-align: center;
  z-index: 9;
}
.header-menu-main > li {
  width: var(--menu-width);
  height: 10rem;
  line-height: 10rem;
}
.header-menu-main > li > a {
  position: relative;
}
.header-menu-main > li > a::after {
  position: absolute;
  content: "";
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1rem;
  border-radius: 0.2rem;
  background: rgb(242, 175, 4);
  transform: translateX(-50%);
  transition: all ease 0.5s 0.1s;
  opacity: 0;
  z-index: 10;
}
.header-menu-main > li:hover > a::after {
  opacity: 1;
}
.header-menu-main:hover .header-menu-sub {
  opacity: 1;
}
.header-menu-main > li > a {
  display: block;
  font-size: var(--mFont-Size);
  font-weight: 500;
  color: black;
  position: relative;
}
.header-menu-sub {
  position: absolute;
  padding-top: 2rem;
  height: 17rem;
  opacity: 0;
  transition: opacity ease 0.5s 0.25s;
}
.header-menu-sub > li {
  width: var(--menu-width);
  height: 4rem;
  line-height: 4rem;
}
.header-menu-sub > li > a {
  display: block;
  color: black;
  font-size: var(--nFont-Size);
}
.header-menu-sub > li > a:hover {
  background-color: #4bdd94;
  color: white;
  transition: all ease 0.35s;
  border-radius: 0.2rem;
}
.header-login {
  align-self: flex-start;
}
.header-login a {
  display: inline-block;
  padding: 1rem;
  color: black;
  font-size: var(--nFont-Size);
  font-weight: 400;
}
.header-login a:hover {
  font-weight: 500;
}
