/*=========================BODY================================*/
body {
  background: #fbf7f6 !important;
  color: #333;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color 0.3s, color 0.3s;
}

/* Estilos para el Dark Mode */
body.dark-mode {
  background: #2c2c2c !important;
  color: #f1f1f1;
}

body.dark-mode #seccion-oraculo,
body.dark-mode #seccion-contacto,
body.dark-mode .card,
body.dark-mode #ayuda,
body.dark-mode #audio {
  background-color: #3a3a3a;
  border-color: #555 !important;
  color: #f1f1f1;
}

body.dark-mode .accordion-item,
body.dark-mode .accordion-body {
  background-color: #3a3a3a;
  border-color: #555 !important;
  color: #f1f1f1;
}

body.dark-mode .letras-intro {
  color: #f1f1f1;
}
#mia {
  color: transparent !important;
}
/*=========================HEADER================================*/
.menu-fijados {
  position: fixed;
  z-index: 1000;
  top: 0;
  box-shadow: 0px 4px 3px #58582d;
}

/*
.menu-fijado {
    position: fixed;
    z-index: 1000;
    top: 0;
    box-shadow: 0px 4px 3px #58582d;
}
*/

#miheader {
  background-color: #8e8e4f !important;
  color: white !important;
  /*z-index: 1;*/ /* Asegura que el menú esté por encima de otros elementos */
}
#miheader-hexagramas {
  margin-bottom: 100px !important;
}
#container-detalle-hexagrama {
  margin-top: 100px !important;
}
.usuario {
}
.usu {
}
.pwd {
}
.btn-usu {
  margin-top: 35px !important;
}
#name {
}
#password {
}
.formulario-ingreso {
  margin-left: 50px;
}
/*=========================SLIDER================================*/
#carousel h3 {
  color: #2f2f1b !important;
}
#carousel p {
  color: white;
}
#carousel-letras {
  /*color:pink;*/
}
#carousel-p {
  background-color: rgba(142, 142, 79, 0.5);
}
#carousel-p2 {
  background-color: rgba(142, 142, 79, 0.5);
}
.carousel-item {
  /* height: 300px; Cambia este valor según tu preferencia */
  /*object-fit: cover;  Para asegurar que la imagen se ajuste manteniendo su relación de aspecto */
}
.carousel-caption {
  padding-bottom: 40px !important;
}
#slide1 {
  height: 300px !important;
}
#slide2 {
  height: 300px !important;
}
/*=========================SECCION ORACULO================================*/
#seccion-oraculo a {
  color: #8e8e4f !important;
}
#seccion-oraculo {
  border-radius: 15px;
}
#interrogante {
  margin: 5px 0px 5px 5px;
}
.letras-intro {
  color: #36362a;
}
.miboton {
  transition-duration: 180ms;
  transition-timing-function: linear;
  height: 42px;
}
.miboton:hover {
  scale: 1.02;
  box-shadow: 0 0 5px black;
}
/*=========================AYUDA================================*/
#ayuda {
  background-color: #d5d4ba;
  border-radius: 15px;
}
/*=========================SECCION CONTACTO================================*/
#contenedor-formulario-contacto {
}
#seccion-contacto {
  border-radius: 15px;
}
#form-email {
  background: rgba(5, 7, 12, 0.22);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 15px;
}
#boton-formulario {
  border-radius: 15px;
}

.dark-mode-toggle-container {
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
}

.page-title span {
  color: #8e8e4f;
}

.btn-primary-custom {
  background-color: #4a4a2b;
  color: #ffffff;
}

.btn-primary-custom:hover {
  background-color: #5d5d36; /* Un poco más claro para el hover */
  color: #ffffff;
}
/*=========================AUDIO================================*/
#audio {
  box-shadow: 0 0 5px black;
  margin-bottom: 15px !important;
  border-radius: 15px;
  background-color: #d5d4ba;
}
#audio a {
  color: #58582d !important;
}

.navbar-dark .navbar-toggler {
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
}

#audio3 a {
  color: #58582d !important;
}
#audio4 a {
  color: #58582d !important;
}
#exampleModal .modal-body a {
  color: #58582d !important;
}
/*=========================FOOTER================================*/
footer {
  background-color: rgba(142, 142, 79, 1);
  color: white;
}
footer a {
  color: white;
}
footer a:hover {
  color: #4a4a2b;
}
#iconos .bi {
  font-size: 26px;
  padding: 0 8px;
  color: #ffffff;
}
#milogo {
  font-family: "Trajan Pro";
}
/*=========================JAVASCRIPT================================*/
.enfoco {
  width: 50%;
  background-color: #8e8e4f;
  text-align: center;
  color: #ffffff;
}
.fueradefoco {
  /* @extend .input-group;
    width: 50%;
    placeholder: "6,7,8,9" !important;
    text-align: center !important;
    	border-top-right-radius:0px;
	border-bottom-right-radius:0px;
	position:relative;
	flex: 1 1 auto;
	min-width: 0;*/
}
/*========================= QUERIES PANTALLA 300================================*/
@media (max-width: 400px) {
}
@media (max-width: 767px) {
  #introduccion {
    width: 100% !important;
  }
  #id-gracias img {
    width: 100%;
    height: 100%;
  }
}
/*=========================SM QUERIES PANTALLA 576================================*/
@media (max-width: 576px) {
  #carousel-p {
    font-size: 18px;
  }
  #carousel-p2 {
    font-size: 18px;
  }
  #carousel-h3 {
    font-size: 12px;
  }
  .mt-7 {
    margin-top: 5.2rem !important; /* Ajusta el valor según sea necesario */
  }
  .mt-8 {
    margin-top: 8rem !important; /* Ajusta el valor según sea necesario */
  }
}
@media (min-width: 576px) {
  .img {
    width: 150px;
    height: 100px;
  }
}
/*=========================MD QUERIES PANTALLA 768================================*/
@media (min-width: 768px) {
  #letras-menu {
    display: inherit !important;
  }
  #introduccion {
    display: inherit !important;
  }
  #itemhexagramas {
    border-right: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
  }
  #itemcontacto {
    border-right: 1px solid #ffffff !important;
  }
  #carousel-p {
    font-size: 28px;
    font: bold;
  }
}
/*=========================LG QUERIES PANTALLA 992================================*/
@media (min-width: 992px) {
  #letras-menu {
    display: none !important;
  }
}
/*=========================XL QUERIES PANTALLA 1200================================*/
@media (min-width: 1200px) {
  #letras-menu {
    display: none !important;
  }
  .carousel-item #slide1,
  #slide2 {
    height: 550px;
  }
}
/*=========================XXL QUERIES PANTALLA 1400================================*/
@media (min-width: 1400px) {
  #letras-menu {
    display: none;
  }
  #seccion-oraculo {
    max-width: 800px;
  }
  #seccion-contacto {
    max-width: 800px;
  }
  #detalle-hexagrama {
    max-width: 800px;
  }
}
/*=========================PAG-ORACULO-RESULTADO================================*/
#retroceder a .bi {
  color: #555520 !important;
}
.hexagrama-oraculo-resultado {
  margin-top: 100px !important;
}
/*=========================PAG-HEXAGRAMAS================================*/
#introduccion a .bi {
  color: #555520 !important;
}
.accordion-body {
  font-size: 22px !important;
}
.accordion-body .fs-6 {
  font-size: 22px !important;
}
/*=========================PAG-DETALLE-HEXAGRAMA================================*/
#detalle-hexagrama {
  color: #4a4a2b;
}
.accordion-button {
  background-color: #8e8e4f !important;
  color: white !important;
}

.accordion-button:not(.collapsed) {
  color: white !important;
  background-color: #58582d !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button {
  background-color: #8e8e4f !important;
  color: white !important;
}
.boton-hexagramas .btn {
  background-color: #4a4a2b;
  width: inherit;
}
.boton-hexagramas .btn {
  outline-color: #8e8e4f;
}
.card {
  min-height: 320px !important;
}
.card-body {
  /*min-height: 420px!important;*/
}
.card-header {
  min-height: 80px !important;
}
#imagen-hexagrama-detalle {
  height: 190px;
  width: 166px;
}
/*=========================EFECTOS Y DIBUJO DE HEXAGRAMAS EN EL FORMULARIO================================*/
.linea-entera {
  color: transparent;
  transition-duration: 600ms;
  transition-timing-function: ease;
  transition-delay: 200ms;
  opacity: 100%;
}
.opaco {
  background: #8e8e4f !important;
}
.opaco-rojo {
  background-color: #94261f !important;
}
.lp-izq {
  width: 100%;
  height: 100%;
  color: transparent;
  transition-duration: 600ms;
  transition-timing-function: ease;
  transition-delay: 200ms;
  opacity: 100%;
}
.lp-dcha {
  width: 100%;
  height: 100%;
  color: transparent;
  transition-duration: 600ms;
  transition-timing-function: ease;
  transition-delay: 200ms;
  opacity: 100%;
}
.input-group-text {
  padding: 0px !important;
}
.misletras-transparentes {
  /*color: transparent;*/
  padding: 5px;
  font-size: 20px;
}
.misletras-blancas {
  color: aliceblue;
}
.misletras {
  transition-duration: 600ms;
  transition-timing-function: ease;
  transition-delay: 200ms;
  opacity: 100%;
}
/*=========================EFECTOS DE SCROLL================================*/
#progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  background: #58582d;
  height: 0.8em;
  animation: progress-grow auto linear;
  animation-timeline: scroll(root block);
}
@keyframes progress-grow {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
/*=========================EFECTOS Y DIBUJO DE MONEDAS EN LA SECCION AYUDA================================*/
.pulser {
  width: 50px;
  height: 50px;
  background: #777722;
  border-radius: 100%;
  position: relative;
  opacity: 0.2;
  animation: move 3s infinite;
  animation-direction: alternate-reverse;
}
.monedas {
  margin: 15px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
@keyframes move {
  0% {
    transform: translateY(0px);
    /*margin-left: 30px;*/
  }
  50% {
    transform: rotate(0.5turn);
    opacity: 100%;
  }
  100% {
    transform: translateY(0px);
    opacity: 100%;
    margin-left: 30px;
  }
}
.pulser::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #58582d;
  border-radius: 50%;
  z-index: -1;
  scale: 1.4;
  opacity: 0.5;
}
.hex {
  margin: 15px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.raya {
  width: 300px;
  position: relative;
  opacity: 0.2;
  animation: quite 3s infinite;
  animation-direction: alternate-reverse;
  animation-fill-mode: forwards;
}
@keyframes quite {
  100% {
    transform: translateY(0px);
    opacity: 100%;
  }
}
.hex:hover .raya {
  opacity: 1;
}
/* Coordenadas superpuestas para cada raya */
.raya:nth-child(1) {
  top: 0px;
  transition-delay: 500ms;
}
.raya:nth-child(2) {
  top: 20px; /* Distancia entre cada raya */
  transition-delay: 400ms;
}
.raya:nth-child(3) {
  top: 40px; /* Distancia entre cada raya */
  transition-delay: 300ms;
}
.raya:nth-child(4) {
  top: 60px; /* Distancia entre cada raya */
  transition-delay: 200ms;
}
.raya:nth-child(5) {
  top: 80px; /* Distancia entre cada raya */
  transition-delay: 100ms;
}
.raya:nth-child(6) {
  top: 100px; /* Distancia entre cada raya */
  transition-delay: 0ms;
}
