@import url(//fonts.googleapis.com/css?family=Ubuntu:500&subset=latin,latin-ext);
@import url('https://fonts.googleapis.com/css?family=Gelasio|Kulim+Park|Nanum+Myeongjo|Nanum+Gothic|Noto+Sans|Noto+Sans+KR|Roboto&display=swap');
@import url(syntax/monokai.css);

:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Roboto", "Nanum Gothic";
  --font-family-serif: "Nanum Myeongjo";
}

* {
    box-sizing: border-box;
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Gelasio', 'Nanum Myeongjo', serif;
    color: #2c3e50;
}

a {
    text-decoration: none;
    color: #007bff;
    background-color: transparent;
}

a:hover {
    text-decoration: underline;
}

pre {
    display: block;
    overflow: auto;
    margin-bottom: 15px;
    padding-bottom: 10px;
    padding: 5px;
    line-height: 1.2;
}

code {
    font-family: "Menlo", "Consolas", monospace;
    font-size: 0.8em;
    margin: 0px;
}

.container {
    min-height: 100%;
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
}

.content {
    /*margin-left: 180px;*/
    flex: 1 1 auto;
    padding: 0px 30px;
}

.sidebar {
    position: static; /*fixed;*/
    display: flex;
    flex-flow: column nowrap;
    flex: 0 0 210px;
    padding: 30px 15px;
    z-index: 1;
    background-color: #222;
    color: #fff;
}

.sidebar-item {
    display: block;
}

.sidebar ul {
    list-style-type: none;
    padding-inline-start: 15px;
}

.sidebar-brand > a {
    font-size: 300%;
    font-family: 'Gelasio';
    color: #fff;
}

.lead {
    font-size: 120%;
    color: #aaa;
}

.sidebar-header {
    margin-bottom: 20px;
}

.sidebar-nav {
    margin-top: 20px;
}

.nav-title {
    font-size: 100%;
    font-family: "Noto Sans";
    text-transform: uppercase;
    border-bottom: 1px solid gray;
    width: 110px;
    margin-bottom: 5px;
}

a.nav-item {
    font-size: 120%;
    font-family: "Noto Sans";
    text-transform: capitalize;
    color: #aaa;
}

a.nav-item:hover { color: #777; }

.badge { font-size: 70%; }
.badge::before { content: "("; }
.badge::after { content: ")"; }

.post-list > li {
}

.post-link {
    margin-left: 10px;
    font-size: 110%;
    color: #333;
}

#contact-list li .fa,
article .share .btn {
    -o-transition:color .2s ease-out, background 1s ease-in;
    -ms-transition:color .2s ease-out, background 1s ease-in;
    -moz-transition:color .2s ease-out, background 1s ease-in;
    -webkit-transition:color .2s ease-out, background 1s ease-in;
    transition:color .2s ease-out, background 1s ease-in;
}
#contact-list li:hover .fa-twitter, article .share .twitter:hover {
    color: #00ACEE;
    border-color: #00ACEE;
}
#contact-list li:hover .fa-linkedin {
    color: #1D87BD;
}
#contact-list li:hover .fa-envelope {
    color: #E93E30;
}
#contact-list li:hover .fa-pinterest {
    color: #CC2127;
}
#contact-list li:hover .fa-rss {
    color: #e74c3c;
}
#contact-list-secondary {
    padding-bottom: 10px;
}

article .share .facebook:hover {
    color: #43609C;
    border-color: #43609C;
}
article .share .gplus:hover {
    color: #C13929;
    border-color: #C13929;
}

.page-header {
    color: #e74c3c;
    text-shadow: 1px 1px 1px rgba(150, 150, 150, 1);
}

article {
    padding: 0 5% 0;
    font-size: 17px;
    margin-bottom: 100px;
    line-height: 1.9;
}

article.home div a, article.home pre a { color: #2c3e50; }
article.home div a:hover, article.home pre a:hover { color: #2c3e50; text-decoration: none; }
article img { max-width: 100%; }

blockquote {
    color: #828282;
    border-left: 4px solid #ccc;
    padding-left: 10px;
    margin: 0;
    margin-bottom: 15px;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    font-family: "Roboto", "Nanum Gothic";
    color: #333;
    margin-bottom: 0;
}

article.home h1 a,
article.home h2 a,
article.home h3 a,
article.home h4 a {
    color: #f2756a;
}
article.home h1 a:hover,
article.home h2 a:hover,
article.home h3 a:hover,
article.home h4 a:hover {
    color: #e74c3c;
}

header.post-header {
    padding: 50px 0px 10px 0px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

header.home {
    text-align: left;
}

.post-title {
    font-size: 1.5em;
    color: #111;
    font-weight: bold;
}

.post-date {
    color: #555;
    letter-spacing: 1px;
    font-size: 0.8em;
    overflow: hidden;
    float: center;
    text-align: center;
    width: 4%;
}

.post-date a {
    float: left;
    text-align: left;
    letter-spacing: 0px;
    width: 38%;
    margin: 0.8em 0;
}

.post-date .next {
    float: right;
    letter-spacing: 0px;
    text-align: right;
    width: 38%;
    margin: 0.8em 0;
}

.author .author-image {
    float: left;
    margin-right: 20px;
}

footer {
    padding-top: 15px;
    font-family: 'Ubuntu';
}

.sidebar-footer {
    margin-top: 80px;
    font-size: 0.75em;
    font-weight: lighter;
    font-family: "Roboto";
    line-height: 1.5;
}

.sidebar-footer a {
    color: #ccc;
}


@media (max-width: 576px) {
    article {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .content {
        padding: 0px;
    }
    .container {
        flex-direction: column;
    }

    .sidebar {
        font-size: 0.6em;
        flex: 0 0 auto;
        flex-flow: row wrap;
        padding: 15px 15%;
        justify-content: center;
        height: auto;
    }

    .sidebar-nav {
        margin: 0px;
        padding: 0px 0px;
    }

    .sidebar-item {
        flex: 1 1 auto;
        justify-content: center;
        align-items: center;
    }

    .sidebar-header {
        margin-bottom: 0px;
        flex-basis: 100%;
        text-align: center;
    }

    .sidebar-footer {
        flex: 0 0 0px;
        visibility: hidden;
        display: none;
    }

    .post-date a {
        font-size: 0.6em;
        margin: 2em 0;
        width: 100px;
    }

    .post-date .next {
        font-size: 0.6em;
        margin: 2em 0;
        width: 100px;
    }
}
