/* 解决方案css样式 */
.ec_solution > div {
  height: 897px;
  display: flex;
  align-items: center;
}
.ec_solution > div > div {
  width: 50%;
  color: white;
  text-align: center;
  margin: auto;
  opacity: 0;
  /* transition: ; */
  /* animation: ec_solutionName 2s; */
}

.ec_solution > div:nth-child(1) {
  background: url("http://ec-resource20.oss-cn-shanghai.aliyuncs.com/ec_official_website/img/组 2111@3x.png");
  background-size: 100% 100%;
}
.ec_solution > div:nth-child(2) {
  background: url("http://ec-resource20.oss-cn-shanghai.aliyuncs.com/ec_official_website/img/组 2112@3x.png");
  /*  背景图高度1200px 比较高的背景图才行 */
  background-size: cover;
  background-attachment: fixed;
}
.ec_solution > div:nth-child(3) {
  background: url("http://ec-resource20.oss-cn-shanghai.aliyuncs.com/ec_official_website/img/组 2101@3x.png");
  background-size: 100% 100%;
}
.ec_solution img {
  width: 30px;
}
.ec_solution > div > div > div {
  margin-bottom: 4%;
}
.ec_solution > div > div > div:nth-child(1) {
  font-size: 38px;
  font-weight: bolder;
}
.ec_solution > div > div > div:nth-child(2) {
  font-size: 24px;
}
.ec_solution > div > div > div:nth-child(3) {
  font-size: 20px;
}
.ec_solution a {
  position: relative;
  padding: 10px 20px;
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
  transition: 0.5s;
  overflow: hidden;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0003);
}
.ec_solution a:hover {
  background: white;
  text-decoration: none;
  color: #111;
  transition-delay: 0.5s;
}
.ec_solution a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-left: 2px solid white;
  transition: 0.5s;
  transition-delay: 0.5s;
}
.ec_solution a:hover::before {
  width: 100%;
  height: 100%;
  transition-delay: 0s;
}
.ec_solution a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  transition: 0.5s;
  transition-delay: 0.5s;
}
.ec_solution a:hover::after {
  width: 100%;
  height: 100%;
  transition-delay: 0s;
}

/* 手机端自适应样式 */
/* 页面小于992 执行 */
@media (max-width: 720px) {
  .ec_solution > div {
    height: 297px;
    display: flex;
    align-items: center;
  }
  .ec_solution > div > div {
    width: 80%;
  }
  .ec_solution > div:nth-child(1) {
    background-size: cover;
  }
  .ec_solution > div:nth-child(3) {
    background-size: cover;
  }
  .ec_solution > div > div > div:nth-child(1) {
    font-size: 18px;
    font-weight: bolder;
  }
  .ec_solution > div > div > div:nth-child(2) {
    font-size: 14px;
  }
  .ec_solution > div > div > div:nth-child(3) {
    font-size: 12px;
  }
  .ec_solution a {
    font-size: 12px;
  }
}

/* 动画 */
@keyframes ec_solutionName {
  0% {
    opacity: 0;
    transform: translate(-200px);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes ec_solutionName_retreat {
  0% {
    opacity: 1;
    transform: translate(0);
  }
  100% {
    opacity: 0;
    transform: translate(-200px);
  }
}
