.home-hero {
  padding: 0;
  z-index: 1002;
}

#loading_main_top {
  z-index: 2;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1002;
}

#loadingWrap {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 1002;
}

#loadingWrap .loading-percent,
#loadingWrap .loading-text {
  position: absolute;
  top: 50%;
  text-transform: uppercase;
  overflow: hidden;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  z-index: 3;
  color: #fff;
}

#loadingWrap .loading-percent span,
#loadingWrap .loading-text span {
  display: inline-block;
  line-height: 100%;
}

#loadingWrap .loading-percent.on span,
#loadingWrap .loading-text.on span {
  -webkit-transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0);
  transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0);
  -webkit-transition: -webkit-transform 1s cubic-bezier(0.43, 0.05, 0.17, 1);
  transition: -webkit-transform 1s cubic-bezier(0.43, 0.05, 0.17, 1);
  transition: transform 1s cubic-bezier(0.43, 0.05, 0.17, 1);
  transition: transform 1s cubic-bezier(0.43, 0.05, 0.17, 1), -webkit-transform 1s cubic-bezier(0.43, 0.05, 0.17, 1);
}

#loadingWrap .loading-percent.off span,
#loadingWrap .loading-text.off span {
  -webkit-transform: perspective(1000px) translate3d(0, -100%, 0) rotateX(90deg) !important;
  transform: perspective(1000px) translate3d(0, -100%, 0) rotateX(90deg) !important;
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.43, 0.05, 0.17, 1);
  transition: -webkit-transform 0.8s cubic-bezier(0.43, 0.05, 0.17, 1);
  transition: transform 0.8s cubic-bezier(0.43, 0.05, 0.17, 1);
  transition: transform 0.8s cubic-bezier(0.43, 0.05, 0.17, 1), -webkit-transform 0.8s cubic-bezier(0.43, 0.05, 0.17, 1);
}

#loadingWrap .loading-text {
  margin-right: 50px;
  right: 50%;
}

#loadingWrap .loading-text span {
  -webkit-transform: perspective(1000px) translate3d(0, 100%, 0) rotateX(-90deg);
  transform: perspective(1000px) translate3d(0, 100%, 0) rotateX(-90deg);
}

#loadingWrap .loading-percent {
  margin-left: 50px;
  left: 50%;
}

#loadingWrap .loading-percent span {
  -webkit-transform: perspective(1000px) translate3d(0, 100%, 0) rotateX(-90deg);
  transform: perspective(1000px) translate3d(0, 100%, 0) rotateX(-90deg);
}

#loadingWrap .loading-percent span:after {
  content: "%";
  display: inline-block;
}

#loadingWrap.off {
  display: none;
}

.shutter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  z-index: 1;
  transform: rotate(-45deg) scale(2.2);
}

.shutter.off {
  animation: byeShutter 2.6s forwards;
}

.shutter.on:before,
.shutter.on:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

.shutter.on:before {
  background-color: red;
  width: 0;
  height: 1px;
}

.shutter.on:before {
  animation: shutterOpen1 2.6s forwards;
  background-color: red;
}

.shutter.off:before {
  animation: shutterOpen1_1 2.6s forwards;
}

.shutter.on:after {
  width: 120%;
  height: 0;
  margin-left: -10%;
  background-color: #fff;
}

.shutter.off:after {
  animation: shutterOpen2 2.6s forwards;
}

@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}

@keyframes shutterOpen1 {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  100% {
    width: 100%;
    height: 1px;
  }
}

@keyframes shutterOpen1_1 {
  0% {
    width: 100%;
    height: 1px;
  }
  50% {
    width: 0%;
    height: 0;
  }
  51% {
    width: 100%;
    height: 1px;
    background-color: #ccc;
  }
  90% {
    width: 100%;
    height: 100%;
    background-color: #ccc;
  }
  100% {
    width: 100%;
    height: 100%;
    background-color: #ccc;
  }
}

@keyframes shutterOpen2 {
  60% {
    width: 120%;
    height: 0;
    transform: rotate(5deg);
  }
  90% {
    width: 120%;
    height: 100%;
    transform: r rotate(5deg);
  }
  100% {
    width: 120%;
    height: 100%;
    transform: r rotate(5deg);
  }
}
