.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 {
  width: 100%;
  height: 20rem;
  background: url(../img/suppot-bgc.jpg);
  background-attachment: fixed;
  position: relative;
}
.main-1 .content p {
  line-height: 2;
  text-align: center;
  width: 80%;
  display: block;
  margin: 0 auto;
  padding-top: 5rem;
  padding-bottom: 3rem;
  color: #fff;
  position: relative;
  z-index: 9;
}
.main-1 .content .button {
  display: block;
  margin-top: 1rem;
  width: 9rem;
  padding: 0.5rem;
  position: relative;
  z-index: 1;
  margin-left: 50%;
  transform: translateX(-50%);
}
.main-1 .content .button button {
  display: block;
  margin: 0 auto;
  font-size: 0.8rem;
  color: #fff;
  padding: 0.5rem 2rem;
  transition: all 0.4s ease;
  background: #fff;
  border: 1px solid #5dc9df;
  color: #5dc9df;
}
.main-1 .content .button .line1 {
  position: absolute;
  width: 10px;
  height: 1px;
  left: 0;
  top: 0;
  background-color: #5dc9df;
  transition: all 0.4s ease;
}
.main-1 .content .button .line2 {
  position: absolute;
  width: 1px;
  height: 10px;
  left: 0;
  top: 0;
  background-color: #5dc9df;
  transition: all 0.4s ease;
}
.main-1 .content .button .line3 {
  position: absolute;
  width: 10px;
  height: 1px;
  right: 0;
  bottom: 0;
  background-color: #5dc9df;
  transition: all 0.4s ease;
}
.main-1 .content .button .line4 {
  position: absolute;
  width: 1px;
  height: 10px;
  right: 0;
  bottom: 0;
  background-color: #5dc9df;
  transition: all 0.4s ease;
}
.main-1 .content .button:hover button {
  background: linear-gradient(90deg, #66c4a4 0%, #5dc9df 100%), linear-gradient(#5dc9dd, #5dc9dd);
  background-blend-mode: normal, normal;
  color: #fff;
}
.main-1 .content .button:hover .line1 {
  width: 100%;
}
.main-1 .content .button:hover .line2 {
  height: 100%;
}
.main-1 .content .button:hover .line3 {
  width: 100%;
}
.main-1 .content .button:hover .line4 {
  height: 100%;
}
.main-1 .content .mask {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  top: 0;
}
.main-2 .content {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.main-2 .content a {
  width: calc(92% / 3);
  margin-right: 4%;
  margin-bottom: 2rem;
}
.main-2 .content a .item .img {
  width: 100%;
  height: 15rem;
  background: #999;
  transition: all 0.4s ease;
  overflow: hidden;
}
.main-2 .content a .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}
.main-2 .content a .item .text {
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ebebeb;
}
.main-2 .content a .item .text h1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.4s ease;
}
.main-2 .content a .item .text p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.8;
  color: #666666;
}
.main-2 .content a .item .text::after {
  position: absolute;
  content: "";
  width: 0%;
  height: 2px;
  bottom: 0;
  background-color: #5dc9df;
  transition: all 0.4s ease;
}
.main-2 .content a .item:hover .img {
  box-shadow: 0rem 0.5rem 1rem 0rem rgba(79, 100, 106, 0.2);
}
.main-2 .content a .item:hover .img img {
  transform: scale(1.1);
}
.main-2 .content a .item:hover .text h1 {
  color: #5dc9df;
}
.main-2 .content a .item:hover .text::after {
  width: 100%;
}
.main-2 .content a:nth-of-type(3n) {
  margin-right: 0;
}
@media screen and (max-width: 1366px) {
  .main-1 .content .button button {
    padding: 0.5rem 1.5rem;
  }
  .main-1 .content p {
    padding-bottom: 2rem;
  }
}
@media screen and (max-width: 768px) {
  .banner {
    height: 10rem;
    margin-top: 50px;
  }
  .main-1 .content p {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }
  .main-1 .content .button {
    margin-top: 0;
  }
  .main-2 .content {
    margin-bottom: 0;
  }
  .main-2 .content a {
    margin-right: 0;
    width: 100%;
  }
  .main-2 .content a .item {
    display: flex;
  }
  .main-2 .content a .item .img {
    width: 45%;
    flex-shrink: 0;
    height: 8rem;
  }
  .main-2 .content a .item .text {
    padding-left: 2%;
  }
}
