/* Integración de estilos Modernist */

/* Fuente y tipografía */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;600&display=swap');

body {
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #fdfdfd;
    color: #333;
}

/* Encabezado */
header {
    background: #0a3d62;
    color: white;
    padding: 1.5em 1em;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2em;
}

header nav {
    margin-top: 0.5em;
}

header nav a {
    color: white;
    margin: 0 1em;
    text-decoration: none;
    font-weight: bold;
}

/* Contenido principal */
main {
    max-width: 900px;
    margin: 2em auto;
    padding: 0 1.5em;
}

/* Títulos de proyectos */
main h2 {
    background: #2c3e50;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 5px;
    margin-top: 2em;
    font-size: 1.5em;
}

/* Bloques <details> */
details {
    margin: 1em 0;
    padding: 0.5em 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Resumen */
summary {
    font-weight: bold;
    cursor: pointer;
    outline: none;
    font-size: 1.1em;
    color: #0a3d62;
}

/* Ocultar marcador por defecto */
summary::-webkit-details-marker {
    display: none;
}

/* Párrafos dentro de <details> */
details p {
    margin: 0.5em 0;
    line-height: 1.5em;
}

/* Pie de página */
footer {
    background: #eee;
    color: #555;
    text-align: center;
    padding: 2em 1em;
    margin-top: 2em;
    font-size: 0.9em;
}
