@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Roboto:wght@400;700&display=swap');

/* General Typography */
html {
    font-size: 15px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    background-color: #fefefe;
    color: #030303;
    line-height: 1.6;
}

body a {
    font-weight: 400;
    color: #0073e6;
    text-decoration: none;
}

body a:hover {
    color: #005bb5;
    text-decoration: underline;
}

/* Headings */
body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

body h1 {
    font-size: 2em;
}

body h2 {
    font-size: 1.5em;
}

body h3 {
    font-size: 1.2em;
}

body h4 {
    font-size: 1em;
}

body h5 {
    font-size: 0.9em;
}

body h6 {
    font-size: 0.8em;
}

/* Post-specific heading overrides */
.post h1 {
    font-size: 2em;
}

.post h2 {
    font-size: 1.5em;
}

.post h3 {
    font-size: 1.2em;
}

.post h4 {
    font-size: 1em;
}

.post h5 {
    font-size: 0.9em;
}

.post h6 {
    font-size: 0.8em;
}

/* Code and Preformatted Text */
code, kbd, pre, samp {
    font-family: 'Roboto Mono', monospace;
    background-color: #f5f5f5;
    padding: 4px 6px;
    border-radius: 4px;
}

.container {
    max-width: 56em;
    margin: 1em auto;
}

@media screen and (max-width: 640px) {
    .container {
        margin: 0.8em;
    }
}

.container .post {
    font-size: 1.15em;
}

.container .post code {
    font-size: 0.9em;
    color: #d63384;
    background-color: #f8f9fa;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Navigation */
.nav {
    list-style: none;
    padding-left: 0;
}

.nav li {
    display: inline-block;
    margin-right: 0.56em;
}

@media screen and (max-width: 640px) {
    .nav li {
        display: block;
        margin-right: 0;
    }
}

/* Blog Header */
.container .blog-header {
    margin-bottom: 3em;
    position: relative;
    text-align: center;
}

.container .blog-header h1 {
    font-size: 3em;
    margin-bottom: 0.4em;
}

/* Footer */
.container .blog-footer {
    margin-top: 2em;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

th, td {
    border: 1px solid #ccc;
    padding: 0.75em;
    text-align: left;
}

th {
    background-color: #f0f0f0;
    font-weight: 600;
}

tr:hover {
    background-color: #f9f9f9;
}