/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales */
body {
    font-family: 'Inter', sans-serif; /* O prueba 'Noto Sans' o 'Poppins' */
    line-height: 1.6;
    letter-spacing: 0.5px;
    background-color: #F5F5F5; 
    color: #0D0D0D;
}

.container {
    display: flex;
    min-height: 100vh;
}
.main {
    margin-left: 250px; /* Asegura que el contenido principal empiece después del sidebar */
    flex: 1; /* El contenido principal ocupa el resto del espacio */
    padding: 0px;
    background-color: #E0D5C3;
}

/* Header - Diseño del banner */
.musica-header {
    color: #F5F5F5;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    border-bottom: 3px solid black; /* Línea decorativa sutil */
    background-image: url('https://i.pinimg.com/736x/bf/ca/56/bfca568c54e23099a3cef3229d92392d.jpg');
    background-size: cover;
    font-family: 'Georgia', serif; /* Fuente clásica tipo literaria */
    font-size: 2.5rem; /* Aumentamos el tamaño */
    height: 450px; /* Aumento de altura para dar más presencia al texto */
    width: 100%;
    padding-left: 30px; /* Desplazamos el texto hacia la izquierda */
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrado vertical */
    margin-bottom: 40px; /* Añadimos espacio entre el banner y el contenido */
}

.musica-header::after {
    content: "Rincón del Conocimiento";
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 4px;
    color: #CFAF85; 
    opacity: 0.9;
    position: absolute;
    top: 15%; /* Centrado vertical */
    left: 50%; /* Centrado horizontal */
    transform: translate(-50%, -50%); /* Alineación exacta */
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6); /* Sombra más fuerte para resaltar */
    font-family: 'Georgia', serif;
    max-width: 80%;
    z-index: 2;
}

/* Fondo sólido detrás de la imagen */
.musica-header img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: auto;
    max-width: 100%;
}

/* Contenido principal */
.musica-content {
    width: 100%; /* Full width, sin contenedor */
    text-align: center;
    padding: 20px;
    background-color: transparent; /* Sin fondo, ya que no se necesita contenedor */
}

/* Categorías de contenido */
.categorias {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Botones de categorías */
.artista-btn {
    background-color: #B38E5D; /* Marrón cálido más profundo */
    color: #1C1C1C;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 8px; /* Bordes más suaves */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold; /* Para mayor presencia */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}

.artista-btn:hover {
    background-color: #8F6B42; /* Marrón más oscuro para hover */
    color: #F5F5F5;
    transform: translateY(-3px); /* Sutil en vez de -5px */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); /* Resalta más en hover */
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #333;
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0; /* Evitar que se reduzca el tamaño */
    background: #4A3F35;
    color: #C1AA90;
    height: 100vh; /* Ocupa toda la pantalla */
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    border-right: 5px solid #3A3126;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.4);
    z-index: 0; /* Asegura que el sidebar esté por encima del contenido */
}

.sidebar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 2px solid #C1AA90;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    width: 100%;
    padding: 0;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    color: #C1AA90;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px dashed #C1AA90;
    transition: all 0.3s;
}

.sidebar a span {
    margin-right: 10px;
}

.sidebar a:hover {
    background-color: #3A3126;
    padding-left: 20px;
    transition: 0.4s;
}

/* Post */
.post {
    background-image: url("https://i.pinimg.com/736x/6f/4e/f0/6f4ef03855785878b24a35b0a78e27b2.jpg");
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 0px black; /* Bordes brutales */
    transition: transform 0.3s ease-in-out;
    width: 300px;
    text-align: center;
    border: 2px solid black; /* Borde grueso negro */
    font-family: 'Cinzel', serif;
}

.post:hover {
    transform: scale(1.05);
}

.post-title {
    font-size: 1.7em;
    color: black;
    font-weight: bold;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px white;
}

.post-date {
    font-size: 0.9em;
    color: #444;
    font-style: italic;
}

.read-more {
    display: inline-block;
    background: black;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 10px;
    border: 2px solid black;
}

.read-more:hover {
    background: white;
    color: black;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    animation: fadeIn 0.3s ease-in-out;
    box-shadow: 5px 5px 0px black;
    position: relative;
    text-align: center;
    width: 500px;
    max-width: 100%;
    background: #f3f3f3;
    padding: 20px;
    border-radius: 10px;
    border: 3px solid black;
    height: auto;
    box-sizing: border-box; /* Asegura que el padding no afecte al tamaño total */
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    font-weight: bold;
    color: black;
}

.close-btn:hover {
    color: red;
}

.modal-page {
    display: none;
}

.modal-page.active {
    display: block;
}

.page-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
