
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');
:root{
  --primary-color:#1d2554;
  --secundary-color:#644877;
  --alternative-color:#db7510;
  --light-color:#ffd985;
}
*{
  margin: 0;
  padding: 0;
}
body{
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
canvas{
  width: 100%;
}
.bg-light-color{
  background-color: var(--light-color);
  width: 100%;
  text-align: center;
  padding: 0.5em 1em;
  box-sizing: border-box;
}
.bg-grey{
  background-color: #ebebeb;
  border-radius: 0.5em;
  padding: 1em;
  box-sizing: border-box;
  width: 100%;
}
.page-title, .hostspot-header{
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0.7em auto;
    padding: 0.5em;
    color: var(--light-color);
    background-color: var(--secundary-color);
    box-sizing: border-box;
}
.icon img{
  width: 40px;
  height: 40px;
}
.icon{
  height: 40px;
  padding-right:10px;
  border-right: 2px solid var(--grey-color);
}
.show{
  position: absolute!important;
  left: 0;
  right: 0;
  top: 20%;
  margin: auto;
  z-index: 1000;
}
.hotspot h2{
  font-size: 1.3em;
  text-transform: uppercase;
}
.hotspot{
  box-sizing: border-box;
  position: relative;
  display: none;
  z-index: 1000;
}
.hostspot-header{
  width: 100%;
  justify-content: flex-start;
  box-sizing: border-box;
  margin-top: -0.5em;
  box-shadow: 0;
}
.hostspot-body{
  padding: 0.5em;
  background-color: #f6f6f6;
}
.hotspot h2{
  font-size: 1.2em;
}
.hotspot{
  max-width: 500px;
  background: #fff;
  padding: 1em;
  color: #000;
  border-radius: 0.5em;
  display: flex;
}
.form-control{
  display: flex;
  gap: 10px;
  margin-bottom: 0.5em;
}
label{
  font-size: 0.9em;
}
#protecciones, .cuestionario{
  max-width: 700px;
}
.img-radio{
  text-align: center;
}
.img-radio img{
  max-width: 100%;
}
button{
  padding: 10px 20px;
  background-color: var(--secundary-color);
  color: #fff;
  border: none;
  border-radius: 1em;
  text-transform: uppercase;
  cursor: pointer;
}
.image-container{
    display: block;
    height: 100vh;
    position: fixed;
    top: 0;
    background: transparent;
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}
a.close{
  cursor: pointer;

}
a.close:hover img{
  transform: scale(0.9);
}
a.close img{
  transition: 0.2s;
  height: 35px;
  position: absolute;
  top: -10px;
  right: -10px;
}
.hotspot p{
  font-size: 0.9em;
  line-height: 1.4em;
  margin-bottom: 0.5em;
}
.more{
  display: inline-flex;
  align-items: center;
  background-color: var(--secundary-color);
  border-radius: 0.5em;
  padding: 0.2em 0.5em;
  cursor: pointer;
  transition: 0.2s;
}

.more img{
  width: 30px;
}
.more:hover img{
  width: 30px;
  transform: scale(0.98);
}
.more:hover{
  background-color: #74a1e1;
}
.more p{
  font-weight: 600;
  text-transform: uppercase;
  color: var(--light-color);
  line-height: normal;
  margin-bottom: 0;
}
.more:hover p{
  color:#285aa1;
  transform: scale(0.98);
}
.text-center{
  text-align: center;
}

html, body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

p {
  margin: 0;
}

#launch-page{
  z-index: 999;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  background-color: var(--secundary-color);
  -webkit-transition: all 2s ease;
          transition: all 2s ease;
}
.col-1{
  width: 50%;
  background-image: url(../assets/01_exterior/01_exterior-obra.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

#launch-page.hide{
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: translateY( -100% );
      -ms-transform: translateY( -100% );
          transform: translateY( -100% );
}

.title, .subtitle {
  text-align: center;
  padding: 10px;
  overflow: hidden;
}

.subtitle {
  font-size: 1.1em;
}

h1 {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
  -webkit-animation: slide-top-in 3s 1s ease-out forwards;
  animation: slide-top-in 3s 1s ease-out forwards;
  font-size: 1.7em;
  width: 90%;
  margin: auto;
}

.subtitle > p {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: translateY(100%);
      -ms-transform: translateY(100%);
          transform: translateY(100%);
  -webkit-animation: slide-bottom-in 2.5s 2.5s ease-out forwards;
  animation: slide-bottom-in 2.5s 2.5s ease-out forwards;
}
.header-home{
  position: absolute;
  background-color: #fff;
  width: 100%;
  top:0;
  display: flex;
  gap:20px;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
}

#progress-container{
  overflow: hidden;
  height: 60px;
  margin: 50px;
}

#progress-container-mask.ready{
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: all 1s ease-out;
          transition: all 1s ease-out;
}

#progress-container-mask.ready > #progress-indicator {
  opacity: 0;
  filter: alpha(opacity=0);
}

#progress-container-mask.ready > #enter-button {
  opacity: 1;
  filter: alpha(opacity=100);
  cursor: pointer;
}

#enter-button:hover:before, #enter-button:hover:after {
  width: 50px;
}

#enter-button{
  opacity: 0;
  overflow: hidden;
  text-align: center;
  height: 60px;
  line-height: 60px;
  font-size: 2em;
  -webkit-transition: opacity 1s ease;
          transition: opacity 1s ease;
}

#enter-button:hover{
  text-shadow: 0 0 2px #fff;
}

#enter-button:before,
#enter-button:after {
  background-color: #fff;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 30px;
  -webkit-transition: width 1s ease;
          transition: width 1s ease;
}
#enter-button:before {
  right: 0.5em;
  margin-left: -51%;
}
#enter-button:after {
  left: 0.5em;
  margin-right: -53%;
}

.yt-iframe{
  width: 1280px;
  height: 720px;
  border: 0;
  position: absolute;
  display: none;
}

.yt-iframe.ready{
  display: block;
}

#progress-indicator {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.5s ease;
          transition: opacity 0.5s ease;
}

#progress-indicator.ready {
  opacity: 1;
  filter: alpha(opacity=100);
}

#progress-text {
  width: 100%;
  height: 100%;
  line-height: 60px;
  text-align: center;
}

.sk-fading-circle {
  margin: 0 auto;
  width: 60px;
  height: 60px;
  position: relative;
}

.sk-fading-circle .sk-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-fading-circle .sk-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 1px;
  height: 6px;
  background-color: rgba(255,255,255,0.8);
  -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
  animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
.sk-fading-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}
.sk-fading-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}
.sk-fading-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.sk-fading-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  transform: rotate(120deg);
}
.sk-fading-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
  transform: rotate(150deg);
}
.sk-fading-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.sk-fading-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
  -ms-transform: rotate(210deg);
  transform: rotate(210deg);
}
.sk-fading-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
  -ms-transform: rotate(240deg);
  transform: rotate(240deg);
}
.sk-fading-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}
.sk-fading-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
  transform: rotate(300deg);
}
.sk-fading-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
  transform: rotate(330deg);
}
.sk-fading-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}
.sk-fading-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}
.sk-fading-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}
.sk-fading-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}
.sk-fading-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}
.sk-fading-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}
.sk-fading-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.sk-fading-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}
.sk-fading-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}
.sk-fading-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}
.sk-fading-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; filter: alpha(opacity=0); }
  40% { opacity: 1; filter: alpha(opacity=100); }
}

@keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; filter: alpha(opacity=0); }
  40% { opacity: 1; filter: alpha(opacity=100); }
}

@-webkit-keyframes slide-top-in {
  0% { -webkit-transform: translateY(-100%); transform: translateY(-100%); opacity: 0; filter: alpha(opacity=0); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; filter: alpha(opacity=100); }
}

@keyframes slide-top-in {
  0% { -webkit-transform: translateY(-100%); transform: translateY(-100%); opacity: 0; filter: alpha(opacity=0); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; filter: alpha(opacity=100); }
}

@-webkit-keyframes slide-bottom-in {
  0% { -webkit-transform: translateY(100%); transform: translateY(100%); opacity: 0; filter: alpha(opacity=0); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; filter: alpha(opacity=100); }
}

@keyframes slide-bottom-in {
  0% { -webkit-transform: translateY(100%); transform: translateY(100%); opacity: 0; filter: alpha(opacity=0); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; filter: alpha(opacity=100); }

}
.contador, .tiempo{
  position: absolute;
  top:1em;
  right: 1em;
  padding: 0.7em 1em;
  padding-left: 1.3em;
  text-transform: uppercase;
  color: var(--secundary-color);
  background-color: #f6f6f6;
  z-index: 999;
  border-radius: 0 1em 1em 0;
  font-weight: 600;
}
.tiempo{
  right: unset;
  left: 2em;
}
.image-pbe-container{
  display: block;
  background-image: url(../assets/01_exterior/01_exterior_alta.jpg);
  position: absolute;
  z-index: 998;
  width: 100vw;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  transition: all 2s;
  transform-origin: center center;
  transform: scale(1);
}
.image-pbe-container.init{
  display: none;
}
.image-pbe-container.zoom{
  transform: scale(2) translateX(116px) translateY(-200px);
}
.image-pbe-container.hide{
  opacity: 0;
  filter: alpha(opacity=0);
  z-index: -10;
}

.image-entrepiso{
  display: block;
  background-image: url(../assets/00_entrepiso/entrepiso.jpg);
  position: absolute;
  z-index: 998;
  width: 100vw;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  transition: all 2s;
  transform-origin: center center;
  transform: scale(1);
}
.image-entrepiso.init{
  display: none;
}
.image-entrepiso.hide{
  opacity: 0;
  filter: alpha(opacity=0);
  z-index: -10;
}

.hotspot-pbe{
  width: 50px;
  height: 55px;
  background-image: url(../assets/iconos/SVG/info04.svg);
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  position: absolute;
  z-index: 1000;
  transition: all 1s;
}
.hotspot-pbe.question{
  background-image: url(../assets/iconos/SVG/pregunta01.svg);
}
.hotspot-pbe.question.activo{
  background-image: url(../assets/iconos/SVG/pregunta02.svg);
}

.hotspot-subir{
  width: 50px;
  height: 50px;
  background-image: url(../assets/iconos/SVG/up02.svg);
  background-size: contain;
  background-repeat: no-repeat;
  cursor:pointer;
  position: absolute;
  display: none;
  z-index: 1000;
  bottom: 40%;
  left: 30%;
  transition: 1s;
  transform: scale(0.4);
}
.hotspot-subir#subirNivel{
  transform: scale(1.5);
}
.hotspot-subir#subirNivel:hover{
  transform: scale(1.7);
}
.hotspot-pbe:hover, .hotspot-subir:hover{
  transform: scale(1.3);

}
.hotspot-pbe.active{
  background-image: url(../assets/iconos/SVG/info05.svg);
  transition: all 1s;
}
.nivelSig{
  margin-top: 20px;
}
.hpWrapper{
  display: flex;
  justify-content: center;
}
.hotspot-subir.entrepiso{
  display: block !important;
  position: initial;
  width: 55px;
  height: 40px;
  transform: scale(1);
  margin-top: 20px;
}
.hotspot-subir.final{
  rotate: 180deg;
  display: block;
  position: initial;
  transform: scale(1);
}
.texto-feedback{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  z-index: 1100;
  margin: 1em auto;
  padding: 1em;
  font-weight: 600;
  font-size: 1.2em;
  color: var(--alternative-color);
  background-color: rgb(246, 246, 246, 0.9);
  border-radius: 6px;
  width: fit-content;
  text-align: center;

  transition: all 1s;
}
#protecciones-hp{
  bottom:280px;
  left: 530px;
}
#vallado-hp{
  bottom:180px;
  left: 700px;
}
#caballetes-hp{
  bottom:104px;
  left: 650px;
}
#cartel-hp{
  bottom:200px;
  left: 620px;
}
#protecciones{
  top:20px;
  left: 200px;
}
#vallados{
  top:180px;
  left: 500px;
}
#cartel{
  top:80px;
  left: 430px;
  position: relative;
}
#caballetes{
  top:270px;
  left: 430px;
}
.visible{
  display: flex!important;
  top: 20px;
  position: absolute;
  flex-direction: column;
}
.puntos, .tiempoImg{
  position: absolute;
  left: -26px;
  top: 2px;
  width: 40px;
}
.fade{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -100;
}
.perder{
  display: block;
  position: absolute;
  width: 100vw;
  height: 100%;
  background-color: #ff10104a;
  z-index: 1000;
  backdrop-filter: blur(10px);
  top: 0;
}
.hotspot.modalPerder{
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translate(-50%, -50%);
}
.esconder{
  display: none;
}
.modal-fin{
  max-width: 1000px;
  margin: auto;
  background: #fff;
  padding: 1em;
  border-radius: 1em;
  margin-top: 1em;
  box-sizing: border-box;
  overflow-y: auto;
  height: calc(100vh - 3em);
}
.modalPerder{

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.modal-fin.final{
  margin-top: 0em;
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    height: 100%;
    top: 0;
    border-radius: 0;
}
.modal-fin.final .container-fin{
  max-width: 1000px;
}
.felicitaciones{
  width: 100%;
  text-align: left;
  padding: 0.5em 0;
}
.felicitaciones img{
  max-width: 300px;
}
.mb-2{
  margin-bottom: 1em;
}
.mt-2{
  margin-top: 1em;
}
.img-fluid{
  max-width: 100%;
}
.separador,.sep-izq{
  margin: 1em auto;
  width: 100%;
  height: 4px;
  background-color: #1d2554;
  border-radius: 5px;
}
.sep-izq{
  height: 10px;
  width: 80%;
  align-self: flex-start;
  margin: 0;
}
.final-iconos{
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: 1em 0;
  flex-wrap: wrap;
  gap: 20px;
}
.final-iconos div{
  width: 20%;
  box-sizing: border-box;
}
.btn-secondary{
  background-color: #1d2554;
  font-size: 1.1em;
}
@media screen and (max-width: 60em) {
  .modal-fin, .modal-fin.final .container-fin{
    max-width: 90%;
  }
  .final-iconos div{
    width: 45%;
  }
  .hotspot{
    width: 95%;
    max-width: 95%;
    margin: auto;
    left: calc(50% - 170px)!important;
  }
  h1{
    font-size: 1.6em;
    margin-top: 0.5em;
  }
  .image-container {
    width: 100%;
  }
  .image-container canvas{
    width: 100%!important;
  }
  .page-title {
    width: 280px;
  }
  #launch-page{
    flex-direction: column;
  }
  .header-home img:nth-child(1){
    max-width: 20%;
  }
  .header-home img:nth-child(2){
    max-width: 38%;
  }
  .header-home img:nth-child(3){
    max-width: 13%;
  }
  .col-1{
    display: none;
  }
  .col-2{
    width: 100%;
  }
  #protecciones-hp {
    bottom: 238px;
    left: 40px;
    transform: scale(0.7);
  }
  #vallado-hp{
    left: 150px;
    bottom: 140px;
    transform: scale(0.7);
  }
  #caballetes-hp{
    left: 180px;
    bottom: 80px;
    transform: scale(0.7);
  }

  #cartel-info{
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0.7em auto;
    padding: 0.5em;
    color: var(--light-color);
    background-color: rgba(0,0,0,0);
  }

  #cartel-hp{
    left: 100px;
    bottom: 180px;
    transform: scale(0.7);
  }
  #protecciones, #vallados, #cartel,#caballetes{
    top:80px;
    left: unset;
    width: 90%;
  }
  .image-pbe-container.zoom {
    transform: scale(2);
    background-position-x: 30%;
    background-position-y: -150px;
  }
  .hotspot-subir{
    left: 45%;
    bottom: 32%;
  }
}
@media screen and (min-width: 60em){
  .image-container{
    width: 100%;
    height: 100vh;
    margin-left: 0;
  }
}
@media screen and (min-width:1580px){
  #protecciones-hp{
    left: 700px;
    bottom: 350px;
  }
  #vallado-hp{
    left: 800px;
    bottom: 230px;
  }
  #caballetes-hp{
    left: 769px;
  }
  #cartel-hp{
    left: 700px;
  }
  #protecciones{
    top:70px;
    left: 400px;
  }
  #vallados{
    top:250px;
    left: 570px;
  }
  #cartel{
    top:200px;
    left: 500px;
  }
  #caballetes{
    top:350px;
    left: 550px;
  }
}
@media screen and (min-width:1800px){
  body{
    font-size: 110%;
  }
  #protecciones-hp{
    left: 900px;
    bottom: 420px;
  }
  #vallado-hp{
    left: 950px;
    bottom: 250px;
  }
  #caballetes-hp{
    left: 969px;
  }
  #cartel-hp{
    left: 850px;
    bottom: 260px;
  }
  #protecciones{
    top: 163px;
    left: 573px;
  }
  #vallados{
    top: 250px;
    left: 668px;
  }
  #cartel{
    top: 301px;
    left: 601px;
  }
  #caballetes{
    top: 525px;
    left: 727px;
  }
  .hotspot-subir{
    bottom: 200px;
    left: 690px;
  }
}
@media screen and (min-width:3000px){
  body{
    font-size: 140%;
  }
  .hotspot{
      max-width: 700px;
  }
  .hotspot-pbe{
   transform: scale(1.5);
  }
  #protecciones-hp {
    left: 1331px;
    bottom: 761px;
  }
  #vallado-hp{
    left: 1820px;
    bottom: 464px;
  }
  #caballetes-hp {
    left: 1742px;
    bottom: 250px;
  }
  #cartel-hp{
    left: 1561px;
    bottom: 524px;
  }
  #protecciones{
    top: 842px;
    left: 993px;
  }
  #vallados {
    top: 1307px;
    left: 1438px;
  }
  #cartel{
    top: 1090px;
    left: 1179px;
  }
  #caballetes{
    top: 1510px;
    left: 1360px;
  }
  .hotspot-subir{
    bottom: 34%;
    left: 42%;
  }
  .hotspot-subir{
    transform: scale(1);
  }

  .image-pbe-container.zoom {
    background-position-x: 178px;
    background-position-y: -750px;
  }
}