.header-container {
  height: 80px;
  width: 100vw;
  /* display: flex;
  align-items: center; */
  
  /* justify-content: center; */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  padding: 0 20px;
  box-sizing: border-box;
}
.header-base {
  background: linear-gradient(90deg, #339dee 0%, #18ced1 100%);
}
.guidanceHeader {
  background-color: #2e354d !important;
}

.header-container.pc .content-main {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

.app-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
}

.header-container .logo {
  /* width: 265px; */
  height: 56px;
  margin-right: 90px;
  min-height: 42px;
}

.header-container .logo2 {
  width: 200px;
  aspect-ratio: 200 / 150;
  margin-right: 50px;
  align-self: flex-start;
}

.header-container .logo img {
  height: 100%;
}

.header-container .list {
  display: flex;
  margin-right: 24px;
  justify-content: space-between;
  flex: 1;
  margin-right: 8%;
}

.list-item-pop {
  position: absolute;
  background-color: white;
  border-radius: 5px;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.2));
  padding: 10px 0;
  display: none;
  flex-direction: column;
  align-items: center;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100%));
  width: 140px;
}

.header-container .list-item {
  display: flex;
  /* margin-right: 32px; */
  font-family: zihunchuangcuhei, zihunchuangcuhei;
  font-size: 18px;
  line-height: 18px;
  color: #ffffff;
  position: relative;
  padding: 10px 0;
  cursor: pointer;
}

.header-container .list-item .list-item-pop a {
  display: flex;
  color: var(--color-base2);
  align-items: center;
  justify-content: center;
  height: 30px;
  position: relative;
  width: 100%;
  font-size: 14px;
  padding: 4px 0;
}

.header-container .list-item .list-item-pop a:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.header-container .list-item:hover .list-item-pop {
  display: block;
}

.header-container .login, .header-container .guidanceLogin {
  font-size: 18px;
  color: #ffffff;
  position: relative;
  cursor: pointer;
}

.header-container .search {
  width: 24px;
  height: 24px;
  background-image: url(../../static/image/icon_search.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-left: 32px;
  cursor: pointer;
}

.search-container > div {
  flex: 1;
}


.search-container-left {
  min-width: 300px;
}

.search-container-right {
  justify-content: center;
}

.search-container-right .item ~ .item {
  margin-left: 84px;
}

.header-container .search-container {
  width: calc(100% - 250px);
  /* height: 206px; */
  position: absolute;
  bottom: 0;
  transform: translateY(100%);
  right: 0;
  background-color: white;
  background-image: url(../../static/image/search_bg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
  padding: 32px 50px;
  box-sizing: border-box;
  justify-content: space-between;
  display: none;
  flex-wrap: wrap;
}

/* 显示状态 */
.header-container .search-container.open {
  display: flex;
}

.search-input-container {
  background-color: white;
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  padding-right: 18px;
  margin-bottom: 32px;
}

.search-input-container .input {
  flex: 1;
  height: 100%;
}

.search-input-container .icon {
  width: 18px;
  height: 18px;
  background-image: url(../../static/image/icon_search_black.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-left: 32px;
  cursor: pointer;
}

.search-input-container input {
  width: 100%;
}

.search-container-right {
  display: flex;
}

.link-container-label {
  width: 80px;
  height: 30px;
  background: linear-gradient(
    90deg,
    rgba(51, 167, 255, 0.5) 0%,
    rgba(27, 218, 222, 0.5) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 14px;
  margin-right: 20px;
}

.search-container-right .item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-container-value {
  display: flex;
  margin-top: 24px;
}

.link-container-value a {
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  font-size: 16px;
  color: #333333;
  margin-right: 64px;
  font-weight: 600;
  margin-bottom: 20px;
}

.search-container-right .item .image {
  width: 104px;
  height: 104px;
}

.search-container-right .item .name {
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  font-size: 14px;
  color: #333333;
  line-height: 14px;
  margin-bottom: 16px;
}

.search-container-right .item .image img {
  width: 100%;
  height: 100%;
}

/* 登录二级 */
.login-children {
  position: absolute;
  background-color: white;
  /* padding: 20px 20px; */
  border-radius: 5px;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.2));
  padding-bottom: 10px;
  display: none;
  flex-direction: column;
  align-items: center;
  bottom: 0;
  transform: translateY(104%) translateX(-90%);
  left: 50%;
}

.login-children-logo {
  width: 120px;
  margin: 20px;
  margin-bottom: 0;
}

.login-children-logo img {
  display: block;
}

.login-children-main {
  margin-top: 10px;
  width: 100%;
}

.login-item {
  display: flex;
  color: var(--color-base);
  align-items: center;
  justify-content: center;
  height: 30px;
  position: relative;
  width: 100%;
  font-size: 14px;
}

.login-item:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.03);
}


/* 登录二级 就业指导 */
.guidanceLogin .login-children {
  width: 90px;
}
.guidanceLogin .loginTxt {
  padding: 0;
}
/* 结束 */
  
.header-container.mobile .search {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 60px;
}

.header-container.mobile .search-container {
  left: 0;
  width: 100%;
  padding:20px;
}

.header-container.mobile .search-container .link-container {
  display: flex;
  align-items: center;
}

.header-container.mobile .search-container .link-container a {
  font-size: 14px;
  margin-right: 20px;
}

.header-container.mobile .search-input-container{
  margin-bottom: 20px;
}


@media screen and (min-width: 1020px) {
  .app-header .mobile {
    display: none;
  }
}

@media screen and (min-width: 1120px) and (max-width: 1200px) {
  .header-container .list-item {
    margin-right: 26px;
    font-size: 16px;
  }
}

@media screen and (min-width: 1020px) and (max-width: 1120px) {
  .header-container .list-item {
    margin-right: 20px;
    font-size: 16px;
  }
}

@media screen and (max-width: 1020px) {
  .header-container {
    display: flex;
    align-items: center;
  }
  .app-header::before {
    content: "";
    display: block;
    width: 100%;
    height: 52px;
  }

  .app-header .pc {
    display: none;
  }

  .app-header .mobile {
    display: flex;
    justify-content: space-between;
    padding: 0 14px;
    box-sizing: border-box;
    height: 52px;
  }

  .header-container .logo {
    height: 42px;
    /* 按比例 */
    aspect-ratio: 430 / 90;
  }

  .header-container .logo img {
    height: 100%;
  }

  .header-mobile-tap {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    right: 14px;
    z-index: 3;
    cursor: pointer;
  }

  .header-mobile-tap-line {
    height: 2px;
    background-color: white;
    width: 100%;
    transition: 0.3s;
    opacity: 1;
    transform-origin: 50% 50%;
  }

  .header-mobile-tap.active {
    justify-content: center;
  }

  .header-mobile-tap.active .header-mobile-tap-line {
    position: absolute;
    background-color: var(--color-base2);
  }

  .header-mobile-tap.active .header-mobile-tap-line:nth-child(1) {
    transform: rotate(-45deg);
  }

  .header-mobile-tap.active .header-mobile-tap-line:nth-child(2) {
    opacity: 0;
  }
  .header-mobile-tap.active .header-mobile-tap-line:nth-child(3) {
    transform: rotate(45deg);
  }

  .header-mobile-mask {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    left: 0;
    top: 0;
    display: none;
  }

  .header-mobile-list {
    background-color: white;
    position: absolute;
    right: 0;
    top: 0;
    width: 70%;
    max-width: 500px;
    height: 100vh;
    padding: 100px 0 200px 0.04rem;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(100%);
    transition: all 0.2s;
  }

  .header-mobile-list a {
    display: block;
    height: 50px;
    display: flex;
    align-items: center;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2em;
    box-sizing: border-box;
  }

  .header-mobile-list a .header-tab-icon {
    width: 6px;
  }

  .header-mobile-list a .header-tab-icon img {
    display: block;
  }

  .header-mobile-list a ~ a {
    border-top: 1px solid rgba(0, 0, 0, 0);
  }
}
