* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 300;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.content {
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
}

h3 {
    margin: 40px 0;
}

h4 {
    margin: 20px 0;
}

.text-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

footer nav a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: #495057;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    footer nav {
        flex-direction: column;
        gap: 1rem;
    }
}