@font-face {
    font-family: "Noto Sans Mono";
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notosansmono/v30/BngcUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZ2evCj_9SrdQ.woff2)
        format("woff2");
}

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

body {
    background-color: #2b303b;
    color: #dfe1e8;
    font-family: "Noto Sans Mono", monospace;
    line-height: 1.6;
    counter-reset: line-number; /* Initialize line number counter */
}

header,
main,
footer {
    margin: 1em auto;
    display: flex;
    max-width: 50rem;
}

header h1,
footer small {
    padding-left: 4rem;
}

header svg {
    width: 20rem;
}

/* Gutter */
aside {
    width: 3rem;
    background-color: #343d46;
    padding: 1rem 0 1rem;
}

/* Main Content */
section {
    flex: 1;
    padding: 1rem;
}

/* Line Numbers */
section > p,
section > ul > li {
    counter-increment: line-number; /* Increment for direct children */
    position: relative;
}

section > p::before,
section > ul > li::before {
    content: counter(line-number);
    position: absolute;
    left: -4rem;
    top: 0;
    width: 2.5rem;
    text-align: right;
    color: #65737e;
}
section > ul > li::before {
    left: -5rem;
}

ul,
li {
    padding-left: 1rem;
}

a {
    color: #96b5b4;
}

a:hover {
    color: #b48ead;
    font-weight: 600;
}

code {
    color: #eff1f5;
    font-style: italic;
}

mark {
    color: #d08770;
    background: none;
}

var {
    color: #a3be8c;
    font-style: normal;
}

samp {
    color: #bf616a;
}

small {
    color: #c0c5ce;
    font-size: smaller;
}
