/*
	Georgia

	Demo css to show basic, blog-like styling

	Visit http://www.ulysses.app/styles for full reference

*/

.post-title {
	margin-top: -40px;
}

.mastodon-card {
	background: #fcf8ff;
	border: 1px solid #c9c4da;
	border-radius: 8px;
	margin: 0;
	max-width: 540px;
	min-width: 270px;
	overflow: hidden;
	padding: 0;
}

.mastodon-link {
	align-items: center;
	color: #1c1a25;
	display: flex;
	flex-direction: column;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Roboto, sans-serif;
	font-size: 14px;
	justify-content: center;
	letter-spacing: 0.25px;
	line-height: 20px;
	padding: 24px;
	text-decoration: none;
}

.mastodon-meta {
	color: #787588;
	margin-top: 16px;
}

.mastodon-cta {
	font-weight: 500;
}

.topBar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	z-index: 10;
	background-color: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.topBarContent {
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	padding: 0 30px;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.topBar h5 {
	margin: 0;
	font-size: 15px;
	white-space: nowrap;
}

.downloadButton {
	background-color: #007aff;
	border-radius: 40px;
	padding: 8px 14px;
	color: white;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.downloadButton:hover {
	background-color: #278eff;
	text-decoration: none;
}

.downloadButton:active {
	background-color: #0e6fd9;
	text-decoration: none;
}

@media (max-width: 520px) {
	.topBarContent {
		padding: 0 16px;
	}

	.topBar h5 {
		font-size: 13px;
	}

	.downloadButton {
		font-size: 11px;
		padding: 7px 11px;
	}
}

.content {
	max-width: 80%;
	margin: auto;
	padding-top: 80px;
}

body {
	font-size: 120%;
	line-height: 1.6;
	margin: 0;
	margin: auto;
	color: rgb(10, 10, 10);


	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
		"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
		sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: rgba(245, 245, 247, 1);
}


a {
	text-decoration: none;
	color: #007aff;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font-size: 300%;
	line-height: 1.2;
	font-style: normal;
	margin: 2.5em 0 1em;
}

h2 {
	font-weight: bold;
	font-size: 200%;
	line-height: 140%;
	margin: 1.5em 0 0.75em;
}

h3 {
	font-weight: normal;
	text-transform: uppercase;
	font-size: 150%;
	letter-spacing: 0.15em;
	margin: 1.75em 0 0.75em;
}

h4 {
	font-weight: normal;
	font-size: 150%;
	letter-spacing: 0.1em;
	margin: 1.5em 0 0.75em;
}

p {
	margin: 0 0 1.2rem;
}

h5 {
	font-size: 26px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #161e2e;
	margin-bottom: 10px;
}

h6 {
	font-weight: bold;
	font-size: 100%;
	letter-spacing: 0.1em;
	color: gray;
}

p {
	text-align: left;
	font-size: 100%;
	margin: 1em 0 0;
}

h1+p {
	text-indent: 0;
}

p+ul,
p+ol,
p+dl {
	margin-bottom: 1.5em;
}

video {
	width: 100%;
	object-fit: scale-down;
}

img {
	max-width: 100%;
}

figure {
	margin: 2em 0 1.5em 0;
	width: 100%;
	text-align: center;
}


math[display="block"] {
	margin: 1em 0 1em 0;
}

figcaption {
	font-size: 86%;
	padding: 1em;
	padding-top: 0.5em;
	color: #777;
}

blockquote {
	border-left: 5px solid #eee;
	padding-left: 1.5em;
	margin: 1em 0;
}

blockquote p {
	font-style: italic;
}

blockquote small {
	display: block;
	line-height: 1.7em;
}

ul,
ol,
dl {
	text-align: left;
}

ul,
ol {
	padding-left: 1.2em;
}

ul li,
ol li {
	padding-left: 0.3em;
	margin-top: 0.6em;
}

li p {
	margin-top: 0px;
	text-indent: 0em;
}

li {
	margin-bottom: 0.6em;
}

hr {
	border: none;
	margin: 1.5em 0 1.5em;
	font-size: 200%;
	color: #ddd;
	height: 1em;
}

hr:after {
	content: "❧"
}

h1+hr {
	margin: -0.5em 0 1.5em;
	font-size: 400%;
}

ol#footnotes {
	margin-top: 4.5em;
	border-top: 1px solid #eee;
	padding-top: 1em;
	font-size: 80%;
	padding-left: 1.5em;
}

ol#footnotes p {
	text-indent: 0px;
}

figure+p {
	text-indent: 0em !important;
}

/* Code Highlighting */

code {
	font-family: 'Courier', monospace;
	font-size: 80%;
	color: #f8f8f2;

	padding: 0.5em 0.5em;
	background: #272822;
	border-radius: 5px;
}

pre>code {
	padding: none;
	background: none;
	border: none;
}

pre {
	color: #f8f8f2;
	text-align: left;
	line-height: 1.2em;
	overflow-x: scroll;
	background: #272822;
	padding: 20pt;
	margin: 20pt 0;
	border-radius: 3pt;
	white-space: pre-wrap;
	tab-size: 4;
}

.syntax-all {}

.syntax-entity {
	color: #fd971f;
}

.syntax-tag {
	color: #f92672;
}

.syntax-keyword {
	color: #f92672;
}

.syntax-parameter {
	color: #a6e22e;
}

.syntax-string {
	color: #e6db74;
}

.syntax-constant {
	color: #9effff;
}

.syntax-variable {
	color: #a6e22e;
}

.syntax-escape {
	color: #ae81ff;
}

.syntax-comment {
	color: #75715e;
}

.syntax-error {
	color: #f8f8f0;
	background: #f92672;
	padding: 2px 6px;
}

/* Markup Highlighting */

.syntax-heading {
	font-weight: bold;
	color: #ae81ff;
}

.syntax-italic {
	font-style: italic;
}

.syntax-bold {
	font-weight: bold;
}

.syntax-deleted {
	color: #b31d28;
	background-color: #ffeef0;
}

.syntax-inserted {
	color: #22863a;
	background-color: #f0fff4;
}

.syntax-changed {
	color: #e36209;
	background-color: #ffebda;
}

.syntax-link {
	text-decoration: underline;
	color: #008fff;
}

.syntax-list {
	color: #fd971f;
}

table {
	display: block;
	overflow-x: scroll;
	table-layout: auto;
	margin-left: -10px;
	margin-right: -10px;
	margin-top: 50px;
	margin-bottom: 50px;
	border-collapse: separate;
	border-spacing: 10px 0;
}

th,
td {
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: left;
	vertical-align: baseline;
}

th {
	border-bottom: 1px solid black;
}

thead:first-of-type>tr:first-of-type>th {
	border-bottom: 3px solid black;
}

td {
	border-bottom: 1px solid #ddd;
}

td>p {
	text-align: unset;
}

nav.toc ul {
	list-style: none;
	margin-left: 0;
}

nav.toc>ul {
	padding-left: 0;
}

nav.toc a {
	text-decoration: none;
}

nav.toc a:hover {
	text-decoration: underline;
}

@keyframes highfade {
	0% {
		background-color: none;
	}

	20% {
		background-color: yellow;
	}

	100% {
		background-color: none;
	}
}

@-webkit-keyframes highfade {
	0% {
		background-color: none;
	}

	20% {
		background-color: yellow;
	}

	100% {
		background-color: none;
	}
}

a:target,
ol#footnotes li:target,
sup a:target {
	animation-name: highfade;
	animation-duration: 2s;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	-webkit-animation-name: highfade;
	-webkit-animation-duration: 2s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: ease-in-out;
}

@media screen and (max-width: 736px) {
	body {
		font-size: 120%;
	}

	h1 {
		font-size: 250%;
	}

	h2 {
		font-size: 150%;
	}

	h3,
	h4 {
		font-size: 140%;
	}
}