.container-grid {
  width: 100%;
  height: 1080px;
  background: url(../images/bg2.png) no-repeat, #010916;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}

.swiper-wrap {
  margin-top: 145px;
  padding: 0 164px;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.bd ul li {
  float: left;
  width: 253px;
  height: 500px;
  margin-right: 11px;
}

.bd ul li:nth-last-of-type(1) {
  margin-right: 0;
}

.bd ul li:nth-of-type(2n) {
  margin-top: 131px;
}

.bd ul li:nth-of-type(1) {
  background: url(../images/p1.png) no-repeat;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}

.bd ul li:nth-of-type(2) {
  background: url(../images/p2.png) no-repeat;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}

.bd ul li:nth-of-type(3) {
  background: url(../images/p3.png) no-repeat;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}

.bd ul li:nth-of-type(4) {
  background: url(../images/p4.png) no-repeat;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}

.bd ul li:nth-of-type(5) {
  background: url(../images/p5.png) no-repeat;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}

.bd ul li:nth-of-type(6) {
  background: url(../images/p6.png) no-repeat;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}

.bd ul li a {
  display: block;
  width: 253px;
  height: 500px;
  background: url(../images/p-bg.png) no-repeat;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}

.bd ul li:hover a {
  background: rgba(103, 27, 229, 0.7);
}

.product-title {
  margin-top: 126px;
  font-family: SourceHanSansCN-Medium;
  font-size: 44px;
  color: #ffffff;
  text-shadow: 0px 5px 15px rgba(1, 9, 22, 0.3);
  text-align: center;
}

.product-resume {
  margin: 0 25px;
  margin-top: 60px;
  font-family: SourceHanSansCN-Regular;
  font-size: 20px;
  color: #bdbdde;
  line-height: 30px;
  text-align: center;
}

/* 笔记本电脑 */
@media screen and (min-width: 1025px) and (max-width: 1600px) {
  .container-grid {
    width: 100%;
    height: 84.38rem;
    background: url(../images/notebook/bg2.png) no-repeat, #010916;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
  }

  .swiper-wrap {
    margin-top: 11.33rem;
    padding: 0 1.64rem;
  }

  .bd ul li {
    float: left;
    width: 15rem;
    height: 29.62rem;
    margin-right: 1rem;
  }

  .bd ul li:nth-of-type(2n) {
    margin-top: 7.89rem;
  }

  .bd ul li a {
    width: 15rem;
    height: 29.62rem;
  }

  .product-title {
    margin-top: 7.58rem;
    font-size: 2.81rem;
  }

  .product-resume {
    margin: 0 1.41rem;
    margin-top: 3.59rem;
    font-size: 1.25rem;
    line-height: 1.88rem;
  }
}

/* 平板样式 */
@media screen and (min-width: 601px) and (max-width: 1024px) {
  .container-grid {
    width: 100%;
    height: 100vh;
    background: url(../images/pad/bg2.png) no-repeat, #010916;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
  }

  .swiper-wrap {
    margin-top: 18.88rem;
    padding: 0 2.99rem;
  }

  .bd ul li {
    float: left;
    width: 29.95rem;
    height: 59.13rem;
    margin-right: 2.08rem;
  }

  .bd ul li:nth-of-type(2n) {
    margin-top: 0;
  }

  .bd ul li:nth-of-type(3n-1) {
    margin-top: 13.15rem;
  }

  .bd ul li:nth-of-type(3n) {
    margin-top: 3.13rem;
  }

  .bd ul li a {
    width: 29.95rem;
    height: 59.13rem;
  }

  .product-title {
    margin-top: 10.03rem;
    font-size: 5.73rem;
  }

  .product-resume {
    margin: 0 2.08rem;
    margin-top: 6.25rem;
    font-size: 3.13rem;
    line-height: 4.69rem;
  }
}

/* 手机样式 */
@media screen and (max-width: 600px) {
    .container-grid {
    width: 100%;
    height: 100vh;
    background: url(../images/mobile/bg2.png) no-repeat, #010916;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
  }

  .swiper-wrap {
    margin-top: 22.66rem;
    padding: 0 3.44rem;
  }

  .bd ul li {
    float: left;
    width: 45.31rem;
    height: 89.46rem;
    margin-right: 2.5rem;
  }

  .bd ul li:nth-of-type(2n) {
    margin-top: 15.78rem;
  }

  .bd ul li a {
    width: 45.31rem;
    height: 89.46rem;
  }

  .product-title {
    margin-top: 22.97rem;
    font-size: 6.88rem;
  }

  .product-resume {
    margin: 0 2.97rem;
    margin-top: 7.5rem;
    font-size: 3.75rem;
    line-height: 5.63rem;
  }
}
