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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #fcfcfc;
    color: #222;

    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
    line-height: 1.6;
    font-size: 1.1em;
}

header {
    color: #1c9db1;
    text-align: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

header h1 a {
    font-size: 0.75em;
    text-decoration: none;
    color: inherit;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 0.75em;
}

nav a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    padding: 2px 0;
}

nav a:hover,
nav a:focus {
    text-decoration: underline;
    color: #2fccd1;
}

main {
    padding: 20px 0;
}

main h1 {
    font-size: 1.25em;
    color: #000;
    text-align: center;
    padding-bottom: 10px;
}

h2,
h3,
h4,
h5,
h6 {
    color: #333;
    margin-top: 0.75em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

ul,
ol {
    margin-left: 20px;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

a {
    color: #007bff;
    text-decoration: underline;
}

/* a:visited {
    color: #663399;
} */

a:not(header a) hover,
a:focus {
    color: #0056b3;
}

footer {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid #ddd;
    font-size: 0.85em;
    color: #666;
}

code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    background-color: #eee;
    padding: 0.1em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

pre {
    background-color: #eee;
    padding: 1em;
    overflow-x: auto;
    border-radius: 5px;
    margin-bottom: 1em;
}