/*
Theme Name: Spectra One Child
Template: spectra-one
Author: Brainstorm Force
Author URI: https://brainstormforce.com/
Description: Spectra One is a beautiful and modern WordPress theme built with the Full Site Editing (FSE) feature. It's a versatile theme that can be used for blogs, portfolios, businesses, and more. Spectra One comes with a sleek and professional design that will make your website stand out from the crowd.
Tags: full-site-editing,blog,theme-options,translation-ready,rtl-language-support,full-width-template
Version: 1.1.6.1739445594
Updated: 2025-02-13 12:19:54

*/

.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    background: #911df0;
    color: #ffffff;
	padding:10px;
}

.wp-block-navigation-item__content:hover {
    background: #780fce !important;
	padding: 10px;
	border-radius:10px;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    background-color: #fff;
    border: 1px solid #c6a5ee;
}

/* login */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    padding: 30px;
    margin-top: 25px;
    width: auto;
    max-width: 450px;
    border-radius: 20px;
}

.form button {
    align-self: flex-end;
}

.flex-column>label {
    color: #151717;
    font-weight: 600;
}

.inputForm {
    border: 1.5px solid #ecedec;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    transition: 0.2s ease-in-out;
}

.input {
    margin-left: 10px;
    border-radius: 10px;
    border: none;
    width: 100%;
    height: 100%;
    padding-left: 10px;
}

.input:focus {
    outline: none;
}

.inputForm:focus-within {
    border: 1.5px solid #2d79f3;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.flex-row>div>label {
    font-size: 14px;
    color: black;
    font-weight: 400;
}

.span{
    font-size: var(--wp--preset--font-size--small);
}

.button-submit {
    margin: 20px 0 10px 0;
    background-image:linear-gradient(30deg, #6431f6, #a169e6);
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    height: 50px;
    width: 100%;
    cursor: pointer;
    font-weight: var(--wp--custom--font-weight--medium);
}

.button-submit:hover{
    background-image:linear-gradient(30deg, #780fce, #5911b1);
}

.backlogin{
    background-color: #fefefe;
    border-radius: 0.375em;
    border-width: 0;
    font-family: inherit;
    color: #720eec;
    font-size: var(--wp--preset--font-size--small);
    font-weight: var(--wp--custom--font-weight--medium);
    line-height: var(--wp--custom--line-height--initial);
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    cursor: pointer;
    text-decoration: underline;
    border: 1px solid transparent;
}

.backlogin:hover {
    color: #5911b1;
    text-decoration: none;
    border: 1px solid #5911b1;
}

/* errores de login */
/* From Uiverse.io by andrew-demchenk0 */ 
.warning {
    width: 100%px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #FEF7D1;
    border: 1px solid #F7C752;
    border-radius: 8px;
    box-shadow: 0px 0px 5px -3px #111;
  }
  
  .warning__icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
    margin-right: 8px;
  }
  
  .warning__icon path {
    fill: #F7C752;
  }
  
  .warning__title {
    font-weight: 500;
    font-size: 14px;
    color: #755118;
    padding-left: 10px;
  }
  
  .warning__close {
    width: 20px;
    height: 20px;
    margin-left: auto;
    cursor: pointer;
  }
  
  .warning__close path {
    fill: #755118;
  }

  /* exitoso */

  .success {
    width: 100%;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #EDFBD8;
    border-radius: 8px;
    box-shadow: 0px 0px 5px -3px #111;
  }
  
  .success__icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
    margin-right: 8px;
  }
  
  .success__icon path {
    fill: #84D65A;
  }
  
  .success__title {
    font-weight: 500;
    font-size: 14px;
    color: #2B641E;
    padding-left: 10px;
  }

/* inicio boton iniciar sesion */
.user-menu-container {
    position: relative;
}

.user-menu {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 10px 0;
    margin-top: 5px;
    min-width: 150px;
    right: 0;
    z-index: 1000;
}

.user-menu li {
    padding: 8px 15px;
}

.user-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.user-menu li a:hover {
    background: #f2f2f2;
}
/* fin boton iniciar sesion */
/* boton */
.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
    background: #780fce;
}

/* estilos formulario lectura de cartas  */
.input-group {
  position: relative;
  width: 100%;
}

.input {
  border: solid 1.5px #9e9e9e;
  border-radius: 1rem;
  background: none;
  padding: 1rem;
  font-size: 1rem;
  color: #5a03ef;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  resize: none; /* Evita el redimensionamiento del textarea */
  margin-left:0px
}

.user-label {
  position: absolute;
  left: 25px;
  top: 15px;
  color: #5a03ef;
  pointer-events: none;
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus,
.input:not(:placeholder-shown) {
  outline: none;
  border-color: #1a73e8;
}

.input:focus ~ .user-label,
.input:not(:placeholder-shown) ~ .user-label {
  transform: translateY(-25px) scale(0.8);
  background-color: #ffffff;
  padding: 0 0.2em;
  color: #780fce;
}

/* Estilos específicos para textarea */
.input-group textarea:focus {
  outline: none;
  border-color: #e81cff;
}

.pregunta{
	width: 60vw;
}

@media (max-width: 992px) {
    .pregunta {
        width: 90vw;
    }
}

/* estilos formulario lectura de cartas  */

/* estilos cartas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bodypaint {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-card {
	position: relative;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: baseline;
    overflow: hidden;
    height: 100vh;
    padding-top: 120px;
}

/* Estilo de las cartas */
.container-card .card {
	perspective: 1000px;  /* Nuevo */
    position: absolute;
    width: 150px;
    height: 220px;
    border-radius: 10px;
    background: url(/wp-content/uploads/2025/03/cartas.webp);
    background-size: cover; /* Ajusta la imagen al tamaño de la carta */
    background-position: center; /* Centra la imagen */
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(0, 0, 0, 0);
    border: 3px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform-origin: 50% 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
	transform-style: preserve-3d; /*nuevo*/
}

/* Animación inicial al cargar la página */
/* Animación inicial de despliegue (mantiene la suavidad) */
.container-card.loaded .card {
    transform: rotate(calc(var(--i) * -2deg)) translate(calc(var(--i) * 31px), 0px);
    color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
}

/* Hover rápido al levantar una carta */
.container-card.loaded .card:hover {
    transform: rotate(calc(var(--i) * -2deg)) translate(calc(var(--i) * 31px), -25px);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

/* Al hacer clic, la carta se mantiene levantada */
/* .container-card .card.active {
    transform: rotate(calc(var(--i) * -2deg)) translate(calc(var(--i) * 31px), -40px);
    z-index: 10;
    background: #5e5cfc;
    color: rgba(0, 0, 0, 0.9);
} */

/* animacion mistica */
/* Carta seleccionada: se mueve al centro y se agranda */
.card.selected {
    transform: translate(-50%, -50%) scale(2.5);
    left: calc(50% - 75px);
    top: 50%;
    z-index: 100;
    color: rgba(0, 0, 0, 0.9);
    transition: transform 2.5s ease, opacity 2.5s ease;
}

/* Las demás cartas se desvanecen lentamente */
.card.faded {
    opacity: 0;
    pointer-events: none;
    transition: opacity 2.5s ease 0.3s; /* 0.3s de retraso para que sea más gradual */
}
/* animacion mistica */

.slide-movil {
    display: flex;
}

.slider {
    visibility: hidden;
}

.rotate-div {
    transform-origin: left center;
    /* Gira desde la parte inferior */
    transition: transform 0.3s ease-out;
    /* Suaviza la rotación */
}

/* boton de lectura de carta */
.reveal-button {
    position: fixed;
    left: 50%;
    top: 75%;
    transform: translateX(-50%);
    padding: 15px 20px;
    background-color: #6431f7;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.reveal-button:hover {
    background-color: #9c59cc;
}

/* popup de las cartas */
/* Fondo con degradado morado */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4B0082, #8A2BE2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 99;
}

/* Botón de cierre "X" */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #4B0082;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease-in-out;
}

.close-button:hover {
    background: #8A2BE2;
    color: #fff;
}

/* Botón "Revela tu respuesta" */
.reveal-button {
    background: #ffffff;
	color: #4b0082;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
}

.reveal-button:hover {
    background: #4900f5;
	color:#ffffff;
}

/* popup de las cartas */

/* estilos cartas */

/* loader formulario de registro */
.hidden { 
	display: none; 
}

.card {
  --bg-color: #212121;
  background-color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: 1.25rem;
  text-align: center;
  margin: 20px auto;
  width: fit-content;
/* 	flip card */
	transition: transform 0.5s ease-in-out;
    transform-style: preserve-3d;
    background-size: cover;
}

/* flip card */
.card.flip {
    transform: rotateY(180deg);
}

/* .card.flip::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/2025/03/cartas.webp); 
    background-size: cover;
    background-position: center;
    transform: rotateY(360deg); 
    border-radius: 10px;
} */

/* flip card */

.loader {
  color: rgb(124, 124, 124);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 20px;
  height: 40px;
  padding: 10px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  position: relative;
}

.words {
  height: 25px; /* Ajusta esto al tamaño del texto */
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: 120px; /* Ajusta según el ancho de las palabras */
  text-align: left;
}

.words .word {
  display: block;
  height: 25px; /* Debe coincidir con .words */
  line-height: 25px; /* Asegura que las palabras estén alineadas */
  color: #956afa;
  animation: spin_words 4s infinite;
}

@keyframes spin_words {
  0%, 25% { transform: translateY(0); }
  30%, 50% { transform: translateY(-25px); }
  55%, 75% { transform: translateY(-50px); }
  80%, 100% { transform: translateY(-75px); }
}

/* popup de textarea */
.error-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #4B0082;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: fit-content;
    max-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    visibility: hidden;  /* Hace que no ocupe espacio */
    pointer-events: none; /* Evita interferencias */
    
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 100;
}

.error-popup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* respuesta de carta */
.respuesta-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Cubre toda la pantalla */
	/* background: rgba(0, 0, 0, 0.6);  pone un filtro negro en el pop up*/
    display: flex;
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: flex-end; /* Mantiene el contenido pegado abajo */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 150;
	overflow-y: auto;
}

.respuesta-contenido {
    width: 100%;
    min-height: 70vh; /* Mantiene la mitad inferior de la pantalla */
    background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.4), rgba(70, 0, 130, 0.7) 50%), 
                radial-gradient(circle at top right, rgba(0, 0, 0, 0.4), #3f006d 100%);
    border-radius: 10px 10px 0 0;
    padding: 30px;
    color: white;
    box-shadow: 0px -30px 60px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(100%); /* Oculta el pop-up fuera de la pantalla */
    transition: transform 0.3s ease-in-out; /*overflow-y: auto; */
}

.respuesta-popup.show {
    opacity: 1;
}

.hidden {
    display: none;
}

.no-scroll {
    overflow-y: hidden; /* Desactiva el scroll vertical */
}

.page-id-263 :where(.entry-content.alignwide.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained) {
    max-height: 800px;
}

.titulo-lectura{
	color: #a75fe2;
}

#respuestaContenido p {
  margin-bottom: 10px;
}

.descripcion-lectura {
	margin-bottom:15px;
}

.descripcion-lectura p:last-child {
	margin-bottom 20px;
}

.titulo-audio{
	color:#fff;
}

/* scroll */
.scrolldown {
  --color: white;
  --sizeX: 30px;
  --sizeY: 50px;
  position: relative;
  width: var(--sizeX);
  height: var(--sizeY);
  margin-left: var(sizeX / 2);
  border: calc(var(--sizeX) / 10) solid var(--color);
  border-radius: 50px;
  box-sizing: border-box;
  margin-bottom: 16px;
  cursor: pointer;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top:-10%;
}

.scrolldown::before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: var(--color);
  border-radius: 100%;
  animation: scrolldown-anim 2s infinite;
  box-sizing: border-box;
  box-shadow: 0px -5px 3px 1px #2a547066;
}

@keyframes scrolldown-anim {
  0% {
    opacity: 0;
    height: 6px;
  }

  40% {
    opacity: 1;
    height: 10px;
  }

  80% {
    transform: translate(0, 20px);
    height: 10px;
    opacity: 0;
  }

  100% {
    height: 3px;
    opacity: 0;
  }
}

.chevrons {
  padding: 6px 0 0 0;
  margin-left: -3px;
  margin-top: 48px;
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chevrondown {
  margin-top: -6px;
  position: relative;
  border: solid var(--color);
  border-width: 0 3px 3px 0;
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}

.chevrondown:nth-child(odd) {
  animation: pulse54012 500ms ease infinite alternate;
}

.chevrondown:nth-child(even) {
  animation: pulse54012 500ms ease infinite alternate 250ms;
}

@keyframes pulse54012 {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.5;
  }
}
/* scroll */
