/* HOME */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


#page-home section#home-intro {
  background: linear-gradient(
    #881074 0%,
    #761672 5.24%,
    #5f1e70 13.98%,
    #50236f 22.17%,
    #4c256f 29.19%,
    #472269 31.61%,
    #391959 40.95%,
    #31144f 51.5%,
    #2f134d 65.67%,
    #2d114a 70.37%,
    #2c1149 98.95%
  );
  display: flex;
  height: 100vh;
  min-height: inherit;
  align-items: center;
}

#home-intro:before {
  content: "";
  position: absolute;
  width: 30%;
  height: 80%;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-image: url(../images/misc-intro-bg.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.25;
}

#home-intro .container {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#home-intro .figura {
  position: absolute;
  right: 0;
  min-height: 100%;
}

#home-intro p.titulo br {
  display: none;
}

#home-intro h1 {
  font-weight: 600;
  font-size: 1.6rem;
  color: #fff;
  text-transform: uppercase;
}

#home-intro p.titulo {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-family: "Nunito", sans-serif;

}

#home-intro p.bajada {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.2;

  margin-bottom: 0.8rem;
}

#home-intro p.texto {
  color: var(--amarillo);
  font-size: 1.2rem;

  margin-bottom: 1rem;
}

#home-intro p.disclaimer {
  font-size: 0.9rem;
  color: #fff;
  text-align: center;
}

#home-intro .cta a {
  width: 100%;
}

#home-intro button.btn {
  font-size: 1.2rem;
  width: 100%;
  animation: pulse 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

#home-intro button.btn:hover {
  background-color: var(--amarillo);
  color: var(--violeta);
}

body#page-home section#instrucciones {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 0;
  padding-top: 0;
  background-color: #fff;
}

#instrucciones .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  height: 100%;
  border-bottom-left-radius: 100px;
}

#instrucciones .box {
  height: 100%;
  padding: 50px 75px;
  background-color: var(--grisLight);
  border-radius: 50px 50px 50px 0;
}

#instrucciones .box img {
  margin-bottom: 2rem;
  max-height: 65px;
}

#instrucciones .box h4 {
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

#instrucciones #btn-totest {
  position: absolute;
  width: 130px;
  height: 130px;
  bottom: 0;
  left: calc(50% - 65px);
}

#instrucciones #btn-totest button {
  border: none;
  background: none;
  width: 100%;
}

#instrucciones #btn-totest button .button-in {
  position: absolute;
  bottom: 10px;
  left: calc(50% - 50px);
  background-color: none;
  border-radius: 50%;
  height: 95px;
  width: 95px;
  animation: pulse 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

#instrucciones #btn-totest button:hover img {
  transition: all 0.2s ease;
}

#instrucciones #btn-totest button:hover img {
  transform: scale(1.06);
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(45, 17, 74, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(52, 172, 224, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 172, 224, 0);
  }
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}
#home-intro .cta{
  max-width: 400px;
}

/* TEST */


@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
  }

  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

.step-1 .pulso.pulso-pecho {
  opacity: 0;
}

.pulso.pulso-pecho {
  opacity: 1;
  position: absolute;
  top: calc(45% - 1.3em);
  left: calc(45% - -5.2em);
  width: 5em;
  height: 5em;
  border-radius: 50%;
  animation: pulse-red 2s infinite;
}

.pulso-garganta {
  position: absolute;
  top: calc(28% - 0.4em);
  left: calc(44% + 5.4em);
  width: 5em;
  height: 5em;
  border-radius: 50%;
  animation: pulse-red 2s infinite;
}

.pulso-estomago {
  position: absolute;
  top: calc(45% + 8.3em);
  left: calc(45% + 5.4em);
  width: 5em;
  height: 5em;
  border-radius: 50%;
  animation: pulse-red 2s infinite;
}

.quiz-img {
  max-height: calc(100% - 50px);
}

#takethetest #test-sintomas.step-5 span {
  opacity: 0;
}

.btn-quiz {
  width: 100%;
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  background-color: #725888;
}

.btn-quiz:active {
  background-color: #725888;
  color: #fff;
}

#test-sintomas span {
  text-align: center;
  color: #fff;
  padding: 5px 15px;
  margin: auto;
  border: solid 1px #fff;
  position: relative;
}

.quiz-statement {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  min-height: 100px;
}

#test-progress {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#test-progress:after {
  position: relative;
  font-family: "Nunito", sans-serif;
  content: "COMPLETADO 0%";
  font-size: 1.1rem;
  margin-top: 0.75rem;
  text-align: center;
  width: 100%;
  color: var(--amarillo);
}

.bar2 {
  background-color: #725888;
  width: 100%;
  height: 15px;
  padding: 0px;
  border-radius: 10px;
}

.bar2 .fill {
  background-color: var(--amarillo);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  opacity: 1;

  transition: all 0.2s ease;
}

.step-1 .bar2 {
  background-color: #9074a8;
}

.step-1 .bar2 .fill {
  width: 15%;
}

.step-2 .bar2 .fill {
  width: 30%;
}

.step-3 .bar2 .fill {
  width: 45%;
}

.step-4 .bar2 .fill {
  width: 60%;
}

.step-5 .bar2 .fill {
  width: 80%;
}

.step-6 .bar2 .fill {
  width: 100%;
}

#takethetest #test-progress.step-1:after {
  content: "COMPLETADO 15%";
}

#takethetest #test-progress.step-2:after {
  content: "COMPLETADO 30%";
}

#takethetest #test-progress.step-3:after {
  content: "COMPLETADO 45%";
}

#takethetest #test-progress.step-4:after {
  content: "COMPLETADO 60%";
}

#takethetest #test-progress.step-5:after {
  content: "COMPLETADO 75%";
}

#takethetest #test-progress.step-6:after {
  content: "COMPLETADO 99% - CARGANDO RESULTADOS...";
}

#takethetest .test-misc {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.15;
  max-height: 70%;
  z-index: -1;
}


@media (max-width: 1024px) {
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #page-home section {
    min-height: 100vh;
  }

  #page-home section#home-intro {
    padding-top: 0;
  }

  #home-intro .figura {
    right: 10%;
    top: 0;
    z-index: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    z-index: 0;
  }

  #home-intro:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    background: rgb(45, 18, 74);
    background: linear-gradient(90deg, rgba(45, 18, 74, 1) 49%, rgba(45, 18, 74, 0.2780462526807598) 87%);
    opacity: 1;
    z-index: 1;
  }


  #home-intro .text {
    z-index: 1;
  }

  #home-intro p.desktop {
    display: none;
  }

  #home-intro p.mobile {
    display: block;
  }

  #page-home section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  #home-intro .text {
    width: 90%;
    margin-left: 5%;

    margin-bottom: 0.7rem;
  }

  #home-intro p.titulo {
    line-height: 1;
    font-size: 2.5rem;
    margin-bottom: 0.7rem;
  }

  #home-intro p.bajada {
    font-size: 1.5rem;
  }

  #home-intro .cta {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #home-intro button.btn {
    font-size: 1rem;
    width: 80%;
  }

  #home-intro h1 {
    font-size: 1.1rem;
  }

  section#instrucciones {
    height: auto;
    min-height: auto;
  }

  #instrucciones footer button {
    width: 110px;
  }

  #instrucciones .content {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-bottom-left-radius: 50px;
  }

  #instrucciones .box {
    height: auto;
    padding: 25px;
    margin-bottom: 1rem;
    text-align: center;
  }

  #instrucciones .box img {
    max-width: 60px;
    max-height: 50px;
  }

  #instrucciones .box header {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
  }

  #instrucciones .box h4 {
    font-size: 1.2rem;
  }

  #instrucciones .box img {
    margin-bottom: 1rem;
  }

  section#takethetest {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 0;
    height: auto !important;
    min-height: none;
    max-height: none;
  }

  .bar2 {
    width: 100%;
    height: 10px;
    margin-left: 0;
  }

  #test-progress {
    margin-bottom: 1rem;
  }

  .quiz-statement {
    font-size: 1.1rem;
    min-height: 105px;
  }

  .btn-quiz {
    width: calc(50% - 0.5rem);
    height: 45px;
    font-size: 1rem;
    padding: 5px 15px;
    margin-bottom: 1rem;
  }

  .btn-block + .btn-block {
    margin-top: 0;
  }

  #options-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  #test-sintomas span {
    position: absolute;
    top: 0;
  }

  #takethetest #test-sintomas {
    position: relative;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    box-shadow: aliceblue;
    justify-content: center;
    height: auto;
    left: auto;
    right: auto;
    padding: 0;
  }
  #page-home section#home-intro {
    background: linear-gradient(
      #881074 0%,
      #761672 5.24%,
      #5f1e70 13.98%,
      #50236f 22.17%,
      #4c256f 29.19%,
      #472269 31.61%,
      #391959 40.95%,
      #31144f 51.5%,
      #2f134d 65.67%,
      #2d114a 70.37%,
      #2c1149 98.95%
    );
    display: flex;
    height: 100vh;
    min-height: inherit;
    align-items: center;
    z-index: 2;
    opacity: 1;
  }
  #home-intro .figura {
    position: absolute;
    right: 0;
    min-height: 100%;
    overflow: hidden;
    opacity: 0.5;
  }

  #home-intro .figura #animation_container,
  #home-intro .figura canvas#canvas {
    height: 100% !important;
    width: auto !important;
  }
}

@media (min-width: 1024px) {
  #home-intro .container {
    margin-bottom: 100px!important;
  }
}
/*MOBILE */

@media (max-width: 650px) {
  #home-intro p.titulo br {
    display: block;
  }

  #alertaBox {
    top: 320px;
  }
  .text-footer{
    font-size: 12px;
  }
}

@media (max-width: 350px) {
  #home-intro p.titulo {
    font-size: 1.8rem;
  }

  #home-intro p.bajada,
  #home-intro p.texto {
    font-size: 1.1rem;
    line-height: 1;
  }
}
