/* Defaults */
:root {
	--font-family: "Segoe UI", -apple-system,;
	--font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace;
}

/* Theme colors */
:root {
	--color-gray-20: #000000;
	--color-gray-50: #080808;
	--color-gray-90: #080707;

	--background-color: #fefefe;
	--quote-background-color: #424242;

	--text-color: var(--color-gray-90);
	--text-color-link: #00b9e7;
	--text-color-link-active: #3550b1;
	--text-color-link-visited: #00b9e7;

	--text-nav-color: #9c9c9c;
	--text-nav-color-hover: #e1e1e1;
	
	--text-blockquote-color:#717171;
	--bar-blockquote-color:#bfbfbf;

	--text-code-color:#f65454;
	--background-color-code: #dbcfcf;

	--color-border-muted: #d8dee4;

	--color-tag-text: #fefefe;
	--color-tag-bg: #3ec8eb;

	--syntax-tab-size: 2;
}

@media (prefers-color-scheme: dark) {
	:root {
		--color-gray-20: #e0e0e0;
		--color-gray-50: #C0C0C0;
		--color-gray-90: #dad8d8;

		/* --text-color is assigned to --color-gray-_ above */
		--text-color-link: #1493fb;
		--text-color-link-active: #6969f7;
		--text-color-link-visited: #a6a6f8;

		--background-color: #15202b;
	}
}


/* Global stylesheet */
* {
	box-sizing: border-box;
}

html,
body {
	padding: 0;
	margin: 0 auto;
	font-family: var(--font-family);
	color: var(--text-color);
	background-color: var(--background-color);
}
html {
	overflow-y: scroll;
	height: 100%;
}
body {
	max-width: 1200px;
	height: 100%;
}

.container-base{
	display: flex;
}

.container-feed{
	width:75%;
	margin:auto;
}
.container-side{
	width:25%;
	font-size: .9rem;
	padding: 1.2rem;
}
.container-post{
	width: 90%;
	margin: auto;
}

@media screen and (max-width: 1200px) {
	.container-base {
		max-width: 100%;
	}
}

@media screen and (max-width: 767px) {
	.container-base {
		display: block;
	}
	.container-feed,
	.container-side {
		width: 100%;
	}
}

/* https://www.a11yproject.com/posts/how-to-hide-content/ */
.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

p:last-child {
	margin-bottom: 0;
}
p {
	line-height: 1.9;
	margin-top: 0;
	margin-bottom: 0.8em;
}

/*adding h1,2,3,4 css here*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-top: 0.5em;
	margin-bottom: 0.5em;
}
h1,.h1{
	font-size: 2.3em;
	margin-bottom: 0.2em;
}
h2,.h2{
	font-size: 1.9em;
	border-bottom: 1px solid;
	border-color: var(--color-border-muted);
	padding-top: 1rem;
}
h3,.h3{
	font-size: 1.5em;
}
h4,.h4{
	font-size: 1.17em;
}

li {
	line-height: 1.5;
	margin-top: 0;
	margin-bottom: 0.5em;
}

a[href] {
	color: var(--text-color-link);
	text-decoration: none;
}
a[href]:visited {
	color: var(--text-color-link-visited);
	text-decoration: none;
}
a[href]:hover,
a[href]:active {
	color: var(--text-color-link-active);
	text-decoration: none;
}

main {
	padding: 1.2rem;
}
main :first-child {
	margin-top: 0;
}

header {
	border-bottom: 1px dashed var(--color-gray-20);
}
header:after {
	content: "";
	display: table;
	clear: both;
}

.links-nextprev {
	list-style: none;
	border-top: 1px dashed var(--color-gray-20);
	padding: 1em 0;
}

table {
	margin: 1em 0;
}
table td,
table th {
	padding-right: 1em;
}

pre,
code {
	font-family: var(--font-family-monospace);	
}
pre[class*="language-"] {
	display: block;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	border: solid;
	color:#000000;
	border-color: #9c9c9c;
	background-color: #222222;
	border-width:1px;
	border-radius: 0px;
	scrollbar-color: #4d4d4d #8c8c8c;
}

pre:not([class*="language-"]) {
	margin: .5em 0;
	line-height: 1.375; /* 22px /16 */
	-moz-tab-size: var(--syntax-tab-size);
	-o-tab-size: var(--syntax-tab-size);
	tab-size: var(--syntax-tab-size);
	-webkit-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
}

code {
	word-break: break-all;
}

/*incline code property*/
code:not([class*="language-"]) {
	color: var(--text-code-color);
	background-color: var(--background-color-code);
	font-size: small;
	font-weight: 500;
	padding: 2px;
}

/* Header */
header {
	display: flex;
	gap: 1em .5em;
	flex-wrap: wrap;
	align-items: center;
	padding: 1.2em 1em 0.8em 1em;
}
.home-link {
	font-size: 1em; /* 16px /16 */
	font-weight: 700;
	margin-right: 2em;
}
.home-link:link:not(:hover) {
	text-decoration: none;
}

/* Nav */
.nav {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
	color: var(--text-nav-color);
}
.nav-item {
	display: inline-block;
	margin:0 1em 0 0;
	color: var(--text-nav-color);
}
.nav-item a[href]:hover {
	text-decoration: none;
	color: var(--text-nav-color-hover);
}
.nav-item a[href]:not(:hover) {
	text-decoration: none;
	color: var(--text-nav-color);
}

.nav a[href][aria-current="page"] {
	text-decoration: none;
}

/* Posts list */
.postlist {
	list-style: none;
	padding: 0;
	padding-left: 1.5rem;
}
.postlist-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	margin-bottom: 1em;
}
.postlist-item:before {
	display: inline-block;
	pointer-events: none;
	line-height: 100%;
	text-align: right;
	margin-left: -1.5rem;
}
.postlist-date,
.postlist-item:before {
	font-size: 0.8125em; /* 13px /16 */
	color: var(--color-gray-90);
}
.postlist-date {
	word-spacing: -0.5px;
}
.postlist-link {
	font-size: 1.8em; /* 19px /16 */
	font-weight: 700;
	flex-basis: calc(100% - 1.5rem);
	text-underline-position: from-font;
	text-underline-offset: 0;
	text-decoration-thickness: 1px;
	margin-bottom: 0.2em
}
.postlist-item-active .postlist-link {
	font-weight: bold;
}

/* Tags */
.post-tag {
	display: inline;
	text-align: center;
	justify-content: center;
	padding: .1em .5em;
	border-radius: 2px;
	color:var(--color-tag-text) !important;
	background: var(--color-tag-bg);
	font-size: 0.7em;
	font-weight: 600;
	margin: 0em 0.4em 0em 0.4em;
}
.post-tag a[href]:hover{
	color:#a2a2a2;
}

.postlist-item > .post-tag {
	align-self: center;
}

.tagList h2{
	color:#4a494b;
	border-bottom:none;
}

.tagList ul{
	list-style-type: none;
	padding: 0;
}

/*
.tagList a[href]{
	color:var(--text-color);
}

.tagList a[href]:hover{
	color:#7d7d7d;
}

.tagList a[href]:visited{
	color:var(--text-color);
}
*/

.tagList-num{
	color: #fff;
    background-color: #00b9e7;
	text-align: center;
	padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem;
	font-size: 75%;
    font-weight: 700;
	margin-left:0.4em;
}

/* Tags list */
.post-metadata {
	gap: .3.4em;
	list-style: none;
	padding: 0;
	margin: 0;
}
.post-metadata time {
	margin-right: 1em;
	text-transform: uppercase;
}

.post-metadata li{
	align-items: center;
}

.post-metadata-test{
	gap: .3.4em;
	list-style: none;
	padding: 0;
	margin: 0;
}
.post-metadata-test time {
	margin-right: 1em;
	text-transform: uppercase;
}

.orgPost {
	display:flex;
	font-size: 16px;
	color:#a1a1a1;
	align-items: center;
}

.updatePost{
	font-weight: 500;
}


/* Direct Links / Markdown Headers */
.header-anchor {
	text-decoration: none;
	font-style: normal;
	font-size: 1em;
	margin-left: .1em;
}
a[href].header-anchor,
a[href].header-anchor:visited {
	color: transparent;
}
a[href].header-anchor:focus,
a[href].header-anchor:hover {
	text-decoration: underline;
}
a[href].header-anchor:focus,
:hover > a[href].header-anchor {
	color: #aaa;
}

h2 + .header-anchor {
	font-size: 1.5em;
}

/* Blog Feed */
.blogFeed {
	border-bottom: 1px solid #363636;
    padding: 0 40px 30px 0;
    position: relative;
    margin-bottom: 30px;
}

/* Quote */
blockquote {
	font-size: 14px;
	padding-left: 2em;
	border-left: 4px solid var(--bar-blockquote-color);
	color:var(--text-blockquote-color);
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

blockquote code:not([class*="language-"]) {
	font-size: 12px;
}


.markdown-image {
	display: block;
	width: 86%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.pagination{
	text-align: center;
}

.page-item{
	display: inline;
}

.page-link{
	display: inline-block;
	text-align: center;
	padding: 1px 8px;
	margin: 0px 4px;
	border-radius: 40%;
}

.page-link-current{
	display: inline-block;
	text-align: center;
	padding: 1px 8px;
	margin: 0px 4px;
	border-radius: 40%;
	color: white  !important;
	background-color: #00b9e7;
}

.footer {
	font-size: smaller;
    text-align: center;
	position: sticky;
	padding: 20px 0 20px 0;
	top: 100vh;
  	width: 100%;
	color: var(--text-color);
}

.footer a[href]{
	color: var(--text-color);
	text-decoration: underline;
}