* {
    font-family: system-ui, sans-serif;
    box-sizing: border-box;
    cursor: default;
    margin: 0;
    padding: 0;
}

html {
    background-color: #000;
    color: #fff;
    font-weight: normal;
    font-size: 18px;
    line-height: 2.1;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 3vh 0 0 0;
}

#container {
    margin: 0 auto;
    max-width: 50vw;
    padding: 0 20px;
    height: 100vh;
    vertical-align: middle;
}

a {
    display: inline-block;
    color: #fc9;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px dotted #fc9;
}

a:active,
a:focus,
a:hover {
    border-bottom: 1px dotted #fff;
}

#icon {
    border-radius: 3px;
    float: right;
    height: 72px;
    width: 72px;
}

.grid-cols-1-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.grid-cols-1-1>div:last-child {
    text-align: right;
}

.grid-cols-3-2 {
    display: grid;
    grid-template-columns: 3fr 2fr;
}

.grid-cols-3-2>div:last-child {
    text-align: right;
}

.grid-cols-3-1 {
    display: grid;
    grid-template-columns: 3fr 1fr;
}

.grid-cols-3-1>div:last-child {
    text-align: right;
}

.grid-cols-1-1-1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.section-title {
    margin: 1.5rem 0 0 0;
}

em {
    color: #fc9;
    font-style: normal;
}

a em {
    cursor: pointer;
}

a img {
    cursor: pointer;
    width: 100%;
}

code {
    color: #fc9;
    font-family: Jetbrains Mono, monospace;
    font-size: 0.9rem;
    user-select: all;
}

ol,
ul {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

ol {
    margin: 1rem 0 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.5rem;
}

details summary {
    list-style: none;
    cursor: pointer;
}

section {
    margin: 2rem 0 0 0;
}

ul.grid-cols-1-1-1 {
    list-style: square;
    margin-left: 1rem;
}

blockquote {
    margin: 0;
    padding: 0 0 0 1rem;
    border-left: 0.3rem solid #999;
    color: #999;
}

@media (max-width: 580px) {

    #container {
        max-width: 90vw;
    }

    .grid-cols-1-1,
    .grid-cols-3-1,
    .grid-cols-3-2 {
        grid-template-columns: 1fr;
    }

    .book-wall,
    .grid-cols-1-1-1 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-color-scheme: light) {
    html {
        background-color: #fff;
        color: #000;
    }

    a {
        color: #a85f3c;
        border-color: #a85f3c;
    }

    a:active,
    a:focus,
    a:hover {
        border-bottom: 1px dotted #000;
    }

    em {
        color: #a85f3c;
    }

    code {
        color: #a85f3c;
    }

    #icon {
        border: 1px dotted #a85f3c;
    }

    #icon:active,
    #icon:focus,
    #icon:hover {
        border: 1px dotted #000;
    }
}