@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 {
	margin-bottom: 15px;
	padding-bottom: 10px;
	padding: 20px;
	line-height: 1.2;
	width: fit-content;
    /* overflow-x: scroll;
    ::-webkit-scrollbar {
      display: none;
    } */
}

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; */
}

.highlight {
	/* width: 50%; */
	margin: 10px 0;
	overflow-x: scroll;
	border-radius: 0.5rem;
}

img {
	display: flex;
	max-width: 80%;
	margin: 10px auto;
	object-fit: cover;
	align-self: center;
}

.content {
	margin: 0px auto;
	max-width: 1024px;
	flex: 1 1 auto;
	padding: 0px 30px;
	table {
		border-collapse: collapse; 
		margin: 20px auto; 
		font-size: 16px;
		text-align: left;
	  }
	  
	th, td {
		border: 1px solid#dddddd; 
		padding: 12px; 
	  }
	  
	th {
		background-color:#f4f4f4; 
		font-weight: bold; 
	  }
	  
	tr:nth-child(even) {
		background-color:#f9f9f9; 
	  }
}

.sidebar {
	display: flex;
	flex-flow: column nowrap;
	flex: 0 0 220px;
	padding: 15px;
	z-index: 1;
	background-color:#222;
	color:#fff;
}

.sidebar-item {
	display: block;
}

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

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

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

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

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

.nav-title {
	font-size: 100%;
	font-family: "Noto Sans";
	text-transform: uppercase;
	border-bottom: 1px solid gray;
	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-content{
	width: 50%; */
/* } */

.post-list {
	/* not show list start */
	padding: 0;
	/* width: 100%; */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis; 
	list-style-type: none;
}

.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 {
	text-transform: uppercase;
	color:#555;
	letter-spacing: 1px;
	font-size: 0.8em;
	display: inline-block;
	width: 80px;
}

.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;
	}
	.post {
		width: 360px;
		
	}
	img {
		display: flex;
		max-width: 100%;
		margin: 10px auto;
		object-fit: cover;
		align-self: center;
	}
	

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

	.sidebar {
		font-size: 0.8em;
		flex: 0 0 auto;
		flex-flow: row nowrap;
		height: auto;
	}

	.sidebar-nav {
		margin: 0px;
	}

	.sidebar-item {
		flex: 1 1 auto;
	}

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

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

	table {
		display: block;
		max-width: 300px;
		font-size: 0.7rem; 
		overflow-x: auto;
	  }
	
	th,td {
		padding: 6px; 
		font-size: 0.7rem; 
	}
}
