@charset "utf-8";
/* CSS Document */

.sceneloader {
  position: fixed;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  /*background-color: rgba(0,0,0,.85);*/
  background: transparent url(/user/themes/deliver/img/happytex4.jpg) repeat center center;
  top: 0;
  opacity: 0.9;
}

.sceneloaderbox {
  position: flex;
  /*width: 40vw;*/
  width: 90%;
  max-width: 300px;
  flex-direction: column;
  gap: 10px;
  padding: 0 40px;
}

.sceneloaderbox .loader {
  width: 0;
  /*height: 2px;*/
  height: 5px;
  margin: 0;
  display: inline-block;
  position: relative;
  background: linear-gradient(270deg, rgb(198, 255, 157) 0%, rgb(150, 251, 74) 100px);
  /*animation: animFw 10s linear infinite;*/
  /*box-shadow: 0 0 10px var(--color-yellow1);*/
  /*border-radius: 1px;*/
  font-size: 15px;
  /*clip-path: polygon(0 0, calc(100%-10px) 0, 100% 100%, 0% 100%);*/
  box-shadow: 0 0 45px rgb(104, 255, 0);
  border-radius: 6px;
}

.sceneloaderbox .loader.counting {
	animation: animFw 60s linear 1;
}

.sceneloaderbox .loader:after, .sceneloaderbox .loader:before {
  content: '';
  width: 10px;
  height: 1px;
  background: #fff;
  position: absolute;
  top: 9px;
  right: -2px;
  opacity: 0;
  transform: rotate(-45deg)  translateX(0px);
  animation: coli1 0.3s linear infinite;
}

.sceneloaderbox .loader:before {
  top: -4px;
  transform: rotate(45deg);
  animation: coli2 0.3s linear infinite;
}

.loadertext {
  position: absolute;
  display: flex;
  left: 0;
  top: -25px;
  text-shadow: 0 0 10px var(--color2);
  color: var(--color2);
  line-height: 1;
}

.loadvalue {
  position: relative;
  display: flex;
  color: var(--color2);
  align-self: end;
  font-size: 16px;
  animation: 0.07s flicker;
  font-weight: 600;
  text-shadow: 0 0 10px var(--color2);
  padding: 0 0 0 5px;
}

#showbox, #planetbox {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
}

/*#planetbox {
  height: 100%;
}*/

.fixscene {
  height: 100vh !important;
  overflow: hidden !important;
  position: fixed !important;
}

#showbox canvas, #planetbox canvas {
    width: 100%;
    height: 100%;
    /*filter: blur(4px);*/
}

#showbox::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background: linear-gradient(90deg, #000 0%, #0000 20%, #0000 80%, #000 100%);
  width: 100%;
  height: 100%;
}

.actors {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
}

.actors img {
  position: absolute;
}

/*#showbox:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  backdrop-filter: blur(10px);
}*/

.showmask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  height: 200vh;
  backdrop-filter: blur(10px);
}

.scene, .layer {
    display: block;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.scene {
    min-height: 360px;
    position: absolute;
    overflow: hidden;
    top: 0;
}

#scene:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0px -100px 350px 100px rgb(11, 35, 0) inset;
}

.layer {
    position: absolute;
    overflow: visible;
	border: none;
}

.layer div {
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: visible;
}

.background {
    bottom: 0px;
	position: absolute;
	width: 110%;
	left: -5%;
	top: -10%;
	height: 110%;
}

.scene .planeglow {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    transition: all .10s ease;
    opacity: 0.5;
}

.scene .planeglow:before {
    opacity: 1;
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    height: 1px;
    width: 1px;
    transition: all .5s ease;
    content: "";
    animation: phase 5s 3s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.white.planeglow:before {
    box-shadow: 0px 0px 450px 400px rgba(255, 255, 255, 0.95);
	top: 100%;
}

.blue.planeglow:before {
  box-shadow: 0px 0px 450px 400px rgba(162, 0, 0, 0.75);
  top: 100%;
}

.blue2.planeglow:before {
  box-shadow: 0px 0px 450px 400px rgba(162, 0, 0, 0.75);
  top: 100%;
}

.background {
	background: url("../img/room-space22.webp") no-repeat center center;
    background-size: cover !important;
	transition: all 200ms;
	transition-timing-function: ease;
	overflow: hidden;
	/*box-shadow: 0px 0px 350px 50px rgb(11, 35, 0) inset;*/
}

.foreground {
    background: url("../img/room-walls2.webp") no-repeat center center;
	background-size: cover;
}

.foreground2 {
  background: url("../img/room-holo.png") no-repeat center center;
  background-size: cover;
}

.actor {
  position: absolute;
	background-size: contain;
}

/*.actor1 {
  background: url("../img/room-first.png") no-repeat bottom center;
    background-size: auto 100%;
  width: 100%;
  height: 90%;
  
  left: 0;
  right: 0;
  bottom: -5%;
  top: initial;
}*/

.actor1 {
  /**/background: url("../img/room-first1.png") no-repeat bottom center;
  background-size: auto 100%;
  width: 100%;
  height: 90%;
  left: 0;
  right: 0;
  bottom: -5%;
  top: initial;
  transform: translate(-15%,-5%) scale(1.2) !important;
}

.actor2 {
/*  background: url("../img/room-left.png") no-repeat bottom center;*/
    background-size: auto;
  background-size: auto 100%;
  width: 100%;
  height: 90%;
  left: 0;
  right: initial;
  bottom: -5%;
  top: initial;
  transform: translate(-25%, 8%) scale(1.1) !important;
}

.actor3 {
  /*background: url("../img/room-right.png") no-repeat bottom center;*/
	background-size: auto;
  background-size: auto 100%;
  width: 100%;
  height: 90%;
  right: initial;
  right: 0;
  bottom: -5%;
  top: initial;
  transform: translate(30%, 6%) scale(1) !important;
}



.foreground3 {
  background: url("../img/plane1.png") no-repeat center center;
  background-size: cover;
  opacity: 0.9;
  height: 120%;
}

.playscreen .foreground1 {
	animation: wave 10s 5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.playscreen .foreground2 {
  	transform: scaleX(-1) translate(28%, -30%);
	animation: wave 10s 5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.playscreen .foreground3 {
	animation: phase 10s 5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.fog {
    position: absolute;
    bottom: -5%;
    width: 120%;
    height: 80%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
    animation: phase 10s 5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.light {
    background: url("../img/plane2.webp") no-repeat top center;
	background-size: cover;
	-webkit-animation: blink 30s linear 3s infinite;
	-moz-animation: blink 30s linear 3s infinite;
	-o-animation: blink 30s linear 3s infinite;
	animation: blink 30s linear 3s infinite;
}

.spark {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
	opacity: 0.5;
}

/*.spark:before, .spark:after {*/
.spark:before {
  content: "";
  background-image: url("../img/spark.png");
  background-position-x: 50%;
  background-repeat: repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  opacity: 0;

  will-change: transform;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.spark:before {
  -webkit-animation: spark 1800s linear infinite, shake 26s linear 13s infinite;
  -moz-animation: spark 1800s linear infinite, shake 26s linear 13s infinite;
  -o-animation: spark 1800s linear infinite, shake 26s linear 13s infinite;
  animation: spark 1800s linear infinite, shake 26s linear 13s infinite;
}

.spark:after {
  -webkit-animation: spark 3600s linear infinite, shake-revert 26s linear infinite;
  -moz-animation: spark 3600s linear infinite, shake-revert 26s linear infinite;
  -o-animation: spark 3600s linear infinite, shake-revert 26s linear infinite;
  animation: spark 3600s linear infinite, shake-revert 26s linear infinite;
}


@media only screen and (max-width: 480px) {

 #scene::after {
  box-shadow: 0 -100px 50px 20px rgb(11,35,0) inset;
}

.blue2.planeglow::before {
  box-shadow: 0 0 450px 200px rgba(162,0,0,.75);
}
	
.actor1 {
  transform: translate(0%,13%) scale(1.4) !important;
}
	
	.actor2 {
  transform: translate(0%, -16%) scale(1.1) !important;
}
	
	.actor3 {
  transform: translate(16%, -2%) scale(1) !important;
}
	
}