body {
	width: 100%;
	padding: 0;
	margin: 0 auto;
	background-color: var(--bg-clr);
}
header {
	display: flex;
	position: fixed;
	top: 0;
	background-color: var(--header-bg-clr);
	width: 100%;
	line-height: 3em;
	height: 3em;
	z-index: 3;
	transition: background-color 0.5s;
	box-shadow: 0 0 10px var(--header-shadow-clr);
}
header a {
	text-decoration: none;
}
header .blog-icon {
	display: inline-block;
	margin: 0.6em 1em;
	margin-right: 0.5em;
	border-radius: 1em;
}
header.show-title {
	background-color: var(--header-bg-true-clr);
	padding-left: -5em;
}
header h2 {
	margin: 0;	
	font-family: "Unifont";
}
header h2.blog-name {
	display: inline;
	color: var(--header-name-clr);
	transition: left 0.5s, text-shadow 0.5s;
}
header h2.post-title {
	position: absolute;
	white-space: nowrap;
	color: #0000;
	left: 100%;
	overflow: hidden;
	transition: color 0.6s, left 0.6s ease-in-out;
}
header.show-title h2.blog-name {
	color: var(--header-name-true-clr);
	left: 1rem;
	text-shadow: none;
}
header.show-title h2.post-title {
	display: inline-block;
	color: var(--header-title-clr);
	left: 17.6%;
}
header h2.post-title::before {
	content: "|";
	margin-right: 2em;
	color: #0000;
}
header.show-title h2.post-title::before {
	color: var(--txt-sub-clr);
}
header nav {
	margin-left: auto;
	margin-right: 1em;
}
header nav a {
	color: var(--txt-main-clr);
	margin: 0 1em;
	font-size: 1.3em;
	font-family: "Unifont";
}
header.show-title nav a {
	color: #0000;
}
.banner-container {
	height: 60vh;
	width: 100%;
	position: relative;
}
.banner {
	height: 100%;
	width: 100%;
	background-color: var(--banner-bg-clr);
	background-size: cover;
	background-image: url(/image/background);
	position: absolute;
	z-index: 0;
	transition: filter 0.5s, background-image 0.5s;
	filter: blur(3px);
}
.banner:hover,
.center-text:hover + .banner {
	transition: filter 0.5s;
	filter: none;
}
.link-up {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 15%;
	background: var(--banner-linkup);
	z-index: 1;
}
.overflow-blocker {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 10px;
	background-color: var(--bg-clr);
}
.center-text {
	position: absolute;
	max-width: 96%;
	bottom: 60%;
	left: 50%;
	transform: translate(-50%, 66%);
	font-family: "Unifont";
	color: var(--banner-title-light);
	z-index: 2;
	display: flex;
	flex-flow: column;
}
.stroke {
	text-shadow: -1px -1px 3px var(--banner-title-stroke), -1px 1px 3px var(--banner-title-stroke), 1px -1px 3px var(--banner-title-stroke), 1px 1px 3px var(--banner-title-stroke);
}
.center-text h1 {
	margin: 0;
	width: max-content;
	max-width: inherit;
	flex: 2;
	/* position: relative;*/
	font-size: 2.6em;
	line-height: 1.2em;
	text-align: center;
	background-color: #00000007;
	padding: 1vh 0.5em;
	border-radius: 0.5em;
	box-shadow: 0 0 5px #00000007;
}
.meta {
	flex: 1;
	/* position: relative;*/
	font-size: 1.4em;
	text-align: center;
	margin-top: 3vh;
}
aside {
	position: absolute;
	font-family: "Unifont";
}
#left-bar {
	left: 0;
}
#right-bar {
	right: 0;
}
#left-bar p {
	margin: 0 auto;
	text-align: center;
}
.sidebar-content {
	margin-top: 2em; 
	top: 4em;
	left: 1em;
	position: sticky;
	/*overflow-x: hidden;*/
	white-space: nowrap;
}
.sidebar-content hr {
	border-color: var(--txt-lighter-clr);
	transition: border-color 0.5s;
}
.sidebar-content li {
	width: 100%;
	white-space: normal;
	word-wrap: break-word;
}
.icon {
	width: 1.4em;
	height: 1.4em;
}
.nav-icon {
	direction: rtl;		
}
.nav-icon::after {
	content: attr(alt);
	color: var(--txt-sub-clr);
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	max-width: 0;
	transition: max-width 0.5s ease 0.2s, padding 0.5s 0.2s;
	position: relative;
	z-index: 4;
}
.nav-icon:hover::after {
	padding-left: 0.2em;
	padding-right: 0.3em;
	max-width: 6em;
	background-color: var(--article-bg-clr);
}
nav.entry a {
	display: block;
	position: relative;
	margin: 0.1em 0;
	padding: 0.2em;
	color: var(--txt-sub-clr);
	font-size: 1.3em;
	text-decoration: none;
}
nav.entry a::before {
	content: ">";
	left: 0;
	display: inline-block;
	position: relative;
	margin-right: 1em;
	transition: left 0.5s;
}
nav.entry a {
	transition: color 0.3s, background-color 0.3s;
}
nav.entry a:hover {
	color: var(--txt-main-clr);
	background-color: var(--reverse-bg-clr);
}
nav.entry a:hover::before {
	left: 90%;
}
.toc {
	line-height: 1.4em;
}
.toc ul li {
	color: var(--txt-sub-clr);
}
footer {
	position: relative;
	bottom: 0;
	margin: 2em 0 0;
	padding: 1em 0;
	background-color: var(--footer-bg-clr);
	text-align: center;
	box-shadow: 0 0 20px var(--footer-shadow-clr);
}
footer .inner-text {
	color: var(--footer-text-clr);
	position: relative;
}

::selection {
	background-color: var(--selection-bg-clr);
	color: var(--selection-text-clr);
}

.icon {
	filter: var(--icon-dark-clr-filter);
}

.inline-icon {
	display: inline;
	vertical-align: middle;
	filter: var(--icon-dark-clr-filter);
	width: 1em;
	height: 100%;
}

.page-container {
	position: relative;
}

.remark {
	font-size: 0.8em;
	line-height: initial;
	color: var(--txt-sub-clr);
}

[hidden] {
	display: none !important;
}

/* spacing between CJK and ASCII */
/* normal */
.left-spacing {
	margin-left: 0.12em;
}
.right-spacing {
	margin-right: 0.12em;
}
.left-shrinking {
	margin-left: -0.07em;
}
.right-shrinking {
	margin-right: -0.07em;
}
/* Unifont */
:is(
	header,
	.banner-container h1,
	article .title,
	main :is(h1, h2, h3)
) {
	word-spacing: -0.25em;
}
:is(
	header,
	.banner-container h1,
	article .title,
	main :is(h1, h2, h3)
) .left-spacing {
	margin-left: 0.04em;
}
:is(
	header,
	.banner-container h1,
	article .title,
	main :is(h1, h2, h3)
) .right-spacing {
	margin-right: 0.04em;
}
:is(
	header,
	.banner-container h1,
	article .title,
	main :is(h1, h2, h3)
) .left-shrinking {
	margin-left: -0.05em;
}
:is(
	header,
	.banner-container h1,
	article .title,
	main :is(h1, h2, h3)
) .right-shrinking {
	margin-right: -0.05em;
}
