/*
* Custom Css
*
*/

/*

light brown: #bfb299;
ver dark brown: #3b372f;
dark green: #2d4631;


*/

:root {
  --light-brown: #bfb299;
  --dark-brown: #a28d65;
  --x-dark-brown: #3b372f;
  --light-green: #4c7b53;
  --dark-green: #2d4631;
  --x-dark-green: #212f21;
  --light-yellow: #d3b124;
  --light-red: #9e323c;

  --dark: #232323;
  --white-trans: #fff2;
  --black-trans: #000000b0;
}

* {
  font-family: "Chelsea Market", cursive;
  font-family: "Snowburst One", cursive;
  font-family: "Cabin Sketch", cursive;
}

body {
  width: 100vw;
  height: 100vh;
  background-image: url("../img/background.jpg");
  background-size: contain;
  -webkit-overflow: hidden;
  overflow: hidden;
}

.show {
  display: block !important;
}

.hide {
  display: none;
}

.stage {
  width: 100%;
  height: 100%;
  display: none;
}

.centered-title {
  text-align: center;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.max-wh {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
}

/* ---------------------------- Buttons ---------------------------- */

.btn-shift {
  position: absolute;
  cursor: pointer;
  -webkit-filter: drop-shadow(2px 2px 0px #212f218a);
  filter: drop-shadow(2px 2px 0px #212f218a);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

/* Info & close button */

.btn-top {
  top: 50px;
  left: 50px;
  height: 60px;
  width: 60px;
  border-radius: 50px;
  opacity: 0.6;
}

.btn-info {
  background-color: transparent !important;
  background-image: url("../img/info/info_1.png");
}

.btn-info:hover {
  opacity: 1;
  -webkit-animation: shiftInfo 0.8s infinite;
  animation: shiftInfo 0.8s infinite;
  /*background-color: #1b311b;*/
}

.btn-info.close {
  opacity: 0.6;
  background-image: url("../img/close/close_1.png");
  z-index: 100;
}

.btn-info.close:hover {
  opacity: 1;
  -webkit-animation: shiftClose 0.8s infinite;
  animation: shiftClose 0.8s infinite;
}

.btn-info.refresh {
  -webkit-animation: shiftInfo 0.5s infinite;
  animation: shiftInfo 0.5s infinite;
}

.btn-info.refresh-2 {
  -webkit-animation: shiftClose 0.5s infinite;
  animation: shiftClose 0.5s infinite;
}

/* Back button */
.btn-back {
  background-image: url("../img/back/back_1.png");
}

.btn-back:hover {
  opacity: 1;
  -webkit-animation: shiftBack 0.8s infinite;
  animation: shiftBack 0.8s infinite;
  /*background-color: #1b311b;*/
}

.btn-back.refresh {
  -webkit-animation: shiftBack 0.5s infinite;
  animation: shiftBack 0.5s infinite;
}

/* Start button */

.btn-shift.btn-texted {
  font-weight: 700;
  color: #1031039e;
  text-align: center;
}

.btn-start {
  font-size: 45px;
  position: relative;
  height: 61px;
  width: 160px;
  margin-top: 30px;
  -webkit-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
  background-image: url("../img/start/start_1.png");
  background-size: cover;
  line-height: 64px;
}

.btn-start:hover {
  -webkit-animation: shiftStart 1s infinite;
  animation: shiftStart 1s infinite;
}

.btn-start.refresh {
  -webkit-animation: shiftStart 0.5s infinite;
  animation: shiftStart 0.5s infinite;
}

/* Go button */

.btn-go {
  height: 120px;
  width: 120px;
  font-size: 50px;
  /*padding: 18px 25px;*/
  -webkit-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
  background-image: url("../img/go/go_1.png");
  -webkit-animation: shiftGo 1.5s 13s infinite;
  animation: shiftGo 1.5s 13s infinite;
  bottom: 0;
}

.btn-go:hover {
  -webkit-animation: shiftGo 0.8s infinite;
  animation: shiftGo 0.8s infinite;
}

.btn-go.refresh {
  -webkit-animation: shiftGo 0.5s infinite;
  animation: shiftGo 0.5s infinite;
}

.btn-texted .text {
  top: 55%;
  position: relative;
  -webkit-transform: translateY(-55%);
  -ms-transform: translateY(-55%);
  transform: translateY(-55%);
}

/* Play button */

.video-controls .btn-pp {
  width: 80px;
  height: 83px;
  position: relative;
  margin: 0 auto;
  opacity: 0.5;
  background-image: url("../img/pause/pause_1.png");
}

.video-controls .btn-pp:hover {
  opacity: 1;
  -webkit-animation: shiftPause 1s infinite;
  animation: shiftPause 1s infinite;
}

.video-controls .btn-pp.refresh {
  -webkit-animation: shiftPause 0.5s infinite;
  animation: shiftPause 0.5s infinite;
}

.video-controls .btn-pp.play {
  opacity: 0.8;
  background-image: url("../img/play/play_1.png");
}

.video-controls .btn-pp.play:hover {
  opacity: 1;
  -webkit-animation: shiftPlay 1s infinite;
  animation: shiftPlay 1s infinite;
}

.video-controls .btn-pp.refresh-2 {
  -webkit-animation: shiftPlay 0.5s infinite;
  animation: shiftPlay 0.5s infinite;
}

/* Speaker button */

.video-controls .btn-speaker {
  top: 50%;
  right: 30px;
  width: 56px;
  height: 52px;
  opacity: 0.5;
  -webkit-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
  background-image: url("../img/mute/mute_3.png");
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.video-controls .btn-speaker:hover {
  opacity: 1;
  -webkit-animation: shiftMute 1s infinite;
  animation: shiftMute 1s infinite;
}

.video-controls .btn-speaker.refresh {
  -webkit-animation: shiftMute 0.5s infinite;
  animation: shiftMute 0.5s infinite;
}

.video-controls .btn-speaker.unmute {
  background-image: url("../img/unmute/unmute_1.png");
  width: 52px;
  height: 44px;
}

.video-controls .btn-speaker.unmute:hover {
  opacity: 1;
  -webkit-animation: shiftUnmute 1s infinite;
  animation: shiftUnmute 1s infinite;
}

.video-controls .btn-speaker.refresh-2 {
  -webkit-animation: shiftUnmute 0.5s infinite;
  animation: shiftUnmute 0.5s infinite;
}

/* Home and replay button */

.option .btn-shift {
  position: relative;
  top: 0;
  display: inline-block;
  width: 90px;
  height: 90px;
  background-image: url("../img/replay/replay_1.png");
}

.option .btn-replay:hover {
  -webkit-animation: shiftReplay 1s infinite;
  animation: shiftReplay 1s infinite;
}

.option .btn-replay.refresh {
  -webkit-animation: shiftReplay 0.5s infinite;
  animation: shiftReplay 0.5s infinite;
}

.option .btn-shift.btn-home {
  background-image: url("../img/home/home_1.png");
}

.option .btn-shift.btn-home:hover {
  -webkit-animation: shiftHome 1s infinite;
  animation: shiftHome 1s infinite;
}

.option .btn-shift.btn-home.refresh {
  -webkit-animation: shiftHome 0.5s infinite;
  animation: shiftHome 0.5s infinite;
}

/* ---------------------------- Loaders ---------------------------- */

/*.prelaod-images {
    background: url('../img/close/close_1.png') no-repeat -9999px -9999px,
        url('../img/close/close_1-1.png') no-repeat -9999px -9999px,
        url('../img/close/close_2.png') no-repeat -9999px -9999px,
        url('../img/close/close_2-1.png') no-repeat -9999px -9999px,
        url('../img/close/close_3.png') no-repeat -9999px -9999px,
        url('../img/close/close_3-1.png') no-repeat -9999px -9999px,
        url('../img/close/close_4.png') no-repeat -9999px -9999px,
        url('../img/close/close_4-1.png') no-repeat -9999px -9999px;
}*/

#loader {
  -webkit-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  opacity: 0;
  /*z-index: 1000;*/
  display: none;
  height: 100vh;
  width: 100vw;
  background-color: #2d4631;
  z-index: 1000;
}

#loader.preload,
#loader.checking-browser {
  opacity: 1;
}

#loader .loading {
  top: 45%;
  left: 50%;
  width: 200px;
  -webkit-transform: translate(-50%, -45%);
  -ms-transform: translate(-50%, -45%);
  transform: translate(-50%, -45%);
  position: relative;
  display: none;
}

#loader.preload .loading,
#loader.load .loading {
  display: block;
}

.loading .prog-bar {
  position: relative;
  height: 10px;
  width: 200px;
  background: #fff2;
  margin-top: 40px;
  border-radius: 10px;
}

.loading .prog-bar.inactive {
  transition: all 0.3s;
  opacity: 0;
}

.loading .prog-bar .progress {
  height: 100%;
  width: 0%;
  background: url("../img/progress-bar.png");
  background-size: cover;
  -webkit-box-shadow: 2px 2px 0px 0px #26332982;
  box-shadow: 2px 2px 0px 0px #26332982;
  -webkit-animation: loadProgress 4s steps(50) 1s forwards;
  animation: loadProgress 4s steps(50) 1s forwards;
}

#loader.load {
  opacity: 1;
  background-color: #bfb299cf;
  z-index: 1000;
}

#loader.load .loading {
  top: 34%;
  -webkit-transform: translate(-50%, -49%);
  -ms-transform: translate(-50%, -49%);
  transform: translate(-50%, -49%);
}

#loader.load .ayo-logo img {
  opacity: 0;
}

#loader.load .prog-bar {
  opacity: 0;
  /*display: none;*/
}

#loader.not-supported .loading {
  display: none !important;
}

#loader .browser-message {
  position: absolute;
  padding: 0 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #bfb299;
  display: none;
  max-width: 800px;
  text-align: center;
}

#loader.not-supported .browser-message {
  display: block;
}

/* -------- Logo */
.ayo-logo {
  height: 250px;
  width: 180px;
  position: relative;
  margin: 0 auto;
}

.ayo-logo .inner-logo {
  height: 100%;
  width: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.ayo-logo img {
  height: 100%;
  width: auto;
}

.ayo-logo .eyes {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.ayo-logo .eye {
  position: absolute;
  top: 70%;
  height: 30px;
  width: 30px;
  border-radius: 30px;
  background-color: #000000b0;
}

.ayo-logo .eye.left {
  left: 35%;
  -webkit-transform: translate3d(-35%, -70%, 20px);
  transform: translate3d(-35%, -70%, 20px);
}

.ayo-logo .eye.right {
  height: 40px;
  width: 40px;
  right: 35%;
  -webkit-transform: translate3d(35%, -70%, 20px);
  transform: translate3d(35%, -70%, 20px);
}

.ayo-logo .eyes.e-blink .left {
  -webkit-animation: eyeLBlink 0.4s cubic-bezier(0.76, 0.05, 0.86, 0.06) 0.5s
    alternate 4;
  animation: eyeLBlink 0.4s cubic-bezier(0.76, 0.05, 0.86, 0.06) 0.5s alternate
    4;
}

.ayo-logo .eyes.e-blink .right {
  -webkit-animation: eyeRBlink 0.4s cubic-bezier(0.76, 0.05, 0.86, 0.06) 0.5s
    alternate 4;
  animation: eyeRBlink 0.4s cubic-bezier(0.76, 0.05, 0.86, 0.06) 0.5s alternate
    4;
}

.ayo-logo .eyes.e-stare .left {
  -webkit-animation: eyeShrink 2s ease alternate 2;
  animation: eyeShrink 2s ease alternate 2;
}

.ayo-logo .eyes.e-stare .right {
  -webkit-animation: eyeEnlarge 2s ease alternate 2;
  animation: eyeEnlarge 2s ease alternate 2;
}

.ayo-logo .eyes.e-llook .left {
  -webkit-animation: eyeLLLook 2s ease alternate 2;
  animation: eyeLLLook 2s ease alternate 2;
}

.ayo-logo .eyes.e-llook .right {
  -webkit-animation: eyeLRLook 2s ease alternate 2;
  animation: eyeLRLook 2s ease alternate 2;
}

.ayo-logo .eyes.e-rlook .left {
  -webkit-animation: eyeRLLook 2s ease alternate 2;
  animation: eyeRLLook 2s ease alternate 2;
}

.ayo-logo .eyes.e-rlook .right {
  -webkit-animation: eyeRRLook 2s ease alternate 2;
  animation: eyeRRLook 2s ease alternate 2;
}

/*.ayo-logo .eye:hover,
.ayo-logo .eye:hover ~ .eye {
    animation-timing-function: paused !important;
    top: 0% !important;
    width: 60px !important;
}
*/

/* ---------------------------- Stage 1: Details; ---------------------------- */

#stage-1 {
  /* background-color: var(--dark); */
  background-color: #2d4631f2;
}

#info-slide {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  align-items: center;
  justify-content: center;
  background: #030601ba;
}

#info-slide .information {
  /* position: relative;
    width: 80%;
    margin: 0 auto;
    font-size: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    max-width: 1000px; */
  position: relative;
  width: 80%;
  max-width: 100rem;
  font-size: 1.5rem;
  color: #bfbfaa;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}

#info-slide .text-links {
  margin: 5rem 0 0;
  display: flex;
  justify-content: center;
}

#info-slide .info-text-link {
  margin: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  text-decoration: unset;
  color: #030601ba;
  background: #bfbfaa;
  transition: all 0.3s ease;
}

#info-slide .info-text-link:hover,
#info-slide .info-text-link:focus {
  background: #2d4631f2;
  color: #bfbfaa;
}

#info-slide .information p {
  margin-bottom: 30px;
}

.information p a {
  color: #8e8e6f;
  text-decoration: none !important;
}

.information p a:hover {
  color: #595945;
}

.input-fields {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.input-fields .heading {
  color: #aca98d;
  font-size: 80px;
  font-weight: 700;
  text-shadow: 2px 3px #1b311b;
  cursor: default;
}

.input-field {
  text-align: center;
}

.input-fields > * {
  display: block;
  margin: 15px auto;
  text-align: center;
}

.location-text {
  font-size: 20px;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
  width: 200px;
  color: #e35b5b;
  margin: 10px auto;
  cursor: default;
}

.location-text.active {
  opacity: 0.6;
  cursor: pointer;
}

.error-msg {
  color: red;
  opacity: 0;
  -webkit-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
}

.show-msg {
  opacity: 1;
}

/* ---------------------------- Stage 2: Introduciton; ---------------------------- */

#stage-2 .outer-container {
  /*background: #4b5b49cf;*/
  background: #2d4631f2;
}

.intro-container {
  padding-top: 56.25%;
  height: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.ayo-intro {
  position: absolute;
  width: 70%;
  left: -5%;
  margin: 5% 0;
}

.ayo-intro video {
  /*filter: drop-shadow(2px 8px 8px #0000009e);*/
  /*animation: showAyoIntro 2s ease forwards;*/
  outline: 0;
}

.text-container {
  position: absolute;
  width: 40%;
  margin: 0 10vw;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 70%;
}

.text-greet {
  font-size: 3.5vw;
  /*color: var(--dark-green);*/
  color: var(--light-brown);
  font-weight: 600;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  text-transform: capitalize;
}

.text-greet.rtl {
  direction: rtl;
  text-align: right;
}

.text-greet.active {
  opacity: 1;
}

.film-description {
  height: 13vw;
  /*margin-bottom: 150px;*/
}

.text-desc {
  position: absolute;
  font-size: 2.5vw;
  /*color: var(--x-dark-brown);*/
  color: var(--dark-brown);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.text-desc.active {
  opacity: 1;
}

/* ---------------------------- Stage 3: Film; ---------------------------- */

.film-bg {
  background: var(--dark);
}

.layer-tilt {
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.film-aspect-ratio {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sky-elements .sun {
  height: 30%;
  width: auto;
  margin: 0 auto;
  background: url("../img/film/sun-sm.png") no-repeat scroll center;
  background-size: contain;
  top: 5%;
  position: relative;
  /*animation: rotateSun 10s linear infinite;*/
  -webkit-animation: rotateSun 0.1s cubic-bezier(0.96, 0.03, 0, 0.98) alternate
    infinite;
  animation: rotateSun 0.1s cubic-bezier(0.96, 0.03, 0, 0.98) alternate infinite;
}

.sky-elements .sun.paused {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

.sky-elements .cloud {
  position: absolute;
  width: 40%;
  top: 5%;
  opacity: 0.9;
  -webkit-transition: all 7s cubic-bezier(0.65, 0.05, 0.36, 1);
  -o-transition: all 7s cubic-bezier(0.65, 0.05, 0.36, 1);
  transition: all 7s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.layer-1 {
  background: url("../img/film/sky.jpg") no-repeat scroll center;
  background-size: cover;
}

.sky-elements .cloud.full {
  width: 60%;
}

.cloud.clear.left,
.cloud.clear.left-2 {
  left: -40%;
}

.cloud.clear.right,
.cloud.clear.right-2 {
  right: -40%;
}

.cloud.full.clear.left,
.cloud.full.clear.left-2 {
  left: -60%;
}

.cloud.full.clear.right,
.cloud.full.clear.right-2 {
  right: -60%;
}

.cloud.partial-cloud.left {
  left: 10%;
}

.cloud.partial-cloud.right {
  right: 10%;
}

.cloud.full.full-cloud.right {
  right: -20%;
}

.cloud.full.full-cloud.right-2 {
  right: 10%;
}

.cloud.full.full-cloud.left {
  left: -20%;
}

.cloud.full.full-cloud.left-2 {
  left: 10%;
}

.cloud img {
  width: 100%;
  height: auto;
}

.layer-2 {
  background: url("../img/film/mountains-fullpage.png") no-repeat scroll center;
  background-size: cover;
  height: 108%;
  width: 108%;
  margin-left: -4%;
}

.layer-3-1 {
  background: url("../img/film/full-layer_2-2-fullpage.png") no-repeat scroll
    center;
  background-size: cover;
}

.layer-3 {
  background: url("../img/film/full-layer_2-fullpage.png") no-repeat scroll
    center;
  background-size: cover;
}

.layer-3 .sign {
  position: absolute;
  height: auto;
  width: 18%;
  /*background: #8c2e2e63;*/
  top: 40%;
  left: 24%;
}

.sign .text {
  text-align: center;
  font-size: 2.5vw;
  -webkit-transform: rotate(5.8deg);
  -ms-transform: rotate(5.8deg);
  transform: rotate(5.8deg);
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
  color: #352c1d8f;
  text-shadow: 1px 1px 0px #6055412b;
  cursor: default;
}

.sign .text.rotate {
  -webkit-animation: rotateSign 0.33s ease 2.75s forwards,
    rotateSign2 0.33s linear 5.175s forwards;
  animation: rotateSign 0.33s ease 2.75s forwards,
    rotateSign2 0.33s linear 5.175s forwards;
}

/* ----------------- Rain */

.rain {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background: url(../img/rain.png);
  opacity: 0;
  display: none;
  -webkit-animation: rain 0.3s linear infinite;
  animation: rain 0.3s linear infinite;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.rain.raining {
  /*display: block;*/
  opacity: 0.6;
}

.rain:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #d4d7d0bd;
  opacity: 0;
}

.rain.raining:before {
  -webkit-animation: lighting 4s linear 3s infinite;
  animation: lighting 4s linear 3s infinite;
}

/* ---------------------------- Video player */

.interactions-slide {
  background: url("../img/film/o_ground.jpg") no-repeat scroll center;
  background-size: cover;
  display: none;
  /*   padding-top: 56.25%;
    height: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);*/
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.interactions-slide .tension-bar {
  height: 8px;
  width: 100%;
  background: #c2d5b12b;
  position: absolute;
  top: 0;
}

.interactions-slide .tension-bar.active {
  display: block;
}

.tension-bar .progress {
  height: 100%;
  width: 0%;
  background: #2e7341;
  position: relative;
  margin: 0 auto;
  /*transition: all 5s cubic-bezier(.6, .04, .98, .34);*/
}

.tension-bar .progress.grow {
  -webkit-animation: tensionProgress 5s cubic-bezier(0.6, 0.04, 0.98, 0.34)
    forwards;
  animation: tensionProgress 5s cubic-bezier(0.6, 0.04, 0.98, 0.34) forwards;
}

.tension-bar .progress.grow.paused {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

/* ---- Remote Buttons */

.remote-buttons {
  background: url("../img/film/o_remote-fullpage.png") no-repeat scroll center;
  background-size: cover;
}

.rm-button {
  height: 15.5%;
  width: 9%;
  background: transparent;
  height: 16%;
  top: 13.2%;
  position: relative;
  margin: 2.1% auto;
  border-radius: 100px;
  -webkit-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
  opacity: 0;
  left: -1.6%;
}

#rm-button-weather {
  left: -1.8%;
}

#rm-button-speaker,
#rm-button-sign {
  /*margin-top: 2.3%;*/
  left: -1.5%;
}

.rm-button.finish {
  /*background: #a44;*/
  margin-top: 2.3%;
  left: -1.45%;
}

.rm-button.active {
  cursor: pointer;
  -webkit-animation: buttonFlash 1s ease 0.5s infinite;
  animation: buttonFlash 1s ease 0.5s infinite;
  opacity: 0.7;
  background: var(--light-yellow);
}

.rm-button.finish.active {
  -webkit-animation: buttonFFlash 1s ease 0.5s infinite;
  animation: buttonFFlash 1s ease 0.5s infinite;
  opacity: 0.7;
  background: var(--light-red);
}

.rm-button.active.paused {
  -webkit-animation-play-state: paused !important;
  animation-play-state: paused !important;
}

.rm-button.deactivated {
  cursor: default !important;
  -webkit-animation: unset !important;
  animation: unset !important;
}

.rm-button.active.deactivated {
  background: transparent;
}

.rm-button:hover {
  opacity: 0.5;
}

.rm-button.controller {
  background: #346c43;
  margin: 100px;
  opacity: 1;
  position: fixed;
  bottom: 0;
  top: unset;
}

/* -------------- Video controls*/

.layer .clip {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
}

.layer .clip.active {
  display: block;
}
.video-controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  padding: 0 15px;
  -webkit-transition: opacity 0.2s ease-out, bottom 0.4s ease;
  -o-transition: opacity 0.2s ease-out, bottom 0.4s ease;
  transition: opacity 0.2s ease-out, bottom 0.4s ease;
  opacity: 1;
}

.video-controls.remove {
  -webkit-transition: opacity 0.3s ease-out, bottom 1s ease;
  -o-transition: opacity 0.3s ease-out, bottom 1s ease;
  transition: opacity 0.3s ease-out, bottom 1s ease;

  bottom: -100px;
  opacity: 0;
}

.video-controls .prog-bar {
  position: absolute;
  bottom: 7%;
  width: calc(100% - 30px);
  height: 3px;
  background: #ffffff36;
  border-radius: 2px;
}

.video-controls .progress {
  width: 0;
  height: 100%;
  background-image: url("../img/progress-bar.png");
  background-size: auto;
}

.video-controls .progress.animate {
  -webkit-animation: filmProgress 82s steps(300) 0s forwards;
  animation: filmProgress 82s steps(300) 0s forwards;
  /*animation: loadProgress 4s steps(30) 1s forwards;*/
}

.video-controls .progress.animate.paused {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

.pause-slide {
  background: #060b03c2;
  /*opacity: 0;*/
  /*transition: all 0.5s ease;*/
  display: none;
}

.pause-slide.active {
  opacity: 1;
}

.pause-slide.end {
  background: #070d00f2;
  opacity: 1;
}

.pause-slide .end-text {
  color: #aaada5;
  font-size: 100px;
  display: none;
  cursor: default;
}

.pause-slide.end .end-text {
  display: block;
}

.pause-slide .option {
  height: 90px;
  margin: 20px auto;
}

.option .text {
  display: inline-block;
  position: relative;
  top: -30%;
  left: 10px;
}

/* ---------------------------- Stage 4: End; ---------------------------- */

.outer-container.end {
  background: #1c280ef2;
}

/* Test */

.show-details {
  position: relative;
  z-index: 1000;
}
