@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
    --text-primary: #e0def4;
    --text-secondary: #65b1cd;
    --text-footer: #817c9c;
    --prompt: #f0a6cc;
    --url-color: #f0a4a2;
    --background: #232136;
    --code-color: #a6dae3;
    --code-background: #433c59;
    --subheader-background: #a3be8c;
    --subheader-color: #232136;
}

body {
    background: var(--background);
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    color: var(--text-primary);
    min-height: 90vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    align-items: center;
}

h2,
h3 {
    display: inline-block;
    padding: 0 0.5em;
    margin-bottom: 0;
    margin-top: 0;
    background-color: var(--subheader-background);
    color: var(--subheader-color);
}

a {
    color: var(--url-color);
    text-decoration: none;
}

a:hover {
    color: var(--text-secondary);
}

ul li::marker {
    content: '> ';
}

footer {
    margin-top: 75px;
    color: var(--text-footer);
}

blockquote {
    border-left: 3px solid;
    padding-left: 15px;
    margin-left: 0.5em;
}

code {
    font-style: italic;
    color: var(--code-color);
}

pre {
    font-style: italic;
    border: 2px dotted var(--code-color);
    padding: 0.5rem;
    white-space: pre-wrap;
}

div.collapse-header {
    color: var(--url-color);
    cursor: pointer;
}

div.collapse-header:hover {
    color: var(--text-secondary);
}

div.collapse-content {
    display: none;
}

div.collapse-content.expanded {
    display: inherit;
}

.main-container {
    width: 100%;
    max-width: 80ch;
}

.text-secondary {
    color: var(--text-secondary);
}

img {
    width: 100%;
    max-width: 80ch;
    height: auto;
}

/* Respooooonsive */
@media (min-width:600px) {
    body {
        font-size: 1.25rem;
    }
}
