* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, helvetica neue, helvetica, roboto, noto, segoe ui, arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

section {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 15vh 5vw;
    border-top: solid 2px rgba(0, 0, 0, 0.1);
}

section:first-of-type {
    border-top: none;
}

aside {
    border-style: solid;
    border-radius: 0.2em;
    border-color: rgba(0, 0, 0, 0.1);
    border-width: 0.08em;
    padding: 1em;
    margin-bottom: 1em;
}

body.is-presentation-mode aside {
    display: none;
}

img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 1em 0;
}

img.is-small {
    width: 60%;
}

img.is-very-small {
    width: 40%;
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: solid rgba(0, 0, 0, 0.2) 0.08em;
    padding-bottom: 0.08em;
}

a:hover {
    border-bottom-color: black;
}

h1 {
    font-size: 3rem;
    font-weight: 500;
}

h2 {
    font-weight: 500;
    font-size: 1.6rem;
}

h1, h2, h3, p, li {
    margin: 0;
    margin-bottom: 1em;
    max-width: 40em;
}

p:last-child,
li:last-child {
    margin: 0;
}

ul, ol {
    margin-left: 2rem;
}

code {
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Inconsolata', 'Deja Vu', monospace;
    font-size: 0.9em;
}

.title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2em;
}

.title > * {
    margin: 0;
}

.steps {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.2em;
    padding: 1em;
    margin: 1em 0;
    list-style: none;
    overflow: hidden;
}

.steps li {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.steps li div:first-child {
    width: 8em;
    flex-shrink: 0;
    margin-bottom: 1em;
}

.steps li div:last-child {
    margin-left: 1em;
}

.table {
    margin-left: 0;
    margin-bottom: 3em;
}

.table li {
    display: flex;
    width: 100%;
}

.table li div {
    width: 50%;
    padding-right: 2em;
}

@media (min-width: 700px) {
    html {
        font-size: 22px;
    }

    section {
        padding: 20vh 10vw;
    }

    .steps li {
        flex-direction: row;
    }

    .steps li div:first-child,
    .steps li div:last-child {
        margin: 0;
    }
}
