body {
    margin: 40px auto;
    line-height: 1.6;
    font-size: 18px;
    color: #444;
    background-color: #FFF;
    padding: 0 10px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    word-break: break-word;
}

h1, h2, h3 {
    line-height: 1.2
}

a:visited {

}

img {
    max-width: 100%;
}

span.subheading {
    font-size: 80%
}

header {
    width: 100%;
}

header .logo img {
    margin-left: -5px;
}

#nav {
    width: 25%;
    float: left;
}

section#content {
    border-left: 1px solid #444;
    width: 65%;
    float: left;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }

    section#content {
        padding-left: 15px;
    }

    #nav {
        padding-right: 15px;
    }

    #mobile-nav {
        display: none;
    }
}

@media (min-width: 992px) {
    .container {
        width: 950px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 950px;
    }
}

footer {
    margin-top: 15px;
    color: #868686;
}

.main-cols {
    display: flex;
    flex-wrap: wrap;
}

.col-6 {
    width: 50%;
    float: left;
}

@media only screen and (max-width: 767px) {
    nav#nav {
        display: none;
    }

    section#content {
        width: 100%;
        border-left: none;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.3em;
    }

    header .logo img {
        margin-left: 40px;
    }

    body {
        margin: 0 auto;
    }

    .col-6 {
        float: none;
        display: block;
        width: 100%;
    }
}


/* Hamburger menu section */
#menuToggle
{
    display: block;
    position: relative;
    top: 40px;
    left: 0;

    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input
{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #6b6c6b;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}

#menuToggle span:first-child
{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
    position: absolute;
    width: 65%;
    margin: -100px 0 0 -25px;
    padding: 50px 50px 20px;
    border-bottom: solid 1px rgba(255,255,255,.3);
    border-radius: 0 0 8px 0 ;

    background: rgba(252, 252, 252, 0.97);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(-100%, 0);

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ div
{
    transform: none;
}

.current-link {
    font-style: italic;
}