html {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1em;
    overflow-wrap: break-word;
}

body {
    position: relative;
    margin: 52px 0;
}

.center-content {
    position: relative;
    max-width: 680px;
    padding: 0 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
}

p {
    text-align: justify;
}

img {
    max-width: 100%;
}

a {
    color: black;
}

.tag {
    font-size: 14px;
    margin-bottom: 6px;
    background-color: #cda423;
    color: white;
    margin-right: 6px;
    padding: 2px 4px;
    border-radius: 5px;
    display: inline-block;
}

.published-date {
    font-size: 14px;
    color: #616161;
    margin-top: 6px;
    margin-bottom: 6px;
}

h1 {
    margin-bottom: 0;
    margin-right: 30px;
    font-weight: normal;
}

h2 {
    font-weight: normal;
}

h3 {
    font-weight: normal;
}

code {
    font-family: "Inconsolata", monospace;
}

pre {
    border: 1px red;
    border-radius: 6px;
    background-color: #f5ffff;
    border: solid 1pt #c1e7ff;
    padding: 10px;
    overflow-x: auto;
}

blockquote {
    margin: 0;
    border-left: 5px solid #e6e6e6;
    padding-left: 10px;
}

/* Title bar */

.title-bar {
    z-index: 5;
    position: sticky;
    top: 0;
    background-color: white;
}

.title-bar-title {
    font-weight: normal;
    font-size: 22px;
    font-variant: small-caps;
    display: inline-block;
    color: #616161;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
}

.title-bar-seperator {
    z-index: 2;
    background-color: black;
    opacity: 0.1;
    position: sticky;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    margin: 1px 0;
}

.title-bar-seperator-hide {
    z-index: 3;
    position: relative;
    top: -3px;
    height: 3px;
    width: 100%;
    background-color: white;
    /* mobile safari fix */
    -webkit-transform:translate3d(0,0,0);
}

/* Menu */

.menu {
    position: sticky;
    top: 0;
    z-index: 20;
}

.inactive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.5;
    z-index: 5;
}

.menu-hidden {
    display: none;
}

.show-menu .menu-hidden {
    display: block;
}

.menu-button {
    position: absolute;
    top: 5px;
    right: 42px;
    padding: 8px;
    cursor: pointer;
    color: #979797;
}

.menu-button > svg {
    display: block;
}

.show-menu .menu-button {
    color: #4339B0;
}

.menu-dropdown {
    position: absolute;
    right: 42px;
    top: 35px;
    margin: 11px 0;
    padding-top: 6px;
    background-color: #4339B0;
    border-radius: 6px;
}

.menu-dropdown > a {
    display: block;
    padding: 6px 12px;
    min-width: 160px;
    text-decoration: none;
    color: white;
}

.dropdown-row {
    height: 40px;
    padding: 0 2px;
}

.dropdown-row > a {
    display: inline-block;
    width: 40px;
    height: 100%;
}

.menu-dropdown a:hover {
    background-color: #3329A0;
}

.dropdown-seperator {
    position: relative;
    width: 100%;
    height: 1px;
    margin-left: 12px;
    margin-top: 6px;
    background-color: white;
    opacity: 0.25;
}

#linkedin-icon {
    display: block;
    height: 29px;
    margin: 5px;
}

#github-icon {
    display: block;
    height: 24px;
    margin: 8px;
}

#feed-icon {
    display: block;
    height: 28px;
    margin: 6px;
}

@media only screen and (max-width: 520px) {
    .center-content {
        padding: 0 24px;
        font-size: 0.9375em;
    }

    .menu-button {
        right: 16px;
    }

    .menu-dropdown {
        right: 16px;
    }

    body {
        margin: 22px 0;
    }

    .published-date {
        display: block;
    }
}

