@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: "OPPOSans-H";
  src: url("http://cdn.macio.com.cn/static/fonts/OPPOSans-H.ttf") format("truetype");
  font-display: swap;
}

body,
div,
ul,
ol,
dl,
dt,
dd,
li,
dl,
h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-family: "OPPOSans"
}

ol,
ul,
li {
  list-style: none;
}

img {
  border: 0;
  vertical-align: middle;
}

.clear {
  clear: both;
  height: 1px;
  width: 100%;
  overflow: hidden;
  margin-top: -1px;
}

.design-index {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  min-width: 1200px;
  min-height: 800px;
  background: #000;
}

.top_a {
  position: absolute;
  z-index: 9999;
  top: 25px;
  left: 30px;
}


#demo {
  width: 110%;
  height: 100%;
}

#demo li {
  float: left;
  position: relative;
  background-image: url(http://cdn.macio.com.cn/static/home/img/bja.jpg);
  background-repeat: no-repeat;
  background-position: right;
  width: 174px;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  transform-origin: bottom;
  filter: alpha(opacity=50);
  opacity: 0.95;
}

#demo li a {
  display: block;
  width: 100%;
  height: 100%;
}

#demo li .div {
  display: none;
  bottom: 14.8936%;
  width: 195px;
  /* left: 29.4466%; */
  left: 149px;
  position: absolute;
  transition: 1.2s;
}

#demo li .div span {
  display: block;
  color: #ccc;
  font-size: 16px;
  line-height: 32px;
  margin-top: 29px;
  margin-left: -2px;
}

#demo li .div img {
  /* width: 100%; */
  height: 49px;
}

#demo li .bj_b {
  left: -211px;
  box-sizing: border-box;
  width: 257px;
  height: 257px;
  top: 26.9149%;
  position: absolute;
  background: url(http://cdn.macio.com.cn/static/home/img/1-1.png) center 100% no-repeat;
}

#demo li .bj_b strong {
  margin-top: 58px;
  display: block;
  font-size: 70px;
  color: #0452f3;
  font-family: "OPPOSans-H";
  text-align: center;
  letter-spacing: -4px;
}

#demo li .bj_b span {
  margin-top: -10px;
  display: block;
  font-size: 36px;
  color: #FFF;
  font-weight: bold;
  text-align: center;
}

#demo li .diva {
  float: left;
  width: 108px;
  position: relative;
  z-index: 9999;
  left: 50px;
  top: 26.9149%;
  transition: 0.5s;
  opacity: 1;
}

#demo li .diva strong {
  margin-top: 58px;
  float: left;
  font-size: 70px;
  color: #0452f3;
  font-family: "OPPOSans-H";
  position: relative;
  left: 14px;
  letter-spacing: -4px;
}

#demo li .diva span {
  font-size: 36px;
  color: #FFF;
  font-weight: bold;
  position: relative;
  top: -10px;
  white-space: nowrap;
}

#demo li.active {
  background-position: left;
  z-index: 3;
  width: 506px;
  filter: alpha(opacity=100);
  opacity: 1;
}

#demo li.active .div {
  display: block;
}

#demo li.active .bj_b {
  left: 122px;
}

#demo li.active .diva {
  transition: 0.5s;
  opacity: 0;
}

#demo li:nth-of-type(2) .diva strong,
#demo li:nth-of-type(2) .bj_b strong {
  color: #1ed5ff;
}

#demo li:nth-of-type(3) .diva strong,
#demo li:nth-of-type(3) .bj_b strong {
  color: #ff8d62;
}

#demo li:nth-of-type(4) .diva strong,
#demo li:nth-of-type(4) .bj_b strong {
  color: #ffb47e;
}

#demo li:nth-of-type(5) .diva strong,
#demo li:nth-of-type(5) .bj_b strong {
  color: #ffb25e;
}

#demo li:nth-of-type(6) .diva strong,
#demo li:nth-of-type(6) .bj_b strong {
  color: #ffe5be;
}

#demo li:nth-of-type(7) .diva strong,
#demo li:nth-of-type(7) .bj_b strong {
  color: #4634f0;
}

#demo li:nth-of-type(8) .diva strong,
#demo li:nth-of-type(8) .bj_b strong {
  color: #313bff;
}

#demo li:nth-of-type(9) .diva strong,
#demo li:nth-of-type(9) .bj_b strong {
  color: #03ae8f;
}

#demo li:nth-of-type(2) .bj_b {
  background: url(http://cdn.macio.com.cn/static/home/img/2-1.png) center 100% no-repeat;
}

#demo li:nth-of-type(3) .bj_b {
  background: url(http://cdn.macio.com.cn/static/home/img/3-1.png) center 100% no-repeat;
}

#demo li:nth-of-type(4) .bj_b {
  background: url(http://cdn.macio.com.cn/static/home/img/4-1.png) center 100% no-repeat;
}

#demo li:nth-of-type(5) .bj_b {
  background: url(http://cdn.macio.com.cn/static/home/img/5-1.png) center 100% no-repeat;
}

#demo li:nth-of-type(6) .bj_b {
  background: url(http://cdn.macio.com.cn/static/home/img/6-1.png) center 100% no-repeat;
}

#demo li:nth-of-type(7) .bj_b {
  background: url(http://cdn.macio.com.cn/static/home/img/7-1.png) center 100% no-repeat;
}

#demo li:nth-of-type(8) .bj_b {
  background: url(http://cdn.macio.com.cn/static/home/img/8-1.png) center 100% no-repeat;
}

#demo li:nth-of-type(9) .bj_b {
  background: url(http://cdn.macio.com.cn/static/home/img/9-1.png) center 100% no-repeat;
}


#demo li .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/1-1.png) no-repeat;
  background-size: 100% !important;
  box-shadow: 0 0 70px #056BC2;
  border-radius: 50%;
  animation-name: breath;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  position: absolute;
  top: 26.9149%;
  left: -211px;
  width: 257px;
  height: 257px;
  overflow: hidden;
  opacity: 0.1;
}

#demo li.active .breath {
  left: 122px;
}

#demo li:nth-of-type(2) .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/2-1.png) no-repeat;
  box-shadow: 0 0 70px #7d5cff;
}

#demo li:nth-of-type(3) .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/3-1.png) no-repeat;
  box-shadow: 0 0 70px #7b40b8;
}

#demo li:nth-of-type(4) .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/4-1.png) no-repeat;
  box-shadow: 0 0 70px #ff786b;
}

#demo li:nth-of-type(5) .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/5-1.png) no-repeat;
  box-shadow: 0 0 70px #ff9848;
}

#demo li:nth-of-type(6) .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/6-1.png) no-repeat;
  box-shadow: 0 0 70px #fac07d;
}

#demo li:nth-of-type(7) .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/7-1.png) no-repeat;
  box-shadow: 0 0 70px #7e46f7;
}

#demo li:nth-of-type(8) .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/8-1.png) no-repeat;
  box-shadow: 0 0 70px #307dff;
}

#demo li:nth-of-type(9) .breath {
  background: url(http://cdn.macio.com.cn/static/home/img/9-1.png) no-repeat;
  box-shadow: 0 0 70px #00ba98;
}

@keyframes breath {

  /*动画开始时的不透明度*/
  from {
    opacity: 0.1;
  }

  /*动画50%时的不透明度*/
  50% {
    opacity: 1;
  }

  /*动画结束时的不透明度*/
  to {
    opacity: 0.1;
  }
}



@media screen and (max-width: 1500px) {

  #demo li .div {
    left: 30px;
  }

  #demo li .bj_b {
    left: -159px;
    width: 208px;
    height: 208px;
    background-size: 100% !important;
  }

  #demo li .bj_b strong {
    margin-top: 35px;
  }

  #demo li .diva {
    width: 75px;
  }

  #demo li .diva strong {
    font-size: 55px;
  }

  #demo li .diva span {
    font-size: 25px;
  }

  #demo li.active .bj_b {
    left: 31px;
  }

  #demo li .breath {
    left: -159px;
    width: 208px;
    height: 208px;
  }

  #demo li.active .breath {
    left: 31px;
  }

}