.li1-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.li1-box-item {
  overflow: hidden;
  flex: 0 0 48%;
  position: relative;
  /* min-height: 300px; */
  margin-bottom: 40px;
}

.li1-box-item:hover img {
  transform: scale(1);
}

.li1-box-item:hover .boxitem-title {
  bottom: 0px;
  opacity: 1;
  transform: scale(1.2);
}

.li1-box-item>img {
  /* width: 100%; */
  height: 100%;
  transform: scale(1.1);
  transition: all .3s ease-in-out;
}

.li1-box-item .boxitem-title {
  position: absolute;
  bottom: -75px;
  left: 0px;
  right: 0px;
  height: 75px;
  text-align: center;
  background-color: var(--headerhover);
  color: var(--headerFont);
  transition: all .3s ease-in-out;
  transform: scale(1);
  font-size: 12px;
}

.boxitem-title h6 {
  font-size: 12px;
  /* display: inline-block; */
  margin: 15px 0 8px;
}

.down {
  position: relative;
  display: inline-block;
  color: var(--mainColor);
  margin-top: 10px;
  cursor: pointer;
  padding-right: 30px;
}

.down::after {
  position: absolute;
  right: 10px;
  top: 50%;
  content: '';
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-left: 8px solid var(--mainColor);
  border-bottom: 4px solid transparent;
  transition: transform 0.3s;
}

.down:hover::after {
  transform: translateX(5px);
}

.down:hover {
  color: #ff8181;
  /* Hover color for the text */
}

/* 确保图片和视频的尺寸一致 */
.project-img,
.project-video {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
}

/* 隐藏视频的初始状态 */
.project-video {
  display: none;
}


/* 手机*/
@media screen and (max-width: 550px) {
  .li1-box-item {
    flex: auto;
    min-height: auto;
  }
}