html {
	height: 100vh;
	font-size: 62.5%;
	background: rgb(46, 52, 64);
}

body {
	min-height: 100vh;
	font-size: 1rem;
	font-family: "Martel Sans", sans-serif;
	padding: 0;
	margin: 0;
	color: rgb(60, 61, 61);
	cursor: default;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: flex-start;
	background: url(../img/overlay.png), rgb(46, 52, 64);
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: cover;
	background-attachment: fixed;
}

::selection {
	background: rgba(232, 62, 140, 0.3);
}

ul {
	font-family: "Tinos", serif;
	font-size: 2rem;
	margin-bottom: 2rem;
}

li {
	list-style-type: square;
}

h4#update-date {
	background-color: rgba(232, 61, 140, 0.16);
	color: rgb(232, 62, 140);
	padding: 0.825em;
	padding-bottom: 0.625em;
	margin: 0 0 1em 0;
	border-radius: 0.3em;
	line-height: 1;
}

h5#creation-date {
	margin: 0 0 1.5em 0;
	padding: 0.825em;
	line-height: 1;
}

section.article a {
	color: rgb(121, 122, 124);
	text-decoration: none;
	transition: 0.3s all ease-in-out;
}

section.article a:hover,
section.article a:hover:after {
	color: rgb(98, 99, 101);
	text-decoration: none;
}

.aside-left {
	width: 30rem;
	padding: calc(10rem - 15px);
}

section.articles article,
section.article,
.aside-right {
	padding: calc(9rem - 15px);
}

section.articles article,
section.article,
.aside-right {
	background-color: rgb(252, 252, 252);
}

section a[target="_blank"]:after {
	font-family: sans-serif, "FontAwesome";
	font-size: 1.5rem;
	content: " \f08e";
	color: rgb(121, 122, 124);
}

.navbar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.navbar a:not(:last-of-type) {
	margin-bottom: 2rem;
}

.aside-left {
	color: rgb(60, 61, 61);
	font-size: 2.5rem;
}

.aside-left a {
	color: rgb(114, 126, 149);
	transition: 0.3s all ease-in-out;
}

.aside-left a:hover {
	color: rgb(252, 252, 252);
}

.aside-left .separator hr {
	border: 1px solid rgb(82, 93, 114);
	border-radius: 7px;
}

.logo {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.logo figure {
	transition: 0.3s all ease-in-out;
	box-shadow: none;
	margin-bottom: 0;
}

.logo figure:hover {
	box-shadow: 0 0 50px rgb(114, 126, 149);
}

h1,
h3,
h4,
h5,
h6 {
	line-height: 1.3;
}

h2 {
	line-height: 1.4;
}

h1 {
	font-size: 4rem;
	margin-bottom: 2rem;
	color: rgb(60, 61, 61);
	background-image: repeating-linear-gradient(
		to bottom,
		transparent,
		transparent calc(1.2em - 10px),
		rgba(232, 62, 140, 0.5) calc(1.2em - 10px),
		rgba(232, 62, 140, 0.5) 1.2em
	);
	display: inline;
}

h2:first-of-type:first-letter {
	float: left;
	font-family: "Tinos", serif;
	font-size: 7.5rem;
	line-height: 6rem;
	padding-top: 0;
	padding-right: 8px;
	padding-left: 3px;
}

h2:first-of-type {
	font-family: "Martel Sans", sans-serif;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

p {
	font-family: "Tinos", serif;
	font-size: 2rem;
}

.circle {
	border-radius: 50%;
	width: 100%;
}

.circle:after {
	content: "";
	display: block;
	height: 0;
	width: 100%;
	padding-bottom: 100%;
}

blockquote {
	font-style: italic;
	padding: 1.2em 2em;
	background-color: rgba(234, 238, 246, 0.65);
	border-left: 6px solid rgb(232, 62, 140);
	border-radius: 0.3em;
}

blockquote :last-child {
	margin-bottom: 0;
}

pre:focus {
	outline: 0;
}

.code-toolbar {
	font-size: 1.7rem;
}

code a {
	color: rgb(232, 62, 140) !important;
	word-wrap: break-word;
}

.code-toolbar {
	position: relative;
	margin-bottom: 3rem;
}

.code-toolbar .toolbar {
	position: absolute;
	top: 6px;
	right: 6px;
}

.toolbar button {
	transition: 0.3s all ease-in-out;
	text-transform: uppercase;
	background-color: rgb(70, 71, 63);
	color: rgb(252, 252, 252);
	border: 0;
	border-radius: 5px;
	font-size: 1.3rem;
	padding-top: 4px;
	padding-bottom: 0;
	line-height: 1.6;
}

.toolbar button:hover {
	background-color: rgb(252, 252, 252);
	color: rgb(70, 71, 63);
}

section p {
	line-height: 1.3;
	letter-spacing: 0.25px;
}

section.article > p:not(:last-of-type) {
	margin-bottom: 2rem;
}

section.articles {
	padding: 0;
}

section.articles a {
	color: rgb(60, 61, 61);
	text-decoration: none;
}

section.articles a h2 {
	font-size: 3rem;
	background-image: repeating-linear-gradient(
		to bottom,
		transparent,
		transparent calc(1.2em - 8px),
		rgba(232, 62, 140, 0.5) calc(1.2em - 8px),
		rgba(232, 62, 140, 0.5) 1.2em
	);
	display: inline;
}

section.article h3 {
	margin-top: 3rem;
}

section.articles article {
	position: relative;
	transition: 0.3s all ease-in-out;
}

section.articles article .image {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0.25;
	transition: 0.3s all ease-in-out;
	box-shadow:
		0 20px 100px rgb(46, 52, 64) inset,
		0 0 50px rgb(46, 52, 64);
}

section.articles article .image:hover {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0.3;
	box-shadow:
		0 -20px 50px rgb(46, 52, 64) inset,
		0 -20px 50px rgb(46, 52, 64);
}

section.article img {
	max-width: 100%;
	height: auto !important;
}

.reading-progress-bar {
	position: fixed;
	top: 0;
	left: 30rem;
	width: 100%;
	height: 1rem;
	z-index: 999;
}

.reading-progress-bar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background: rgb(232, 62, 140);
	animation-name: reading-progress-bar-width;
	animation-timeline: scroll(y);
	display: block;
}

footer {
	font-size: 1.25rem;
	background-color: rgb(234, 238, 246);
	color: rgb(155, 165, 184);
	border-radius: 0.3em;
	padding-top: calc(7rem - 15px);
	padding-bottom: calc(7rem - 15px);
	margin-top: calc(7rem - 15px);
}

@keyframes reading-progress-bar-width {
	from {
		width: 0;
	}

	to {
		width: 100%;
	}
}

@media only screen and (max-width: 991px) {
	section.articles article,
	section.article,
	.aside-left,
	.aside-right {
		padding: calc(3.5rem - 15px);
	}

	.aside-left {
		width: 100%;
		font-size: 4rem;
	}

	.reading-progress-bar {
		left: auto;
	}
}

@media only screen and (max-width: 1937px) {
	.aside-right {
		display: none;
	}
}
