@charset "utf-8";

/*
 *
 * CSS CONTENTS:
 *
 * 01. Web Font
 * 02. Type Selector Reset
 * 03. Accessibility Navigation
 * 04. Layout Selector
 * 05. Components
 * 06. Entry Content
 * 07. Comment
 * 08. Widget & Template Page
 * 09. ETC
 * 10. Post Type & Color Type
 * 11. Retina Display
 * 12. Media Screen - Tablet
 * 13. Media Screen - Mobie
 *
 */

/* Web Font Load */
@import url("//fonts.googleapis.com/earlyaccess/notosanskr.css");
@import url("//fonts.googleapis.com/css?family=Nanum+Myeongjo");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap");

@font-face {
    font-family: "NEXON Lv1 Gothic OTF";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

:root {
    --dark-bg-color: rgb(30, 31, 33);
    --dark-font-color: #fefefe;

    --dark-bg-second-color: rgb(50, 51, 53);

    --highlight-color: #cb7fff;
    --sidebar-hr-color: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    /*font-family: 'Roboto', sans-serif;*/
    font-family: "NEXON Lv1 Gothic OTF";
    text-decoration: none;
    font-size: 1em;
    line-height: 1.25;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    color: inherit;
}

*:focus {
    outline: none;
}

* s {
    text-decoration: line-through;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--dark-bg-color);
    color: var(--dark-font-color);
}

/********************************************************************/
/* NAVBAR */
.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
}

.navbar .navbar-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.navbar .navbar-block .navbar-btn {
    background: transparent;
    border: none;
    cursor: pointer;
}

.navbar .search {
    /*background-color: var(--dark-bg-second-color);*/
    padding: 0.1em;
    padding-right: 1em;
    border-radius: 2em;
    width: 500px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    position: relative;
}

.navbar .search .sbar {
    background-color: rgb(16 16 16);
    border-radius: 2em;
    border: none;
    color: var(--dark-font-color);
    padding: 0.5em 3.0em 0.5em 2em;
    font-size: 0.8em;
    height: 2em;
    width: 450px;
}

.navbar .spot-custom {
    position: absolute;
    right: 38px;
}

.navbar .navbar-block .blog_img img {
    width: 2em;
    height: 2em;
    object-fit: cover;
    border-radius: 100%;
}


/* NAVBAR DONE */
/********************************************************************/

.container {
    display: flex;
    flex-direction: row;
}

/********************************************************************/
/* SIDEBAR DONE */
.sidebar {
    width: 300px;
    position: sticky;
    top: 0;
    height: 100vh;
    transition: all 0.5s ease;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(0);
    visibility: visible;
}

.sidebar::-webkit-scrollbar {
    width: 1px;
}

.hidden {
    width: 0;
    visibility: hidden;
    transform: translateX(-200px);
}

.sidebar .sidebar-closeBtn {
    display: none;
    background: transparent;
    border: none;
    position: absolute;
    top: 10px;
    left: 160px;
    cursor: pointer;
}

.sidebar .sidebar-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 85%;
    padding: 1em 0.5em 1em 1.5em;
    margin: 0.5em auto;
    font-size: 0.8em;
    gap: 1em;
    border-radius: 1em;
}

.sidebar .sidebar-item:hover {
    background-color: var(--dark-bg-second-color);
}

.sidebar .sidebar-item i {
    width: 1em;
}

.sidebar .sidebar-item a {
    color: var(--dark-font-color);
}

.sidebar .sidebar-item ul,
.sidebar .sidebar-item li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar .sidebar-category,
.sidebar .sidebar-theme {
    border-top: 1px solid var(--sidebar-hr-color);
}

.sidebar .sidebar-category .link_tit {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 85%;
    padding: 1em 0.5em 1em 1.5em;
    margin: 0.5em auto;
    font-size: 0.8em;
    gap: 0.5em;
    border-radius: 1em;
}

.sidebar .sidebar-category ul li ul li ul li:hover,
.sidebar .sidebar-category .link_tit:hover {
    background-color: var(--dark-bg-second-color);
}

.sidebar .sidebar-category ul li ul li {
    display: flex;
    flex-direction: column;
    width: 85%;
    padding: 1em 0.5em 1em 1.5em;
    margin: 0.5em auto;
    font-size: 0.8em;
    gap: 0.5em;
    border-radius: 1em;
}

.sidebar .sidebar-category ul li ul li ul li {
    display: flex;
    flex-direction: row;
    width: 85%;
    padding: 0.5em 0.5em 0.5em 3em;
    margin: 0 auto;
    font-size: 1em;
    border-radius: 1em;
    position: relative;
    left: -15px;
}

.sidebar .sidebar-category ul li ul li ul li::before {
    content: "￫";
    position: absolute;
    top: 0px;
    left: 1em;
    font-size: 22px;
    font-weight: 600;
    opacity: 0.7;
}

.sidebar .sidebar-theme {
    padding: 2em 0em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .sidebar-theme .theme-info {
    font-size: 0.7em;
    margin-right: 1em;
    text-transform: uppercase;
}

.sidebar .sidebar-theme .switch {
    position: relative;
    display: inline-block;
    width: 3em;
    height: 1.5em;
}

.sidebar .sidebar-theme .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sidebar .sidebar-theme .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(70, 71, 73);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.sidebar .sidebar-theme .slider:before {
    position: absolute;
    content: "";
    height: 1em;
    width: 1em;
    left: 4px;
    bottom: 4px;
    background-color: #fefefe;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.sidebar .sidebar-theme input:checked+.slider {
    background-color: #ff4081;
}

.sidebar .sidebar-theme input:focus+.slider {
    box-shadow: 0 0 1px #ff4081;
}

.sidebar .sidebar-theme input:checked+.slider:before {
    -webkit-transform: translateX(1.5em);
    -ms-transform: translateX(1.5em);
    transform: translateX(1.5em);
}

.sidebar .sidebar-theme .slider.round {
    border-radius: 34px;
}

.sidebar .sidebar-theme .slider.round:before {
    border-radius: 50%;
}

.sidebar .empty-div {
    height: 100px;
}

/* SIDEBAR DONE */
/**********************************************************************/

.content {
    width: 100%;
}

/**********************************************************************/
/* SEARCH LIST */
.searchList {
    display: flex;
    flex-wrap: wrap;
    padding: 1em;
    gap: 1em;
    margin: 0 auto;
    justify-content: center;
}

.searchList .one_article {
    flex: 0 0 calc(32% - 1em);
    margin-top: 1em;
}

.searchList .one_article .thumbnail {
    height: 17vh;
    width: 100%;
    background-color: var(--dark-bg-second-color);
    border-radius: 1em;
    margin-bottom: 0.5em;
}

.searchList .one_article .thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 1em;
}

.searchList .one_article .title {
    color: var(--dark-font-color);
    margin-bottom: 0.5em;
    font-size: 0.9em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.searchList .one_article .summary {
    color: #aaa;
    margin-bottom: 0.5em;
    font-size: 0.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.searchList .one_article .date {
    font-size: 0.6em;
    color: var(--dark-font-color);
}

.searchList .one_article .category a {
    color: var(--dark-font-color);
    font-size: 0.5em;
}

/* SEARCH LIST DONE */
/**********************************************************************/

.paging {
    width: 100%;
    margin: 2em 0;
    text-align: center;
    font-size: 0.8em;
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
}

.paging .selected {
    color: var(--highlight-color);
}

.paging .numbox {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

/**********************************************************************/
/* ARTICLE */
.entry_wrap {
    display: flex;
}

.entry {
    max-width: 1024px;
    margin: 0 auto;
}

.entry .titleWrap {
    display: flex;
    flex-direction: column;
    padding: 1em;
    align-items: baseline;
    justify-content: center;
    border-bottom: 0.2px solid rgb(70, 71, 73);
    margin-bottom: 2em;
    margin-top: 3em;
}

.entry .titleWrap .category {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #aaa;
    border-radius: 1em;
    width: fit-content;
    padding: 0.25em 0.5em 0.25em 0.5em;
    margin-bottom: 0.5em;
}

.entry .titleWrap .category a {
    color: #aaa;
    font-size: 0.5em;
}

.entry .titleWrap h2 {
    text-align: center;
    margin-bottom: 0.5em;
}

.entry .titleWrap h2 a {
    font-size: 0.8em;
   /*color: var(--dark-font-color);*/
	 color:var(--highlight-color);
}

.entry .titleWrap .info {
    display: flex;
    flex-direction: row;
    gap: 1em;
    font-size: 0.8em;
    color: #aaa;
}

.entry .titleWrap .info .date span {
    margin-right: 1em;
}

.entry .titleWrap .info .admin a {
    color: #aaa;
}

.entry .article {
    width: 100%;
    margin: 0 auto;
}

.entry .article .article_content {
    padding: 0em 2em 2em 2em;
    word-break: break-word;
    line-height: 150%;
}

.entry .article .article_content .contents_style {
    min-height: 50vh;
}

.entry .article .article_content .contents_style a {
    color: var(--highlight-color);
}

/* 플로팅 목차 스타일 */
.toc-absolute {
    position: absolute;
    margin-top: 10px;
}

.toc-fixed {
    position: fixed;
    top: 100px;
}

.toc {
    left: calc((100% + 1324px) / 2 - 0px);
    width: 330px;
    padding: 10px;
    box-sizing: border-box;
}

.toc-list>li {
    margin-top: 10px !important;
    font-size: 0.9em;
}

.toc>.toc-list li {
    margin-bottom: 10px;
}

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

.toc>.toc-list li a {
    text-decoration: none;
}

.is-active-link::before {
    background-color: var(--highlight-color) !important;
}

.entry .article .article_content h1,
.entry .article .article_content h2,
.entry .article .article_content h3,
.entry .article .article_content h4 {
    color: var(--highlight-color);
    padding-top: 1em;
    padding-bottom: 0.5em;
}

.entry .article .article_content ul li,
.entry .article .article_content ol li {
    word-break: break-word;
    width: 80%;
    position: relative;
    left: 10%;
    margin: 1em 0;
}

.entry .article .article_content figure {
    margin-top: 1em;
}

figure[data-ke-type="opengraph"] div.og-text p.og-title,
#tt-body-page figure[data-ke-type="opengraph"] div.og-text p.og-title {
    color: var(--dark-font-color);
}

.entry .article .article_content table {
    border: 1px solid var(--sidebar-hr-color);
}

.entry .article .article_content table tbody tr td {
    padding: 0.5em;
    font-size: 0.9em;
}

.entry .article .article_content .another_category.another_category_color_gray {
    border: none;
    background-color: var(--dark-bg-second-color);
    padding: 1em;
    border-radius: 1em;
}

.entry .article .article_content .another_category.another_category_color_gray * {
    color: var(--dark-font-color) !important;
}

.entry .article .article_content .another_category.another_category_color_gray h4,
.entry .article .article_content .another_category.another_category_color_gray h4 a {
    color: var(--dark-font-color) !important;
}

.entry .article .article_content .another_category.another_category_color_gray table {
    border: none;
}

.entry .article .article_content figure.fileblock .filename {
    color: var(--dark-font-color) !important;
}

.entry .article .article_content p {
    line-height: 1.5;
    margin-bottom: 0.25em !important;
}

.entry .article .article_content code {
    margin: 1em 0;
    border-radius: 1em;
    padding: 30px 20px;
}

.entry .article .tagTrail {
    margin-top: 2em;
    color: var(--dark-font-color);
}

.entry .article .tagTrail .tagText {
    color: var(--highlight-color);
}

.entry .article .tagTrail a {
    font-size: 0.8em;
}

.progress-circle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    display: flex;
    text-align: center;
    visibility: hidden;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.progress-circle:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.top-btn {
    position: absolute;
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    color: var(--highlight-color);
    z-index: 3;
}

.is-visible {
    visibility: visible;
    opacity: 1;
}

/* ARTICLE DONE */
/**********************************************************************/

/**********************************************************************/
/* COMMENT */
.entry .comment {
    padding: 2em;
}

.entry .comment .commentWrite {
    margin-bottom: 2em;
}

.entry .comment .comment_input_box {
    margin-top: 1em;
    margin-bottom: 1em;
}

.entry .comment .comment_input_box textarea {
    background: transparent;
    border: none;
    width: 100%;
    border-bottom: 1px solid var(--sidebar-hr-color);
}

.entry .comment .comment_input_box .guset_input_box {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
    gap: 1em;
}

.entry .comment .comment_input_box .guset_input_box input {
    flex: 0 0 calc(50% - 1em);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--sidebar-hr-color);
}

.entry .comment .write_box {
    display: flex;
    flex-direction: row;
    margin-top: 1em;
    gap: 1em;
}

.entry .comment .write_box input {
    background: transparent;
    border: none;
    font-size: 0.8em;
    font-weight: bold;
}

.entry .comment .commentList ol li {
    list-style: none;
    margin-top: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--sidebar-hr-color);
}

.entry .comment .commentList ol li .rp_admin,
.entry .comment .commentList ol li .rp_general {
    margin-bottom: 1em;
}

.entry .comment .commentList ol li .top {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.8em;
}

.entry .comment .commentList ol li .top img {
    height: 2.5em;
    width: 2.5em;
    object-fit: cover;
    border-radius: 100%;
    margin-right: 0.5em;
}

.entry .comment .commentList ol li .top .date {
    margin-left: auto;
    font-style: italic;
    font-size: 0.7em;
}

.entry .comment .commentList ol li .top .date a {
    color: var(--highlight-color);
}

.entry .comment .commentList ol li .mid {
    padding: 0.5em 0 0.5em 0;
}

.entry .comment .commentList ol li .bottom {
    text-align: right;
    font-style: italic;
    font-size: 0.7em;
}

.entry .comment .commentList ol li .bottom .modify {
    margin-right: 1em;
}

.entry .comment .commentList ol li ul li {
    margin-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    width: 90%;
    margin-left: auto;
}

/**********************************************************************/

footer {
    padding: 2em 0;
    text-align: center;
    font-size: 0.8em;
    color: #888;
}

footer a:hover {
    color: var(--highlight-color);
}

/* For codeblock */
/* 코드블럭 줄번호 */
pre[data-ke-type="codeblock"] {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0 0 20px 0;
    font-size: 13px;
    line-height: 17px;
}

pre[data-ke-type="codeblock"]>code {
    display: block;
    overflow-x: auto;
    font-family: consolas, monospace;
}

pre[data-ke-type="codeblock"]>code.lnWrap {
    position: relative;
    padding-left: 40px;
}

pre[data-ke-type="codeblock"]>code .ln[data-ln]::before,
pre[data-ke-type="codeblock"]>code .ln[data-ln--before]::before {
    content: attr(data-ln);
}

pre[data-ke-type="codeblock"]>code .ln,
pre[data-ke-type="codeblock"]>code .lnBorder {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    display: inline-block;
    width: 40px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

pre[data-ke-type="codeblock"]>code .lnBorder {
    z-index: 1;
    top: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-right-color: #ccc;
}

pre[data-ke-type="codeblock"]>code .ln {
    z-index: 0;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

pre[data-ke-type="codeblock"]>code .lc {
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    padding-left: 10px;
}

pre[data-ke-type="codeblock"]>code.noline .lc {
    padding-left: 0;
}

pre[data-ke-type="codeblock"]>code .ln.marker {
    background-color: rgba(40, 70, 100, 1);
    background: linear-gradient(to left, rgba(40, 70, 100, 1) 60%, transparent);
    color: white !important;
}

pre[data-ke-type="codeblock"]>code .lc.marker {
    background-color: rgba(40, 70, 100, 1);
    background: linear-gradient(to right,
            rgba(40, 70, 100, 1) 80%,
            transparent);
}

pre[data-ke-type="codeblock"]>code .lnA {}

pre[data-ke-type="codeblock"]>code .lnB {}

pre[data-ke-type="codeblock"]>code .colBox {
    display: inline-block;
    width: 8px;
    height: 8px;
    vertical-align: middle;
    margin-right: 4px;
    outline: 1px solid grey;
}

pre[data-ke-type="codeblock"]>code .hover,
pre[data-ke-type="codeblock"]>code .clicked {
    outline: solid 1px gold;
}

pre[data-ke-type="codeblock"]>code .solo:hover {
    color: red;
}

/* codeblock done*/

/**********************************************************************/
/* Responsive Web */
@media only screen and (max-width: 768px) {
    .navbar {
        background-color: var(--dark-bg-color);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 998;
    }

    .navbar .blog_title {
        font-size: 0.7em;
    }

    .navbar .search {
        width: 60%;
    }

    .navbar .search .sbar {
        width: calc(100%-16px);
    }

    .container {
        margin-top: 3em;
    }

    .sidebar {
        visibility: hidden;
        background-color: var(--dark-bg-color);
        padding-top: 2em;
        width: 200px;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 999;
        transform: translateX(-200px);
        overflow-y: scroll;
    }

    .hidden {
        width: 200px;
        visibility: visible;
        transform: translateX(0);
    }

    .sidebar .sidebar-closeBtn {
        display: block;
    }

    .searchList .one_article {
        flex: 0 0 100%;
    }

    .searchList .one_article .thumbnail {
        height: 20vh;
    }

    .entry_wrap {
        display: block;
    }

    .entry .titleWrap {
        padding-top: 3em;
    }

    .entry .article .article_content {
        padding: 0em 1em 1em 1em;
    }

    .entry .comment {
        padding: 1em;
    }

    .entry .comment .comment_input_box .guset_input_box input {
        width: 50%;
        background: transparent;
        border: none;
        border-bottom: 1px solid var(--sidebar-hr-color);
    }

    .entry .titleWrap {
        margin-top: 1em;
    }

    .toc {
        display: none;
    }

    footer {
        padding: 2em 0.5em;
        text-align: center;
        font-size: 0.7em;
    }
}

/**********************************************************************/