@import "~assets/less/variable";

.header {
  height: 68px;
  background-color: @blue;
  box-shadow: @header-box-shadow;
  flex-shrink: 0;
  z-index: @header-index;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  &.hide {
    display: none;
  }
}

.logo {
  //width: 359px;
  height: 68px;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  a {
    line-height: 0;
  }

  img {
    width: 359px;
    height: 50px;
  }
}

@media (min-width: 768px) {
  .logoPc {
    display: flex;
  }

  .logoMobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .logoPc {
    display: none;
  }

  .logoMobile {
    display: flex;

    img {
      margin-left: -142px;
    }
  }
}

.menus {
  //line-height: 64px;
  display: flex;
  margin-left: 40px;
  align-content: center;

  li {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    color: #ffffff;
    height: 68px;
    display: flex;
    align-items: center;

    a {
      width: 100%;
      height: 100%;
      display: flex;
      padding: 0 20px;
      align-items: center;
      color: #ffffff;
      position: relative;

      &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: #ffc12f;
        transform: rotateY(-90deg);
        transition: transform .5s;
      }
    }

    &:hover {
      background: rgba(0, 0, 0, 0.25);
    }

    &.active {
      a {
        background: rgba(0, 0, 0, 0.25);

        &:after {
          transform: rotateY(0deg);

        }
      }
    }
  }

}

.tools {
  margin-right: 16px;
  display: flex;
  flex-direction: row;

  li {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;

    i {
      font-size: 24px;
      cursor: pointer;
    }
  }
}
