@import url('./header.css');
@import url('./iconfont.css');
html {
  -webkit-text-size-adjust: 100%;
  font-feature-settings: normal;
  font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
  font-variation-settings: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4
}
body, ul, ol, li, p, a, h4, h5, h6{
  padding: 0;
  margin: 0;
  border: 0;
}
body {  
  font-size: 14px;
  line-height: inherit;
  margin: 0;
}
li, a{
  list-style: none;
}
a{
  text-decoration: none;
  color: #444;
}
a:hover{
  color: #c6303e;
}
img, video {
  height: auto;
  max-width: 100%;
}
.fs-sm{
  font-size: 0.9rem;
}

.box-border{
  box-sizing: border-box;
}
.hover-li .bg-img{
  transition: all 0.5s;
}
.hover-li:hover .bg-img{
  transform: scale(1.1);
}
.hover-li:hover .hover-text-red{
  color: #dc3545;
}

.swiper-product{
  height: 20rem;
}
.swiper-slide-product {
  height: calc((100% - 30px) / 2) !important;
}

.swiper-link{
  height: 10rem;
}
.item-align{
  justify-content: space-evenly;
}
.article p{
  margin-bottom: 1.2rem;
  text-indent: 2rem;
  line-height: 1.6rem;
}
.article p img{
  max-width: 100%;
}
.pagination{
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.pagination li{
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 2px 10px;
}
.pagination li.active{
  background-color: rgba(0, 0, 0, 0.05);
  color: white;
}
.container-src{
  margin: 0 3%;
}
/* 移动端 */  
@media (max-width: 768px) {
  .custom-width{
    width: 100%;
  }
  .text-align{
    text-align: center;
  }
  .fs-base{
    font-size: 1rem;
  }
  .case-timew{
    width: 6rem;
  }
  .article p{
    text-indent: 0;
  }
}  
  
/* 电脑端 */  
@media (min-width: 769px) {
  .custom-width{
    width: 65%;
  }
  .text-align{
    text-align: right;
  }
  body {  
    font-size: 16px;  
  }
  .swiper-product{
    height: 41rem;
  }
  .swiper-link{
    height: 10rem;
  }
  .item-align{
    justify-content: end;
  }
  .fs-base{
    font-size: 1.1rem;
  }
  .case-timew{
    width: 10rem;
  }
  .about_index{
    background-image: url('../static/index/index_about.png');
    background-size: 30% 100%;
    background-repeat: no-repeat;
    background-position: right;
  }
  .product_index{
    background-image: url('../static/index/index_product.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: left;
  }
}