@import "./footer.less";
@import "./header.less";

@white: #fff;
@yellow: #f2ad00;
@black: #222;
@gray: #999;
@container-width: 1200px;

@keyframes changes {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}

.area-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: @container-width;
  margin: 40px auto;
  .title {
    font-size: 42px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 40px;
    white-space: nowrap;
  }
}

.sink-font {
  position: relative;
  color: #f6f6f7 !important;
  span {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-weight: 600;
    white-space: nowrap;
  }
}

.slide-box {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100vh;
  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 26px;
  }
  .prev {
    left: 10%;
    background: url(https://ugc-pro.biaoguoworks.com//officialsite/banner_left.png) no-repeat
      center/cover;
  }
  .next {
    right: 10%;
    background: url(https://ugc-pro.biaoguoworks.com//officialsite/banner_right.png) no-repeat
      center/cover;
  }
  img,
  video {
    width: 100%;
    height: 100vh;
    max-height: 100%;
    display: block;
  }
  .down-arrow {
    position: absolute;
    left: 49%;
    bottom: 22px;
    transform: translateX(-50%);
    width: 26px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 13px;
    border: 1px solid #fff;
    cursor: pointer;
    animation: changes 0.8s 0.2s linear infinite alternate;
    & > .arrow-img {
      width: 14px;
      height: 18px;
      display: inline-block;
    }
  }
  .homepage-video-wrap {
    .home-video {
      object-fit: cover;
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      width: 100%;
    }
    .vedio-float {
      position: absolute;
      top: 48%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;
      white-space: nowrap;
      img {
        width: 140px;
        height: 140px;
      }
      h3 {
        font-size: 60px;
      }
      .platform {
        margin: 20px 0 0 0;
        font-size: 50px;
        font-weight: 600;
      }
      .find-job {
        display: inline-block;
        width: 170px;
        height: 56px;
        line-height: 56px;
        text-align: center;
        background: #f2ad00;
        border-radius: 30px;
        color: #fff;
      }
    }
  }
}
.bingo-team {
  width: 100%;
  height: 780px;
  background: url(https://ugc-pro.biaoguoworks.com//officialsite/team.png) no-repeat center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  .bingo-team-title {
    position: relative;
    color: rgba(246, 246, 247, 0.2);
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    span {
      position: absolute;
      top: -20%;
      left: 50%;
      transform: translateX(-50%);
      color: #fff;
      font-weight: 600;
      white-space: nowrap;
    }
  }
  .team-intro {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 30px;
  }
  .team-slide-box {
    display: flex;
    .bd {
      margin-right: 46px;
      img {
        width: 694px;
        height: 460px;
        border-radius: 10px;
      }
    }
    .hd {
      .hd-list {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 460px;
      }
      li {
        width: 460px;
        border-radius: 10px;
        padding: 25px 30px;
        box-sizing: border-box;
        transition: all 0.2s linear;
        margin-bottom: 8px;
        cursor: pointer;
        &:last-of-type {
          margin-bottom: 0;
        }
        p {
          max-width: 400px;
          font-size: 16px;
          font-weight: 400;
          color: #ffffff;
          margin-top: 10px;
          display: none;
        }
        &.on {
          font-size: 28px;
          height: 140px;
          background: #ffb806;
          p {
            display: block;
          }
        }
      }
    }
  }
}

.about-us {
  background-color: #fff;
  text-align: center;
  .introduce {
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 40px;
    text-align: left;
  }
  .slider-container {
    width: @container-width;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    position: relative;
    .slider-item {
      width: 25%;
      height: 400px;
      transition: width 0.3s ease-out;
      color: #000;
      overflow: hidden;
      position: relative;
      .common {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 30px;
        box-sizing: border-box;
      }
      .info {
        padding-top: 250px;
        height: 400px;
        background: rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease-out;
      }
      .drawer {
        position: absolute;
        width: 100%;
        height: 300px;
        bottom: -300px;
        left: 0;
        // background-color: #ffb806;
        color: #fff;
        transition: bottom 0.3s ease-out;
        .detail-info {
          font-size: 14px;
          font-weight: 400;
          color: #ffffff;
          text-align: left;
          margin-top: 20px;
          max-width: 350px;
        }
      }
      h2 {
        color: white;
      }
      p {
        font-size: 16px;
      }
      &:hover {
        width: 498px;
        .drawer {
          bottom: -90px;
        }
        .info {
          padding-top: 160px;
          background: rgba(0, 0, 0, 0.5);
        }
      }
    }
    .slider-item-1 {
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/about_fruit_1.png) no-repeat
        center/cover;
    }
    .slider-item-2 {
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/about_frozen_2.png) no-repeat
        center/cover;
    }
    .slider-item-3 {
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/about_vegetable_3.png)
        no-repeat center/cover;
    }
    .slider-item-4 {
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/about_milk_4.png) no-repeat
        center/cover;
    }
  }
}

// 标果产品
.bingo-product {
  .bingo-product-wrapper {
    position: relative;
  }
  .bingo-product-box {
    position: relative;
    height: auto !important;
    li {
      width: @container-width;
      overflow: hidden;
      border-radius: 10px;
      .product-img {
        width: 50%;
        height: 400px;
        float: left;
        border-radius: 0 10px 10px 0;
      }
      .product-img-1 {
        background: url(https://ugc-pro.biaoguoworks.com//officialsite/empower_1.png) no-repeat
          center/cover;
      }
      .product-img-2 {
        background: url(https://ugc-pro.biaoguoworks.com//officialsite/empower_2.png) no-repeat
          center/cover;
      }
      .product-img-3 {
        background: url(https://ugc-pro.biaoguoworks.com//officialsite/empower_3.png) no-repeat
          center/cover;
      }
      .product-intro {
        width: 50%;
        padding: 70px;
        box-sizing: border-box;
        float: left;
        .product-title {
          font-size: 24px;
          font-weight: 600;
          color: #222222;
          margin-bottom: 20px;
        }
        .info {
          font-size: 16px;
          font-weight: 400;
          color: #222222;
          box-shadow: none;
          li {
            display: flex;
            align-items: center;
            &::before {
              content: "";
              display: inline-block;
              width: 6px;
              height: 6px;
              background-color: #d8d8d8;
              border-radius: 4px;
              margin-right: 6px;
            }
          }
        }
      }
    }
    .product-slider-wrapper {
      & > li {
        margin: 10px;
        box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.05);
      }
    }

    .prev,
    .next {
      position: absolute;
      left: 83px;
      bottom: 48px;
      width: 32px;
      height: 32px;
    }
    .prev {
      left: 83px;
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/product_arrow_left.png)
        no-repeat center/cover;
    }
    .next {
      left: 140px;
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/product_arrow_right.png)
        no-repeat center/cover;
    }
  }
}

// 最新动态
.latest-update {
  .latest-update-wrapper {
    position: relative;
  }
  .latest-update-box {
    position: relative;
    height: auto !important;
    li {
      width: @container-width;
      overflow: hidden;
      border-radius: 10px;
      .latest-update-img {
        width: 50%;
        height: 400px;
        float: left;
        border-radius: 0 10px 10px 0;
      }
      .latest-update-img-1 {
        background: url(https://ugc-pro.biaoguoworks.com//officialsite/latest-update-1-pc-v8.jpg)
          no-repeat center/cover;
      }
      .latest-update-intro {
        width: 50%;
        padding: 70px;
        box-sizing: border-box;
        float: left;
        .latest-update-title {
          font-size: 24px;
          font-weight: 600;
          color: #222222;
          margin-bottom: 20px;
        }
        .info {
          font-size: 16px;
          font-weight: 400;
          color: #222222;
          box-shadow: none;
          li {
            display: flex;
            align-items: center;
            &::before {
              content: "";
              display: inline-block;
              width: 6px;
              height: 6px;
              background-color: #d8d8d8;
              border-radius: 4px;
              margin-right: 6px;
            }
          }
        }
      }
    }
    .latest-update-slider-wrapper {
      & > li {
        margin: 10px;
        box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.05);
      }
    }

    .prev,
    .next {
      position: absolute;
      left: 83px;
      bottom: 48px;
      width: 32px;
      height: 32px;
    }
    .prev {
      left: 83px;
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/product_arrow_left.png)
        no-repeat center/cover;
    }
    .next {
      left: 140px;
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/product_arrow_right.png)
        no-repeat center/cover;
    }

    .update-content {
      display: flex;
      // width: 100%;
      .update-item {
        height: 465px;
        position: relative;
        box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.05);

        .latest-update-intro {
          width: 91%;
          position: absolute;
          padding-top: 16px;
          left: 16px;

          .latest-update-title {
            padding-bottom: 16px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }
          .info {
            -webkit-box-orient: vertical;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            overflow: hidden;
            text-overflow: ellipsis;
          }
        }
        &:first-child {
          padding-right: 6px;
        }
      }
      .update-item-1 {
        background: url(https://ugc-pro.biaoguoworks.com//officialsite/latest-update-1-pc-v16.jpg)
          no-repeat;
        width: 800px;
        height: 320px;
        background-size: cover;
        border-radius: 10px;
      }
      .update-item-2 {
        background: url(https://ugc-pro.biaoguoworks.com//officialsite/gouqi_new%281%29.png)
          no-repeat;
        width: 400px;
        background-size: cover;
        background-position-x: right;
        height: 320px;
        border-radius: 10px;
      }
    }
  }
}

.attract-investment-box {
  width: 100%;
  .attract-investment-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    .attract-investment-item {
      width: 48%;
      box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.05);
      border-radius: 15px;
      .attract-investment-intro {
        height: 100%;
      }
      .attract-investment-title {
        text-align: center;
        h2 {
          margin: 20px 0 16px;
        }
      }
      .info-1 {
        display: flex;
        padding-top: 16px;
        div {
          width: 50%;
          height: 300px;
        }
        .attract-investment-img1 {
          background: url(https://ugc-pro.biaoguoworks.com//officialsite/investment_v2.png)
            no-repeat top/220px;
        }
        .attract-investment-img2 {
          background: url(https://ugc-pro.biaoguoworks.com//officialsite/investment_2_V3.png)
            no-repeat center 30px;
          background-size: 165px;
          position: relative;
          .textLine {
            position: absolute;
            bottom: 50px;
            height: auto;
            width: 100%;
          }
          p {
            font-size: 14px;
            text-align: center;
            font-weight: 600;
          }
        }
      }
      .info-2 {
        display: flex;
        justify-content: space-between;
        padding: 30px 50px 16px 50px;
        flex-direction: column;
        height: 316px;
        .modsItem {
          background: rgba(0, 0, 0, 0.04);
          padding-left: 16px;
          overflow: hidden;
          display: flex;
          align-items: center;
          font-size: 14px;
          .mods {
            padding: 16px 0;
            margin-left: 16px;
            background: rgba(0, 0, 0, 0);
            border: none;
            outline: none;
            flex-grow: 1;
          }
          .selectModes {
            margin-right: 16px !important;
          }
        }
        button {
          border: none;
          padding: 16px 0;
          background-color: @yellow;
          color: #fff;
          font-size: 16px;
          cursor: pointer;
          &:active {
            background-color: rgba(242, 173, 0, 0.8);
          }
        }
      }
    }
  }
}

// 加入我们
.join-us-wrapper {
  .area-container > .title {
    margin: 0;
  }
  .join-us {
    width: 100%;

    .join-us-content {
      width: 1200px;
      margin: 40px auto;
      height: 400px;
      background: url(https://ugc-pro.biaoguoworks.com//officialsite/join-us_v2.png) no-repeat
        center/cover;
      padding-left: 80px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      .join-btn {
        display: inline-block;
        width: 170px;
        height: 56px;
        line-height: 56px;
        text-align: center;
        background: #f2ad00;
        border-radius: 15px;
        color: #fff;
        cursor: pointer;
        transition: opacity 0.2s linear;
        &:hover {
          opacity: 0.9;
        }
      }
      .meet {
        color: #fff;
        margin-bottom: 30px;
        h3 {
          font-size: 42px;
        }
        p {
          font-size: 36px;
        }
      }
    }
  }
}
