@charset "utf-8";
/* CSS Document */

.scene, .layer {
    display: block;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.scene {
    min-height: 360px;
    position: absolute;
    overflow: hidden;
    top: 0;
}

#app .scene {
  position: fixed;
}

.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(0, 148, 255, 0.95);
  top: 100%;
}

.blue2.planeglow:before {
  box-shadow: 0px 0px 450px 400px rgba(0, 148, 255, 0.2);
  top: 100%;
}

.background {
    background: url("../img/room-space.jpg") no-repeat center center;
    background-size: cover;
	transition: all 200ms;
	transition-timing-function: ease;
	overflow: hidden;
}

.foreground {
    background: url("../img/room-walls.png") 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;
}

.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(-19%, 8%) scale(1.2) !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(20%, 6%) scale(1.03) !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.png") 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;
}
