.material-banner {
  background: url('../img/material/renwuwuzibanner.png');
  height: 54.375rem;
  /* background-size: 100% 100%; */
  background-size: cover;
  /* text-align: right; */
  background-position: center;
  position: relative; /* 为了添加占位符 */
}

.material-management {
  text-align: center;
  padding: 4.4375rem 0 0 0;
  background: #FFFFFF;
}

.management-content {
  padding: 3.75rem 0 0 0;
  background: #FFFFFF;
}

.default-header {
  z-index: 9999;
}

.alt-header {
  opacity: 0;
  background: #fff;
  z-index: 9998;
  /* 初始时隐藏 */
}

.alt-header .logo .nav-list a {
  color: #302929;
}

.navbar {
  padding-left: 13.75rem;
  overflow: hidden;
  display: flex;
  justify-content: start;
}

.nav-item {

  width: 10rem;
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  font-size: 1.125rem;
  color: #302929;
  line-height: 1.5625rem;
  font-style: normal;
  margin-right: 1.875rem;
  cursor: pointer;
  user-select: none; /* 防止选中文本 */
}

/* .nav-item:hover,
.active {} */

.content {
  padding: 3rem 0 0 16.6875rem;
  margin-top: 0rem;
  width: 100%;
  height: 35.9375rem;
  background: rgba(254, 216, 183, 0.2);
  text-align: left;
  /* visibility: hidden */
}

.qqqqq {
  display: none;
  animation: fadeInUp 1s ease forwards; /* forwards 保持动画结束状态 */
}

    /* 显示元素时添加动画 */
    .qqqqq.show {
      display: block;
    }

.content.active {
  display: block;
  /* animation: slideDown 0.5s; */
}

.content h2 {
  margin-bottom: 1.25rem;

font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 1.625rem;
color: #302929;
line-height: 2.3125rem;
text-align: left;
font-style: normal;
}

.content-p {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 1.125rem;
color: #808080;
line-height: 1.5625rem;
text-align: left;
font-style: normal;
}

.border-bottom {
  width: 10rem;
  height: 0.25rem;
  background: linear-gradient(270deg, #B7272E 0%, #FF949D 100%);
  border-radius: 0.25rem;
  margin-top: 0.9375rem;
  display: none;
}

/* @keyframes slideDown {
  from {
    height: 0;
    opacity: 0;
  }

  to {
    height: auto;
    opacity: 1;
  }
} */

 /* 淡入动画 */
 @keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contents {
  display: flex;
  margin-top: 2.6875rem;
}

.contents-left {
  display: flex;
  flex-direction: column;
  margin-right: 4.4375rem;
}

.contents-left-item {
  display: flex;
  margin-bottom: 1.25rem;
}

.contents-left-item img {
  margin-right: 0.625rem;
  width: 1.5rem;
  height: 1.5rem;
}

.contents-left-item p {
  width: 25.0625rem;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 1rem;
color: #808080;
line-height: 1.375rem;
text-align: left;
font-style: normal;
}

.contents-right img{
  width: 56.25rem;
  height: 19.4375rem;
}

.files-electronic {
  background: #FFFFFF;
}

.material-warehouse {
  text-align: center;
  padding: 3rem 0 52px 0;

  margin: 0 auto;
  width: 91.25rem;
}

.warehouse-content {
  margin-top: 3.125rem;
}

/* .warehouse-content {

} */

.warehouse-items {
display: flex;
justify-content: space-between;
margin-bottom: 1.25rem;
}

.warehouse-item {
  padding: 1.25rem;
  width: 21.875rem;
  height: 14.375rem;
  background: #FFFFFF;
  box-shadow: 0rem 1.25rem 2.5rem 0rem rgba(183,39,46,0.15);
}

.warehouse-item:hover {
  box-shadow: 0rem 0.3125rem 0.625rem 0rem rgba(183,39,46,0.15), 0rem 0.625rem 1.25rem 0rem rgba(183,39,46,0.15);
}
.warehouse-item img {
  width: 19.25rem;
  height: 11.8125rem;
}

.yuan {
  width: 0.625rem;
height: 0.625rem;
border: 0.25rem solid;
float: right;
border-image: linear-gradient(180deg, rgba(220, 79, 91, 1), rgba(183, 39, 46, 1)) 4 4;
}

.warehouse-item h3 {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 1.125rem;
color: #302929;
line-height: 1.5625rem;
text-align: left;
font-style: normal;
margin: 1.25rem 1.25rem 1.25rem 0;
}

.warehouse-item p {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 0.875rem;
color: #808080;
line-height: 1.25rem;
text-align: left;
font-style: normal;
}

.material-bigscreen {
  text-align: center;
  padding: 5.3125rem 0 6.25rem 0;
  background: url('../img/material/wuzicangkudaping.png');
  margin: 0 auto;
  
}

.bigscreen-img{
  display: none;
}

.material-bigscreen:hover .bigscreen-img {
  display: block;
  margin: 0 auto;
}
.material-bigscreen:hover h3 {
  display: none;
}
.material-bigscreen:hover p {
  display: none;
}
.material-bigscreen:hover .common-img {
  display: none;
}
.material-bigscreen:hover .bigscreen-content {
  display: none;
}

.bigscreen-content {
  margin-top: 3.75rem;
  display: flex;
  justify-content: space-between;
  width: 92.5rem;
  margin: 3.75rem auto 0 auto;
}

.bigscreen-item {
  width: 28.125rem;
  height: 32.5rem;
  padding: 0 4.375rem 1.25rem 4.375rem;
}

.bigscreen-item img {
  width: 17.5625rem;
  height: 2.125rem;
}

.purchase {
  background: url('../img/material/caigou.png');
  background-size: 100% 100%;
}

.inventory {
  background: url('../img/material/kucun.png');
  background-size: 100% 100%;
}

.allocation {
  background: url('../img/material/fenpei.png');
  background-size: 100% 100%;
}

.bigscreen-item h3 {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 1.5rem;
color: #FED8B7;
line-height: 2.0625rem;
font-style: normal;
margin: 17.125rem 0 1.25rem 0;
}

.bigscreen-item p {
  width: 19.375rem;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 1.125rem;
color: #FFFFFF;
line-height: 1.5625rem;
font-style: normal;
margin-bottom: 4rem;
height: 4.6875rem;
}

.bigscreen-title {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 1.5rem;
color: #FFFFFF;
line-height: 2.0625rem;
font-style: normal;
margin-bottom: 1.25rem;
}

.material-banner-text {
  text-align: left;
  padding-top: 19.9375rem;
  padding-left: 14.375rem;
}

.material-banner-text h1{
  position: relative;
  font-family: FZZDHJW--GB1, sans-serif;
  font-weight: normal;
  font-size: 5rem;
  text-align: left;
  font-style: normal;
}

/* 渐变文字层 */
.material-banner-text h1::before {
  content: "人武物资装备系统";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  color: transparent;
  background: linear-gradient(45.48227628471054deg, #B7272E 0%, #FF5D64 34%, #B7272E 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.material-banner-text p{
  position: relative;
  font-family: FZZDHJW--GB1, sans-serif;
  font-weight: normal;
  font-size: 1.875rem;
  text-align: left;
  font-style: normal;
}

/* 渐变文字层 */
.material-banner-text p::before {
  content: "物资装备管理系统｜仓库监控系统｜物资仓库可视化大屏";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  color: transparent;
  background: linear-gradient(45.48227628471054deg, #B7272E 0%, #FF5D64 34%, #B7272E 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.material-banner button {
  padding: 0;
  width: 13.75rem;
  height: 3.125rem;
  background: linear-gradient( 142deg, rgba(255,255,255,0.22) 0%, #FFFFFF 60%);
  border-radius: 0.25rem;
  font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 1.5rem;
color: #B7272E;
text-align: center;
font-style: normal;
margin-top: 2.5625rem;
}
.material-banner button:hover {
  box-shadow: 0rem 0.3125rem 0.625rem 0rem #8F2227, 0rem 0.625rem 1.25rem 0rem #8F2227;
}

@media screen and (min-width: 1921px) {
  .material-warehouse {
    max-width: 1460px;
  }

  .bigscreen-content {
    max-width: 1480px;
  }

  .navbar {
    padding-left: calc(13.70rem + ((100vw - 1920px) * 0.51));  /* 可以组合使用，更精确控制 */
  }

  .content {
    padding-left: calc(13.75rem + ((100vw - 1920px) * 0.51));  /* 可以组合使用，更精确控制 */
  }

  .material-banner {
    height: calc(54.375rem + ((100vw - 1920px) * 0.51));
  }

  .material-banner-text {
    padding-left: calc(14.375rem + ((100vw - 1920px) * 0.51));
    padding-top: calc(19.9375rem + ((100vw - 1920px) * 0.25));
  }
}