/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Header superior */
.head {
    background-color: #2c3e50;
    color: white;
    padding: 1.5em 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.navbar {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #1abc9c;
}

/* Secciones */
.content {
    background-color: white;
    margin: 2em auto;
    padding: 2em;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.title {
    font-size: 1.8em;
    margin-bottom: 1em;
    color: #2c3e50;
}

.content p, .content a {
    font-size: 1.05em;
    margin-bottom: 1em;
}

.content a {
    color: #2980b9;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #ecf0f1;
    padding: 1em;
    text-align: center;
    font-size: 0.9em;
    color: #7f8c8d;
}

/* Responsive */
@media (max-width: 600px) {
    .head {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        flex-direction: column;
        gap: 0.5em;
        margin-top: 1em;
    }
}
