@import "theme.css";

body,
html {
    width: 100%;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 800px) {
    html,
    body {
        font-size: 0.9em;
    }
}

html {
    scroll-behavior: smooth;
}

:root {
    background-color: var(--bg-color-h);
    color: var(--text-color);
    font-family: "Georgia", "Palatino Linotype", "Palatino", "Times New Roman", "Times", serif;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

a {
    color: var(--blue)
}

header h1 a {
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav a {
    text-decoration: none;
}

main article {
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--blue);
}

.post-meta {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--gray)
}

.post-content p {
    margin-bottom: 1rem;
}

.article-header {
    text-decoration: none;
    color: var(--text-color);
}

footer {
    position: relative;
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
}

.main-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
}

main {
    width: 800px;
    max-width: 90vw;
}
