/*------------ESTILOS DEL CUERPO GENERALES -------------*/

/*body general*/

body {
    background-color: black;
    text-align: center;
}

/*Fuente a usar*/
@font-face {
    font-family: IBM;
    src: url(fonts/Ac437_IBM_VGA_9x16.ttf);
    font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: PIXEL;
    src: url(fonts/PIXELADE.TTF);
    font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: PIEDRA;
    src: url(fonts/Viking.ttf);
    font-weight: normal;
	font-style: normal;
}

/*----------- SCROLLBAR ------------*/

::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: transparent; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

/*Texto básico*/
p {
    color: greenyellow;
    font-family: IBM;
    letter-spacing: -.3pt;
    line-height: 16pt;
    font-size: 1.3em;
    text-justify: auto;
}

/*Separador*/
hr {
    color: greenyellow;
    background-color: greenyellow;
}

/*footer*/
footer {

    margin: auto;
    text-align: center;
}





/*Body concretamente para el apartado videoclub*/
#bodyPeliculas {
    background-image: url(img/gifs/molaverso.gif);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

/*Body concretamente para las reseñas del videoclub*/

body.bodyreseñaspelis{
  background: black;
  position: relative;
  isolation: isolate; /* importante: crea un stacking context limpio */
}

/* carátulas */
body.bodyreseñaspelis::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: var(--bg-caratula, none);
  background-repeat: repeat;
  background-size: 15%;
  background-position: center;
  filter: brightness(.25) saturate(.35) contrast(.9);
  z-index: -10;        /* <-- MÁS BAJO que tu .Reseña (-1) */
  pointer-events: none;
}

/* oscurecido */
body.bodyreseñaspelis::after{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: -9;         /* <-- MÁS BAJO que tu .Reseña (-1) */
  pointer-events: none;
}



/*Cajas para los textos de la sección videoclub*/
#textoVideoclub {
    padding: 10px;
    text-align: justify;
    margin: auto;
    width: 40%;
    border: double;
    border-color: magenta;
    border-width: 15px;
    background-color: rgba(0, 0, 0, 0.9);
    display: block;
}

/*Estilos para texto en formato de cita*/
#cita {

    font-family: IBM;
    font-size: 1.3em;
    color: greenyellow;

}

/*Estilos para el subtitulo que va en el header*/
#subtitulo {
    text-decoration: none;
    font-family: IBM;
    font-size: 1.5em;
    color: greenyellow;

}

subtitulo:hover {
    color:steelblue;
}


/*Estilos para el texto dentro de las cajitas en la zona derecha*/
#textoCajita {
    text-decoration: none;
}

#textoCajita:hover {
    color: white;
}


#botonTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-family: IBM;
    font-size: 18px;
    border: double;
    border-color: greenyellow;
    outline: none;
    background-color: black;
    color: greenyellow;
    cursor: pointer;
    padding: 15px;
    
  }
  
  #botonTop:hover {
    background-color: #010757;
  }


/*-- Estilos para la página de webmaster --*/
#bloqueBio {
    display:flex; 
    width: 50%; 
    margin: 0 auto; 
    
}


#dibujoBio pre {
    
    color: yellowgreen; /* Color del texto ASCII */
    text-align: left; /* Mantiene la alineación interna del dibujo */
    margin: 30px;
    
}

/*Contenedor Muro del videoclub */
#contenedorMuro {
    width: 60%;
    margin: 0 auto;
    position: relative; 
    top: 0; 
    left: 0; 

}

/*Imagen  Muro del videoclub */
#muro {
    max-width: 100%;
    max-height: 100%;
    animation: float 3s ease-in-out infinite;
    z-index: 1;

}

/*Animación de flotación*/
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

#contenedorBiblioteca {
    display: inline-block;
    border-style:double; 
    border-width: 10px; 
    border-color: red;
    width: fit-content;
    margin-bottom: 1%;
    text-align: center;
    background-color: black;
    position: relative;
    
}

#contenedorImagenesBiblioteca {

    position: relative;
    display: block;
    width: 100%; /* Opcional: ajusta el ancho al contenido */
    background-image: url(img/mesabiblio.jpg);
    background-position: center;
    background-size: 170%;
    
  
}

#bugh {
    position: relative;
    z-index: 1;
}

.contenedorOraculo {
    display: inline-block;
    border-style:double; 
    border-width: 10px; 
    border-color: blue;
    width: fit-content;
    margin-bottom: 1%;
    text-align: center;
    background-color: black;
    position: relative;
    margin-top: 1%;
}


/*----------- ESTILOS PARA ODIO ------------*/

#contenedorOdio {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('img/wallhaven-ym22wg.jpg'); 
    background-size: 100%; 
    margin: auto;  
    padding: 2%; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0; 
    text-align: justify; 
    width: 60%;
    border-style:double; 
    border-width: 10px; 
    height: fit-content;
    overflow:scroll;
    overflow-x:hidden;
    display: inline-block;
    
}



/*----------- ESTILOS PARA LAS CLASES ------------*/
.contenedorCentroIndex {
    width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.contenedorInicio {
    
    border-style:double; 
    border-width: 10px; 
    width: fit-content;
    height: fit-content;
    margin: 1%;
    text-align: center;
    background-color: black;
    
}


/*-- Estilos para los link --*/
.link {
    text-decoration: none;
    font-family: IBM;
    font-size: 1.5em;
    color: greenyellow;
}


.cita {
    font-family: IBM;
    color: greenyellow;
    font-size: 1.3em;
}

/*-- Estilos para cuando se coloca el cursos sobre los links--*/
.link:hover {
    color:steelblue;
}

.izquierda {
    float: left;
    width: 20%;
    position: sticky;
    top: 0;
    
}

.textoIzquierda {
    margin-left: 5px;
    clear: left;
    display: block;
    overflow: auto;
    
}

/*Estilos generales para cada post*/

.centro {
    display: inline-block;
    width: 55%;
    margin: auto;
}

.post {
    text-align: justify;
    padding:15px;
    border:10px;
    border-color: yellowgreen;
    border-style:double;
    margin-bottom: 100px;
}


/*Estilos generales para los botones de la derecha*/

.derecha {
    float:right;
    width: 20%;
    position:sticky;
    top: 0;
}



.cajita {
    border-style: double;
    border-color: yellowgreen;
    border-width: 10px;
    padding: 0px;
    width: 100px;
    text-align: center;
    margin-bottom: 15px;
    background-color: black;
}

.cajita:hover {
    background-color: #010757;
    color: white;
}

.textoCajita {
    text-align: center;
}

.derechaInicio{
    text-align: center;
    margin: auto;
    margin-bottom: 10px;
    position:static;
    display: flex;
    width: fit-content;
    
}

.cajitaInicio {
    border-style: double;
    border-color: yellowgreen;
    border-width: 10px;
    padding: 0px;
    width: 100px;
    text-align: center;
    margin-bottom: 15px;
    margin: 5px;
    background-color: black;
}

.cajitaInicio:hover {
    background-color: #010757;
    color: white;
}


/*-- Estilos para el título de cada post --*/
.titulopost {
    font-size: 2em;
    color: steelblue;
}

.fecha {
    text-align: right;
    color: steelblue;
}

.arrabal {
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: double;
    border-color: greenyellow;
    border-width: 30px;
    background-color: white;
}

/*-- Estilos para el texto general --*/

.textoGeneral {
    color: greenyellow;
    font-family: IBM;
    letter-spacing: -.3pt;
    line-height: 16pt;
    font-size: 1.3em;
    font-display: justify;
}

.caratulaFlota{
    animation: float 3s ease-in-out infinite;
    position: absolute;
    width: 9.2%;
    z-index: 2;
}

.caratula{
    max-width: 100%;
    max-height: 100%;
    transition: transform .2s;
 
}

.caratulaFlota:hover {
    z-index: 10;
}

.caratula:hover {

    transform: scale(3);
}

.Reseña {
    position: relative;
    padding: 50px;
    text-align: justify;
    margin: 0 auto;
    width: 45%;
    border: double;
    border-top: none;
    border-bottom: none;
    border-color: magenta;
    border-width: 15px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('img/gifs/cintaflotando.gif');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;   
    background-position: center center;
    min-height: 100%;
    height: auto;
    height: 100%;
    z-index: -1;
    
}


/* ------------ESTILOS PARA LA BIBLIOTECA -----------*/

.holograma {
    display: block;
    width: 150%;
    position:absolute; /* Absoluta respecto al contenedor */
    top: 50%; /* Centra verticalmente respecto a .libro */
    left: 50%; /* Centra horizontalmente respecto a .libro */
    transform: translate(-50%, -50%); /* Ajusta el centro */
    z-index: 2; /* Asegura que esté encima */
    
    
}

.contenedorLibro {
    display: inline-block;
    width: fit-content;
    margin:  1%;
    position: relative;
}

.contenedorLibro:hover .libro {
    
    transform: translate(0, -20px);
}


.libro {
    position: relative; /* Base para asegurar la superposición correcta */
    width: 100px; /* Tamaño ajustado según necesidades */
    z-index: 1; /* Asegura que esté detrás */
    bottom: 50px;
    transition: 0.5s;
    z-index: 1;
    
}

.bocadilloBugh {
    display: none;
    position: absolute;
    z-index: 2;
    left: 55%;
    top: 5%;
}

.textoBocadillo {
    text-align: justify;
    font-family: IBM;
    color: red;
    position: absolute;
    font-size: 1.1em;
    top: 1%;
    left: 13%;
    width: 175%;
    
}

#muestraBocadillo {
   
    background-color: transparent;
    position: absolute;
    left: 42%;
    top: 16%;
    width: 13%;
    height: 40%;
    z-index: 3;
}

#muestraBocadillo:hover + .bocadilloBugh {
    display: block;
}



.contenedorLibroAbierto {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.textoLibro {
    font-family: PIXEL;
    color: black;
    font-size: 1.7em;
    line-height: 0.8;
}

.pagina1 {
    
    text-align: justify;
    position:absolute;
    background-color: transparent;
    z-index: 2;
    width: 38%;
    height: 77%;
    margin-left: 8%;
    margin-top: 4%;
}

.pagina2 {
    text-align: justify;
    position:absolute;
    background-color: transparent;
    z-index: 2;
    width: 38%;
    height: 77%;
    margin-left: 54%;
    margin-top: 4%;
}

.contenedorPergamino1 {
    display: none;
    position: relative;
    margin:  0 auto;
    width: fit-content;
}

.contenedorPergamino2 {
    display: none;
    position: relative;
    margin:  0 auto;
    width: fit-content;
}


.pergamino1 {
    text-align: justify;
    position:absolute;
    background-color: transparent;
    z-index: 2;
    width: 58%;
    left: 22%;
    top: 10%;
    bottom: 13%;
}

.pergamino2 {
    text-align: justify;
    position:absolute;
    background-color:transparent;
    z-index: 2;
    width: 58%;
    left: 22%;
    top: 10%;
    bottom: 13%;
}

.listaGeneral {
    text-decoration: none;
    color: greenyellow;
}

/*----------- ESTILOS PARA EL DISCO ------------*/

.contenedorImagenGigante {
    display: inline-block;
    border-style:double; 
    border-width: 10px; 
    border-color: cyan;
    width: fit-content;
    margin-bottom: 1%;
    text-align: center;
    background-color: black;
    position: relative;
}

.contenedorDiscos {
    position: relative;
    width: 100%;
    display: flex;
}

.discoFlota {
    background-color: transparent;
    position: absolute;
    z-index: 3;
    width: 200px;
    height: 200px;
}

.portadaDisco {
    width: 200px;
    height: 200px;
    position: absolute;
    z-index: 2;
}

.vinilo {
   width: 200px;
   height: 200px;
   z-index: 1;
   transition: 0.5s;
}

.discoFlota:hover ~ .vinilo {
    
    transform: translateX(60px);
}

.reseñaDisco {
    position: relative;
    padding: 50px;
    text-align: justify;
    margin: 0 auto;
    width: 45%;
    border: double;
    border-top: none;
    border-bottom: none;
    border-color: cyan;
    border-width: 15px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('img/gifs/soundgif.gif');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;   
    background-position: center center;
    min-height: 100%;
    height: auto;
    height: 100%;
    
}

.portadaReseña {
    position: inherit;
    width: 300px;
    height: 300px;
    text-align: center;
    display: flex;
}

.escuchar {
    text-align: center;
    z-index: 10;
}

.imagenEscuchar {
    width: 50px;
    height: 50px;
    
}

#textoDisco {
    color: cyan;
    padding: 10px;
    text-align: justify;
    margin: auto;
    width: 40%;
    border-color: cyan;
    border-width: 15px;
    background-color: rgba(0, 0, 0, 0.);
    display: block;
}

#parrafoDisco {
    color: cyan;
    text-align: center;
    font-size: 1.5em;
}

#discoPiedra {
    animation: rotation 60s infinite linear;
    
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

#contenedorDiscoPiedra {
    position: relative;
    background-color:transparent;

}

#contenedorTextoPiedra {
    width:fit-content;
    position: absolute;
    top:40%;
    width: 25%;
    bottom: 40%;
    left: 38%;
    overflow:scroll;
    overflow-x:hidden;
    
    text-align: justify;
}

#leyenda {
    font-family: PIEDRA;
    color: black;
    padding: 5px;
}


/*----------- ESTILOS PARA EL ARCHIVO ------------*/

.izquierdaArchivo {
     position: fixed;
    left: 0;
    top: 35%;
    width: 20%;
    z-index: 10; /* Asegura que esté encima de otros elementos */
    
}

.centroArchivo {
    display: inline-block;
    width: 55%;
    margin: auto;
    text-align: center;
    
}

.derechaArchivo {
    position: fixed;
    right: 0;
    top: 35%;
    width: 20%;
    z-index: 10;
}


.archivoTexto {
    color: grey;
    text-align: left;
    width: 60%;
    margin: auto;
}

.archivoTexto:hover {
    color: red;
   
}


/*----------- ESTILOS PARA LA GUARIDA ------------*/

.guaridaFrame{
  position: relative;
  display: inline-block;
  padding: 0;
  background: transparent;
  line-height: 0;          
  width: 800px;
  max-width: 95vw;         /* para que no se salga en pantallas pequeñas */
}

/* La imagen de fondo llena el marco */
.guaridaFondo{
  display: block;
  width: 100%;
  height: auto;
}

/* Monstruo encima, centrado en el “túnel oscuro” */
.guaridaMonstruo{
  position: absolute;
  left: 50%;
  top: 55%;                /* ajusta esto para subir/bajar en el pasillo */
  transform: translate(-55%, -95%);
  z-index: 5;
  pointer-events: none;

  width: 200px;            /* tamaño base */
  max-width: 35%;          /* para que escale en responsive */
  height: auto;

}



/*----------- ESTILOS PARA EL MÓVIL ------------*/

@media only screen and (max-width: 1000px) {

    p {
        font-size: 2em;
        line-height: 1;
    }

    footer {
        visibility: hidden;
    }
    .textoGeneral {
        font-size: 2em;
    }

    #subtitulo {
        
        font-size:1em;
    }

    #cita {
        font-size: 2em;
        font-family: IBM;
        color: yellowgreen;
    }
    

    /* BLOQUES DE LA IZQUIERDA */

    .izquierda  {
        margin-top: 50px;
        width: 100%;
        text-align: center;
    }

    .textoIzquierda{
        width: 100%;
        text-align: center;
        font-size: 2.5em;
        line-height: 1;
    }

    /* POST DEL CENTRO */

    .centro {
        display: inline-block;
        width: inherit;
        margin: 0 auto;
        float: none;
    }

    /* BLOQUES DE LA DERECHA */
    .derecha {
        text-align: center;
        float: left;
        margin-left: auto;
        margin-bottom: 10px;
        position:static;
        display: flex;
    }

    .derechaInicio {
        text-align: center;
        float: left;
        margin-left: auto;
        margin-bottom: 10px;
        position:static;
        display: flex;
    }
    

    .cajita {
        width: 150px;
        border-width: 10px;
    }

    .cajitaInicio {
        width: 150px;
        border-width: 10px;
    }

    #link {
        font-size: 1.2em;
    }


    /* ASPECTOS DE EL APARTADO WEBMASTER */
    #bloqueBio {
        display: block;
        width: 80%;
    }

    #dibujoBio {
        width: 100%;
        justify-content: center;
        display: flex;
        margin: auto;
        text-align: center;
        
    }


    
    #contenedorMuro {
        width: 90%;
        margin-top: 10%;
        display: inline-block;
        margin: auto;
    }

    .Reseña {
        width: 80%;
    }

  

    #textoVideoclub  {
        margin-top: 20%;
        width: 70%;
        font-size: 1em;
    }
    

    #cajitaVideoclub {
        position: absolute;
        visibility: hidden;
    }

    .Reseña {
        font-size: 1.5em;
        overflow: hidden;
    }

    #contenedorBiblioteca {
        display: inline-block;
        width: inherit;
        margin: 0 auto;
        float: none;
    }

    .contenedorLibroAbierto {
        display: none;
    }

    .contenedorPergamino1 {
        display: block;
    }

    .contenedorPergamino2 {
        display: block;
    }

    .reseñaDisco {
        width: 80%;
    }

    #textoDisco {
        width: 60%;
    }

    #imagenGigante {
        width: 700px;
        height: 700px;
    }

    .contenedorDiscos {
        display:block;
    }
   
    .discoFlota, .portadaDisco, .vinilo {
        width: 400px;
        height: 400px;
        margin-bottom: 100px;
    }

  
    .contenedorCentroIndex {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    }

    #contenedorInicioTexto {
    
    padding: 10px;
    width: 10%;
    height: 10%;
    font-size: 13.5px;
        
    }

    #contenedorInicioLibro {
        height: 206px !important;
            
    }

    #gifLibroVisitas{
        width: 100% !important;
    }

    #contenedorInicioPodcast {
        width: 291px !important;
    }

    #contenedorInicioMasto {
        width: 206px !important;
    }
  
}
