.home {
  width: 100%;
  background: #333333;
  position: relative;
}
.home .banner {
  width: 100%;
  position: relative;
}
.home .banner::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}
.home .banner img {
  vertical-align: middle;
  object-fit: cover;
  width: 100%;
}
.home .banner .text {
  position: absolute;
  left: 7%;
  top: 10%;
  color: white;
}
.home .banner .text .p1 {
  font-size: 30px;
}
.home .banner .text .p2 {
  font-size: 24px;
  margin-top: 10px;
}
.home .banner .links {
  position: absolute;
  left: 7%;
  bottom: 15%;
  color: white;
  display: flex;
  align-items: center;
}
.home .banner .links img {
  width: 17px;
}
.home .banner .links p {
  margin-left: 10px;
   font-size: 12px;
}
.home .main {
  width: 84%;
  margin: 20px auto;
  padding: 0 3% 30px 3%;
  background: #55595D;
}
.home .main .links {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid #7A7878;
  padding: 30px 0;
}
.home .main .links a {
  width: 143px;
  height: 50px;
  border: 1px solid #7E7E7E;
  display: inline-block;
  margin-left: 15px;
  text-align: center;
  line-height: 50px;
  color: white;
  transition: all 600ms;
}
.home .main .links a:hover {
  background: #EBC500;
  border-color: #EBC500;
}
.home .main .links .active {
  background: #EBC500;
  border-color: #EBC500;
}
.home .main .des {
  color: white;
  font-size: 14px;
  line-height: 2;
  margin: 30px auto;
}
.home .main .allItems {
  width: 100%;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
}
.home .main .allItems .item {
  width: 23%;
  margin-left: 1.5%;
  margin-bottom: 20px;
  cursor: pointer;
}
.home .main .allItems .item .pic {
  border: 3px solid transparent;
  text-align: center;
  padding: 30px 0;
  background: white;
  transition: all 600ms;
}
.home .main .allItems .item .pic img {
  max-width: 80%;
  object-fit: contain;
}
.home .main .allItems .item p {
  background: #333333;
  text-align: center;
  color: white;
  padding: 15px 0;
  font-size: 16px;
  transition: all 600ms;
}
.home .main .allItems .item:hover .pic {
  border-color: #EBC500;
}
.home .main .allItems .item:hover p {
  background: #EBC500;
  color: white;
}
@media screen and (max-width: 1200px) {
  .home {
    padding-top: 98px;
  }
  .home .banner img {
    height: 200px;
  }
  .home .banner .text .p1 {
    font-size: 24px;
  }
  .home .banner .text .p2 {
    font-size: 20px;
  }
  .home .banner .links img {
    height: auto;
  }
  .home .main {
    flex-direction: column;
    padding: 0 5% 20px 5%;
    width: 80%;
  }
  .home .main .links {
    padding: 20px 0 10px 0;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .home .main .links a {
    height: 40px;
    margin-left: 0;
    margin-bottom: 10px;
    line-height: 40px;
    width: 48%;
  }
  .home .main .des {
    margin: 20px auto;
    font-size: 16px;
  }
  .home .main .allItems {
    justify-content: space-between;
    margin-bottom: 0;
  }
  .home .main .allItems .item {
    width: 48%;
    margin-left: 0;
    margin-bottom: 15px;
  }
  .home .main .allItems .item p {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/*# sourceMappingURL=products.css.map */
