@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
  }

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
}

canvas {
  position: absolute;
}

.header{
  position: absolute;
  top: 7%;
}

#start{
  display: block;
  position: absolute;
  bottom: 26%;
  width: 500px;
  font-size: 50px;
  z-index: 10;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 2em;
  background: linear-gradient(63.2deg, #ff671d, #f3c300);
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  padding: 0.6em;
  font-weight: 800;
}

}
.activado {
  background: #bfccd4;
  text-align: center;
  color: #507489;
  display: block;
  position: absolute;
  bottom: 36%;
  width: 520px;
  height: 100px;
  font-size: 39px;
  line-height: 100px;
  border: none;
  border-radius: 50px;
  z-index: 1;
  opacity: 0;
}

video#video, canvas{
  width: 700px;
  height: 700px;
  border: solid #ff671d 10px;
  border-radius: 30px;
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Ajusta el objeto dentro del espacio disponible, cortando los lados si es necesario */
  object-fit: cover; 
}

.instrucciones{
  position: absolute;
  display: block; 
  width: 700px;
  text-align: center;
  bottom: 35%;
  color: #121212;
  font-weight: 600;
  font-size: 33px;
}

.loading {
  --speed-of-animation: 0.9s;
  --gap: 6px;
  --first-color: #F9A602;
  --second-color: #F9A602;
  --third-color: #F9A602;
  --fourth-color: #F9A602;
  --fifth-color: #F9A602;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  gap: 12px;
  height: 60px;
  position: absolute;
  bottom: 18%;
  left: calc(50% - 50px);
  z-index: 5;
  opacity: 0;
 }
 
 .loading span {
  width: 7px;
  height: 50px;
  background: var(--first-color);
  animation: scale var(--speed-of-animation) ease-in-out infinite;
 }
 
 .loading span:nth-child(2) {
  background: var(--second-color);
  animation-delay: -0.8s;
 }
 
 .loading span:nth-child(3) {
  background: var(--third-color);
  animation-delay: -0.7s;
 }
 
 .loading span:nth-child(4) {
  background: var(--fourth-color);
  animation-delay: -0.6s;
 }
 
 .loading span:nth-child(5) {
  background: var(--fifth-color);
  animation-delay: -0.5s;
 }
 
 @keyframes scale {
  0%, 40%, 100% {
   transform: scaleY(0.05);
  }
 
  20% {
   transform: scaleY(1);
  }
 }

 .animacion span{
  text-align: center;
  display: block;
  width: 800px;
  height: 130px;
  font-size: 39px;
  line-height: 130px;
  border: none;
  border-radius: 65px;
  z-index: 1;
  position: absolute;
  bottom: 32%;
  left: calc(50% - 400px);
 }
 .animacion span.verde{
  background: #00813f;
  color:#fff;
 }
 .animacion span.azul{
  background: #006cad;
  color:#fff;
 }
 .animacion span.rojo{
  background: #df3541;
  color: #fff;
 }
 .animacion span.amarillo{
  background: #ffcf00;
  color: #000;
 }
 
.animacion span {
  opacity: 0;
  transform: translateY(20px);
  display: block;
} 
.felicitaciones {
  text-align: center;
  display: block;
  width: 440px;
  height: 110px;
  font-size: 49px;
  line-height: 110px;
  border: none;
  border-radius: 55px;
  z-index: 1;
  position: absolute;
  top: 10%;
  left: calc(50% - 220px);
  background: #000;
  color: #fff;
  opacity: 0;
}

.exito{
  position: absolute;
  text-align: center;
  top: 48%;
  width: 650px;
  opacity: 0;
}
.exito h2{
  font-size: 50px;
}
.exito p{
  font-size: 33px;
}
.exito span{
  font-size: 60px;
  color: #00813f;
  font-weight: bold;  
}

#intro {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background: linear-gradient(to bottom,  #ff671d 0%,#f3c300 100%);
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
}
#intro .logoIntro{
  width: 500px;
}
#intro h2{
  text-align: center;
  font-size: 80px;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 1em;
}
#intro p{
  width: 650px;
  font-weight: 600;
  font-size: 33px;
  text-align: center;
  margin-bottom: 0;
}

#intro .btnIntro{
  width: 650px;
  font-size: 50px;
  font-weight: 800;
  text-align: center;
  color: #ff671d;
  background: #fff;
  padding: 1em;
  border: none;
  border-radius: 2em;
  margin-top: 1.5em;
  margin-bottom: 5em;
}

#intro .decoIntro{
  position: absolute;
  bottom: 0;
  right: 0;
}

.circular-progress {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 25px #fff;
  background: #fff6f2;
  zoom: 1.3;
  opacity: 0;
  bottom: 27%;
  z-index: 2;
}

.bg-circular{
  position: absolute;
  width: 320px;
  height: 320px;
  background: #fff6f2;
  border-radius: 50%;
  top: 40px;
  left: 40px;
  z-index: 1;
}

.circular-progress .texto{
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8em;
  font-weight: 500;
  text-transform: uppercase;
  z-index: 10;
  opacity: 0;
}

.progress-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5em;
  font-weight: 600;
  z-index: 10;
  opacity: 0;
}

.progress-circle {
  width: 100%;
  height: 100%;
  z-index: 11;
  position: absolute;
  top: 0;
  left: 0;  
}

.progress-bar {
  fill: none;
  stroke: url(#gradient);
  stroke-dasharray: 314; /* Circunferencia = 2 * PI * R (2 * PI * 50) */
  stroke-dashoffset: 314; /* Para ocultar la circunferencia inicialmente */
}

.progress-dot {
  fill: #fff;
}


