/* General Layout & Typography */
body {
    font-family: "Poppins", "Clear Sans", "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif;
    color: #041121;
    line-height: 1.6;
    margin: 0;
    padding: 30px;
    padding-bottom: 100px;
    background-color: #f9f9f9;
}

#write {
    max-width: 860px;
    margin: 0 auto;
}

@media only screen and (min-width: 1400px) {
    #write {
        max-width: 1024px;
    }
}

@media only screen and (min-width: 1800px) {
    #write {
        max-width: 1200px;
    }
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin: 1rem 0;
    font-weight: bold;
    line-height: 1.4;
}

h1 {
    font-size: 2.25em;
    line-height: 1.2;
    border-bottom: 1px solid #eee;
}

h2 {
    font-size: 1.75em;
    line-height: 1.225;
    border-bottom: 1px solid #eee;
}

h3 {
    font-size: 1.5em;
    line-height: 1.43;
}

h4 {
    font-size: 1.25em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 1em;
    color: #777;
}

/* Paragraphs & Lists */
p, blockquote, ul, ol, dl, table {
    margin: 0.8em 0;
}

ul, ol {
    padding-left: 30px;
}

.list-roman {
  list-style-type: upper-roman;
}

.list-number {
  list-style-type: number;
}

li > ul, li > ol {
    margin: 0;
}

li p.first {
    display: inline-block;
}

/* Links */
a {
    color: #8031A7;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #dfe2e5;
    padding: 0 15px;
    color: #777;
}

/* Tables */
table {
    padding: 0;
    word-break: initial;
    border-collapse: collapse;
    width: 100%;
}

table tr {
    border: 1px solid #dfe2e5;
}

table tr:nth-child(2n), thead {
    background-color: #f8f8f8;
}

table th, table td {
    border: 1px solid #dfe2e5;
    padding: 6px 13px;
}

/* Code & Preformatted Text */
code, tt {
    border: 1px solid #e7eaed;
    background-color: #f8f8f8;
    border-radius: 3px;
    padding: 2px 4px 0px 4px;
    font-size: 0.9em;
}

code {
    background-color: #f3f4f4;
    padding: 0 2px;
}

.md-fences {
    margin: 15px 0;
    padding: 8px 0 6px;
    background-color: #f8f8f8;
}

#write pre.md-meta-block {
    padding: 1rem;
    font-size: 85%;
    line-height: 1.45;
    background-color: #f7f7f7;
    border: 0;
    border-radius: 3px;
    color: #777;
    margin-top: 0 !important;
}

/* Other Elements */
hr {
    height: 2px;
    padding: 0;
    margin: 16px 0;
    background-color: #e7e7e7;
    border: 0 none;
    overflow: hidden;
}

.md-task-list-item > input {
    margin-left: -1.3em;
}

@media print {
    html {
        font-size: 13px;
    }
    pre {
        page-break-inside: avoid;
        word-wrap: break-word;
    }
}