body {
    margin: 0px;
}

mark {
    background: #F1C40F;
    display: inline-block;
    font-weight: bold;
    padding: 0px 6px 1px 6px;
    border-radius: 1px;
    margin-bottom: -1px;
}

.cover {
    width: 100%;
    height: 75vh;
}

.cover-img {
    height: 100%;
    position: fixed;
    width: 100%;
    background-size: cover;
    background-position: center;
}

#progress {
    position: fixed;
    z-index: 10;
    height: 3px;
    background: #000;
}

main {
    position: relative;
    z-index: 0;
    background-color: #fdfdfd;
}

.cover ~ main > article {
    position: relative;
    top: -5rem;
}

article {
    max-width: 100%;
    width: 55rem;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.9rem;
    color: #333;
    padding: 1rem 4rem;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: #fdfdfd;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    word-wrap: break-word;
}

article:before, article:after {
    content: "";
    position: absolute;
    top: 15px;
    z-index: -1;
    display: block;
    width: 20px;
    height: 200px;
    background: rgba(39,44,49,.15);
    filter: blur(5px);
}

article:before {
    left: -5px;
    transform: rotate(-5deg);
}

article:after {
    right: -5px;
    transform: rotate(5deg);
}

p {
    margin: 0rem 0rem 1rem 0rem;
}

h1 {
    font-size: 2.3rem;
    line-height: 3rem;
}

small {
    font-size: 0.8rem;
    color: #777;
}

a, a:focus {
    text-decoration: underline;
    color: inherit;
}

img {
    display: block;
    max-width: 90%;
    margin: 1rem auto;
}

blockquote {
    border-left: 0.3rem solid #aaa;
    padding-left: 2rem;
    font-style: italic;
}

code {
    font-family: monospace;
    font-size: 1rem;
    background-color: #eee;
    padding: 0.1rem 0.2rem;
    border-radius: 4px;
}

pre code {
    display: block;
    overflow-x: auto;
    padding: 0.5rem;
    background-color: #eee;
    color: #444;
    line-height: 1.2rem;
}

@media (max-width: 55rem) {
    article {
        padding: 1rem;
        font-size: 1.15rem;
        line-height: 1.72rem;
        border-radius: 0px;
    }

    article:before, article:after {
        display: none;
    }

    p {
        text-align: justify;
    }
}

.credit-badge {
    background: white;
    color: black;
    border: 1px solid;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1.2;
    display: inline-block;
    border-radius: 3px;
    transition: .3s;
    margin: 1rem;
    z-index: 200;
    position: absolute;
    top: 0;
    right: 0;
}
.credit-badge span {
    display: inline-block;
    padding: 2px 3px;
}
.credit-badge svg {
    height: 12px;
    width: auto;
    position: relative;
    vertical-align: middle;
    top: -1px;
    fill: black;
}
