@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,700;1,400&family=Bowlby+One&display=swap');

:root {
    --black: #414141;
    --gray: #808080;
    --light-gray: #f4f4f4;
    --white: #ffffff;

    --blue: #3e53a6;
    --orange: #E86556;
}

html {
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: var(--black);
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.7rem;
}

h4 {
    font-size: 1.5rem;
}

p, ul {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray);
}

a {
    color: var(--blue);
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

p:not(:last-child), ul:not(:last-child), ol:not(:last-child) {
    margin-bottom: 1rem;
}

ul li, ol li {
    font-size: 1.25rem;
    line-height: 1.3;

    list-style: outside;
    margin-bottom: .7rem;
    margin-left: 2rem;

    color: var(--gray);
}

ul li {
    list-style: disc;
}

ol li {
    list-style: decimal;
}

li ul {
    margin-top: .5rem;
}

header {
    font-family: 'Bowlby One', sans-serif;
}

header img {
    height: 3.5rem;
    width: auto;
}

header, section, footer {
    padding: 3rem;
}

article {
    padding: 2rem 3rem 1rem 3rem;;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.callout, .callout p {
    background: var(--blue);
    color: var(--white);
}

.callout a {
    color: var(--white);
}

.callout h2 a {
    text-decoration: none;
}

section {
    position: relative;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.5rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.card {
    border-radius: .25rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: 0 0.125rem 0.25rem var(--light-gray) !important;
    color: var(--black);

    padding: 1rem 1rem 3rem;
    min-height: 12rem;
    text-decoration: none;
    position: relative;
}

.card h3 {
    color: var(--black);
}

.card *:first-child {
    margin-top: 0;
}

.card p {
    margin-top: 2rem;
    line-height: 1.2;
}

.card .tags {
    margin-top: 1.75rem;
    margin-bottom: 1.25rem;

    position: absolute;
    bottom: 0;
}

.card .tag {
    border-radius: .25rem;
    padding: 0.3rem;
    background-color: var(--gray);

    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
}

footer {
    background-color: var(--black);
    color: var(--white);
}

img {
    display: flex;
    width: 50%;
    height: auto;
    justify-content: space-around;
}

.download-link {
    position: absolute;
    top: -1.5rem;
    right: 0;

    display: flex;
    height: 3rem;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    border-radius: 4px;
    color: #fff;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    font-weight: 700;

    background: #ed804a url("/images/download.svg") no-repeat 6px;
    padding: 0 1rem 0 33px;
    margin-right: 2rem;
}

pre, code {
    font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
    font-size: 14px;
    background-color: #f6f8fa;
    width: 100%;
    border-radius: 2px;
}

pre {
    padding: 0 5px 5px 0;
    margin: 2.5em 50px 2.5em 0;
    overflow: auto;

    border-top: 1px solid #dfe2e5;
    border-right: 1px solid #dfe2e5;
    border-bottom: 1px solid #dfe2e5;
    border-left: 10px solid #dfe2e5;
}

code.shell {
    position: relative;
    padding-left: 20px;
    color: black;
    display: inline-block;
}

code.shell:first-child {
    margin-top: 1.5rem;
}

code.shell::before {
    content: '$';
    color: var(--blue);
    position: absolute;
    top: 0;
    left: 4px;
}

code {
    padding: 1rem 5px;
    margin: 0 3px;
    line-height: 1.5em;
}

pre code {
    display: block;
    box-shadow: none;
}

@media screen and (max-width: 800px) {
    header img {
        width: 100%;
        max-width: 30rem;
        height: auto;
    }

    header, section, footer {
        padding: 1.5rem;
    }

    .desktop-only {
        display: none;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .download-link {
        height: 1.75rem;
        top: -.875rem;
    }
}
