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

h1 {
    font-size: 30px;
}

.back-link, .back-link:visited, .back-link:active {
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration:underline;
}

body {
    font-family: 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    color: #333;
    background-color: #e8e6e3;
}

nav {
    width: 100%;
    background: #e8e6e3;
    padding: 16px;
    border-bottom: 1px solid #9a9797;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-right: 80px;
}

nav h1 a {
    color: #333;
    text-decoration: none;
}

nav h1 a:hover {
    text-decoration: underline;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

nav ul a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
}

nav ul a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

main h1, main h2, main h3 {
    margin-top: 1.0em;
    margin-bottom: 0.5em;
}

main h1 {
    font-size: 40px;
}

main p {
    line-height: 1.6;
    margin-bottom: 0em;
    font-size: 1.2em;
}

main code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

main pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1em 0;
}

main pre code {
    background: none;
    padding: 0;
}
 main ul {
    list-style: none;
    padding-left: 0;
}

.entry-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.entry-item a {
    color: #333;
    text-decoration: none;
}

.entry-item a:hover {
    text-decoration: underline;
}

.entry-meta {
    color: #666;
}

.entry-date {
    white-space: nowrap;
}

.warning-block {
    border-left: 5px solid #fca311;
    background: #fffbe7;
    padding: 0.5em;
    margin: 1em 0;
    color: #874c00;
    font-family: inherit;
    border-radius: 6px;
}

.info-block {
    border-left: 5px solid #0074d9;
    background: #e8f6ff;
    padding: 0.5em;
    margin: 1em 0;
    color: #004080;
    font-family: inherit;
    border-radius: 6px;
}
