:root {
    --text: #ededed;
    --background: #1a1e22;
    --primary: #133b6e;
    --secondary: #3869b3;
    --accent: #cc99ff;
    --highlight: #cc99ff;
}

:root {
    --border-color: var(--accent);
    --headings-color: var(--text);
    --link-color: var(--highlight);
}

body {
    box-sizing: border-box;
    background-color: var(--background);
    color: var(--text);
    font-family: Helvetica, Arial, sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
    font-display: swap;
    line-height: 1.6;
    margin: 0 auto;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    font-size: 100%;
} /* 16px */

h1 {
    font-size: 1.99rem; /* 31.84px */
}

h2 {
    font-size: 1.658rem; /* 26.56px */
}

h3 {
    font-size: 1.382rem; /* 22.08px */
}

h4 {
    font-size: 1.152rem; /* 18.4px */
}

h5 {
    font-size: 0.96rem; /* 15.36px */
}

small {
    font-size: 0.667rem; /* 10.72px */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--headings-color);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-top: 8px;
}

table {
    margin-bottom: 1rem;
    width: 100%;
    border: 0 solid var(--border-color);
    border-collapse: collapse;
}

td,
th {
    padding: 0.25rem 0.5rem;
    border-color: inherit;
    border-style: solid;
    border-width: 1px;
}

th {
    text-align: left;
}

thead th {
    border-bottom-color: currentColor;
}

.container {
    max-width: 800px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 10px;
}

@media (min-width: 576px) {
    .container {
        width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1140px;
    }
}

hr {
    background-color: var(--border-color);
}

blockquote {
    border-left: 4px solid var(--border-color);
    margin-left: 0px;
    padding-left: 10px;
}

a {
    border-bottom: 2px solid transparent;
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    border-bottom: 2px solid var(--link-color);
    text-decoration: none;
}

main {
    color: var(--text);
    font-size: 1rem;
}

main img {
    max-width: 100%;
}

header {
    padding-top: 4px;
    padding-bottom: 4px;
}

section {
    border-radius: 5px;
    padding: 5px 20px;
}
