@font-face {
    font-family: "ZedMono";
    src: url("ZedMono.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ZedSans";
    src: url("ZedSansRegular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ZedSans";
    src: url("ZedSansItalic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "ZedSansBold";
    src: url("ZedSansBold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-size-base: 13.5px;
    --text-font: "ZedSans";
    --code-font: "ZedMono";
    --line-height: 1.5;
    --page-width: 80%;
    --text-0: #212121;
    --text-1: #666666;
    --text-2: #b3b3b3;
    --bg-0: #fff;
    --bg-1: #fafafa;
    --bg-2: #ededed;
    --border-color: var(--bg-2);
    --primary-color: #ef5350;
    --secondary-color: #2e7d32;
    --hover-color: white;
    --icon-filter: none;
}

html {
    background-color: var(--bg-0);
    color: var(--text-0);
    font-family: var(--text-font);
    line-height: var(--line-height);
    font-size: var(--font-size-base);
}

html body ::selection {
    background: var(--primary-color);
    color: var(--hover-color);
}

html body a {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

html body a:hover {
    background-color: var(--primary-color);
    color: var(--hover-color);
}

html body p {
    color: var(--text-1);
}

html body .content {
    max-width: var(--page-width);
    margin: 1rem auto 1rem auto;
    height: fit-content;
}

html body .content h1::before,
html body .content h2::before,
html body .content h3::before,
html body .content h4::before,
html body .content h5::before,
html body .content h6::before {
    color: var(--primary-color);
    content: "# ";
}
