body {
    font-family: system-ui, sans-serif;
    margin: 0;
    line-height: 1.6;
    background: var(--bg-primary);
    color: var(--text-primary);
    background-image: url('../imatges/logos/header-img.png');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center top;
}

/* Contenedor principal para el contenido */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: var(--bg-secondary);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

code {
    background-color: #1e1e1e;
    color: var(--text-secondary);
    padding: 0.2em 0.4em;
    border-radius: 4px;
  }
  
pre {
    background-color: #1e1e1e;
    color: var(--text-secondary);
    padding: 1em;
    overflow-x: auto;
    border-radius: 6px;
    }

a {
    color: var(--accent-primary);
}

a:hover {
    color: var(--accent-secondary);
}

h1:not(.site-title), h2, h3, h4, h5, h6 {
    color: var(--accent-primary);
}

h1 a {
    text-decoration: none;
    color: var(--accent-primary);
}

h1 a:hover {
    text-decoration: underline;
    color: var(--accent-secondary);
}
  
ul {
    list-style: disc;
    padding-left: 2rem;
}
  
li {
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}
  
.pagination {
    text-align: center;
    margin-top: 2rem;
}
  
.pagination a {
    margin: 0 0.5rem;
    text-decoration: none;
    color: var(--accent-primary);
}

.pagination a:hover {
    color: var(--accent-secondary);
}

hr {
    border: none;
    height: 0.5px;
    background-color: var(--text-secondary);
    opacity: 0.3;
    margin: 20px 0;
    width: 100%;
}

.home-image {
    text-align: center;
    margin-bottom: 2rem;
}

.home-image img {
    max-width: 80%;
    height: auto;
}

.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

main {
    padding: 2rem 1rem;
}

.home-title {
    text-align: center;
    margin-bottom: 2rem;
    animation: slideInFromRight 1.2s ease-out;
}

.home-title h1 {
    font-size: 2rem;
    font-weight: 200;
    font-family: 'Roboto Condensed', 'Arial Narrow', 'Helvetica Condensed', sans-serif !important;
    color: var(--text-primary);
}

/* Animación de entrada desde la derecha con rebote para .home-title */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    60% {
        transform: translateX(-10%);
        opacity: 1;
    }
    80% {
        transform: translateX(5%);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}