

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

p {
    text-align: justify;
   /* font-family: 'Ranade', sans-serif;
    font-weight: 300; /* 300 es el peso estándar para la versión 'Light' */
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    color: #000000;
  
}


blockquote {
    margin-left: 10px;
    font-style: italic;
    margin-bottom: 4px;
}

.header {
    background: #98b5c7;
    width: 100%;
    height: 15px;
}

.membreteParroquia {
    margin-top: 3px;
}

.encabezadot {
    text-align: right;
    margin: 5px;
    /* font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
    font-family: 'Nunito', sans-serif;
    font-size: larger;
    font-weight: 400; 
    vertical-align: middle;
}

.nav {
    position: fixed;
    top: 0;
    left: 0px;
    width: 100%;
    margin: 0;
   
    z-index: 99999;
}


.menu {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(10px, 1.0vw, 16px);
    background: rgb(255, 255, 255);
    list-style: none;
    display: flex;
    align-items: center;
     padding-top: 15px;
     padding-bottom: 15px;;
     padding-left: 10px;
}

/* 📱 Móviles muy pequeños (hasta 480px) */
@media (max-width: 480px) {
    .menu {
        font-size: 12px;
        gap: 2px;
    }
}

/* 📱 Móviles medianos (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .menu {
        font-size: 12px;
        gap: 4px;
    }
}

/* 💻 Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .menu {
        font-size: 14px;
        gap: 6px;
    }
}

/* 💻 Escritorio (1025px en adelante) */
@media (min-width: 1025px) {
    .menu {
        font-size: 18px;
        gap: 8px;
    }
}

.menu li {
    list-style: none;
    margin-right: 0px;
  
}

.menu li a {
    color: rgba(11, 17, 33, 0.933);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.5s ease;
}

.menu li a:hover {
    padding: 5px 10px;
    background: rgb(10, 11, 12);
    color: antiquewhite;
    border-radius: 15px;
}

.niveles {
    color: rgba(11, 17, 33, 0.933);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.5s ease;
}

.niveles:hover {
    padding: 5px 10px;
    background: rgb(10, 11, 12);
    color: antiquewhite;
    border-radius: 15px;
}


.main {
    margin-top: 30px;
    padding-top: calc(clamp(18px, 1.2vw, 22px) * 1.5);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
   
    padding-left: 3px;
    padding-right: 3px;
}

/* 📱 Móvil: asegurar márgenes laterales de 3px */
@media (max-width: 768px) {
    .main {
        padding-left: 3px;
        padding-right: 3px;
        padding-top: calc(clamp(18px, 1.2vw, 22px) * 1.5);
        margin-left: auto;
        margin-right: auto;
    }
}

/* 💻 Escritorio: márgenes más amplios si quieres */
@media (min-width: 769px) {
    .main {
        padding-left: 15px;
        padding-right: 15px;
    }
}



.recuadro {
    background: rgb(220, 215, 245);
    margin-bottom: 15px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 10px;
    border-radius: 20px;
}

.recuadro p {
   
    line-height: 1.4;        /* Altura de línea 1.4 para mejor legibilidad */
    margin-bottom: 0.8em;     /* Espacio relativo al tamaño de fuente  font-size: 120%; */
    
}


    .articlePeriodico {
        background: rgb(255, 255, 255);
        margin-bottom: 5px;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        padding: 10px;  
        /* ✅ Borde derecho delgado gris claro */
        border-right: 2px solid #e0e0e0;
        /* Opcional: si quieres redondear la esquina derecha */
        border-radius: 0 4px 4px 0;
    }

    .articlePeriodico p {
        line-height: 1.4;        /* Altura de línea 1.4 para mejor legibilidad */
        margin-bottom: 0.8em;     /* Espacio relativo al tamaño de fuente */
    }

    .volantito {
        max-width: 100%;
    }
/***********pantalla grande***********************/
/*************************************************/
/************pantalla grande**********************/

@media screen and (max-width: 1920px) and (min-width: 600px) {
    body {
       
        width: 40%;        
        background: rgb(255, 255, 255);
        margin: 0 20px 0 20px; /* superior | derecho | inferior | izquierdo */
        padding: 20px;
        font-size: 18px;
        overflow-x: hidden; /* Importante para evitar barras de desplazamiento horizontal por las animaciones */
    }
   

    .parroquia {
        /*margin-right: 20px;
        width: 40%;*/
        background: rgb(226, 224, 245);
        /* border-radius: 15px; */
        margin-top: 5px;
        font-size: 85%;
        padding: 6px;
        /* position: absolute;
        top: 50px;
        right: 35px;

        text-align: center;*/
        margin-bottom: 5px;
    }
    .enTres {
        position: relative;
        display: flex;
        justify-content: center;
      
    }
  

}

/***********fin de pantalla grande******************/
/*************************************************/


/***********pantalla chica******************/
/***********pantalla chica*********************/
/***********pantalla chica***************/

@media screen and (max-width: 600px) {
    body {
        width: 100%;
        background: rgb(255, 255, 255);
        padding: 0px 5px 0 5px; /* superior | derecho | inferior | izquierdo */
        margin: 0px;
        font-size: 16px;
        overflow-x: hidden; /* Importante para evitar barras de desplazamiento horizontal por las animaciones */
    }
  


    .parroquia {
        background: rgb(226, 224, 245);
        margin-top: 5px;
        margin-bottom: 5px;
        padding: 6px;
    }
    .enTres {

        display: flex;
        justify-content: center;
    }


}


/*fin de pantalla chica*/
/*fin de pantalla chica*/
/*fin de pantalla chica*/
/*fin de pantalla chica*/

.botonRegistro {
    box-shadow: inset 0px 1px 9px 2px #91b8b3;
    background: linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%);
    background-color: #768d87;
    border: 1px solid #566963;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 11px 23px;
    text-decoration: none;
    text-shadow: 0px -1px 7px #2b665e;
    max-width: 90%;
}

.botonRegistro:hover {
    background: linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
    background-color: #6c7c7c;
}

.botonRegistro:active {
    position: relative;
    top: 1px;
}

.itemForm {
    margin: 10px;
    padding: 4px;
    background-color: #ffffff;
    color: rgb(11, 12, 51);
}

.article {
    background: rgb(255, 255, 255);
    margin-bottom: 5px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 5px 5px 5px 5px;
    font-size: 110%;
}

.divImagenCentrada {
    text-align: center;
}

.imgGeneral {
    width: 100%;
    border-radius: 15px;
    /* margin-left: auto;
    margin-right: auto;
     height: 150px; max-width: 99%;*/
}

.periodico {
    width: 100%;
    padding: 5px;
    margin-bottom: 3px;
    /* height: 100%;*/
}

.fechaPeriodico {
    display: flex;
    justify-content: space-between;
}

.marco {
    margin: 3px;
    border-radius: 10px;
    border-style: dotted;
    border-color: darkred;
    padding: 5px;
}

#aside {
    padding: 2px;
    border-radius: 1px;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(0, 0, 0);
}

.dosColumnas {
    -webkit-column-count: 2;
    /* Chrome, Safari, Opera */
    -moz-column-count: 2;
    /* Firefox */
    column-count: 2;
    justify-content: space-between;
}

.tresColumnas {
    -webkit-column-count: 3;
    /* Chrome, Safari, Opera */
    -moz-column-count: 3;
    /* Firefox */
    column-count: 3;
    justify-content: space-between;
}

.globito {
    width: 30%;
    margin: 5px;
    padding: 5px;
    border-radius: 15px;
    background: rgba(155, 155, 152, 0.35);
    border-style: solid;
    border-color: black;
}

.form1 {
    align-items: center;
    justify-content: center;
}

.formA {
    margin-top: 15px;
}



.counter1 {
    width: 100%;
    text-align: center;
}

.counter1 a {
    color: rgb(242, 210, 163);
    text-decoration: none;
}


/*#playlist,
audio {
    background: #666;
    width: 90%;
    padding: 5px;
    list-style: none;
    font-family: Arial, Helvetica, sans-serif;
}*/

.a2 {
    text-decoration: none;
}

.active .a2 {
    color: #5DB0E6;
    text-decoration: none;
}

li .a2 {
    color: #eeeedd;
    background: #333;
    padding: 5px;
    display: block;
}

li .a2:hover {
    text-decoration: none;
}

.ButtonForm {
    box-shadow: inset 0px 0px 15px 3px #23395e;
    background-color: transparent;
    border-radius: 17px;
    border: 1px solid #000000;
    display: inline-block;
    cursor: pointer;
    color: #0c0850;
    font-family: Arial;
    font-size: 15px;
    padding: 6px 13px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #06050f;
}

.ButtonForm:hover {
    background-color: transparent;
}

.ButtonForm:active {
    position: relative;
    top: 1px;
}

#minireproductor {
    display: flex;
    justify-content: center;
}

.titPlLst {
    font-weight: 400;
    text-decoration: underline rgb(68, 68, 68);
    font-variant: small-caps;
    vertical-align: top;
    font-size: 80%;
}


/*
#audio {
    width: 40vw;
    vertical-align: top;
   transform: scale(0.8,1)
   float: right;
}*/

.botons {
    vertical-align: top;
    margin: 4px;
}

.botoncitos {
    margin: 4px;
    vertical-align: top;
    text-decoration: none;
    color: #000000;
}

#boxPlaylist {
    width: 100%;
    height: auto;
    background: rgb(210, 217, 223);
    position: fixed;
    top: 55px;
    left: 5px;
    border: 1px solid rgb(46, 51, 76);
    border-radius: 15px;
    padding: 4px;
    /*    z-index:3; */
}



/****************************************************************************/
/***************************************************************************/
 #registro {
    width: 90%;
   height: auto;        /* Ocupa el 85% de la altura de la ventana del navegador */
max-height: 95vh;    /* Asegura que no crezca más del 85% de la ventana */
 overflow-y: auto;   /* Scroll si el contenido es muy largo */
    background: rgb(210, 217, 223);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /* Centrado perfecto */
    border: 1px solid rgb(46, 51, 76);
    border-radius: 15px;
    padding: 4px;   
    /*    z-index:3; */
} 

/**************************************************************************/
/**************************************************************************/






#loginCom {
    width: 100%;
    height: auto;
    background: rgb(210, 217, 223);
    position: fixed;
    top: 55px;
    left: 5px;
    border: 1px solid rgb(46, 51, 76);
    border-radius: 15px;
    padding: 4px;
    /*    z-index:3; */
}

.biblia {
    width: 100%;
    padding: 3px;
    margin-bottom: 5px;
    background: rgb(255, 255, 255);
}

.titBibl {
    text-align: left;
    font-family: Arial;
    font-size: 30px;
    text-shadow: 0px 0px 9px #2e2485;
}

#submenuEvents {
    /*width: 100%;
    height: auto;*/
    background: rgb(165, 156, 223);
    position: fixed;
    top: 50px;
    float: left;
    border-radius: 5px;
    /*left: 15px;
        z-index:3; */
}

#submenuSession {
   position: fixed;  /* Cambiado de absolute a fixed */
    background: rgb(165, 156, 223);
    border-radius: 5px;
    z-index: 101;  /* Mayor que el nav (que tiene 100) */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 5px;
    min-width: 180px;

}

#submenuGrupos {
 position: fixed;  /* Cambiado de absolute a fixed */
    background: rgb(165, 156, 223);
    border-radius: 5px;
    z-index: 101;  /* Mayor que el nav (que tiene 100) */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 5px;
    min-width: 180px;
}

table.darkTable {
    font-family: "Arial Black", Gadget, sans-serif;
    border: 2px solid #000000;
    background-color: #4A4A4A;
    text-align: center;
    border-collapse: collapse;
}

table.darkTable td,
table.darkTable th {
    border: 1px solid #4A4A4A;
    padding: 3px 2px;
}

table.darkTable tbody td {
    font-size: 13px;
    color: #E6E6E6;
}

table.darkTable tr:nth-child(even) {
    background: #888888;
}

table.darkTable tfoot td {
    font-size: 12px;
}


/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */


/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */

.fire {
    color: #000;
    font-family: 'Caesar Dressing', cursive;
    font-size: 2em;
    text-transform: lowercase;
    vertical-align: middle;
    letter-spacing: .2em;
    animation: animation 1s ease-in-out infinite alternate;
    -moz-animation: animation 1s ease-in-out infinite alternate;
    -webkit-animation: animation 1s ease-in-out infinite alternate;
    -o-animation: animation 1s ease-in-out infinite alternate;
}

.burn {
    color: #000;
    font-family: 'Caesar Dressing', cursive;
    font-size: 2em;
    text-transform: lowercase;
    vertical-align: middle;
    letter-spacing: .2em;
    animation: animation .65s ease-in-out infinite alternate;
    -moz-animation: animation .65s ease-in-out infinite alternate;
    -webkit-animation: animation .65s ease-in-out infinite alternate;
    -o-animation: animation .65s ease-in-out infinite alternate;
}

@keyframes animation {
    0% {
        text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
    }
    100% {
        text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9, -20px -20px 40px #feec85, 22px -42px 60px #ffae34, -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
    }
}

@-moz-keyframes animation {
    0% {
        text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
    }
    100% {
        text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9, -20px -20px 40px #feec85, 22px -42px 60px #ffae34, -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
    }
}

@-webkit-keyframes animation {
    0% {
        text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
    }
    100% {
        text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9, -20px -20px 40px #feec85, 22px -42px 60px #ffae34, -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
    }
}

@-o-keyframes animation {
    0% {
        text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
    }
    100% {
        text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9, -20px -20px 40px #feec85, 22px -42px 60px #ffae34, -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
    }
}


/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */


/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */


/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */


/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */

#demo {
    width: 450px;
}

#demoAudio {
    width: 90%;
}

#demoList {
    margin-top: 10px;
    max-height: 20rem;
    overflow: scroll;
}

#demoList .song {
    padding: 10px;
    color: #9f9f9f;
    border-bottom: 1px solid #e1e1e1;
    cursor: pointer;
}

#demoList .song:first-child {
    border-top: 1px solid #e1e1e1;
}

#demoList .song.now {
    font-weight: 700;
    color: #333;
    background: #feffd9;
}

#demoList .song::before {
    content: "\2022";
    margin-right: 10px;
}

#demoList .song.now::before {
    content: "\27A4";
}


/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */
/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */
/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */
/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */

.menuVert {    
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;  /* ← Espacio ENTRE cada opción */
}

.menuVert li {
    list-style: none;
   
     /*font-size: max(1.0vw, 14px);
    Elimina margin-bottom */
}

.menuVert li a {
    color: rgba(11, 17, 33, 0.933);
    text-decoration: none;
    font-weight: bold;
    display: block;  /* Importante para que el padding funcione bien */
   
}

.menuVert li a:hover {
    background: rgb(10, 11, 12);
    color: antiquewhite;
    border-radius: 15px;
    /* Mantén el mismo padding para que no se mueva */
   
}


/* 📱 Móviles muy pequeños (hasta 480px) */
@media (max-width: 480px) {
    .menuVert li a {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* 📱 Móviles medianos (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .menuVert li a {
        font-size: 13px;
        padding: 7px 12px;
    }
}

/* 💻 Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .menuVert li a {
        font-size: 15px;
        padding: 8px 14px;
    }
}

/* 💻 Escritorio (1025px en adelante) */
@media (min-width: 1025px) {
    .menuVert li a {
        font-size: 18px;
        padding: 10px 16px;
    }
}

/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */

.imgIdentidad {
    margin: 10px;
    height: 40px;
    border: #2d2c88 3px solid;
    background-color: white;
    border-radius: 50%;
    float: right;
  }


/* vvvvvvvvvvboton ver mas reflexionesvvvvvvvvvvvvvvvvvvvvvvvvvv  */
/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */
/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  */

.botMasRefl {
    box-shadow: 0px 10px 5px -6px #7a8182;
    height: 20px;
    background: linear-gradient(to bottom, #d6dbdc 5%, #ffffff 100%);
    /*background-color: #599bb3; */
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    color: #060606;
    font-family: Trebuchet MS;
    font-size: 7px;
    font-weight: bold;
    padding: 4px 7px;
    text-decoration: none;
    /*text-shadow: -2px 2px 0px #3d768a;*/
}

.botMasRefl:hover {
    background: linear-gradient(to bottom, #d6dbdc 5%, #ffffff 100%);
    /*background-color: #408c99; */
}

.botMasRefl:active {
    position: relative;
    top: 1px;
}

.like-button {
    box-shadow: 0px 10px 5px -6px #7a8182;
    height: 20px;
    background: linear-gradient(to bottom, #d6dbdc 5%, #ffffff 100%);
    /*background-color: #599bb3; */
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    color: #060606;
    font-family: Trebuchet MS;
    font-size: 7px;
    font-weight: bold;
    padding: 4px 7px;
    text-decoration: none;
    /*text-shadow: -2px 2px 0px #3d768a;*/
    border: none; /* Elimina cualquier borde */
    outline: none; /* Elimina el contorno que aparece al enfocar (clic/tab) */
}

.like-button:hover {
    background: linear-gradient(to bottom, #d6dbdc 5%, #ffffff 100%);
    /*background-color: #408c99; */
}

.like-button:active {
    position: relative;
    top: 1px;
}


.tituloNoticia, .tituloNoticia:link, .tituloNoticia:visited {
    color: rgb(66, 69, 241) !important;
    text-decoration: none;
}


#formulario-container {
    width: 85%;
    height: auto;
    overflow-y: auto;
    background: rgb(210, 217, 223);
    position: fixed;
    top: 65px;
    left: 5px;
    border: 1px solid rgb(46, 51, 76);
    border-radius: 15px;
    padding: 6px;
    /*    z-index:3; */
}

#cancelar-btn {
   /* class="botonRegistro";*/
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.textwrapper
{

  margin:5px 0;
  padding:3px;
}


.comentarPie {
    display: flex;
    justify-content: space-between; /* Distribuye el espacio entre los elementos */
    align-items: center; /* Alinea verticalmente los elementos al centro */
  }

  .comentario-sangria {
    margin-left: 20px;
    border-left: 2px solid #ccc;
    padding-left: 10px;
    font-size: 70%; /* El texto será el 70% del tamaño de fuente heredado */
}




/***********************************/
/***********************************/
/***********************************/
/***********************************/
.gallery-container {
    position: relative; /* Esencial para posicionar los botones */
    max-width: 100%; /* Ajusta el ancho de la galería */
    margin: auto;
    overflow: hidden; /* Oculta las fotos que no están visibles */
  }
  
  .gallery {
    display: flex; /* Coloca las imágenes una al lado de la otra */
    transition: transform 0.5s ease-in-out; /* Animación de desplazamiento */
  }
  
  .image-wrapper {
    flex-shrink: 0; /* Evita que las imágenes se encojan */
    width: 100%; /* Cada foto ocupa el 100% del ancho del contenedor */
    box-sizing: border-box;
  }
  
  .image-wrapper img {
    width: 100%;
    display: block;
  }
  
  .prev-button, .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
  }
  
  .prev-button {
    left: 10px;
  }
  
  .next-button {
    right: 10px;
  }


  
/* Estilos para el cintillo */
.cintillo {
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
    height: 4px; /* El grosor de 4 píxeles */
    background: linear-gradient(to right, #ff0000, #ff8c00, #ffff00, #008000, #0000ff, #4b0082, #ee82ee); /* El degradado de colores del arcoíris */
    background-size: 200% 100%; /* Duplica el tamaño para que la animación se desplace */
    animation: cambioDeColor 10s linear infinite; /* Aplica la animación */
    z-index: 1000; /* Asegura que esté por encima de otros elementos, si es necesario */
    color: transparent; /* Hace el texto invisible para que solo se vea el cintillo */
  }
  
  /* Animación para el cambio de color */
  @keyframes cambioDeColor {
    0% {
      background-position: 100% 0; /* Posición inicial del degradado */
    }
    100% {
      background-position: -100% 0; /* Posición final del degradado, creando el efecto de movimiento */
    }
  }






/* Estilos para el cintillo */

/* Estilos para el cintillo */

/* Estilos para el cintillo */




  .footer {
    background-color: #f0f5f7af;
    color: #164a57;
    padding: 30px 20px 15px;
    font-family: Arial, sans-serif;
}

footer hr {
    border: none;
    border-top: 2px solid #4a4a4a;
    margin: 20px 0;
    opacity: 0.8;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-section {
    flex: 1 1 250px;
    min-width: 200px;
}

.footer-section h2 {
    color: #255ca3;
    font-size: 1.3rem;
    border-bottom: 2px solid #253c68;
    padding-bottom: 8px;
    margin-top: 0;
}



.friend-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.friend-link-item a {
    color: #7ca8b3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.friend-link-item a:hover {
    color: #0f69f1;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    background: rgb(179, 226, 238);
    padding: 3px;
}

.qr-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    border-radius: 10px;
    border: 2px solid #a5e3f3;
    max-width: 100px;
    height: auto;
}

.qr-label {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #91aabb;
}

.footer-bottom {
    border-top: 1px solid #7f8c8d;
    padding-top: 15px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #f1c40f;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.visit-counter {
    background: #b8c4cfbe;
    padding: 5px 15px;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {

    
    .friend-link-item a {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .qr-section {
        justify-content: center;
    }
}







        /* ===== ESTILOS PARA LA VENTANA FLOTANTE DE LECTURAS DEL DIA ===== */

        /* El emoji de libro */
        .lecturas-trigger {
            font-size: 3rem;
            cursor: pointer;
            display: inline-block;
            transition: transform 0.3s ease;
            user-select: none;
        }

        .lecturas-trigger:hover {
            transform: scale(1.1);
        }

        /* Fondo oscuro - MODAL OVERLAY (se cierra al hacer clic) */
        .modal-overlay {
            display: none;
            /* Oculto por defecto */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            backdrop-filter: blur(5px);
            cursor: pointer;
            /* Manita para indicar que se cierra */
        }

        /* Ventana flotante (NO se cierra al hacer clic dentro) */
        .modal-container {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 900px;
            height: 85vh;
            background: white;
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            z-index: 1001;
            display: none;
            /* Oculto por defecto */
            flex-direction: column;
            overflow: hidden;
            animation: modalEntrada 0.3s ease;
        }

        @keyframes modalEntrada {
            from {
                opacity: 0;
                transform: translate(-50%, -48%);
            }

            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }

        /* Cabecera de la ventana */
        .modal-header {
            padding: 15px 20px;
            background: linear-gradient(135deg, #4893e4 0%, #007bff 100%);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 20px 20px 0 0;
        }

        .modal-header h2 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 300;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .modal-header h2 span {
            font-size: 2rem;
        }

        /* Botón cerrar (X) */
        .modal-close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.3s;
        }

        .modal-close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Contenedor del iframe */
        .modal-content {
            flex: 1;
            background: #f5f5f5;
        }

        .modal-content iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Pie de la ventana */
        .modal-footer {
            padding: 15px 20px;
            background: #f0f0f0;
            border-radius: 0 0 20px 20px;
            text-align: center;
            border-top: 1px solid #ddd;
        }

        .modal-footer button {
            background: #007bff;
            color: white;
            border: none;
            padding: 10px 30px;
            border-radius: 50px;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s;
        }

        .modal-footer button:hover {
            background: #6fa7e4;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .modal-container {
                width: 95%;
                height: 90vh;
            }

            .modal-header h2 {
                font-size: 1.2rem;
            }
        }
    
