/* ------------------------------------------
 * IT书包
 * 网址：www.itshubao.com
 * 整理：yinq<3331653644@qq.com> 
 -------------------------------------------- */
html, body {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #2D4654;
}

.loader {
  width: 130px;
  height: 170px;
  position: relative;
}
.loader::before, .loader::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: 30px;
  left: 15px;
  z-index: 1;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 20px solid #1b2a33;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.loader::after {
  border-right: 15px solid transparent;
  border-bottom: 20px solid #162229;
}
.loader .getting-there {
  width: 120%;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: -7%;
  font-family: "Microsoft YaHei";
  font-size: 12px;
  letter-spacing: 2px;
  color: white;
}
.loader .binary {
  width: 100%;
  height: 140px;
  display: block;
  color: white;
  position: absolute;
  top: 0;
  left: 15px;
  z-index: 2;
  overflow: hidden;
}
.loader .binary::before, .loader .binary::after {
  font-family: "Microsoft YaHei";
  font-size: 24px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.loader .binary:nth-child(1)::before {
  content: "0";
  -webkit-animation: a 1.1s linear infinite;
          animation: a 1.1s linear infinite;
}
.loader .binary:nth-child(1)::after {
  content: "0";
  -webkit-animation: b 1.3s linear infinite;
          animation: b 1.3s linear infinite;
}
.loader .binary:nth-child(2)::before {
  content: "1";
  -webkit-animation: c 0.9s linear infinite;
          animation: c 0.9s linear infinite;
}
.loader .binary:nth-child(2)::after {
  content: "1";
  -webkit-animation: d 0.7s linear infinite;
          animation: d 0.7s linear infinite;
}
.loader.JS_on::before, .loader.JS_on::after {
  -webkit-transform: scale(1);
          transform: scale(1);
}

@-webkit-keyframes a {
  0% {
    -webkit-transform: translate(30px, 0) rotate(30deg);
            transform: translate(30px, 0) rotate(30deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(30px, 150px) rotate(-50deg);
            transform: translate(30px, 150px) rotate(-50deg);
    opacity: 1;
  }
}

@keyframes a {
  0% {
    -webkit-transform: translate(30px, 0) rotate(30deg);
            transform: translate(30px, 0) rotate(30deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(30px, 150px) rotate(-50deg);
            transform: translate(30px, 150px) rotate(-50deg);
    opacity: 1;
  }
}
@-webkit-keyframes b {
  0% {
    -webkit-transform: translate(50px, 0) rotate(-40deg);
            transform: translate(50px, 0) rotate(-40deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(40px, 150px) rotate(80deg);
            transform: translate(40px, 150px) rotate(80deg);
    opacity: 1;
  }
}
@keyframes b {
  0% {
    -webkit-transform: translate(50px, 0) rotate(-40deg);
            transform: translate(50px, 0) rotate(-40deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(40px, 150px) rotate(80deg);
            transform: translate(40px, 150px) rotate(80deg);
    opacity: 1;
  }
}
@-webkit-keyframes c {
  0% {
    -webkit-transform: translate(70px, 0) rotate(10deg);
            transform: translate(70px, 0) rotate(10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(60px, 150px) rotate(70deg);
            transform: translate(60px, 150px) rotate(70deg);
    opacity: 1;
  }
}
@keyframes c {
  0% {
    -webkit-transform: translate(70px, 0) rotate(10deg);
            transform: translate(70px, 0) rotate(10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(60px, 150px) rotate(70deg);
            transform: translate(60px, 150px) rotate(70deg);
    opacity: 1;
  }
}
@-webkit-keyframes d {
  0% {
    -webkit-transform: translate(30px, 0) rotate(-50deg);
            transform: translate(30px, 0) rotate(-50deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(45px, 150px) rotate(30deg);
            transform: translate(45px, 150px) rotate(30deg);
    opacity: 1;
  }
}
@keyframes d {
  0% {
    -webkit-transform: translate(30px, 0) rotate(-50deg);
            transform: translate(30px, 0) rotate(-50deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(45px, 150px) rotate(30deg);
            transform: translate(45px, 150px) rotate(30deg);
    opacity: 1;
  }
}
