/********** Normalize ***********/
@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css');

/********** Font Style ***********/
@import "var/font/fontStyle.css";

/********** Colors ***********/
@import "var/colors/colors.css";

/*********  Body Style **********/
@import "var/body.css";

/* BOTONES FLOTANTES  */
.float-container {
  position: fixed;
  right: 15px;
  bottom: 5px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  transition: margin 0.5s ease-in-out;
}

.float-wsp,
.float-phone {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  transition: 0.2s;
}

.float-phone {
  background-color: var(--primario);
  font-size: 27px;
}

.my-float-wsp,
.my-float-phone {
  margin-top: 16px;
}

.float-wsp:hover,
.float-phone:hover {
  color: #fff;
  -webkit-animation: headShake 1s;
  animation: headShake 1s;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 20px;
  bottom: 35px;
  margin-bottom: -20px;
  width: 60px;
  height: 60px;
  background-color: var(--secundario);
  color: var(--white);
  border-radius: 50px;
  text-align: center;
  font-size: medium;
  box-shadow: 2px 2px 3px #999;
  transition: 0.2s;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

@media (max-width: 991.98px) {

  .float-wsp,
  .float-phone {
    width: 2.5em;
    height: 2.5em;
    font-size: 15px;
  }

  .back-to-top {
    right: 18px !important;
    width: 2.5em !important;
    height: 2.5em !important;
    font-size: small;
  }

  .my-float-wsp,
  .my-float-phone {
    margin-top: 12px;
  }
}

.deco-0 {
  text-decoration: none !important;
}

/* ======================================================= */
/* ========== PAGINAS DE ERRORES Y DESARROLLO ============ */

/* ERROR 404 Y 500 */
.error-404 {
  min-height: 100vh;
}

.a-error {
  color: #0786AD;
}

.icon-404 {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  margin-bottom: 4px;
}

.img-error {
  width: 100%;
}

/* LANDING PAGE */
.cardlanding {
  background: rgba(255, 255, 255, 0.47);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.4px);
  -webkit-backdrop-filter: blur(7.4px);
}

.landing {
  height: 100vh;
}

.landing-text {
  color: rgb(21, 21, 21);
}

.landing img {
  width: 50%;
}

/* ======== FIN PAGINAS DE ERRORES Y DESARROLLO =========== */
/* ======================================================== */

/* Miscelanea */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

section {
  padding-top: 87px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  position: relative;
  margin-left: 25px;
  padding: 35px 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  outline: none;
  transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--white);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--terciario);
}

.navbar-dark .navbar-toggler {
  color: var(--white) !important;
  border-color: var(--terciario) !important;
}

.navbar-logo {
  width: 16rem;
  height: auto;
  padding: 10px 0px;

}

@media (max-width: 991.98px) {
  .sticky-top.navbar-dark {
    position: relative;
    background: #FFFFFF;
  }

  .navbar-dark .navbar-nav .nav-link,
  .navbar-dark .navbar-nav .nav-link.show,
  .sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
    color: var(--white);
  }

  .navbar-logo {
    width: 8rem;
    height: auto;
    padding: 10px 0px;
  
  }

}

@media (min-width: 992px) {
  .navbar-dark {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(256, 256, 256, .1);
    z-index: 999;
  }

  .sticky-top.navbar-dark {
    position: fixed;
    background: var(--primario);
  }

  .navbar-dark .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    background: var(--terciario);
    transition: .5s;
  }

  .navbar-dark .navbar-nav .nav-link:hover::before,
  .navbar-dark .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }

  .navbar-dark .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }
}

/* Page Header */
.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  color: var(--white);
}

.header h1 {
  color: var(--white);
}

/* CSS Divider */
.hero {
  position: relative;
  margin: 0;
  padding: 0;
  background-color: var(--primario);
}

.editorial {
  display: block;
  width: 100%;
  height: 60px;
  max-height: 60px;
  margin: 0;
  z-index: 5;
  bottom: 0;
  position: absolute;
  left: 0;
}

.footer {
  position: relative;
  margin: 0;
  padding: 0;
  background-color: var(--primario);
}

.editorial_footer {
  display: block;
  width: 100% !important;
  height: 50px;
  max-height: 50px;
  margin-top: -50px;
  z-index: 5;
  top: 0;
  position: absolute;
  left: 0;
}

.parallax1>use {
  animation: move-forever1 10s linear infinite;

  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax2>use {
  animation: move-forever2 8s linear infinite;

  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax3>use {
  animation: move-forever3 6s linear infinite;

  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax4>use {
  animation: move-forever4 4s linear infinite;

  &:nth-child(1) {
    animation-delay: -2s;
  }
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever4 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

/* Fondos Gradientes */
.gradiente-1 {
  background: linear-gradient(to bottom, var(--fondo), var(--quinto));
}

.gradiente-2 {
  background: linear-gradient(to bottom, var(--quinto), var(--fondo));
}

/*** Hero ***/
.container-hero {
  width: 100%;
  height: 87vh;
  display: flex;
  justify-content: start;
  align-items: center;
}


.carousel-fade .carousel-item {
  transition-duration: 0.5s;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

/* Pilares */
#pilares .card {
  box-shadow: 0 30px 40px 0 rgba(0, 0, 0, .2);
  transition: all .2s;
}

#pilares .card:hover {
  transform: translateY(5px);
  box-shadow: none;
}

.padding-video {
  padding-inline: 3rem;
}

.cert_search {
  width: 150px;
}

.analisis_stats {
  width: 70%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6.3px);
  -webkit-backdrop-filter: blur(6.3px);
}

/*** Herramientas ***/
#herramientas .card {
  width: 100px !important;
  height: 130px;
}

.herramientas-icono {
  width: 75px;
  height: auto;
  filter: grayscale(87%);
  transition: 0.2s;
}

.herramientas-icono:hover {
  filter: none;
  transform: translateY(-5px);
}

/*** Banner CTA ***/
.bannercta {
  background:
    url(../img/index/bg-top.png),
    url(../img/index/bg-bottom.png);
  background-position:
    left top,
    right bottom;
  background-repeat: no-repeat;
}

/*** Testimonial ***/
.testimonial-carousel {
  position: relative;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 40px;
  height: 100%;
  top: calc(50% - 50px);
  left: -21px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-carousel .owl-dots {
  margin-top: 35px;
  margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  width: 15px;
  height: 15px;
  background: #000;
  border: 1px solid var(--secundario) !important;
  border-radius: 15px;
  transition: .5s;
}

.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: var(--secundario);
}


.footer-politicas {
  text-align: center;
}

@media (max-width: 768px) {
  .footer-politicas a {
    margin-right: 10px;
    margin-bottom: 5px;
  }
}

/*** Portafolio ***/
#portafolio .card {
  width: 300px !important;
  padding: 20px;
}

.clientes-icono {
  width: 130px;
  height: auto;
  filter: grayscale(87%);
  transition: 0.2s;
}

.clientes-icono:hover {
  filter: none;
  transform: translateY(-5px);
}

/* Footer */
.footer-logo {
  width: 100%;
  height: auto;
  text-align: center;
}


.search-container {
  position: relative;
  width: 100%;
  border-radius: 50px;
  background: linear-gradient(135deg, rgb(218, 232, 247) 0%, rgb(214, 229, 247) 100%);
  display: flex;
  align-items: center;
}

.search-container::after,
.search-container::before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: absolute;
}

.search-container::before {
  top: -1px;
  left: -1px;
  background: linear-gradient(0deg, rgb(218, 232, 247) 0%, rgb(255, 255, 255) 100%);
  z-index: -1;
}

.search-container::after {
  bottom: -1px;
  right: -1px;
  background: linear-gradient(0deg, rgb(163, 206, 255) 0%, rgb(211, 232, 255) 100%);
  box-shadow: rgba(0, 159, 227, 0.7019607843) 3px 3px 5px 0px, rgba(0, 159, 227, 0.7019607843) 5px 5px 20px 0px;
  z-index: -2;
}

.input {
  padding: 10px;
  width: 100%;
  background: linear-gradient(135deg, rgb(218, 232, 247) 0%, rgb(214, 229, 247) 100%);
  border: none;
  color: #9EBCD9;
  font-size: 20px;
  border-radius: 50px;
}

.input:focus {
  outline: none;
  background: linear-gradient(135deg, rgb(239, 247, 255) 0%, rgb(214, 229, 247) 100%);
}

.search__icon {
  width: 50px;
  aspect-ratio: 1;
  border-left: 2px solid var(--fondo);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-radius: 50%;
  padding-left: 12px;
  margin-right: 10px;
}

.search__icon:hover {
  border-left: 3px solid var(--fondo);
}

.search__icon path {
  fill: var(--fondo);
}

/* Detalle Blog */
.post-img {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--white);
}

#blog-content p,
a {
  color: var(--dark);
}


.search-button {
  background-color: transparent !important;
  border: none !important;
  /* cursor: pointer; */
  padding: 8px !important;
}

.swal2-confirm {
  border: 0;
  border-radius: 0.25em;
  background: initial;
  background-color: var(--secundario) !important;  
  color: #fff;
  font-size: 1em;
}
/* CUESTONARIO FPYME LOS RIOS */
.cuestionario {
  width: 100%;
  height: 80vh;
}

.background--customFPYME {
  background-color: #FFFFFF;
  width: 100vw;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  z-index: -2;
  top: 0;
  left: 0;
}

.background--customFPYME canvas#canvas {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-12deg) scale(2) translateY(-22%);
  --gradient-color-1: #221E7C;
  --gradient-color-2: #0063B3;
  --gradient-color-3: #FF2A37;
  --gradient-color-4: 221E7C;
  --gradient-speed: 0.000006;
}

#fpyme .card {
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.item-card {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.prev-btn,
.next-btn {
  margin: 0;
}

.logoFPYME {
  width: 30vw;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.logoDataTips {
  width: 15vw;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.fpymebtn {
  color: #fff;
  background-color: #221E7C;
  border: 0;
  border-radius: 5%;
  padding: 15px;
}

.fpymebtn-enviar {
  color: #000;
  background-color: #fbdf58;
  border: 0;
  border-radius: 5%;
  padding: 15px;
}

@media (max-width: 768px) {
  .logoFPYME {
    width: 60vw;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .logoDataTips {
    width: 40vw;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

}
.radio-input input {
  display: none;
}

.radio-input {
  --container_width: 200px;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 9999px;
  background-color: #fff;
  color: #000000;
  width: var(--container_width);
  overflow: hidden;
  border: 1px solid rgba(53, 52, 52, 0.226);
}

.radio-input label {
  width: 100%;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  font-weight: 600;
  letter-spacing: -1px;
  font-size: 14px;
}
.radio-input label:has(input:checked) {
  color: #fff;
}

.radio-input label:has(input:checked) ~ .selection {
  background-color: #221E7C;
  display: inline-block;
}

.radio-input label:nth-child(1):has(input:checked) ~ .selection {
  transform: translateX(calc(var(--container_width) * 0/5));
}

.radio-input label:nth-child(2):has(input:checked) ~ .selection {
  transform: translateX(calc(var(--container_width) * 1/5));
}

.radio-input label:nth-child(3):has(input:checked) ~ .selection {
  transform: translateX(calc(var(--container_width) * 2/5));
}

.radio-input label:nth-child(4):has(input:checked) ~ .selection {
  transform: translateX(calc(var(--container_width) * 3/5));
}

.radio-input label:nth-child(5):has(input:checked) ~ .selection {
  transform: translateX(calc(var(--container_width) * 4/5));
}

.selection {
  display: none;
  position: absolute;
  height: 100%;
  width: calc(var(--container_width) / 5);
  z-index: 0;
  left: 0;
  top: 0;
  transition: .15s ease;
}


.radio-buttons-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.radio-button {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.radio-button__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-button__label {
  display: inline-block;
  padding-left: 30px;
  margin-bottom: 10px;
  position: relative;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.radio-button__custom {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #555;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.radio-button__input:checked + .radio-button__label .radio-button__custom {
  transform: translateY(-50%) scale(0.9);
  border: 5px solid #ffdf49;
  color: #ffdf49;
}

.radio-button__input:checked + .radio-button__label {
  color: #ffdf49;
}

.radio-button__label:hover .radio-button__custom {
  transform: translateY(-50%) scale(1.2);
  border-color: #ffdf49;
  box-shadow: 0 0 10px #ffdf4980;
}


.custom-file-input {
  display: none;
}

.custom-file-label {
  display: inline-block;
  padding: 10px 15px;
  background-color: #007bff;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.background--customSEOSEM {
  background-color: #FFFFFF;
  width: 100vw;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  z-index: -2;
  top: 0;
  left: 0;
}

.background--customSEOSEM canvas#canvas {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-12deg) scale(2) translateY(-22%);
  --gradient-color-1: #050420;
  --gradient-color-2: #0786ad;
  --gradient-color-3: #0786ad;
  --gradient-color-4: #050420;
  --gradient-speed: 0.000006;
}

/* .rating {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}

.rating input[type="radio"] {
  display: none;
}

.rating label {
  cursor: pointer;
  font-size: 30px;
  color: #666;
  transition: color 0.2s;
  padding: 0 5px;
}

.rating label:before {
  content: '☆';
}

.rating input[type="radio"]:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
  color: #fbdf58;
} */



.rating {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}
.rating:not(:checked) > .rating_input {
  position:absolute;
  top:-9999px;
  clip:rect(0, 0, 0, 0);
}
.rating:not(:checked) > .rating_label {
  float:right;
  width:1em;
  padding:0 .1em;
  overflow:hidden;
  white-space:nowrap;
  cursor:pointer;
  font-size:200%;
  line-height:1.2;
  color:#ddd;
}
.rating:not(:checked) > .rating_label:before {
  content:'★ ';
}
.rating > .rating_input:checked ~ .rating_label {
  color: #f70;
}
.rating:not(:checked) > .rating_label:hover, .rating:not(:checked) > .rating_label:hover ~ .rating_label {
  color: gold;
}
.rating > .rating_input:checked + .rating_label:hover, .rating > .rating_input:checked + .rating_label:hover ~ .rating_label, .rating > .rating_input:checked ~ .rating_label:hover, .rating > .rating_input:checked ~ .rating_label:hover ~ .rating_label, .rating > .rating_label:hover ~ .rating_input:checked ~ .rating_label {
  color: #ea0;
}
.rating > .rating_label:active {
  position:relative;
}
/* FONDO POCOLOCO */

.background--custom {
  background-color: #FFFFFF;
  width: 100vw;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  z-index: -2;
  top: 0;
  left: 0;
}

canvas#canvas {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 60%;
  transform: rotate(-12deg) scale(2) translateY(-22%);
  --gradient-color-1: #4380B4;
  --gradient-color-2: #0081b7;
  --gradient-color-3: #ffe04a;
  --gradient-color-4: #fbdf58;
  --gradient-speed: 0.000006;
}

#hero-diseño {
  height: 100%;
}

/* Estilos para el contenedor de la imagen */
.image-container {
  display: flex;
  align-items: center; /* Centra la imagen verticalmente */
  justify-content: center; /* Centra la imagen horizontalmente */
  width: 100%; /* O el ancho que prefieras para el contenedor */
  height: 200px; /* O la altura que prefieras para el contenedor */
  overflow: hidden; /* Esto asegura que la imagen no se salga del contenedor */
}

/* Estilos para la imagen previa */
.preview-image {
  max-width: 100%; /* Asegura que la imagen no exceda el ancho del contenedor */
  max-height: 100%; /* Asegura que la imagen no exceda la altura del contenedor */
  display: block; /* Elimina cualquier espacio blanco debajo de la imagen */
}


.resultado-foto {
  width: 150px;
  height: auto;
}

.centered-text-webapp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px;
  border-radius: 5px;
}
