/* Centrado de todo el contenido */
body {
    font-family: sans-serif;
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    color: #333;
    max-width: 65rem;
    font-size: 16px;
}

.container {
    padding: 20px;
    margin-bottom: 3em;
}

h1 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
}

p {
    line-height: 1.5;
}

li {
    line-height: 1.5;
}

nav {
    text-align: center;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

nav ul li {
    margin: 0 2px;
    font-size: 1.1em;
}

nav ul li a {
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

nav ul li a.active {
    color: #0b680c;
    text-decoration: underline;
}

.rss-url {
    display: inline-block;
    cursor: default;
    user-select: text;
}

.rss-icon img {
    width: 20px;
    height: auto;
    vertical-align: baseline;
    display: inline-block;
}

.linktofeed {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.rss-icon {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
}

.linktofeed {
    text-align: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    border-bottom: 0px solid #f9f9f9;
    padding: 10px 0 0 0;
}

/* ul con grid a 3 columnas */

.grid {
    list-style: none;
    padding: 9em 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.links {
    font-size: 1.2em;
    text-decoration: none;
    font-weight: normal;
}

.links a {
    color: #333;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
    color: #0645AD !important;
}

.url-lectura {
    margin-top: -15px;
    color: #999;
}

.fechadelectura {
    margin-top: -10px;
    color: #1c1c1c;
    font-size: 1em;
}

.enlaces {
    border-top: 1px solid #bbb;
    margin: 0;
    padding: 1em 0 0 0;
    border-radius: 0px;
}

.nota-musica {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 90%;
    margin: -29px auto;
  }

/* grid 1 columna 
.grid {
  list-style: none;
  padding: 9em 0 0 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0px;
  text-align: left;
  max-width: 60rem;
  margin: 0 auto;
  padding-left: 2em;
  border-left: 1px solid #c8c8c8;
  border-right: 1px solid #c8c8c8;
  padding-right: 2em;
}

header {
    border-bottom: 1px solid #c8c8c8;
}

.enlaces {
  border-top: 0px solid #bbb;
  margin: 0;
  padding: 0px;
  border-radius: 0px;
}

.links {
  font-size: 1.1em;
  text-decoration: none;
  font-weight: normal;
}

.links a {
    color: #333;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
    color: #0645AD !important;
}

.url-lectura {
  margin-top: -15px;
  color: #999;
}

.fechadelectura {
  margin-top: -15px;
  color: #1c1c1c;
  font-size: 0.9em;
} */

/* Enlaces */
a {
    color: #0645AD;
}

a:hover {
    text-decoration: none;
}

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    border-top: 0px solid #bbb;
}

.about-content {
    max-width: 60%;
    margin: 0 auto;
    padding-top: 5em;
}

.grid-moviles {
    display: none !important;
}

.dataTables_wrapper .dataTables_length select {
   height: auto !important;
  }

/* Estilos móviles inicial*/
@media (max-width: 720px) {
    /* Cambiar a 1 columna */
    ul {
        grid-template-columns: 1fr !important;
    }

    /* Asegurarse que los títulos no se vean tan grandes */
    .links {
        font-size: 1em;
    }

    /* Ajuste de las fechas y URL */
    .url-lectura, .fechadelectura {
        font-size: 0.9em;
    }

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        width: 95%;
    }
    
    nav ul li {
        margin: 0;
        font-size: 1em;
    }

    .rss-url {
        font-size: 0.9em;
    }

    .nota-musica {
        display: none;
    }

    .grid {
        padding: 9em 0 0 0;
    }

    .about-content {
        max-width: 100%;
        margin: 0 auto;
    }

    footer {
    font-size: 0.9em;
    margin-bottom: -5px;
    }

    h1 {
        margin-bottom: 10px;
        font-size: 1.4em;
    }

    nav {
        margin-bottom: 10px;
    }

}

/* Estilos móviles opción 2
@media (max-width: 600px) {
    
    ul {
        grid-template-columns: 1fr !important;
    }

    .links {
        font-size: 1em;
    }

    .url-lectura, .fechadelectura {
        font-size: 0.9em;
    }

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        width: 95%;
    }

    nav {
        margin-bottom: 10px;
    }
    
    nav ul li {
        margin: 0;
        font-size: 1em;
    }

    .rss-url {
        font-size: 0.9em;
    }

    .nota-musica {
        display: none;
    }

    .grid {
        display: none;
    }

    .grid-moviles {
        padding: 10em 0 0 0;
    }

    .about-content {
        max-width: 100%;
        margin: 0 auto;
    }

    footer {
        font-size: 0.9em;
        margin-bottom: -5px;
    }

    .grid-moviles {
        list-style-type: none;
        padding: 8em 0 0 0;
        display: block;
    }

    .enlaces {
        margin-bottom: 10px;
        border-top: none;
        padding: 0;
    }

    .post {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .links {
        font-weight: normal;
    }

    .linktofeed {
        margin: -5px auto;
    }

    .fechadelectura {
        color: grey;
        font-size: 0.9em;
    }

}*/
