.banner {
  height: 600px;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: myfirst 20s linear infinite;
}
@keyframes myfirst {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@-moz-keyframes myfirst {
  /* Firefox */
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes myfirst {
  /* Safari and Chrome */
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@-o-keyframes myfirst {
  /* Opera */
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.main-1 .content .tabcontent .con {
  display: flex;
  flex-wrap: wrap;
}
.main-1 .content .tabcontent .con .item {
  width: calc(92% / 3);
  margin-right: 4%;
  position: relative;
  margin-bottom: 2rem;
}
.main-1 .content .tabcontent .con .item .img {
  width: 100%;
  height: 12rem;
  overflow: hidden;
  position: relative;
}
.main-1 .content .tabcontent .con .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  transition-delay: 0.1s;
}
.main-1 .content .tabcontent .con .item .img .mask {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -100%;
  transition: all 0.5s ease;
}
.main-1 .content .tabcontent .con .item .img .mask::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 2px;
  background-color: #fff;
  left: 50%;
  top: 50%;
}
.main-1 .content .tabcontent .con .item .img .mask::after {
  position: absolute;
  content: "";
  width: 2px;
  height: 20px;
  background-color: #fff;
  left: 52%;
  top: 46%;
}
.main-1 .content .tabcontent .con .item .text {
  background-color: #fff;
  border-radius: 0.5rem;
  display: block;
  margin: 0 1rem;
  transform: translateY(-1rem);
  transition: all 0.4s ease;
  padding-bottom: 0.5rem;
}
.main-1 .content .tabcontent .con .item .text h1 {
  text-align: center;
  font-size: 1rem;
  padding: 0.5rem 0;
  padding-top: 1rem;
  transition: all 0.4s ease;
}
.main-1 .content .tabcontent .con .item .text p {
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 2;
  padding: 0 0.5rem;
  color: #666666;
}
.main-1 .content .tabcontent .con .item .time {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background-color: #fff;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
}
.main-1 .content .tabcontent .con .item .time p {
  display: block;
  margin: 0 auto;
  text-align: center;
  padding-top: 0.8rem;
}
.main-1 .content .tabcontent .con .item .time .line {
  width: 20px;
  height: 0.1rem;
  background-color: #eaeaea;
  display: block;
  margin: 0 auto;
  border-radius: 1rem;
  margin-top: 0.4rem;
}
.main-1 .content .tabcontent .con .item .time p:last-of-type {
  padding-top: 0.4rem;
  letter-spacing: 1px;
}
.main-1 .content .tabcontent .con .item:nth-of-type(3n) {
  margin-right: 0;
}
.main-1 .content .tabcontent .con .item:hover .img img {
  transform: scale(1.1);
}
.main-1 .content .tabcontent .con .item:hover .img .mask {
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
}
.main-1 .content .tabcontent .con .item:hover .text {
  box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.1);
}
.main-1 .content .tabcontent .con .item:hover .text h1 {
  color: #5dc9df;
}
.main-1 .content .tabcontent .con .item:hover .time {
  background-color: #5dc9df;
}
.main-1 .content .tabcontent .con .item:hover .time p {
  color: #fff;
}
.main-1 .content .tabcontent .con .item:hover .time .line {
  background-color: #fff;
}
@media screen and (max-width: 1366px) {
  .main-1 .content .tabcontent .con .item .img .mask::after {
    left: 53%;
  }
}
@media screen and (max-width: 768px) {
  .banner {
    height: 12rem;
    margin-top: 50px;
  }
  .main-1 .content .tabcontent .con {
    justify-content: space-between;
  }
  .main-1 .content .tabcontent .con .item {
    margin-right: 0;
    width: 49%;
  }
  .main-1 .content .tabcontent .con .item .img {
    height: 8rem;
  }
  .main-1 .content .tabcontent .con .item .img .mask {
    top: 0;
  }
  .main-1 .content .tabcontent .con .item .img .mask::before {
    display: none;
  }
  .main-1 .content .tabcontent .con .item .img .mask::after {
    display: none;
  }
  .main-1 .content .tabcontent .con .item .text {
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.1);
  }
  .main-1 .content .tabcontent .con .item .text p {
    -webkit-line-clamp: 2;
    line-height: 1.5;
  }
  .main-1 .content .tabcontent .con .item:hover .img .mask {
    background-color: rgba(0, 0, 0, 0);
  }
}
