:root {
    --text-color: #001b44;
    --accent-color: #013878;
    --accent-color-light: #19b0bd;
    --header-background: #fdffff;
    --header-text-color: #293133;
    --light-grey: #bdccd4;
    --background-color: #fdfdfd;
    --highlight-color: #FF7381;
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300 800;
    font-stretch: 100%;
    font-display: swap;
    src: url(/fonts/opensans_ital.woff2) format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-stretch: 100%;
    font-display: swap;
    src: url(/fonts/opensans_normal.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Code Pro';
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
    src: url(/fonts/sourcecodepro_ital.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url(/fonts/sourcecodepro_normal.woff2) format('woff2');
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 20px;
    background-color: var(--background-color);
    box-sizing: border-box;
    line-height: 150%;
    color: var(--text-color);
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

h1, h2, h3, p, ul, li, blockquote {
    margin: 0;
}

h1, h2, h3 {
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

h1 {
    font-size: 36px;
    line-height: 36px;
    margin-top: 40px;
}

h2 {
    font-size: 30px;
    line-height: 30px;
    margin-top: 34px;
}

h3 {
    font-size: 24px;
    line-height: 24px;
    margin-top: 28px;
}

p {
    margin: 16px 0;
}

small, time, address {
    font-size: 12px;
    color: var(--header-text-color);
}

.logo img {
    width: 285px;
    height: 50px;
}

.button,
.button:visited {
    padding: 20px 28px;
    background-color: var(--accent-color-light);
    color: var(--header-text-color);
    border: 0;
    border-radius: 10px;
}

.button-small {
    padding: 12px 20px;
}

.button:hover {
    background-color: var(--accent-color-light);
    color: #ffffff;
    text-decoration: none;
}


header {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 10px 40px;
    background-color: var(--header-background);
    border-bottom: 1px solid var(--light-grey);
    color: var(--background-color);
}

nav {
    display: flex;
    justify-content: right;
    align-items: right;
    flex-grow: 1;
    flex-shrink: 0;
}

.menu {
    margin: 0px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    min-width: 0;
}

    .menu li {
        margin: 0;
        padding: 0;
    }

    .menu a,
    .menu a:visited {
        list-style: none;
        display: inline-block;
        padding: 10px 20px;
        text-decoration: none;
        color: var(--header-text-color);
        transition: all 0.3s ease 0s;
    }

        .menu a:hover {
            background-color: var(--light-grey);
        }

.hero-text {
    height: 36px;
    background-color: var(--header-background);
    content: "";
    border-bottom: 4px solid var(--accent-color);
}

blockquote {
    margin: 20px 20 60px 20;
    padding: 0 0 0 12px;
    letter-spacing: 1px;
    line-height: 28px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    font-variation-settings: "wdth" 100;
    font-size: 24px;
    border-left: 2px solid var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    height: 32px;
    width: 32px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    font-size: 24px;
}

code {
    font-family: "Source Code Pro", monospace;
    font-size: 16px;
    line-height: 20px;
    width: 100%;
}

p code {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    background-color: #f0f0f0;
    padding: 4px;
}

.hamburger:hover {
    opacity: 0.8;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

.content {
    max-width: 800px;
    margin: 0px auto;
}

.sidebar {
    width: 480px;
    background-color: var(--accent-color-light);
    padding: 20px;
    border-radius: 8px;
}

.section-2 p {
    letter-spacing: 1px;
}

.breadcrumb {
    justify-content: left;
    align-items: center;
}

    .breadcrumb ol {
        padding-left: 0;
    }

    .breadcrumb li {
        display: inline;
    }

        .breadcrumb li:not(:last-child)::after {
            content: ">";
        }

footer {
    background-color: var(--header-background);
    color: var(--background-color);
    font-size: 12px;
    margin-top: 40px;
}

    footer .wrapper {
        justify-content: center;
    }

    footer a,
    footer a:visited {
        color: var(--background-color);
        text-decoration: none;
    }

        footer a:hover {
            color: var(--light-grey);
        }

table {
    width: 100%;
    border-collapse: collapse;
}

a, a:visited {
    color: var(--accent-color-light);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.menu ul,
.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc {
    padding: 20px 0px;
}

.toc-title {
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

.toc a {
    color: var(--highlight-color);
    text-decoration: none;
    font-size: 14px;
    border-left: #ddd 1px solid;
    padding-left: 10px;
}

    .toc a:hover {
        color: var(--highlight-color);
        text-decoration: underline;
    }

    .toc a:visited {
        color: var(--highlight-color);
    }

.titles {
    font-size: 14px;
}

    .titles a {
        color: #000;
        text-decoration: none;
    }

        .titles a:hover {
            text-decoration: underline;
        }

        .titles a:visited {
            color: #555;
        }

pre {
    overflow-x: auto;
    min-width: 0px;
    margin: 10px;
}

.highlight {
    background-color: #282722;
    color: #f8f8f2;
    width: 100%;
    padding: 10px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    display: none;
    font-size: 12px;
}

.cookie-wrapper {
    background-color: var(--header-text-color);
    color: var(--header-background);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    box-shadow: 0 4px 8px 4px rgba(255,255,255,0.2);
    transition: 0.3s;
}

.cookie-button {
    margin-left: 8px;
    display: inline;
    padding: 0;
    border: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    background: transparent;
    color: var(--accent-color-light);
}

    .cookie-button:hover {
        background: transparent;
        color: #ffffff;
    }

.active {
    display: block;
}

@media (width <=1000px) {
    .logo img {
        width: 143px;
        height: 25px;
    }

    body {
        font-size: 16px;
    }

    header {
        padding: 10px 16px;
    }

    .content {
        max-width: 100%;
        margin: 0px 16px;
    }

    table {
        table-layout: fixed;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

        .menu.active {
            display: flex;
        }

    .hamburger {
        display: block;
    }

    blockquote {
        margin: 0 0 30px 0;
        font-size: 20px;
        letter-spacing: 1px;
        line-height: 24px;
        border-left: 2px solid var(--accent-color);
    }

    .cookie-wrapper {
        width: 100%;
        padding: 10px;
    }
}
