body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#unity-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

#unity-container.unity-desktop {
  background: url('unity-logo-dark.jpg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#unity-container.unity-mobile {
  width: 100%;
  height: 100%;
}

#unity-canvas {
  width: 100%;
  height: 100%;
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%;
}

#unity-loading-bar {
  position: absolute;
  width: 100%;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0%);
  display: none;
}

#unity-logo {
  width: 154px;
  height: 130px;
  background: url('unity-logo-dark.png') no-repeat center;
}

#unity-progress-bar-empty {
  width: 100%;
  height: 20px;
  /* border: 2px solid #fff; */
  overflow: hidden;
  /* border-radius: 10px; */
  /* background: url('progress-bar-empty-dark.png') no-repeat center */
}

#unity-progress-bar-full {
  width: 50%;
  height: 100%;
  background-image: -webkit-linear-gradient(left, rgb(0, 119, 255), #9fcdf8);
  background-image: linear-gradient(left, rgb(0, 119, 255), #9fcdf8);
  /* background: rgb(0, 119, 255); */
  border-radius: 10px;
  /* background: url('progress-bar-full-dark.png') no-repeat center */
}

#unity-footer {
  position: relative;
}

.unity-mobile #unity-footer {
  display: none;
}

#unity-webgl-logo {
  float: left;
  width: 204px;
  height: 38px;
  background: url('webgl-logo.png') no-repeat center;
}

#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: arial;
  font-size: 18px;
}

#unity-fullscreen-button {
  float: right;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center;
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
}

.blur {
  filter: blur(5px);
}

section {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  animation: animateBg 10s linear infinite;
  width: 100%;
  height: 100%;
  background: #042104d8;
}

.base {
  height: 9em;
  left: 50%;
  margin: -7.5em;
  padding: 3em;
  position: absolute;
  top: 50%;
  width: 9em;
  transform: rotateX(45deg) rotateZ(45deg);
  transform-style: preserve-3d;
}

.cube,
.cube:after,
.cube:before {
  content: '';
  float: left;
  height: 3em;
  position: absolute;
  width: 3em;
}

/* Top */
.cube {
  background-color: #05afd1;
  position: relative;
  transform: translateZ(3em);
  transform-style: preserve-3d;
  transition: 0.25s;
  box-shadow: 13em 13em 1.5em rgba(0, 0, 0, 0.1);
  animation: anim 1s infinite;
}
.cube:after {
  background-color: #049dbc;
  transform: rotateX(-90deg) translateY(3em);
  transform-origin: 100% 100%;
}
.cube:before {
  background-color: #048ca7;
  transform: rotateY(90deg) translateX(3em);
  transform-origin: 100% 0;
}
.cube:nth-child(1) {
  animation-delay: 0.05s;
}
.cube:nth-child(2) {
  animation-delay: 0.1s;
}
.cube:nth-child(3) {
  animation-delay: 0.15s;
}
.cube:nth-child(4) {
  animation-delay: 0.2s;
}
.cube:nth-child(5) {
  animation-delay: 0.25s;
}
.cube:nth-child(6) {
  animation-delay: 0.3s;
}
.cube:nth-child(7) {
  animation-delay: 0.35s;
}
.cube:nth-child(8) {
  animation-delay: 0.4s;
}
.cube:nth-child(9) {
  animation-delay: 0.45s;
}

@keyframes anim {
  50% {
    transform: translateZ(0.5em);
  }
}

.tspan {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  transition: width 0.4s ease-in-out;
}

.tspan::after {
  content: '';
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-animation: animate-shine 2s ease-out infinite;
}

@-webkit-keyframes animate-shine {
  0% {
    opacity: 0;
    width: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    width: 95%;
  }
}

#logo {
  position: absolute;
  width: 25%;
  height: 20%;
  left: 0;
  top: 0;
  background: #001c31;
}

#videoPopup {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid #ccc;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#videoTitleBar {
  background-color: #ccc;
  padding: 5px;
}

#videoTitle {
  font-weight: bold;
}

#videoCloseButton {
  position: absolute;
  right: 10px;
  top: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
}
#videoPlayer {
  max-width: 1000px;
  max-height: 700px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
  .nativeVideo {
    max-height: 80vh;
    max-width: 100vw;
  }
  #videoPlayer {
    max-height: 80vh;
    max-width: 100vw;
  }
}

#videoContainer {
  padding: 10px;
}

.close-btn {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 20px;
  right: 20px;
  /* padding: 5px 10px; */
  background-color: #ccc;
  border: none;
  cursor: pointer;
  background: url('close.png') no-repeat center center;
}

#iframe-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  /* border-radius: 20px; */
}

#iframe-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 80%;
  background-color: white;
  /* top: 0;
    left: 0;
     */
}
