html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  background: #000;
}

.viewport-escena {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
}

.escena {
  position: relative;
  width: 100vw;
  min-width: 1400px;
  height: 100vh;
  overflow: hidden;
}

.pared {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/pared.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.techo-sombra {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.piso {
  position: absolute;
  left: -140px;
  bottom: -10px;
  width: 120%;
  height: 280px;
  z-index: 2;
}

.piso-sombra {
  position: absolute;
  left: -140px;
  bottom: -10px;
  width: 120%;
  height: 280px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.08) 55%,
    rgba(0, 0, 0, 0.18) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.papitas {
  position: absolute;
  left: 4%;
  bottom: 30px;
  width: 200px;
  height: auto;
  z-index: 4;
}

.papitas-sombra {
  width: 140px;
  height: 35px;
  left: 10%;
  bottom: 30px;
  transform: translateX(-50%);
}

.mariana {
  position: absolute;
  left: 51%;
  bottom: 15px;
  transform: translateX(-50%);
  width: 800px;
  height: auto;
  z-index: 3;
}

.mariana-aura {
  position: absolute;
  left: 51%;
  bottom: 15px;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  z-index: 4;
}

.mariana-aura::after {
  content: "";
  position: absolute;
  top: 60%;
  left: 20%;
  width: 8%;
  height: 8%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 70%;
  filter: blur(70px);
  opacity: 0;
  animation: auraBlanca 1.5s infinite;
}

@keyframes auraBlanca {
  0%   { opacity: 0; }
  70%  { opacity: 0; }
  75%  { opacity: 0.4; }
  80%  { opacity: 0.7; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

.lap-boton {
  position: absolute;
  left: 65%;
  bottom: -30px;
  width: 520px;
  height: 420px;
  z-index: 4;
  text-decoration: none;
  display: block;
}

.lap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.lap.apagada {
  z-index: 2;
  opacity: 1;
}

.lap.encendida {
  z-index: 3;
  opacity: 0;
}

.lap-boton:hover .lap.apagada {
  opacity: 0;
}

.lap-boton:hover .lap.encendida {
  opacity: 1;
}

.lap-texto {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 12px;
  text-align: center;
  font-family: "Courier New", monospace;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 5;
}

.lap-boton:hover .lap-texto {
  opacity: 1;
}

.libro-boton {
  position: absolute;
  left: 15%;
  bottom: 20px;
  z-index: 4;
  text-decoration: none;
}

.libro {
  width: 160px;
  height: auto;
  display: block;
}

.libro-texto {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 12px;
  font-family: "Courier New", monospace;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 5;
}

.libro-boton:hover .libro-texto {
  opacity: 1;
}

.titulocajon {
  position: absolute;
  top: 4%;
  left: 22%;
  transform: translateX(-50%);
  width: 700px;
  height: auto;
  z-index: 5;
}

.sombra {
  position: absolute;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  filter: blur(12px);
  z-index: 2;
}

.mariana-sombra {
  width: 800px;
  height: 80px;
  left: 48%;
  bottom: 25px;
  transform: translateX(-50%);
}

.lap-sombra {
  width: 220px;
  height: 80px;
  left: 84%;
  bottom: 70px;
  transform: translateX(-50%);
}

.libro-sombra {
  width: 160px;
  height: 40px;
  left: 20%;
  bottom: 15px;
  transform: translateX(-50%);
}

@media (max-width: 1024px) and (orientation: landscape) {
  .viewport-escena {
    overflow: hidden;
  }

  .escena {
    width: 100vw;
    min-width: 100vw;
    height: 100vh;
  }

  .mariana {
    width: 520px;
    bottom: 10px;
  }

  .mariana-aura {
    width: 520px;
    height: 520px;
    bottom: 10px;
  }

  .mariana-sombra {
    width: 520px;
    height: 55px;
    bottom: 20px;
  }

  .lap-boton {
    left: 64%;
    bottom: -10px;
    width: 340px;
    height: 260px;
  }

  .lap-sombra {
    width: 150px;
    height: 50px;
    left: 82%;
    bottom: 48px;
  }

  .libro-boton {
    left: 12%;
    bottom: 18px;
  }

  .libro {
    width: 110px;
  }

  .libro-sombra {
    width: 110px;
    height: 28px;
    left: 17%;
    bottom: 14px;
  }

  .papitas {
    width: 130px;
    left: 3%;
    bottom: 24px;
  }

  .papitas-sombra {
    width: 90px;
    height: 24px;
    left: 7.5%;
    bottom: 24px;
  }

  .titulocajon {
    width: 430px;
    top: 3%;
    left: 24%;
  }

  .piso {
    height: 200px;
  }

  .piso-sombra {
    height: 200px;
  }
}


@media (max-width: 768px) and (orientation: portrait) {
  html, body {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .viewport-escena {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .escena {
    width: 1400px;
    min-width: 1400px;
    height: 100vh;
  }
}