@font-face {
  font-family: apercu-black;
  src: url(../fonts/apercu_movistar_plus-black.otf);
}

@font-face {
  font-family: apercu-regular;
  src: url(../fonts/apercu_movistar_plus-regular.otf);
}

@font-face {
  font-family: gradia;
  src: url(../fonts/Gradia-Italic.otf);
}

/* Reset básico */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* color: #ebdec3; */
  }
  
  html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Sin scroll, típico de kiosko/tótem */
    font-family: apercu-regular;
    font-size: 60px;
  }

  body h3{
    font-family: gradia;
    line-height: 175px;
    letter-spacing: 13px;
    color: #ebdec3;
  }

  body .text{
    color: #ebdec3;
  }

  .logo{
    padding-top: 150px;
  }
  
  /* Contenedor en columna */
  .container-vertical {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .next{
    padding-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .next.instructions{
    padding-top: 150px;
  }

  .next button {
    width: 535px;
    height: 193px;
    display: block;
    background-color: transparent;
    border: none;
    background-image: url(/assets/images/next-button.png);
  }

  .next.start button {
    background-image: url(/assets/images/start-button.png);
  }
  .start-game{
    display: none;
  }
  .next.end button {
    background-image: url(/assets/images/end-button.png);
  }
  /* Panel para el contador y el mensaje */
  .info-panel {
    width: 100%;
    height: 10%;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #contador {
    font-size: 1.2rem;
    margin: 5px;
  }
  
  #mensajeFinal {
    font-size: 1.2rem;
    color: green;
    font-weight: bold;
  }
  
  .oculto {
    display: none;
  }
  .cartela {
    text-align: center;
    position: relative;
    background-image: url(/assets/images/cartelas.jpg);
    width: 1466px;
    height: 1163px;
    margin: 150px auto;
    font-size: 77px;
  }
  .cartela h3 {
    display: block;
    text-align: center;
    position: absolute;
    margin: 230px auto 0;
    width: 100%;
    padding: 0 10%;
    color: #452606;
    font-family: gradia;
    line-height: 138px;
  }
  /* Contenedores de imagen.
     Ajustamos a 45% y 45% para dejar 10% al panel,
     pero puedes hacer 50% / 50% si mueves el panel. */
  .image-container {
    position: relative;
    width: 100%;
    height: 45%;
    overflow: hidden;
  }
  
  /* Imágenes en modo cover */
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Hotspot: inicialmente visible para depuración (borde rojo).
     Puedes ponerlo invisible si lo deseas. */
  .hotspot {
    position: absolute;
    /* border: 20px dashed red; */
    opacity: 0.5;
    cursor: pointer; 
    background-color: transparent;
    border: 0px;
  }
  
  .hotspot.encontrado {
    /* Marcamos si se encontró: cambia color/borde/lo que quieras */
    border: 2px solid green;
    background-color: rgba(0, 255, 0, 0.3);
  }
  .screen {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 100px 0px;
  }

  #screen01 {background:url("/assets/images/bg-inicio.jpg")}
  #screen01 .text{
    padding: 350px 0px 50px 0px;
  }
  #screen01 .text h3{
    font-size: 140px;
  }
  #screen01 .text h3 span{
    font-size: 200px;
  }
  #screen02 {background:url("/assets/images/bg.jpg")}
  #screen02 .text p{
    font-size: 85px;
    margin-bottom: 50px;
  }
  #screen03 {background:url("/assets/images/bg.jpg")}
  #screen03 .text{
    font-size: 100px;
    padding: 150px 0px 150px 0px;
  }
  #screen04 {background:url("/assets/images/bg.jpg")}
  #screen05 {background:url("/assets/images/bg.jpg")}

  /* #screen05 .qr{
    width: 500px;
    height: 500px;
  } */

  .text.isntructions{
    width: 80%;
    margin: 0 auto;
    /* text-align: left; */
  }

  .text.isntructions p{
    display: flex;
    gap: 70px; /* Espaciado entre los spans */
    align-items: initial;
    align-content: center;
    text-align: left;
  }

  .text.isntructions p .numero{
    font-family: gradia;
    font-size: 100px;
  }

  /* Carousel styles */
  .carousel-container {
    position: relative;
    width: 100vw;
    margin: auto;
    overflow: hidden;
}
.carousel {
    display: flex;
    margin: 0 auto;
    /* overflow: hidden; */
    /* width: calc( 100vw - 600px ); */
    transition: transform 0.5s ease-in-out;
    padding-bottom: 100px;
}
.carousel > button {
  width: calc(100vw - 600px);
  display: block;
  margin: 0 300px;
  border: none;
  background-color: transparent;
}
.carousel > button img {
  border-radius: 10px;
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.8);
}
/* .carousel img {
    width: 100%;
    margin: 0 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.8);
} */
.carousel img.selected {
  box-shadow: -20px 20px 50px rgba(225, 226, 219, 0.8);
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: url("/assets/images/btn-carousel.png") no-repeat;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 183px;
    height: 309px;
    z-index: 100;
}
.arrow-left {
    left: 70px;
    transform: scaleX(-1) translateY(-50%);
}
.arrow-right {
    right: 60px;
}
.btn {
    margin-top: 20px;
    background: #f4e1c1;
    color: black;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
}
.game-container {
  position: relative;
}
.game-container .game {
  padding: 100px 0 0;
}
figure.personaje {
  display: block;
  margin: 0 auto 100px;
  max-width: fit-content;
  position: relative;
}
figure.personaje img {
  display: block;
}
figure.personaje .hotspot {
  display: block;
  width: 100px;
  height: 100px;
}
.timelimit {
  position: absolute;
  top: 100px;
  left: 100px;
  font-size: 140px;
  color: #ebdec3;
  font-family: gradia;
  
}
.founds {
  position: absolute;
  top: 100px;
  right: 100px;
  font-size: 140px;
  color: #ebdec3;
  font-family: gradia;
}

.founds .primero{
  position: relative;
  top: -32px;
  left: -15px;
}

.founds .segundo{
  position: relative;
  bottom: -32px;
  right: -15px;
}

.victoria img{
  width: 500px;
  height: 500px;
}