@charset "utf-8";
/* CSS Document */

.sceneloader {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  /*justify-content: center;*/
  justify-content: end;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.85);
}

.sceneloaderbox {
  position: flex;
  /*width: 40vw;*/
  width: 100%;
  flex-direction: column;
  gap: 10px;
}

.sceneloaderbox .loader {
  width: 0;
  /*height: 2px;*/
  height: 5px;
  margin: 0;
  display: inline-block;
  position: relative;
  background: linear-gradient(270deg, var(--color-neutral1) 0%, var(--color-yellow1) 100px);
  /*animation: animFw 10s linear infinite;*/
  box-shadow: 0 0 10px var(--color-yellow1);
  /*border-radius: 1px;*/
  font-size: 18px;
  clip-path: polygon(0 0, calc(100%-10px) 0, 100% 100%, 0% 100%);
}

.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;*/
  left: 10px;
  /*bottom: -15px;*/
  top: -25px;
  text-shadow: 0 0 10px var(--color-yellow1);  
  color: var(--color-yellow1);
  line-height: 1;
}

.loadvalue {
  position: relative;
  display: flex;
  color: var(--color-yellow1);
  align-self: end;
  font-size: 16px;
  animation: 0.07s flicker;
  font-weight: 600;
  text-shadow: 0 0 10px var(--color-yellow1);
}

#showbox, #planetbox {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
}

.fixscene {
  height: 100vh !important;
  overflow: hidden !important;
  position: fixed !important;
}

#showbox canvas, #planetbox canvas {
    width: 100%;
    height: 100%;
    filter: blur(2px);
}

#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;
}

.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;
}

/*.home .scene {
    backdrop-filter: blur(10px);
}*/
    
.home .scene:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to top, #0000, #000 50%) no-repeat scroll 0 0;
}

.portfolio .scene:after, .photo .scene:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0) linear-gradient(to top,rgb(18, 0, 83) 0%,rgba(0,0,0,0) 30%) no-repeat scroll 0 0;
  /*background: rgba(0,0,0,0.3);*/
}

.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;
}

/*.layer .incontainer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  left: 50%;
  transform: translate(-50%,0) !important;
}*/

.layer .incontainer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: grid !important;
  gap: 20px;
  max-width: 1200px;
  left: 50%;
  transform: translate(-50%,0) !important;
  grid-template-columns: 40% 60%;
  grid-template-rows: 45% 55%;
  grid-template-areas:
    "item1 item2"
    "item1 item3";
}

/*.show-photo {
  max-width: 400px;
  margin-right: 42vw;
  width: 20vw;
}*/

.show-photo {
  max-width: 400px;
  left: 5%;
  position: relative;
  grid-area: item1;
  width: 90%;
  height: auto;
  display: block;
  align-self: center;
}

.show-photo:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: block;
  /*background: url("../img/mask2.svg") no-repeat center center;*/
  background-size: 100% auto;
}

.show-photo img {
  /*mask-image: url("../img/mask1.svg");*/
  position: relative;
  transform: scale(1.1);
}

.show-photo .glitchbox {
  overflow: hidden !important;
  mask: url("../img/mask1a.svg");
  mask-repeat: no-repeat;
}

.show-photo.glitch-1 img, .show-photo.glitch-2 img {
  opacity: 0;
}

.show-photo.glitch-1 {
  background-color: var(--color-violet1);
  mask: url("../img/mask1a.svg");
  mask-repeat: no-repeat;
  transform: scale(1.8) translate(0,12%);
}

.show-photo.glitch-2 {
  background-color: var(--color-blue1);
  mask: url("../img/mask1a.svg");
  mask-repeat: no-repeat;
  transform: scale(1.4);
}

.glitch-img {
  transform: scale(1.1) !important;
}

.headerbox {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
  align-items: baseline;
  width: 100%;
  max-width: 800px;
  grid-area: item2;
  align-self: end;
    padding-left: 20px;
  padding-right: 20px;
}

.show-head {
  display: flex;
  width: auto;
  flex-direction: row;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
    padding: 0;
}

.greetingbox {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
  align-items: baseline;
  width: 100%;
  max-width: 800px;
  grid-area: item3;
    padding-left: 20px;
  padding-right: 20px;
}

.greettext {
  /*max-width: 800px;
  width: 80%;*/
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
  gap: 20px;
  flex-wrap: wrap;
}

.greettext p {
  font-size: 22px;
  line-height: 1.4;
  flex-wrap: wrap;
}

.aboutbox {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}

.abouts {
  display: flex;
  color: var(--color-yellow1);
  font-size: 20px;
  text-transform: uppercase;
  font-family: var(--head-font);
}

.abouts:after {
  content: "/";
  color: #fff;
  font-weight: bold;
  padding-left: 10px;
}

.abouts:first-child:after {
  content: "❯";
}

.abouts:last-child:after {
  content: "";
}

.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(154, 109, 2, 0.85);
  top: 100%;
}

.blue2.planeglow:before {
  box-shadow: 0px 0px 450px 400px rgba(154, 109, 2, 0.75);
  top: 100%;
}

.background {
	background: rgba(0, 0, 0, 0) linear-gradient(to top, var(--color-menu-tint1), var(--color-menu-tint4) 100%) no-repeat scroll 0 0;
    background-size: cover !important;
	transition: all 200ms;
	transition-timing-function: ease;
	overflow: hidden;
  background-position: center center;
	/*box-shadow: 0px 0px 350px 50px rgb(11, 35, 0) inset;*/
}

.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-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.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;
}

@media only screen and (max-width: 1024px) {
	
  .layer .incontainer {
    grid-template-columns: 40% 60%;
    grid-template-rows: 40% 60%;
  }
    
  .greetingbox {
    padding-left: 20px;
    padding-right: 50px;
  }
    
  .show-photo {
    left: 10%;
  }
	
}

@media only screen and (max-width: 800px) {

  .show-head {
    font-size: 22px;
  }

  .abouts {
    font-size: 18px;
  }

  .greettext p {
    font-size: 20px;
  }

}

@media only screen and (max-width: 768px) {

  .layer .incontainer {
    grid-template-columns: 25% 75%;
    grid-template-rows: 42% 58%;
  }

  .show-head {
    font-size: 21px;
  }

  .greettext p {
    font-size: 18px;
  }

  .abouts {
    font-size: 17px;
    line-height: 1;
  }

}

@media only screen and (max-width: 640px) {

  .layer .incontainer {
    grid-template-columns: 35% 65%;
    grid-template-rows: 45% 55%;
    grid-template-areas: 
    "item1 item2" 
    "item3 item3";
  }

  .greetingbox {
    padding-left: 50px;
    padding-right: 50px;
  }

  .greettext p {
    font-size: 20px;
  }

  .headerbox {
    padding-left: 40px;
    padding-right: 50px;
  }

  .show-photo {
    left: 50px;
    align-self: end;
  }

  .fixscene .layer {
    /*height: 49vh !important;*/
  }

  .fixscene .layer:first-child {
    height: 100vh !important;
  }  

}

@media only screen and (max-width: 480px) {

  .background {
    background-position: 50% center;
  }
	
.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;
}

.home .scene:before {
  background: rgba(0, 0, 0, 0) linear-gradient(to top, #000000b2, #000 50%) no-repeat scroll 0 0;
}

/*.layer .incontainer {
  grid-template-columns: 30% 70%;
  grid-template-rows: 35% 62%;
  gap: 2%;
}*/

.layer .incontainer {
  grid-template-columns: 50% 50%;
  grid-template-rows: 52% 5% 37%;
  gap: 2%;
  grid-template-areas:
"item1 item1" 
"item2 item2" 
"item3 item3";
}

.greetingbox {
  padding-left: 35px;
  padding-right: 35px;
  justify-content: center;
  flex-wrap: nowrap;
  padding-bottom: 20px;
}

.greettext p {
  font-size: 15px;
  line-height: 1.4;
  padding: 0;
  text-align: center;
}

.aboutbox {
  align-content: center;
  align-items: center;
  justify-content: center;
}

.abouts {
  font-size: 14px;
  line-height: 12px;
  font-weight: bold;
}

.headerbox {
  /*padding-left: 30px;*/
  padding-left: 35px;
  padding-right: 35px;
  text-align: center;
  align-content: center;
}

/*.show-head {
  font-size: 20px;
  line-height: 1.2;
}*/

.show-head {
  font-size: 17px;
  line-height: 1.2;
  text-shadow: 0px 0px 5px #000;
  text-align: center;
}

/*.show-photo {
  left: 35px;
}	*/

.show-photo {
  align-self: center;
  position: absolute;
  top: 70px;
  left: 27.5%;
  width: 45%;
}

}

@media only screen and (max-width: 414px) {

   .show-photo {
    align-self: center;
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    max-width: 120%;
  }

  .home .scene {
    overflow: visible;
  }

}