/*
Styles modified from https://github.com/barrytsmith/txti-cms/blob/master/index.html.
*/

:root {
	--red: #c96565;
	--yellow: #c9b065;
	--lime: #8cba5d;
	--green: #65b87a;
	--cyan: #60b5a8;
	--blue: #658fc9;
	--purple: #8665c9;
	/*  css3 variables :3 */
	--pink: #c965c1;
	--accent: var(--blue);

	--background: #fff;
	--backdrop: #eee;
	--foreground: #ffffff;
	--shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
}

body {
	font-family: sans-serif;
	background: var(--background);
	/* used to be automatic*/
	max-width: 75%;
	/* used to be 50em */
	margin: auto;
	padding: 1em;
	line-height: 1.5;
	font-size: 100%;
}

footer {
	margin-top: 8888px;
	margin-bottom: 500px;
	padding-left: 10px;
	border: 1px solid #aaa;
}

img {
	max-width: 100%;
	box-sizing: border-box;
	display: block;
	margin: .5em auto;
	padding: .5em;
	border: none;
}

h1 {
	color: black
}

a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid blue;
}

a:hover {
	color: blueviolet;
}

table {
	border: 1px solid black;
}

/*
Styles modified from https://www.tipsandtricks-hq.com/simple-table-of-contents-toc-using-pure-html-and-css-code-9217.
*/
#toc_container {
	border: 1px solid #aaa;
	display: table;
	font-size: 95%;
	margin-bottom: 1em;
	padding: 20px;
	width: auto;
}

.toc_title {
	font-weight: 700;
	text-align: center;
}

#toc_container li,
#toc_container ul,
#toc_container ul li {
	list-style: outside none none !important;
}

/* Animation code was kindly supplied by paradox - github.com/safinsingh */
.gradient {
	background: linear-gradient(to right,
			var(--red),
			var(--yellow),
			var(--lime),
			var(--green),
			var(--cyan),
			var(--blue),
			var(--purple),
			var(--pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: rainbow 5s ease infinite;
	background-size: 400% 100%;
}

@keyframes rainbow {

	0%,
	100% {
		background-position: 0 0;
	}

	50% {
		background-position: 100% 0;
	}
}