/* #splash-screen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

#splash-screen {
  /* margin: 20px auto; */
  width: 140px;
  height: 40px;
  /* position: relative; */
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
}

#splash-screen .cube {
  float: left;
  width: 20%;
  /* height: 50%; */
  position: relative;
  text-align: center;
  font-family: Ebrima;
}
#splash-screen .cube:before {
  /* content: ''; */
  /* color: #fff; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: #be0b1e; */
  -webkit-animation: sk-foldCubeAngle 3s infinite linear both;
  animation: sk-foldCubeAngle 3s infinite linear both;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

#splash-screen .cube5 {
  color: #be0b1e;
  font-weight: bold;
}

#splash-screen .cube1:before,
#splash-screen .cube2:before,
#splash-screen .cube3:before,
#splash-screen .cube4:before {
  background-color: #ececed;
  color: #58585a;
}

#splash-screen .cube1:before {
  content: "J";
}

#splash-screen .cube2:before {
  content: "U";
}

#splash-screen .cube3:before {
  content: "N";
}

#splash-screen .cube4:before {
  content: "E";
}

#splash-screen .cube5:before {
  background-color: #be0b1e;
  color: #fff;
  content: "5";
  font-weight: normal;
}

#splash-screen .cube2:before {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
#splash-screen .cube3:before {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
#splash-screen .cube4:before {
  -webkit-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
#splash-screen .cube5:before {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}
@-webkit-keyframes sk-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

@keyframes sk-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}
