@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&display=swap");

/* variables */
:root {
  --primary-color: #0e458e;
  --secondary-color: #a3a29c;
  --secondary-color-2: rgb(249, 183, 27);
  --text-color: #a3a29c;
  --field-color: rgb(255, 255, 255);
  --text-color-2: #a3a29c;
  --text-color-1: #ffffff;
  --purple-color-2: #e4007c;
  --azulo-color: #29abe2;
  --verde-color: #2c8735;
}

body {
  font-family: "Montserrat", sans-serif;
  /* Cambiamos la tipografía a Montserrat */
  /* Añade cualquier otro estilo que desees */
  width: 100%;
  position: relative;
  height: auto;
}

section {
  width: 100%;
}

main {
  width: 100%;
  min-height: 100vh;
  display: grid;
}

/* Estilos del video de fondo */

.steps-col {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Eliminar el height: 100vh para permitir que el contenido crezca con la página */
}

.steps-col video {
  position: fixed; /* Cambiamos de absolute a fixed para que el video permanezca en el fondo mientras haces scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  /* Mantener el video detrás del contenido */
}

/* Ocultar los videos de tablet y móvil por defecto */
.tablet-video,
.mobile-video {
  display: none;
}

/* Mostrar solo el video de escritorio en pantallas grandes */
@media (min-width: 1024px) {
  .desktop-video {
    display: block;
  }
  .tablet-video,
  .mobile-video {
    display: none;
  }
}

/* Mostrar el video de tablet en pantallas medianas (tabletas) */
@media (min-width: 768px) and (max-width: 1023px) {
  .tablet-video {
    display: block;
  }
  .desktop-video,
  .mobile-video {
    display: none;
  }
}

/* Mostrar el video de móvil en pantallas pequeñas */
@media (max-width: 767px) {
  .mobile-video {
    display: block;
  }
  .desktop-video,
  .tablet-video {
    display: none;
  }
}

/* Aseguramos que el contenido sea desplazable */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Evita el desplazamiento horizontal */
  min-height: 100vh; /* Aseguramos que el contenido tenga al menos la altura de la pantalla */
}

/*Fin del video del fondo*/

/* Estilos específicos para el video de instrucciones */
.instruction-video-container {
  text-align: center;
  margin-bottom: 20px;
}

.instruction-video-container video {
  max-width: 100%;
  width: 320px;
  height: auto;
  position: relative;
  z-index: 1;
}

.thankyou .steps-col {
  display: grid;
  place-content: center;
}

/* Fin Estilos específicos para el video de instrucciones */
.steps-col::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-image: url(../images/pr.png);
  background-repeat: no-repeat;
  height: 100%;
  width: 260px;
}

#steps {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  position: relative;
}

.step-number {
  background-color: var(--verde-color);
  border-radius: 50px;
  width: 80%;
  height: 41px;
  font-size: 15px;
  color: var(--field-color);
  text-align: center;
  line-height: 41px;
  margin: 0 auto;
  margin-bottom: 15px;
  font-weight: 700;
}

.mb-10 {
  margin-bottom: 20px;
}

.step-inner {
  width: 100%;
  margin-bottom: 100px !important;
}

.main-heading {
  font-size: 35px;
  color: var(--text-color);
  font-weight: bold;
  margin: 0 auto;
  line-height: 1.3;
  margin-bottom: 30px;
  width: 52%;
  text-align: center;
}

.borderc {
  /* border: solid 1px rgb(221, 221, 221); */
  border-left: 0;
  border-right: 0;
  padding-top: 30px;
  padding-bottom: 30px;
}

.radio-field {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: 20px;
  display: grid;
  align-content: center;
  padding: 10px 20px 10px 10px;
  opacity: 0;
}

.radio-field label span {
  border-radius: 5px;
  display: inline-block;
  width: 52px;
  height: inherit;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  line-height: 33px;
  margin-right: 5px;
}

.radio-field label {
  font-size: 25px;
  color: white;
  font-weight: bold;
  position: relative;
  z-index: 10;
  pointer-events: none;
  /* height: 33px;*/
}

.radio-field:hover {
  box-shadow: 0 0 20px 10px rgba(193, 187, 192, 0.8);
  /* Hacemos que la sombra del botón sea más gruesa al pasar el mouse */
}

.radio-field:hover::before {
  animation: neon-border 1s infinite alternate;
  /* Agregamos la animación al pasar el mouse */
}

.child1 span {
  color: #ffffff;
}

.child2 span {
  color: #ffffff;
}

.child3 span {
  color: #ffffff;
}

.child4 span {
  color: #ffffff;
}

.child5 span {
  color: #ffffff;
}

.child6 span {
  color: #ffffff;
}

.child7 span {
  color: #ffffff;
}

.child8 span {
  color: #ffffff;
}

.child9 span {
  color: #ffffff;
}

.child10 span {
  color: #ffffff;
}

.child11 span {
  color: #ffffff;
}

.child12 span {
  color: #ffffff;
}

.child13 span {
  color: #ffffff;
}

.child14 span {
  color: #ffffff;
}

.child15 span {
  color: #ffffff;
}

.child16 span {
  color: #ffffff;
}

.radio-field input {
  -webkit-appearance: none;
  border-radius: 5px;
  background-color: transparent;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: 0.4s;
  border: solid 2px white;
}

.radio-field input::before,
.radio-field-2 input::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  text-align: center;
  line-height: 26px;
  color: var(--field-color);
  font-size: 15px;
  position: absolute;
  top: 35%;
  right: 20px;
  background-color: rgb(249, 183, 27);
  border-radius: 5px;
  width: 25px;
  height: 25px;
  display: none;
}

.radio-field input:checked {
  border: solid 2px transparent;
}

.child1 input:checked {
  border-color: rgb(249, 183, 27);
}

.child1 input:checked::before {
  background-color: rgb(249, 183, 27);
  display: block;
}

.child2 input:checked {
  border-color: rgb(72, 211, 128);
}

.child2 input:checked::before {
  background-color: rgb(72, 211, 128);
  display: block;
}

.child3 input:checked {
  border-color: rgb(136, 127, 180);
}

.child3 input:checked::before {
  background-color: rgb(136, 127, 180);
  display: block;
}

.child4 input:checked {
  border-color: rgb(16, 221, 249);
}

.child4 input:checked::before {
  background-color: rgb(16, 221, 249);
  display: block;
}

.next-prev {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;
}

.next-prev button {
  border: 2px solid #fff;
  /* Añadimos un borde blanco */
  background-color: transparent;
  /* Hacemos el fondo transparente */
  padding: 0 30px;
  /* Reducimos el padding para que el botón no sea tan ancho */
  height: 56px;
  /* Reducimos la altura del botón */
  font-size: 18px;
  /* Reducimos el tamaño de la fuente */
  color: #fff;
  /* Texto negro */
  font-weight: bold;
  transition: 0.4s;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  /* Reducimos el radio de borde */
}

.next-prev button span {
  position: relative;
  z-index: 1000;
}

.next-prev button:hover {
  box-shadow: 0 0 20px 10px rgba(193, 187, 192, 0.8);
  /* Hacemos que la sombra del botón sea más gruesa al pasar el mouse */
}

.next-prev button:hover::before {
  animation: neon-border 1s infinite alternate;
  /* Agregamos la animación al pasar el mouse */
}

.radio-field-2 {
  position: relative;
  width: 100%;
  /* height: 230px;
    padding: 30px;*/
  text-align: center;
  opacity: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.radio-field-2 input {
  -webkit-appearance: none;
  border-radius: 5px;
  /*background-color: var(--purple-color-2);*/
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: 0.4s;
  border: solid 2px transparent;
}

.radio-field-2 input:checked {
  border-color: var(--secondary-color-2);
}

.radio-field-2 input::before {
  top: 10px;
  right: 10px;
}

.radio-field-2 input:checked::before {
  display: block;
}

.radio-field-2 input:checked + .radio-img img {
  filter: invert(65%) sepia(84%) saturate(465%) hue-rotate(355deg)
    brightness(101%) contrast(95%);
}

.radio-field-2 .radio-img {
  height: 85%;
  display: flex;
  width: auto;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: 0.4s;
}

.radio-field-2 img {
  position: relative;
  z-index: 10;
  width: auto;
  height: auto;
}

.radio-field-2 label {
  position: relative;
  border: 2px solid #fff;
  z-index: 10;
  text-align: center;
  /* border-top: solid 1px rgb(221,221,221);*/
  display: block;
  width: 100%;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 19px;
  color: var(--text-color);
  font-weight: bold;
  /*text-transform: uppercase;*/
  bottom: 0;
  pointer-events: none;
  background-color: transparent;
  color: #ffffff;
  border-radius: 5px;
}

.radio-field-2:hover {
  box-shadow: 0 0 20px 10px rgba(193, 187, 192, 0.8);
  /* Hacemos que la sombra del botón sea más gruesa al pasar el mouse */
}

.radio-field-2:hover::before {
  animation: neon-border 1s infinite alternate;
  /* Agregamos la animación al pasar el mouse */
}

#step2 {
  padding: 80px 0 80px 0;
}

.sub-heading {
  font-size: 27px;
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.sub-text {
  font-size: 20px;
  color: var(--secondary-color);
}

.stars {
  border-radius: 4px;
  background-color: var(--field-color);
  box-shadow: 0px 3px 32px 0px rgba(159, 159, 159, 0.1);
  width: 214px;
  display: grid;
  height: 70px;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 35px;
}

.line {
  width: 100%;
  height: 1px;
  background-color: rgb(221, 221, 221);
  margin-bottom: 35px;
}

.star-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.star-inner i {
  font-size: 23px;
  color: rgb(76, 165, 102);
  margin: 0 2.5px;
  cursor: pointer;
}

.star-count {
  border-radius: 4px;
  background-color: rgb(76, 165, 102);
  position: absolute;
  width: 155px;
  height: 27px;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -10px;
  text-align: center;
  font-size: 14px;
  line-height: 27px;
  color: var(--field-color);
}

.social {
  -webkit-appearance: none;
  border: solid 2px transparent;
  border-radius: 4px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 3px 32px 0px rgba(159, 159, 159, 0.1);
  width: 100%;
  height: 83px;
  font-size: 18px;
  color: rgb(60, 60, 60);
  padding-left: 30px;
  position: relative;
  transition: 0.4s;
  margin-bottom: 50px;
  cursor: pointer;
}

.social:focus {
  outline: none;
  border: solid 2px rgb(76, 165, 102);
}

.social + .dropdown::before {
  content: "\f0d7";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 18px;
  position: absolute;
  color: rgb(76, 165, 102);
  top: 0px;
  right: 30px;
  pointer-events: none;
}

.step-counter {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 0%);
  width: 30%;
  z-index: 100000;
}

.step-rate {
  font-size: 18px;
  color: var(--text-color);
  font-weight: bold;
  margin-bottom: 15px;
  transition: 0.4s;
}

.step-bar {
  width: 80%;
  background-color: rgba(255, 255, 255, 0);
  height: 19px;
  border-radius: 25px;
  border: solid 2px var(--text-color) !important;
}

.move {
  background-color: var(--primary-color);
  border-radius: inherit;
  height: 100%;
  width: 0%;
  transition: 0.4s;
}

.thankyou .move {
  width: 100%;
}

.thankyou-inner {
  text-align: center;
  display: grid;
  height: 70%;
  align-content: center;
}

.msg {
  font-size: 20px;
  font-family: "Jost";
  color: rgb(9, 9, 9);
  margin-top: 20px;
  display: block;
}

.thankyou-text {
  font-size: 70px;
  font-family: "Jost";
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 45px;
}

.social-icons a {
  margin: 0 5px;
}

.contact {
  min-height: 30%;
  display: grid;
  align-content: end;
  margin-top: 40px;
}

.contact h3 {
  font-size: 24px;
  color: var(--secondary-color);
  font-weight: bold;
}

.contact img {
  margin-bottom: 20px;
  width: 100%;
}

.contact p {
  font-size: 17px;
  color: rgb(80, 76, 76);
}

.thankyou .wrapper {
  width: 80%;
}

#sub img {
  width: 60px;
}

.highlight {
  border-top: solid 3px var(--primary-color) !important;
  border-bottom: solid 3px var(--primary-color) !important;
}

#error {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
}

.invalid {
  border: solid 2px #ff4444 !important;
  position: relative;
}

#step5 label,
#step6 label,
#step7 label,
#step8 label,
#step9 label,
#step10 label,
#step11 label,
#step12 label,
#step13 label {
  font-size: 18px;
  line-height: 1.2em;
}

input[type="date"] {
  padding: 12px 16px;
  height: 40px;
  font-size: 22px;
  width: 100%; 
  color:#ffffff;
}

.centrado {
  text-align: center;
}

.margenResultado {
  padding: 0px 0;
}

.inputField {
  border: solid 2px var(--secondary-color);
  border-radius: 5px;
  background-color: var(--bg-color);
  width: 100%;
  height: 42px;
  padding-left: 30px;
  transition: 0.5s all ease;
  color:white;
  font-size:18px;
}

.inputField:focus {
  outline: none;
  border-color: var(--primary-color);
}

.inputLabel {
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.progress-indicator {
  text-align: center;
}

.progress-icons {
  font-size: 36px;
  color: #ccc;
}

.progress-icons i {
  margin: 0 10px;
}

.progress-icons i.fas.fa-male {
  opacity: 0.5;
  /* Hombre inicialmente vacío */
}

.progress-icons i.fas.fa-female {
  opacity: 0.5;
  /* Mujer inicialmente vacía */
}

/*Estilo ojos*/
/* Ocultar los botones de radio */
.radio-field-ojos input[type="radio"] {
  display: none;
}

/* Estilos para los labels que parecen botones */
.btn-ojos {
  padding: 10px;
  margin: 5px;
  background-color: transparent;
  color: white;
  border: 2px solid #fff;
  cursor: pointer;
  display: inline-block;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cambiar apariencia cuando el radio está seleccionado */
.radio-field-ojos input[type="radio"]:checked + .btn-ojos {
  background-color: transparent;
}

.btn-ojos:hover {
  box-shadow: 0 0 20px 10px rgba(193, 187, 192, 0.8);
  /* Hacemos que la sombra del botón sea más gruesa al pasar el mouse */
}

.btn-ojos:hover::before {
  animation: neon-border 1s infinite alternate;
  /* Agregamos la animación al pasar el mouse */
}

/*Resultado del test*/

.resultado-test {
  border: 2px solid white;
  background-color: transparent;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
}

.resultado-test h2,
.resultado-test h3,
.resultado-test p {
  color: white;
}

.resultado-test img {
  max-height: 400px;
  width: auto;
  border-radius: 10px;
}

/* Estilos para centrar el texto en móviles */
@media (max-width: 767px) {
  .resultado-test .text-center {
    text-align: center;
  }
}

/*Estilo card ai*/

.producto-card-test {
  background-color: transparent;
  border: 2px solid white;
  border-radius: 0.25rem;
  /* Mantiene las esquinas redondeadas */
}

.producto-card-test .card-body {
  font-size: 0.875rem;
  /* Texto más pequeño */
}

.producto-imagen {
  width: calc(100% - 4px);
  /* Reduce el tamaño de la imagen para dejar ver el borde */
  height: auto;
  /* Mantiene la proporción de la imagen */
  margin: 2px;
  /* Añade margen para que la imagen esté centrada dentro del borde */
}

.ver-detalles-btn {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.ver-detalles-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  /* Color de fondo al pasar el mouse (opcional) */
  border-color: white;
}

.ocultar {
  display: none !important;
}


input::placeholder {
  color: gray !important; /* Color inicial del placeholder */
}

input:focus::placeholder {
  color: white !important; /* Cambiar el color del placeholder en foco */
}


.inputField:focus {
  color: white !important; /* Cambiar el color del placeholder en foco */
}

.inputField::placeholder {
  color: white !important ; /* Cambiar el color del placeholder en foco */
}

.inputField:focus::placeholder {
  color: white !important; /* Cambiar el color del placeholder en foco */
}



/* Ajustes adicionales si los necesitas */
header img:hover {
  opacity: 0.9;
  transition: opacity 0.2s;
}


