/**
*  Heon Publish theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div {
    background: #fff;
    color: #ffffff;
    background: #282828;
}

body {
    background: #fff;
    color: #000;
    font-family: Helvetica, Arial;
    text-align: center;
    line-height: 1.8em;  /* 기본 글자 크기의 x배 */
    background: #282828;
    
}

.wrapper {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
    border-radius: 20px;
}


header {
    font-size: 1.5em;
    color: #ffffff;
    font-weight: bold;
    background: #1f1f1f;
}

header .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    background: #1f1f1f;
}

header a {
    text-decoration: none;
}

header .site-name {
    font-size: 1.5em;
    color: #ffffff;
    font-weight: bold;
}

nav {
    margin-top: 20px;
}

nav li {
    display: inline-block;
    margin: 0 7px;
    line-height: 1.5em;
}

nav li a.selected {
    text-decoration: underline;
}

header {
    padding-top: 16px;
    padding-bottom: 16px;
}

h1 {
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 2em;
}

h2 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 1.6em;
}


h3 {
    margin-top: 20px;
    margin-bottom: 4px;
    font-size: 1.3em;
}

p {
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.description {
    margin-bottom: 40px;
}

.item-list > li {
    display: block;
    padding: 20px;
    border-radius: 20px;
    background-color: #212121;
    margin-bottom: 20px;
}

.item-list > li:last-child {
    margin-bottom: 0;
}

.item-list h1 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.item-list p {
    margin-bottom: 0;
}

.tag-list {
    margin-bottom: 15px;
}

.tag-list li,
.tag {
    display: inline-block;
    background-color: #000;
    color: #ddd;
    padding: 4px 6px;
    border-radius: 5px;
    margin-right: 5px;
}

.tag-list a,
.tag a {
    text-decoration: none;
}

.item-page .tag-list {
    display: inline-block;
}

.content {
    margin-bottom: 40px;
}

.browse-all {
    display: block;
    margin-bottom: 30px;
}

.all-tags li {
    font-size: 1.4em;
    margin-right: 10px;
    padding: 6px 10px;
}

footer {
    color: #8a8a8a;
}

/* 불렛 */
ul, ol {
    padding-left: 1.2em;
    margin-bottom: 10px;
}

li {
    margin-bottom: 0.5em;
}

li:last-child {
    margin-bottom: 0;
}

ul ul, ol ol, ul ol, ol ul {
    margin-top: 0.5em;
    margin-bottom: 0;
}

ul ul li, ol ol li, ul ol li, ol ul li {
    margin-bottom: 0.3em;
}

/* @media (prefers-color-scheme: dark) {
    body {
        background-color: #222;
    }

    body,
    header .site-name {
        color: #ddd;
    }

    .item-list > li {
        background-color: #333;
    }

    header {
        background-color: #000;
    }
}
 */
@media(max-width: 600px) {
    .wrapper {
        padding: 40px 20px;
    }
}



code {
  background-color: #2d2e32;
  padding: 4px 4px;
  border-radius: 4px;
  font-family: 'Andale Mono', monospace;
  font-size: 0.9em;
  color: #d3759d;
}

/* Highlight JS */

.hljs code {
    display: block;
    overflow-x: auto;
    padding: 8pt;
    margin: 12pt;
    border-radius: 8px;  /* 모서리 둥글기 정도 */
    overflow: hidden;
    line-height: 1.6;  /* 기본 글자 크기의 x배 */
    color: #DFDFE0; /* other - white */
    background: #292A2F; /* background - dark gray blue */
}

.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string,
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-symbol,
.hljs-link,
.hljs-selector-id {
    color: #DFDFE0; /* other - white */
}

.hljs-comment,
.hljs-quote {
    color: #A5B0BD; /* comment - gray */
    font-style: italic
}

.hljs-doctag,
.hljs-keyword,
.hljs-formula {
    color: #EF81B0; /* keyword - pink */
}


.hljs-literal {
    color: #EF81B0; /* keyword - pink */
}


.hljs-number {
    color: #D5CA86; /* number - yellow */
}

.hljs-emphasis {
    font-style: italic
}

.hljs-strong {
    font-weight: bold
}

.hljs-link {
    text-decoration: underline
}

.hljs-built_in {
    color: #78c2b3; /* builtin color */
}

.hljs-class .hljs-title {
    color: #6bdfff; /* class color */
}

.hljs-title {
    color: #4eb0cc; /* other - white */
}

.hljs-type {
    color: #BBF0E4; /* objectA - light cyan */
}

.hljs-meta {
    color: #797979; /* keyword - pink */
}

.hljs-string {
    color: #ff8170; /* other - white */
}

/* Table */
table {
    border-collapse: collapse;
    width: auto;  /* 컨텐츠 크기에 맞춤 */
    max-width: 100%;  /* wrapper를 넘지 않도록 */
    margin-bottom: 1em;
}

th, td {
    border: 1px solid #000000;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #323232;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #292929;
}

tr:hover {
    background-color: #f5f5f5;
}


/* line */
hr {
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 16px;
    margin-bottom: 16px;
    border: none;  /* 기본 테두리 제거 */
    height: 1px;  /* 선의 굵기 */
    background-color: #a7a7a7;  /* 선의 색상 */
    opacity: 0.6;  /* 0부터 1 사이의 값 */
}
