/* titulos.css */

/* Estilos generales para h1 y h2 */
h1, h2 {
    text-align: center;
    font-weight: 600;
    color: #222; /* Puedes ajustar este color */
    margin: 20px 0; /* Margen arriba y abajo */
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

.nav-menu li a.active {
    font-weight: bold;
    color: var(--primary-color); /* Usa el color principal de tu diseño */
    border-bottom: 2px solid var(--primary-color);
}


/* Estilos del encabezado (header) */
header {
    background-color: #f2f2f2;
    color: #000;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
     height: 60px;
    transition: background-color 0.3s ease;
 /*   box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);0 */
    height: 60px;
}

.scrolled {
    background-color: #f2f2f2;;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); 
}

nav ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    max-width: 980px;
    height: 100%;
    align-items: center;
}

nav li {
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 12px;
    padding: 8px 0;
    border: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #000;
}

/* Estilos del footer */
footer {
    background-color: #f2f2f2;
    color: #777;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    bottom: 0px;
}  