body {
  background-color: #000000;

}

.landscape {
  transform: rotate(90deg);
  height: 100vw !important;
  width: 100vh !important;
  transform-origin: 0% 100%;
  top: -100vw !important;
}

#loading {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 10rem;
  z-index: 100;
}

#loading>div {
  width: 60%;
  height: 0.5rem;
  border-radius: 8px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: #000000;
  text-align: left;
  overflow: hidden;
  box-shadow: inset 1px 1px 2px #666;
  line-height: 0;
}

#loading>div>span {
  display: inline-block;
  border-radius: 7px;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #e8e542 50%, #000000 60%, #9b8400 70%);
  background-size: 500% 500%;
  animation: gradient 3s ease infinite;
  transform: rotate(180deg);
}


@keyframes loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 70% 50%;
  }

  99.9% {
    background-position: 150% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.splash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./images/bg_landscape_small.jpg) no-repeat center center;
  background-size: 100%100%;
}
@media screen and (orientation: portrait) {
  /*竖屏 css*/
  #splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/bg_portrait_small.jpg) no-repeat center center;
    background-size: 100% 100%;
  }
  #progressBar  {
    writing-mode:  vertical-rl; /* Horizontal writing mode */
  }
 } 
 @media screen and (orientation: landscape) {
  /*横屏 css*/
  #splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/bg_landscape_small.jpg) no-repeat center;
    background-size: 100%100%;
  }
  #progressBar  {
    writing-mode: horizontal-tb; /* Horizontal writing mode */
  }
 }

.progress-bar div {
  position: absolute;
  width: 293px;
  left: -100%;
  display: block;
  height: 100%;
  /* border-radius: 3px; */
  /* box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset; */
  position: absolute;
  transition: left .4s ease-in-out;
  /* background-color: #34c2e3;     */
  background: url('./images/progress.png') no-repeat;
  background-size: 100% 100%;

}
#progressBarContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#progressBar {
  width: 0%;
  height: 20px;
  background-color: #000000;
  text-align: center;
  line-height: 20px;
  color: white;
  font-size: 33px;
  /* writing-mode: horizontal-tb;  */
}
.stripes span {
  background-size: 30px 30px;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
      transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
      transparent 75%, transparent);

  animation: animate-stripes 1s linear infinite;
}

@keyframes animate-stripes {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 60px 0;
  }
}

 