body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

h1,
h2,
h3,
h4 {
    font-weight: normal;
    color: #111;
    margin: .5rem 0 1rem 0;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

blockquote {
    border-left: 2px dotted #aaa;
    margin-left: 1rem;
    padding: 1px 2rem;
    font-style: italic;
}

blockquote p {
    font-size: 1.4rem;
    line-height: 2rem;
    margin: .6rem;
}

article {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: #888 dotted 4px;
}

article.full {
    padding-top: 2rem;
    border-bottom: none;
}

.article-header {
    margin-top: 0;
    line-height: 1.2em;
}

.article-header a {
    text-decoration: none;
}

.container {
    max-width: 768px;
    margin: 1rem auto;
    padding: 1rem 3rem 2rem 3rem;
    background-color: #fff;
    border-radius: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header>a::before {
    content: '//';
    color: #888;
    letter-spacing: -.9rem;
    padding-right: .1rem;
}

header>a {
    font-size: 4rem;
    color: #111;
    display: block;
    margin-bottom: 1rem;
}

header a {
    text-decoration: none;
}

p {
    text-align: justify;
}

p,
li {
    line-height: 1.4rem;
}

li {
    padding-top: .4rem;
}

code {
    font-family: Consolas, monospace;
    background-color: #ddd;
    color: #333;
    padding: 1px 2px;
}

pre,
pre code {
    background-color: inherit;
    color: inherit;
    padding: 0;
    line-height: 1.5;
    font-size: 0.8rem;
}

pre {
    padding: 1rem;
    white-space: pre-wrap;
    border-radius: .5rem;
    overflow-x: auto;
}

hr {
    border: none;
    border-top: #888 dotted 4px;
    margin: 1.5rem 0;
}

a {
    color: #333;
}

article a:visited {
    color: #666;
}

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

footer {
    color: #555;
    font-size: .7rem;
    text-align: right;
    margin-top: 5px;
    /* border-top: solid 2px #888; */
}

img {
    border: none;
    max-width: 100%;
    display: inline-block;
}

.hidden::after {
    content: attr(data-domain);
}

.hidden::before {
    content: attr(data-user);
}

nav ul {
    display: flex;
    margin: 0;
    padding: 0 0 1rem 0;
    list-style: none;
    flex-flow: wrap;
    justify-content: space-around;
}

nav li {
    padding: 0;
    font-size: 1.2rem;
    margin: .5rem 0 0 0;
    border-radius: 1rem;
    transition: background-color 0.5s ease;
}

nav a {
    display: inline-block;
    padding: .5rem 2rem .5rem 2rem;
}

nav li.active {
    background-color: #ccc;
}

nav li:hover {
    background-color: #eee;
}

time {
    color: #888;
    font-size: .9rem;
}

.time-and-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tags-article-head {
    text-align: right;
}

.tags {
    display: flex;
    flex-wrap: wrap;
}

.tags a,
.tags a:visited {
    font-size: .9rem;
    text-decoration: none;
    background: #ccc;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-style: normal;
    transition: background-color 0.5s ease;
    margin: 1px;
    display: inline-block;
}

.tags a:hover {
    background: #eee;
}


a.more {
    font-size: .9rem;
    color: #888;
    text-decoration: none;
}

ul {
    list-style: square;
}

em {
    background-color: #eee;
    padding: 2px 4px;
    border-radius: 4px;
}

.floating-image {
    float: right;
    width: 300px;
    height: 300px;
    margin-left: 2rem;
    max-width: 100%;
}



@media only screen and (max-width : 800px) {

    .container {
        margin: 0;
        padding: 1rem;
        border-radius: 0;
    }

    nav a {
        padding: .5rem 1rem .5rem 1rem;
    }
}