/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.banner {
  background-color: var(--white);
  overflow: hidden;
}
.banner .banner-bg {
  background: url('../img/about/up.jpg') no-repeat center;
  height: 300px;
  position: relative;
}
.banner .banner-bg .text {
  font-size: 30px;
  color: var(--white);
  font-weight: 700;
  position: absolute;
  top: 30px;
  left: 120px;
  line-height: 50px;
}
.four-advantages {
  background-color: var(--white);
  padding: 40px 0;
}
.four-advantages .four-list {
  display: -ms-grid;
  display: grid;
  gap: 20px;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(4, 1fr);
}
.four-advantages .four-list .four-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  border: 1px solid var(--primary-color);
  padding: 20px;
}
.four-advantages .four-list .four-item:hover {
  background-color: var(--primary-color);
  color: var(--white);
}
.four-advantages .four-list .four-item:hover .icon {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
/* 智领未来 生产无限可能 */
.future {
  padding: 40px 0;
  opacity: 0;
}
.future .title-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 354px;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
}
.future .title-box .img {
  width: 60%;
  img {
    width: 100%;
    height: 100%;
  }
}
.future .title-box .text {
  width: 80%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 10px 0 100px;
  line-height: 30px;
  font-size: 16px;
  text-indent: 2em;
}
/* 让生产更智能 让管理更轻松  */
.production {
  padding: 40px 0;
  background-color: var(--white);
  opacity: 0;
}
.production .title-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 10px;
  text-indent: 2em;
  line-height: 30px;
}
.production .production-title {
  color: var(--primary-color);
  font-size: 24px;
  text-align: center;
  margin: 40px 0;
}
.production-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.production-item {
  height: 182px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--white);
  font-size: 22px;
  letter-spacing: 10px;
  font-weight: 700;
  overflow: hidden;
  position: relative;
}
.production-item .img {
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  -o-transition: transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
  position: absolute;
}
.production-item .text {
  z-index: 10;
}
.production-item:hover .img {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
@media (max-width: 1200px) {
  .production-list {
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .banner .banner-bg .text {
    font-size: 30px;
    color: var(--white);
    font-weight: 700;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0px;
    text-align: center;
  }
  .four-advantages .four-list {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: repeat(2, 1fr);
  }
  .future .title-box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
  }
  .future .title-box .img {
    width: auto;
  }
  .future .title-box .text {
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 10px;
    line-height: 30px;
    font-size: 16px;
  }
  .production .title-box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  .production-list {
    gap: 10;
    -ms-grid-columns: 1fr 10 1fr;
    grid-template-columns: repeat(2, 1fr);
  }
}
