/* Modern CSS with standard margins and fonts */
:root {
    --primary-color: #333;
    --background-color: #fff;
    --footer-bg: #f5f5f5;
    --link-color: #0066cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
}

p {
    margin-bottom: 1.2rem;
}

main {
    flex: 1;
}

footer {
    background-color: var(--footer-bg);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

footer a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
}

.space {
    display: block; /* ensures it takes up space */
    width: 100%;
    height: 30px;
    min-height: 30px;
}