ng

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
html,
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

a,
button {
  -webkit-transition: all ease-out 0.2s;
  -moz-transition: all ease-out 0.2s;
  -o-transition: all ease-out 0.2s;
  transition: all ease-out 0.2s;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* VARIABLES GLOBALES */

:root {
  --violetaDark: #512773;
  --violeta: #a31b99;
  --violetaLight: #f1ecf4;
  --amarillo: #fecc09;
  --grisLight: #f0f0f0;
  --grisDark: #626262;
  --text-xs: 0.8rem;
  --text-s: 0.9rem;
  --text-m: 1.2rem;
  --text-ml: 1.6rem;
  --text-l: 2rem;
  --text-xl: 2.4rem;
}

/* ESTILOS SITIO */

html {
  -webkit-overflow-scrolling: touch;
  height: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--violetaDark);
}

p strong {
  font-weight: 600;
}

button.btn {
  border-radius: 25px;
  padding: 10px 35px;
  font-weight: 600;
}

.btn.bg-violeta {
  color: #fff;
  background-color: var(--violeta);
}

.btn.bg-violeta:hover {
  background-color: #fff;
  color: var(--violeta);
}

h2 {
}

.text-s {
  font-size: 0.9rem;
}

#header-main {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  z-index: 2000;
  height: 80px;
  transition: all 0.2s ease;
}

#header-main:after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 100%;
  height: 5px;
  background-image: url(../images/border-color.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  left: 0;
}

#header-main {
}

#header-main.scrolling {
  height: 60px;
}

#header-main.scrolling .navbar-brand svg {
  width: 90px;
}

#header-main .navbar-brand {
  padding-top: 0;
  padding-left: 0;
}

#header-main .navbar-brand svg {
  width: 150px;
  transition: all 0.2s ease;
}

/* MENU PRINCIPAL */
.hamburger {
  padding: 15px 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: var(--violetaDark);
}

.hamburger-box:hover .hamburger-inner,
.hamburger-box:hover .hamburger-inner::before,
.hamburger-box:hover .hamburger-inner::after {
  background-color: var(--violeta);
}

.hamburger-box {
  width: 40px;
  height: 24px;
  display: flex;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 4px;
  background-color: var(--violetaDark);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

.hamburger.is-active .hamburger-inner::before {
  top: -7px;
}

.hamburger.is-active .hamburger-inner::after {
  bottom: -7px;
}

/*
   * Arrow Turn
   */
.hamburger--arrowturn.is-active .hamburger-inner {
  transform: rotate(180deg);
}

.hamburger--arrowturn.is-active .hamburger-inner::before {
  transform: translate3d(8px, 0, 0) rotate(45deg) scale(0.7, 1);
}

.hamburger--arrowturn.is-active .hamburger-inner::after {
  transform: translate3d(8px, 0, 0) rotate(-45deg) scale(0.7, 1);
}

#navMenu {
  position: fixed;
  z-index: 50;
  top: 0;
  width: 45%;
  right: -45%;
  height: 100%;
  padding: 0;
  display: flex;
  pointer-events: none;
  flex-direction: column;
  justify-content: flex-start;
  overflow: auto;
  max-width: calc(100% - 80px);
  transition: all 0.3s cubic-bezier(0.07, 0.23, 0.34, 1);
}

.nav-open #navMenu {
  overflow: hidden;
  right: 0;
}

#navMenu .navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #fff;
  height: 100%;
  padding: 50px 25px;
}

#navMenuClose {
  background: none;
  border: none;
  font-size: 2rem;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
}

#navMenuClose svg {
  width: 30px;
  height: 30px;
}

#navMenuClose:hover {
  transform: scale(1.1);
}

.nav-open #navMenu .navbar-nav,
.nav-open #navMenu #navMenuClose {
  pointer-events: all;
}

#navMenu .top-bar {
  height: 90px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  transition: all 0.2s ease;
}

#navMenu .top-bar .left {
  display: flex;
  align-items: center;
}

.scrolling #navMenu .top-bar {
  height: 60px;
}

#header-main .navbar {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header-main .navbar-nav .nav-link {
  color: var(--violetaDark);
  filter: saturate(0);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

#header-main .navbar-nav .nav-link img {
  margin-right: 10px;
  opacity: 0.5;
  max-width: 24px;
  transition: all 0.2s ease;
}

#header-main .navbar-nav .nav-link:hover,
#header-main .navbar-nav .nav-link.active {
  filter: saturate(1);
}

#header-main .navbar-nav .nav-link:hover img,
#header-main .navbar-nav .nav-link.active img {
  opacity: 1;
}

#header-main .right {
  display: flex;
  align-items: center;
}

#header-main .right > a {
  margin-left: 10px;
  margin-right: 10px;
  height: 25px;
}

#header-main .right button {
  margin-left: 10px;
  margin-right: 10px;
  background: none;
  border: none;
  width: 35px;
}

#header-main .right a svg {
  max-width: 100%;
  height: 100%;
  width: 25px;
}

#header-main .right a.icono:hover path {
  fill: var(--violeta);
}

button.boton {
  background-color: var(--violetaDark);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 30px;
  text-transform: uppercase;
}

button.boton:hover {
  background-color: #fff;
  color: var(--violetaDark);
}

button#compartir.boton {
  background-color: var(--violeta);
}

button#compartir.boton:hover {
  background-color: var(--violetaDark);
}

#alerta {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1021;
  max-width: 90%;
}

#alerta:before {
  height: 100vh;
  position: absolute;
  content: "";
  width: 5px;
  background-color: var(--amarillo);
  top: 0;
  right: 0;
}

#alertaBox {
  width: auto;
  background-color: var(--amarillo);
  border-radius: 10px 0 0 10px;
  top: 150px;
  position: relative;
  min-width: 50px;
  min-height: 50px;
}

#alertaBox #alertaBtn {
  padding: 15px;
  border: none;
  background: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
}

#alertaBtn img {
  transition: transform 0.2s ease;
}

#alertaBtn:hover img {
  transform: scale(1.1);
}

#alertaBox .text {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 50px 15px 15px;
  width: 350px;
  max-width: 90%;
}

#alertaBox.active .text {
  display: flex;
  width: 400px;
  max-width: 100%;
  height: auto;
}

#alertaBox .text h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

#redes {
  position: fixed;
  top: calc(50% - 90px);
  left: calc(10% - 6em);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1021;
}

#redes a {
  margin: 7px 0;
}

/* HOME */

section {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}

#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;
  padding-top: calc(7rem + 85px);
  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 {
  display: flex;
  z-index: 1;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

#home-intro .text {
  width: 51%;
}

#home-intro .figura {
  position: absolute;
  right: 0;
  top: 85px;
  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;
}

#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#instructions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 0;
  padding-top: 0;
  background-color: #fff;
}

#instructions .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  height: 100%;
  border-bottom-left-radius: 100px;
}

#instructions .box {
  height: 100%;
  padding: 50px 75px;
  background-color: var(--grisLight);
  border-radius: 50px 50px 50px 0;
}

#instructions .box img {
  margin-bottom: 2rem;
  max-height: 65px;
}

#instructions .box h4 {
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

#instructions #btn-totest {
  position: absolute;
  width: 130px;
  height: 130px;
  bottom: 0;
  left: calc(50% - 65px);
}

#instructions #btn-totest button {
  border: none;
  background: none;
  width: 100%;
}

#instructions #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;
}

#instructions #btn-totest button:hover img {
  transition: all 0.2s ease;
}

#instructions #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);
  }
}

section#instructions footer {
  display: flex;
  justify-content: center;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  position: relative;
  height: 70px;
  background-color: #2c1149;
  background-position: center;
  background-size: 100% 100%;

  margin-bottom: -7px;
  background-repeat: no-repeat;
}

section#instructions:after {
  content: "";
  height: 5px;
  width: 100%;
  left: 0;
  bottom: -2px;
  background-color: #2d114a;
}

#instructions footer #shape {
  position: absolute;
  top: -99px;
  left: 0;
  width: 100px;
  height: 100px;
}

#footer-main .footer-top {
  color: var(--amarillo);
  background-color: #241332;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#footer-main .footer-top .container {
  position: relative;
}

#footer-main .footer-top .container .alerta {
  margin: auto;
  margin-bottom: 1rem;
  width: 50px;
}

#footer-main .footer-bottom {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #2d114a;
  color: #fff;
  font-size: 0.8rem;
}

#footer-main .redes {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

#footer-main .redes a {
  margin-left: 7px;
  margin-right: 7px;
  width: 35px;
  height: 34px;
}

#footer-main .redes a img {
  transition: opacity 0.2s ease;
}

#footer-main .redes a:hover img {
  opacity: 0.85;
}

#footer-main .logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

#footer-main .logos a {
  margin-left: 25px;
  margin-right: 25px;
}

#footer-main .logos a img {
  max-width: 150px;
  max-height: 80px;
}

#footer-main .legal {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer-main .legal .left {
  display: flex;
  align-items: flex-end;
}

#footer-main .legal .left img {
  width: 105px;
  margin-left: 10px;
}

#footer-main .legal .links {
  display: flex;
  align-items: center;
}

#footer-main .legal .links nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  margin-bottom: 0;
  justify-content: space-between;
}

#footer-main .legal .links nav ul li a {
  color: #fff;
}

/* TEST */

#modalTest {
  padding: 0;
}

#modalTest .modal-dialog {
  max-width: 100%;
}

section#takethetest {
  background-color: navy;
  background-image: url(../images/test-bg.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  max-height: 100vh;
  min-height: 100vh;
}

#takethetest #test-sintomas {
  position: absolute;
  width: 45%;
  height: calc(100% - 5rem);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  left: 0;
  padding-left: 10em;
}

#test-sintomas #medicamentos,
#test-sintomas #ardor,
#test-sintomas #nauseas,
#test-sintomas #boca-estomago,
#test-sintomas #garganta-estomago {
  opacity: 0;
  transition: all 0.2s ease;
}

#test-sintomas.step-1 #pecho,
#test-sintomas.step-2 #garganta-estomago,
#test-sintomas.step-3 #boca-estomago,
#test-sintomas.step-4 #nauseas,
#test-sintomas.step-5 #ardor {
  opacity: 0 !important;
  transition: all 0.2s ease;
}

#test-sintomas.step-1 #garganta-estomago,
#test-sintomas.step-2 #boca-estomago,
#test-sintomas.step-3 #nauseas,
#test-sintomas.step-4 #ardor,
#test-sintomas.step-5 #medicamentos {
  opacity: 1;
}

.cls-13,
.cls-14,
.cls-16 {
  animation: pulse 2s infinite;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

@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;
  text-transform: uppercase;
  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: "0% COMPLETED";
  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: "15% COMPLETED";
}

#takethetest #test-progress.step-2:after {
  content: "30% COMPLETED";
}

#takethetest #test-progress.step-3:after {
  content: "45% COMPLETED";
}

#takethetest #test-progress.step-4:after {
  content: "60% COMPLETED";
}

#takethetest #test-progress.step-5:after {
  content: "75% COMPLETED";
}

#takethetest #test-progress.step-6:after {
  content: "99% COMPLETED- LOADING RESULTS...";
}

#takethetest .test-misc {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.15;
  max-height: 70%;
  z-index: -1;
}

#page-resultados section {
  height: auto;
}

#page-resultados #resultados-intro {
  background-color: var(--amarillo);
  padding-top: 150px;
  position: relative;
}

#resultado-card {
  background-color: #fff;
  padding: 50px 25px;
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  width: 100%;
}

#resultado-card .estrellas {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

#resultado-card .estrellas img {
  opacity: 0.25;
  margin-right: 4px;
}

#resultado-card .numero {
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  margin-right: 10px;
}

#resultado-card .puntos {
  color: var(--violetaDark);
  font-size: 3rem;
  opacity: 0.25;
}

#resultado-card .barra {
  width: 100%;
  height: 20px;
  border-radius: 10px;
  background-color: #eaeaea;
  position: relative;
  margin-bottom: 0.75rem;
}

#resultado-card .barra .porcentaje {
  width: 50%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--amarillo);
  border-radius: 10px;
}

#resultado-card.puntaje-0 .barra .porcentaje {
  width: calc(100 / 18 * 8);
}

#resultado-card.puntaje-1 .barra .porcentaje {
  width: calc(100% / 18 * 1);
}

#resultado-card.puntaje-2 .barra .porcentaje {
  width: calc(100% / 18 * 2);
}

#resultado-card.puntaje-3 .barra .porcentaje {
  width: calc(100% / 18 * 3);
}

#resultado-card.puntaje-4 .barra .porcentaje {
  width: calc(100% / 18 * 4);
}

#resultado-card.puntaje-5 .barra .porcentaje {
  width: calc(100% / 18 * 5);
}

#resultado-card.puntaje-6 .barra .porcentaje {
  width: calc(100% / 18 * 6);
}

#resultado-card.puntaje-7 .barra .porcentaje {
  width: calc(100% / 18 * 7);
}

#resultado-card.puntaje-8 .barra .porcentaje {
  width: calc(100% / 18 * 8);
}

#resultado-card.puntaje-9 .barra .porcentaje {
  width: calc(100% / 18 * 9);
}

#resultado-card.puntaje-10 .barra .porcentaje {
  width: calc(100% / 18 * 10);
}

#resultado-card.puntaje-11 .barra .porcentaje {
  width: calc(100% / 18 * 11);
}

#resultado-card.puntaje-12 .barra .porcentaje {
  width: calc(100% / 18 * 12);
}

#resultado-card.puntaje-13 .barra .porcentaje {
  width: calc(100% / 18 * 13);
}

#resultado-card.puntaje-14 .barra .porcentaje {
  width: calc(100% / 18 * 14);
}

#resultado-card.puntaje-15 .barra .porcentaje {
  width: calc(100% / 18 * 15);
}

#resultado-card.puntaje-16 .barra .porcentaje {
  width: calc(100% / 18 * 16);
}

#resultado-card.puntaje-17 .barra .porcentaje {
  width: calc(100% / 18 * 17);
}

#resultado-card.puntaje-18 .barra .porcentaje {
  width: calc(100% / 18 * 18);
}

.resultado-moderado #resultado-card .estrellas img:nth-child(1),
.resultado-moderado #resultado-card .estrellas img:nth-child(2),
.resultado-moderado #resultado-card .estrellas img:nth-child(3) {
  opacity: 1;
}

.resultado-alto #resultado-card .estrellas img:nth-child(1),
.resultado-alto #resultado-card .estrellas img:nth-child(2),
.resultado-alto #resultado-card .estrellas img:nth-child(3),
.resultado-alto #resultado-card .estrellas img:nth-child(4) {
  opacity: 1;
}

.resultado-alto2 #resultado-card .estrellas img {
  opacity: 1;
}

#resultado-card .texto {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#resultado-card .texto .riesgo {
  text-transform: uppercase;
  font-weight: 600;
}

.resultado-texto .tag {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.resultado-texto h1 {
  font-weight: 800;
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.resultado-texto p {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.resultado-texto .botonera {
  margin-top: 2rem;
}

.resultado-texto .botonera button:hover {
  background-color: #2e0c4a;
  color: #fff;
}

.resultado-texto .botonera button:active,
.resultado-texto .botonera button:focus {
  background-color: var(--violeta);
  color: #fff;
}

.resultado-texto button#descargarPdf {
  min-width: 256px;
}

.resultado-texto button#descargarPdf.active {
  background-color: #69d400;
}

.resultado-texto button.boton svg {
  max-height: 25px;
  max-width: 25px;
  margin-right: 10px;
}

section#resultados-que-es {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

section#resultados-que-es:before {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  z-index: 0;
  background-color: var(--amarillo);
}

section#resultados-que-es:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 46%;
  z-index: -1;
  background-color: #2d114a;
}

#resultados-que-es .box {
  background-color: #241332;
  color: #fff;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  padding: 35px;
  min-height: 400px;
}

#resultados-que-es .box .icono {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

#resultados-que-es .box h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

#resultados-cita {
  background-color: #2d114a;
  color: #fff;
}

#resultados-cita p {
  font-size: 2rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

#resultados-cita button.boton {
  background-color: #fff;
  margin-bottom: 0.75rem;
}

#resultados-cita button.boton img {
  max-width: 170px;
}

#gastrotips p {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2rem;
}

#gastrotips img {
  width: 300px;
}

.popover {
  border: none;
  background: none;
}

.popover-header {
  background-color: var(--violetaDark);
  border: none;
}

.popover-body {
  background-color: var(--violetaDark);
  display: flex;
  align-items: center;
  border-radius: 45px;
}

.popover-body a {
  margin: 5px;
}

.popover-body a img {
  width: 38px;
  height: 38px;
  transition: all 0.2s ease;
}

.popover-body a:hover img {
  opacity: 0.8;
}

.bs-popover-auto[x-placement^="bottom"] > .arrow::after,
.bs-popover-bottom > .arrow::after {
  border-bottom-color: var(--violetaDark);
}

.bs-popover-auto[x-placement^="bottom"] .popover-header::before,
.bs-popover-bottom .popover-header::before {
  border: none;
}

#modalRiesgo .modal-content {
  background-color: #2e0c4a;
  color: #fff;
}

#modalRiesgo .modal-header {
  background-color: none;
  border: none;
}

#modalRiesgo .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#modalRiesgo .close {
  color: #fff;
  opacity: 1;
}

#modalRiesgo h4,
#modalRiesgo h5 {
  font-weight: 600;
}

#page-policy {
  padding-top: 70px;
}

#page-policy h1 {
  font-weight: 700;
  margin-bottom: 2rem;
}

#page-policy h2 {
  font-size: 2rem;
  font-weight: 600;
}

#page-policy h3 {
  margin-top: 2rem;
  font-size: 1.6rem;
  font-weight: 500;
}

#page-policy h4 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
}

#page-policy p {
  margin-bottom: 1rem;
}

/* SOLO DESKTOP GRANDE */
@media (min-width: 1600px) {
}

/* DESKTOP CHICO */
@media (min-width: 1024px) and (max-width: 1441px) {
  section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #instructions .content {
    padding-top: 3rem;
  }

  .pulso-pecho {
    top: calc(45% - 0.4em);
    left: calc(45% + 5.4em);
    width: 3em;
    height: 3em;
  }

  .pulso-garganta {
    top: calc(30% - 0.4em);
    left: calc(45% + 5.4em);
    width: 3em;
    height: 3em;
  }

  .pulso-estomago {
    top: calc(50% + 4.2em);
    left: calc(45% + 5.4em);
    width: 3em;
    height: 3em;
  }

  #instructions .box {
    height: 100%;
    padding: 40px 50px;
  }
}

/* SOLO DESKTOP */
@media (min-width: 1024px) {
  html {
    -webkit-scroll-snap-type: y proximity;
    scroll-snap-type: y proximity;
    height: 100%;
  }

  #page-home section {
    padding-top: 7rem;
    padding-bottom: 7rem;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    z-index: 10;
    min-height: 100vh;
  }

  #header-main .navbar,
  #header-main .container {
    height: 100%;
  }

  #home-intro .cta {
    max-width: 70%;
  }

  .sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
  }

  #home-intro p.desktop {
    display: block;
  }

  #home-intro p.mobile {
    display: none;
  }

  section#instructions {
    height: 100vh;
    min-height: 100vh;
  }

  #instructions .content {
    height: 100%;
  }

  section#takethetest {
    display: flex;
    align-items: center;
  }

  #footer-main .legal .links nav ul li {
    margin-left: 15px;
  }

  #footer-main .legal .links nav ul li:first-child {
    margin-left: 0;
  }

  .btn-quiz:hover {
    background-color: var(--amarillo);
    color: var(--violeta);
  }
}

/* IPAD */

@media (max-width: 1024px) {
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #header-main {
    position: absolute;
    height: 60px;
  }

  #header-main .navbar-brand svg {
    width: 110px;
    height: 35px;
  }

  #navMenu .navbar-nav #navMenuClose {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  #header-main .navbar-nav .nav-link {
    margin-bottom: 0.75rem;
  }

  #header-main .right a {
    width: 20px;
  }

  .hamburger {
    padding: 15px 0 15px 15px;
    transform: scale(0.9);
  }

  #navMenu {
    right: inherit;
    left: calc(-100% - 65px);
    width: calc(100% - 65px);
    background-color: #fff;
  }

  #navMenu .top-bar {
    height: 70px;
    background-color: #fff;
    padding-left: 10px;
  }

  #navMenu .navbar-nav {
    padding: 50px 15px;
  }

  .nav-open #navMenu {
    right: auto;
    left: 0;
  }

  #navMenuClose svg {
    width: 20px;
    height: 20px;
  }

  #header-main .navbar-nav .nav-link {
    font-size: 1rem;
  }

  #page-home section {
    min-height: 100vh;
  }

  #page-home section#home-intro {
    padding-top: 0;
  }

  section#home-intro {
    overflow: hidden;
  }

  #home-intro .figura {
    right: 10%;
    top: 60px;
    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 .figura #animation_container,
  #home-intro .figura canvas#canvas {
    height: 100% !important;
    width: auto !important;
  }

  #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#instructions {
    height: auto;
    min-height: auto;
  }

  #instructions footer button {
    width: 110px;
  }

  #instructions .content {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-bottom-left-radius: 50px;
  }

  #instructions .box {
    height: auto;
    padding: 25px;
    margin-bottom: 1rem;
    text-align: center;
  }

  #instructions .box img {
    max-width: 60px;
    max-height: 50px;
  }

  #instructions .box header {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
  }

  #instructions .box h4 {
    font-size: 1.2rem;
  }

  #instructions .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;
  }

  #footer-main .footer-top {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #footer-main .footer-bottom {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-bottom p {
    text-align: center;
  }

  #footer-main .legal,
  #footer-main .legal .links nav ul {
    flex-direction: column;
  }

  #footer-main .legal .links nav ul {
    padding: 0;
    margin: 0;
  }

  #footer-main .legal .left {
    margin-bottom: 2rem;
    flex-direction: column;
    align-items: center;
  }

  #page-resultados #resultados-intro {
    padding-top: 130px;
  }

  .resultado-texto p {
    font-size: 1.2rem;
  }

  #resultado-card .numero {
    font-size: 4rem;
  }

  #resultado-card .puntos {
    font-size: 2.6rem;
  }

  #resultado-card {
    margin-bottom: 2rem;
  }

  .resultado-texto {
    text-align: center;
  }

  .resultado-texto .botonera button {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  #resultados-que-es .box {
    text-align: center;
    padding: 15px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    min-height: auto;
    margin-bottom: 1rem;
  }

  #resultados-que-es .box h2 {
    font-size: 1rem;
  }

  #resultados-que-es .box .icono {
    max-width: 50px;
    max-height: 50px;
  }

  section#resultados-que-es:before {
    height: 30%;
  }

  section#resultados-que-es:after {
    height: 72%;
  }

  #resultados-cita p {
    font-size: 1.5rem;
    max-width: 360px;
  }

  #gastrotips p {
    font-size: 1.2rem;
  }

  .order-mob-1 {
    order: 1;
  }

  .order-mob-2 {
    order: 2;
  }

  .order-mob-3 {
    order: 3;
  }

  .btn-quiz:hover {
    color: #fff;
  }

  .btn-quiz:active,
  .btn-quiz:focus {
    background-color: var(--amarillo);
    color: var(--violeta);
  }
}

/* MOBILE */

@media (max-width: 650px) {
  #home-intro p.titulo br {
    display: block;
  }

  #alertaBox {
    top: 320px;
  }
}

@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;
  }
}

@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  #alertaBox {
    top: 70px;
  }
}
