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

html {
    font-size: 16px; /* 1rem = 16px */
    font-family: "SpaceMono Regular", "Courier New", Courier, monospace;
}

/*:root {
    --color-0: #ffffff;
    --color-1: #ff6a70ff;
}*/

body {
    color: var(--color-1);
    font-size: 1.2rem;
}

footer {
    min-height: 5rem;
}

#topbar {
    width: 100%;
    padding: 1rem 2rem 1rem 2rem; /* top | right | bottom | left */
    justify-content: space-between;
}

.flex-end {
    justify-content: flex-end;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main-container {
    width: 100%;
    /* margin-bottom: 10rem; */
}

header {
    margin-bottom: 1.5rem;
}

/* #link-list */
a,
a:visited {
    color: var(--color-1);
    text-decoration: none;
    position: relative;
}

/* #link-list */
a:hover {
    /*font-weight: 900;*/
    /*text-decoration: underline var(--color-1);*/
    color: var(--color-0);
    background-color: var(--color-1);
}

::selection {
    background-color: var(--color-1);
}

/* BLOG */

.content-main-container {
    max-width: 40rem; /* 40rem = 640px, 50rem = 800px */
    margin: 0 2rem 0 2rem; /* in case of narrow screen */
}

.article-header {
    /* overflow: hidden; */
    margin-bottom: 2rem;
}

.article-header-image,
.article-content img {
    width: 100%;
    height: 100%;
}

.article-content {
    font-family: serif;
    font-weight: 400;
    /*font-style: italic;*/
    line-height: 1.8rem; /* 2rem */
    font-size: 1rem;
    color: #2b2b2b;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-title {
    font-family: "SpaceMono Bold";
}

.article-content h2 {
    font-weight: 400;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}
