/* === Reset === */
::selection {
	background: rgba(255,255,255,.2);
	color: rgba(255,255,255,.95);
}
* { margin:0; padding:0; border:0; }
*:active, *:focus { outline: 0px; }
::-webkit-scrollbar { display: none; }
html {
	scrollbar-width: none;
	-ms-overflow-style: none;
}
body {
	width: 100%;
	background:#1a1a1a;
	overflow-x: hidden;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	color: rgba(255,255,255,.95);
}

/* === Canvas background === */
canvas {
	position: fixed;
	top:0; left:0;
	z-index: 0;
	pointer-events: none;
}
overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 1;
	background: rgba(26,26,26,.5);
	pointer-events: none;
}

/* === Shared: links === */
links {
	display: inline-block;
	margin-left: 10px;
}
links a {
	font-size: 1.2rem;
	color: rgba(255,255,255,.9);
}

/* === Shared: posts === */
posts {
	display: block;
}
posts post {
	display: block;
}
posts post a {
	text-decoration: none;
	color: rgba(255,255,255,.95);
}
posts post a:hover {
	color: rgba(255,255,255,.7);
}
posts post a post-title {
	display: block;
}
posts post a post-date {
	display: block;
	color: rgba(255,255,255,.4);
}

/* === Homepage === */
banner {
	display: block;
	width: 100%;
	font-size: 4rem;
	font-weight: 400;
}
banner > logo {
	display: block;
	width: 600px;
	margin: 100px auto 0 auto;
	padding: 0 20px;
}
banner > logo > links {
    display: inline-block;
}
body > posts {
	position: relative;
	z-index: 2;
	width: 600px;
	margin: 60px auto 0 auto;
	padding: 0 20px 80px 20px;
}
body > posts post {
	margin-bottom: 30px;
}
body > posts post a post-title {
	font-size: 1.2rem;
	margin-bottom: 4px;
}
body > posts post a post-date {
	font-size: 0.8rem;
}

/* === Content pages (about, article) === */
articles {
	position: relative;
	z-index: 2;
	display: block;
	width: 800px;
	margin: 100px auto 0 auto;
	padding-left: 20px;
	padding-bottom: 80px;
	font-size: 1.4rem;
}
articles nav {
	font-size: 1.4rem;
	margin-bottom: 60px;
}
articles nav a {
	color: rgba(255,255,255,.9);
}

/* === About page === */
about {
	display: block;
	padding: 30px;
	border-radius: 10px;
	font-size: 1.6rem;
}
about a {
	color: white;
	display: inline-block;
}
about links, founder links {
	display: block;
	text-align: right;
	margin-top: 24px;
}
about, founder {
	background-color: rgba(255,255,255,.5);
}
founder {
	display: block;
	margin-top: 40px;
	padding: 30px;
	border-radius: 10px;
}
founder photo {
	display: block;
	width: 140px;
	height: 140px;
	margin-bottom: 30px;
}
founder photo img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}
founder name {
	display: block;
	font-size: 1.6rem;
	margin-bottom: 4px;
}
founder title {
	display: block;
	font-size: 1rem;
	color: rgba(255,255,255,.5);
	margin-bottom: 24px;
	margin-left: 4px;
}

/* === Article page === */
article {
	padding: 0;
}
article post-title {
	display: block;
	font-size: 3rem;
	margin-bottom: 8px;
	color: rgba(250,250,250,1);
}
article post-meta {
	display: block;
	font-size: 0.9rem;
	color: rgba(255,255,255,.4);
	margin-bottom: 24px;
	margin-left: 4px;
}
article post-meta post-author {
	color: rgba(255,255,255,.6);
}
article post-meta post-author a {
	color: rgba(255,255,255,.6);
}
article post-body {
	display: block;
	font-size: 1.3rem;
	line-height: 1.4;
	color: rgba(255,255,255,.95);
	background-color: rgba(255,255,255,.5);
	padding: 30px;
	border-radius: 10px;
}
article post-body p {
	margin-bottom: 16px;
}
article post-body h2 {
	font-size: 1.4rem;
	color: rgba(255,255,255,.95);
	margin: 32px 0 12px 0;
}
article post-body h3 {
	font-size: 1.2rem;
	color: rgba(255,255,255,.9);
	margin: 24px 0 10px 0;
}
article post-body a {
	color: rgba(255,255,255,.9);
}
article post-body ul, article post-body ol {
	margin: 0 0 16px 24px;
}
article post-body li {
	margin-bottom: 6px;
}
article post-body code {
	font-size: 0.95em;
	background: rgba(255,255,255,.1);
	padding: 2px 6px;
	border-radius: 4px;
}
article post-body pre {
	background: rgba(255,255,255,.08);
	padding: 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	overflow-x: auto;
}
article post-body pre code {
	background: none;
	padding: 0;
}
article post-body blockquote {
	border-left: 3px solid rgba(255,255,255,.3);
	padding-left: 16px;
	margin-bottom: 16px;
	color: rgba(255,255,255,.6);
}

/* === Footer === */
footer {
	display: block;
	width: 100%; height: 30px;
	padding-bottom: 20px;
	font-size: 10px;
	color: gray;
	text-align: center;
}

/* === Responsive === */
@media (max-width: 768px) {
	banner > logo, body > posts {
		width: 90%;
		padding: 0 20px;
		box-sizing: border-box;
	}
	articles {
		width: 90%;
		margin: 60px auto 0 auto;
		padding: 0 20px;
		padding-bottom: 60px;
		box-sizing: border-box;
		font-size: 1rem;
	}
	founder {
		margin-top: 60px;
	}
	founder photo {
		width: 120px;
		height: 120px;
	}
	founder name {
		font-size: 1.4rem;
	}
	founder bio {
		font-size: 1rem;
	}
	about {
		font-size: 1.2rem;
	}
	founder name {
		font-size: 1.2rem;
	}
	article post-title {
		font-size: 1.5rem;
	}
	article post-body {
		font-size: 1rem;
		padding: 20px;
	}
	article post-body h2 {
		font-size: 1.15rem;
	}
	article post-body h3 {
		font-size: 1.05rem;
	}
}
