.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 {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.main-1 .content a {
  width: calc(92% / 3);
  margin-right: 4%;
  margin-bottom: 2rem;
}
.main-1 .content a .item {
  width: 100%;
  position: relative;
}
.main-1 .content a .item .img {
  width: 100%;
  height: 15rem;
  background-color: #999;
  overflow: hidden;
}
.main-1 .content a .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}
.main-1 .content a .item .bottom {
  position: absolute;
  width: 100%;
  height: 2rem;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  justify-content: space-between;
}
.main-1 .content a .item .bottom p {
  color: #fff;
}
.main-1 .content a .item .bottom .line {
  width: 30px;
  height: 2px;
  background-color: #fff;
  position: relative;
}
.main-1 .content a .item .bottom .line::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 2px;
  background-color: #fff;
  transform: rotate(45deg);
  right: 0;
  top: -4px;
}
.main-1 .content a .item .bottom .line::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 2px;
  background-color: #fff;
  transform: rotate(135deg);
  right: 0;
  top: 4px;
}
.main-1 .content a .item:hover .img img {
  transform: scale(1.1);
}
.main-1 .content a:nth-of-type(3n) {
  margin-right: 0;
}
@media screen and (max-width: 768px) {
  .banner {
    height: 12rem;
    margin-top: 50px;
  }
  .main-1 .content {
    margin-bottom: 2rem;
    justify-content: space-between;
  }
  .main-1 .content a {
    width: 49%;
    margin-right: 0;
  }
  .main-1 .content a .item .img {
    height: 10rem;
  }
}
