html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  background-color: black;
  overflow: hidden;
}

#orientation-lock {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#orientation-lock .orientation-lock-wrapper {
  width: 40vw;
  position: relative;
}

#orientation-lock .orientation-lock-wrapper .orientation-lock-icon {
  position: relative;
  width: 100%;
  display: block;
}

#orientation-lock .orientation-lock-wrapper .orientation-lock-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: block;
}

.trans {
  transition: all 0.5s linear;
}
.out {
  opacity: 0;
}
.hide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
}
.scene.out {
  opacity: 0;
  pointer-events: none;
}
.scene .flex-1 {
  width: 100vw;
  flex: 0.5;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scene .flex-1 .headline {
  position: absolute;
  max-width: 100vw;
  display: block;
  pointer-events: none;
}
.scene .flex-2 {
  width: 100vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0.2;
}
.scene .flex-3 {
  width: 100vw;
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scene .flex-3 .marker {
  width: 100vw;
  display: block;
}
.scene .flex-4 {
  width: 100vw;
  flex: 0.3;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scene .flex-4 .info {
  position: absolute;
  max-width: 100vw;
  display: block;
  pointer-events: none;
}
.scene .flex-4 .gesture-click {
  position: absolute;
  top: -4vh;
  left: 73%;
  width: 10vw;
  transform: scale(1) translate(-50%, -50%) rotate(-20deg);
  transform-origin: 20% 50%;
  animation: click 0.5s linear infinite alternate;
  pointer-events: none;
  z-index: 2;
}
.scene-2 .flex-3 .gesture-pulse {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20vw;
  transform: translate(-50%, 0) scale(1);
  animation: gesturepulse 0.5s linear infinite alternate;
  pointer-events: none;
  z-index: 2;
}

.scan-text {
  position: absolute;
  bottom: 10vw;
  left: 0;
  width: 100%;
}

.scan-icon {
  position: absolute;
  bottom: 25vw;
  left: 50%;
  width: 20vw;
  transform: translate(-50%, 0) rotate(-20deg);
  animation: gesturepulse 0.5s linear infinite alternate;
  pointer-events: none;
  z-index: 2;
}

.shake-text {
  position: absolute;
  bottom: 10vw;
  left: 0;
  width: 100%;
}

.shake-icon {
  position: absolute;
  bottom: 25vw;
  left: 50%;
  width: 20vw;
  transform: translate(-50%, 0) rotate(-20deg);
  animation: shake 0.5s linear infinite alternate;
  pointer-events: none;
  z-index: 2;
}

.scene-3 {
  background-image: url("../assets/freeze_overlay.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.scene-3 .headline {
  position: absolute;
  top: 10vw;
  left: 0;
  width: 100%;
  display: block;
}

.scene-3 .cta {
  position: absolute;
  bottom: 10vw;
  left: 50%;
  width: 80%;
  transform: translate3d(-50%, 0, 0) scale(1);
  display: block;
  animation: pulse 0.5s linear infinite alternate;
}

.scene-4 {
  background-image: url("../assets/freeze_overlay.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.scene-4 .flex-2 .info {
  max-width: 100vw;
  display: block;
  pointer-events: none;
}

.scene-4 .flex-3 .marker {
  width: 90vw;
  display: block;
}
.scene-4 .flex-4 .cta {
  width: 80%;
  display: block;
  animation: pulseEndcard 0.5s linear infinite alternate;
}
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  pointer-events: none;
}

@keyframes click {
  from {
    transform: scale(1) translate(-50%, -50%) rotate(-20deg);
  }
  to {
    transform: scale(0.8) translate(-50%, -50%) rotate(-20deg);
  }
}
@keyframes shake {
  from {
    transform: translate(-50%, 0) rotate(-20deg);
  }
  to {
    transform: translate(-50%, 0) rotate(0deg);
  }
}
@keyframes pulse {
  from {
    transform: translate3d(-50%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-50%, 0, 0) scale(0.8);
  }
}
@keyframes pulseEndcard {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.8);
  }
}
@keyframes gesturepulse {
  from {
    transform: translate3d(-50%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-50%, 0, 0) scale(0.8);
  }
}

@media (max-height: 600px) {
  .scene-4 .flex-3 .marker {
    width: 70vw;
  }
}
