@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* It seems fonts must start at the bottom or do not work.
 */

body
{
    max-width: min(800px, 100vw - 2rem);
    margin: 0 auto;
    padding: 6em 1em 0;
}

img
{
    max-height: 450px;
    max-width: 750px;
    margin-left: 25px;
    margin-bottom: 25px;
}

/*
 * Logo
 */

div.logo {
    position: fixed;
    top: 1em;
    left: 1em;
    z-index: 1000;
}

span.logo
{
    font-family: "Anton", sans-serif;
    font-size: 3.5rem;
    position: relative;
    display: inline-block;
}

a.logo {
    position: relative;
    display: inline-block;
}

a.logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -0.3em;
    right: -0.3em;
    height: 50%;
    background: gold;
    z-index: -1;
}

a.logo,
a.logo:hover,
a.logo:active {
  text-decoration: none;
  padding: 0;
  margin: 0;
  border: none;
}

/* Article Title
 */
h1.article-title
{
    font-family: "Anton", sans-serif;
    font-size: 3.3rem;
}

/* Markdown h1
 */
h1
{
    font-family: "Anton", sans-serif;
    font-size: 3rem;
}

/* Category names
 */
h2
{
    font-family: "Anton", sans-serif;
    font-size: 2.8rem;
}

/* Article links */
a
{
    text-decoration: none;
    color: black;
    font-family: "Anton", sans-serif;
    font-size: 2.6rem;
}

/* Remove bullets */
ul
{
    list-style: none;
    padding-left: 0;
}

p
{
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

p.article-date-time
{
    font-style: italic;
}

p.quote
{
    font-style: italic;
}

a
{
    text-decoration: none;
    color: black;
}

a:hover
{
    text-decoration: none;
    background-color: gold;
}

a:visited
{
    text-decoration: none;
    color: black;
}

a:visited:hover
{
    text-decoration: none;
    background-color: gold;
}
