/* ===============================
   BASE
=============================== */

body{
margin:0;
background:#000;
color:#fff;
font-family:Arial,sans-serif;
height:100vh;
overflow:hidden;
}

/* ===============================
   MENÚ
=============================== */

#menu{
    position:fixed;
    left:0;
    top:0;
    width:200px;
    height:100vh;
    background:#111;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:10;
}

.mas-menu{
    position:absolute;
    bottom:30px;
    left:0;
}

.item-menu{
color:#fff;
text-decoration:none;
padding:0.6rem 0;
width:100%;
text-align:center;
cursor:pointer;
}

.item-menu:hover{
opacity:0.7;
}

/* ===============================
   SECCIONES
=============================== */

.seccion{
    position:fixed;
    top:0;
    left:200px;
    right:0;
    height:100vh;
    display:none;
    background:#000;
    overflow:hidden;
}

.seccion.activa{
display:block;
}

/* ===============================
   CONTENIDO
=============================== */

.contenido-seccion{
    width:100%;
    height:100%;
    overflow-y:auto;
    overflow-x:hidden;
    padding:2rem 0;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.texto{
    max-width:690px;
    text-align:center;
    padding:0 2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size:1.08rem;
}

.texto h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size:2.4rem;
    letter-spacing:3px;
    font-weight:normal;
    text-transform:uppercase;
    text-shadow:0 0 18px rgba(255,255,255,0.35);
}

body p {
    max-width:920px;
    margin:0 auto 1.3em auto;
    text-align:justify;
    line-height:1.9;
    font-size:1.08rem;
}

.centrado{
text-align:center;
}

/* ===============================
   ESPACIADOS
=============================== */

.espacio{
margin:2rem 0;
}

.separador-fuente{
height:280px;
width:100%;
}

/* ===============================
   DESPLEGABLES
=============================== */

.oculto{
display:none;
margin-top:1rem;
font-style:italic;
}

/* ===============================
   HR
=============================== */

hr{
width:80%;
border:none;
border-top:1px solid #555;
margin:3rem 0;
}

/* ===============================
   TEXTO LA FUENTE
=============================== */

.texto-fuente p{
line-height:1.8;
margin:1.2rem 0;
}

.golpe{
font-size:1.4rem;
font-weight:600;
margin:3rem 0 2rem;
}

.eco{
margin-top:3rem;
font-style:italic;
opacity:0.75;
}

.respuesta{
margin:1rem 0 2.5rem;
font-weight:500;
}

/* ===============================
   CARRUSEL UNIVERSO
=============================== */

.carrusel-universo{
width:100%;
max-width:1400px;
margin:4rem auto 2rem;
}

.item-carrusel{
display:none;
flex-direction:column;
align-items:center;
justify-content:center;
min-height:85vh;
}

.item-carrusel.activo{
display:flex;
}

.item-carrusel img{
width:100%;
max-height:75vh;
object-fit:contain;
}

/* ===============================
   CARRUSELES GENERAL
=============================== */

/* ===============================
   CARRUSELES GENERAL
=============================== */

.carrusel-especies{
width:100%;
max-width:1400px;
margin:4rem auto 2rem;
}

.item-especie{
display:none;
flex-direction:column;
align-items:center;
justify-content:center;
min-height:82vh;
}

.item-especie.activo-especie{
display:flex;
}

.item-especie img{
max-height:82vh;
width:100%;
object-fit:contain;
}

/* ===============================
   TEXTO CARRUSEL
=============================== */

.texto-carrusel{
max-width:700px;
margin-top:2rem;
text-align:center;
font-style:italic;
opacity:0.85;
}

/* ===============================
   CONTROLES CARRUSEL
=============================== */

/* ===============================
   CONTROLES CARRUSEL
=============================== */

/* ===============================
   CONTROLES A LOS LADOS
================================ */

.carrusel-universo,
.carrusel-especies{
    position:relative;
}

/* Contenedor de botones */
.controles-carrusel{
    position:absolute;
    top:50%;
    left:0;
    width:100%;
    transform:translateY(-50%);
    display:flex;
    justify-content:space-between;
    pointer-events:none;
    z-index:10;
}

/* Botones */
.controles-carrusel button{
    pointer-events:auto;

    background:rgba(0,0,0,0.45);
    border:1px solid rgba(255,255,255,0.6);
    color:white;

    font-size:3rem;
    line-height:1;

    padding:0.5rem 1rem;
    cursor:pointer;

    transition:0.2s;
}

/* Efecto al pasar el ratón */
.controles-carrusel button:hover{
    background:rgba(255,255,255,0.2);
    transform:scale(1.1);
}

.controles-carrusel button:hover{
opacity:0.7;
}

/* ===============================
   TITULOS ESPECIES
=============================== */

.titulo-especies{
text-align:center;
font-size:28px;
margin-top:60px;
margin-bottom:20px;
letter-spacing:2px;
}

.titulo-especies.luz{
color:white;
text-shadow:0 0 15px rgba(255,255,255,0.7);
}

.titulo-especies.oscuridad{
color:#ff3b3b;
text-shadow:0 0 20px rgba(255,0,0,0.6);
}

/* Aplica estilo tipo libro a todos los textos */
body p {
  max-width: 800px;
  margin: 0 auto 1.2em auto;
  text-align: justify;
  line-height: 1.8;
}

/* EXCLUIR MENÚ */
nav p,
.menu p,
header p {
  max-width: none;
  margin: initial;
  text-align: initial;
  line-height: normal;
}

.yora-extra {
  text-align: center;
  margin: 60px 0;
}
.yora-extra img {
  width: 100%;
  max-width:900px;
}
.yora-extra p {
  margin-top: 15px;
}

.bigbang-extra {
  margin-top: 40px;
}

.bigbang-extra img {
  width: 100%;
  margin: 40px 0 10px 0;
}

.bigbang-extra p {
  margin-bottom: 20px;
}

#big-bang img {
  width: 100%;
  margin: 40px 0 10px 0;
}

#big-bang p {
  margin-bottom: 20px;
}

.portador-contenido {
  display: none;
  margin-top: 20px;
}

.portador-contenido img {
  width: 100%;
  margin: 15px 0;
}

.portador-contenido p {
  font-size: 1.2em;
  margin-top: 15px;
}

.carousel img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.proyectar-extra img {
  width: 100%;
  margin: 40px 0 10px 0;
}

.proyectar-extra p {
  margin-bottom: 20px;
}

.titulo-yora{
  text-align:center;
  font-size:32px;
  margin:80px 0 40px;
  letter-spacing:4px;
}

.yora-galeria{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.yora-galeria img{
  max-width:600px;
  max-height:70vh;
  width:auto;
  margin-top:50px;
}

.yora-galeria p{
  text-align:center;
  margin-top:15px;
}


.yora-galeria img{
  width:auto !important;
  height:auto !important;
  max-width:600px !important;
  max-height:85vh !important;
  display:block;
  margin:50px auto 0 auto;
  object-fit:contain;
}


/* ===============================
   GALERÍA BIG BANG EN VERTICAL
=============================== */

#big-bang .galeria-universo {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    margin: 80px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

#big-bang .galeria-universo img {
    width: 90%;
    max-width: 1400px;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 25px;
    box-shadow: 0 0 45px rgba(120, 160, 255, 0.65);
    display: block;
}

/* ===============================
   TEXTO BIG BANG
=============================== */

.texto-bigbang {
    max-width: 690px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
}

.texto-bigbang p {
    font-size: 1.08rem;
    line-height: 1.9;
    margin: 1.3rem auto;
    text-align: justify;
}

.texto-bigbang .destacado,
.texto-bigbang .frase-principal {
    font-size: 1.25rem;
    line-height: 1.9;
    margin: 2rem auto;
    text-align: center;
}

.texto-bigbang .suave {
    font-size: 1.12rem;
    line-height: 1.9;
    margin: 1.5rem auto;
    opacity: 0.85;
}

.texto-bigbang .lista-visual {
    font-size: 1.12rem;
    line-height: 2;
    text-align: center;
    margin: 2rem auto;
}

.texto-bigbang p {
    font-size: 1.1rem;
    line-height: 2;
    margin: 1.5rem auto;
    text-align: justify;
}

/* ===============================
   GALERÍA LA FUENTE DEFINITIVA
=============================== */

#la-fuente .galeria-fuente {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    margin: 90px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

#la-fuente .galeria-fuente img {
    width: 90% !important;
    max-width: 1400px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 25px;
    box-shadow: 0 0 45px rgba(255, 230, 120, 0.65);
    display: block;
    margin: 0 auto !important;
}

/* ===============================
   GALERÍA IMPLOSIÓN CENTRADA
=============================== */

/* ===============================
   IMÁGENES DE IMPLOSIÓN CENTRADAS
=============================== */

#implosion .texto img {
    display: block;
    width: 90%;
    max-width: 900px;
    height: auto;
    margin: 50px auto;
    object-fit: contain;
}

#implosion > .contenido-seccion > img {
    display: block;
    max-width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

#implosion .texto h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem !important;
    letter-spacing: 3px;
    font-weight: normal;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(255,255,255,0.35);
}

.contador-flotante{
    position:fixed;
    top:20px;
    right:25px;
    z-index:99999;

    color:white;
    text-align:center;
    font-family:Georgia, "Times New Roman", serif;

    line-height:1;
}

.contador-flotante p{
    margin:0 0 2px 0;
    padding:0;
    color:white;
    text-align:center;
    font-size:0.75rem;
    letter-spacing:2px;
    line-height:1;
}

/* CENTRAR MEJOR LA IMAGEN INICIAL DE LA FUENTE */
/* AJUSTE DE LA IMAGEN INICIAL EN ORDENADOR */
@media (min-width: 769px) {
    #la-fuente .contenido-seccion > img:first-child {
        margin-top: -20vh;
    }
}

/* SUBIR EL TEXTO DE LA FUENTE EN ORDENADOR */
@media (min-width: 769px) {
    #la-fuente h2 {
        margin-top: -10vh;
    }
}

/* ===============================
   VERSIÓN MÓVIL Y TABLET
================================ */

@media (max-width: 768px) {

    /* BOTÓN DEL MENÚ */
    #boton-menu {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 10001;

        background: rgba(0,0,0,0.8);
        color: white;

        border: 1px solid #555;
        border-radius: 5px;

        font-size: 1.8rem;
        padding: 5px 10px;

        cursor: pointer;
    }


    /* MENÚ OCULTO POR DEFECTO */
    #menu {
        width: 200px;
        height: 100vh;

        left: -200px;
        top: 0;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        transition: left 0.3s ease;
    }


    /* CUANDO EL MENÚ ESTÁ ABIERTO */
    #menu.abierto {
        left: 0;
    }


    .item-menu {
        width: 100%;
        padding: 0.6rem 0;
        font-size: 1rem;
    }


    .mas-menu {
        position: absolute;
        bottom: 30px;
        left: 0;
    }


    /* SECCIONES: OCUPAN TODA LA PANTALLA */
    .seccion {
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    padding-top: 0;
}
    


    /* TEXTO */
    .texto {
        padding: 0 1.2rem;
        font-size: 1rem;
    }

    body p {
        font-size: 1rem;
        line-height: 1.7;
    }


    /* TÍTULOS */
    .texto h2,
    #implosion .texto h2 {
        font-size: 1.8rem !important;
    }


    /* IMÁGENES */
    .contenido-seccion > img {
        max-width: 95%;
        height: auto;
    }


    /* GALERÍAS */
    #la-fuente .galeria-fuente,
    #big-bang .galeria-universo {
        padding: 0 15px;
        gap: 35px;
    }

    #la-fuente .galeria-fuente img,
    #big-bang .galeria-universo img {
        width: 100% !important;
        border-radius: 12px;
    }


    /* CARRUSELES */
    .carrusel-universo,
    .carrusel-especies {
        width: 100%;
        margin: 2rem auto;
    }

    .item-carrusel,
    .item-especie {
        min-height: auto;
    }

    .item-carrusel img,
    .item-especie img {
        max-height: 65vh;
    }


    /* BOTONES DEL CARRUSEL */
    .controles-carrusel button {
        font-size: 2rem;
        padding: 0.3rem 0.7rem;
    }


    /* YORA */
    .yora-galeria img {
        max-width: 90vw !important;
        max-height: 75vh !important;
        margin-top: 35px;
    }

}

/* ===== COMENTARIOS PUBLICADOS ===== */

#listaComentarios {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
}

.comentario {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;

    padding: 20px 25px;
    margin-bottom: 18px;

    text-align: left;
    box-sizing: border-box;
}

.comentario-nombre {
    font-weight: bold;
    margin-bottom: 10px;
}

.comentario-texto {
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    box-sizing: border-box;
    color: #777;
    font-family: Arial, sans-serif;
}

.footer p {
    margin: 5px 0;
}

.footer-texto {
    font-size: 0.8rem;
    font-style: italic;
    color: #555;
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* FOOTER DEL INDEX */

.footer-index {
    align-self: stretch;
    width: 100%;
    margin-top: 60px;
    text-align: center;
}