/* Typography from Gridlover */
html,
.root {
    font-size: 14px;
    line-height: 20px;
}

body,
.article {
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1.4285714rem;
    max-width: 800px;
    margin: auto;

    /* Flex column for header / layout / footer */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
.h1 {
    font-size: 3.3571429rem;
    line-height: 4.2857143rem;
    margin-top: 1.4285714rem;
    margin-bottom: 2.8571428rem;
}

h2,
.h2 {
    font-size: 2.2857143rem;
    line-height: 2.8571429rem;
    margin-top: 1.4285714rem;
    margin-bottom: 1.4285714rem;
}

h3,
.h3 {
    font-size: 1.5rem;
    line-height: 2.8571429rem;
    margin-top: 1.4285714rem;
    margin-bottom: 0rem;
}

h4,
.h4 {
    font-size: 1rem;
    line-height: 1.4285714rem;
    margin-top: 1.4285714rem;
    margin-bottom: 0rem;
}

h5,
.h5 {
    font-size: 1rem;
    line-height: 1.4285714rem;
    margin-top: 1.4285714rem;
    margin-bottom: 0rem;
}

p,
ul,
ol,
pre,
table,
blockquote {
    margin-top: 0rem;
    margin-bottom: 1.4285714rem;
}

ul ul,
ol ol,
ul ol,
ol ul {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

/* Let's make sure all's aligned */
hr,
.hr {
    border: 1px solid;
    margin: -1px 0;
}

a,
b,
i,
strong,
em,
small,
code {
    line-height: 0;
}

sub,
sup {
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}