/*
 * styles.css
 * Copyright (C) 2020 Vintage Salt
 *
 * Distributed under terms of the MIT license.
 */

/* GLOBALS */

:root {
	--background: #3c3341;
	--background-dark: #28232c;
	--link: #ba844d;
	--link-hover: #ffb940;
	--text: #f7f4db;
}
html {
	background: var(--background-dark);
	overflow-y: scroll;
}
body {
	background: var(--background);
	color: var(--text);
	font-family: "Roboto", sans-serif;
	margin: 4em auto;
	max-width: 40em;
	padding: 4em;
}

/* TYPES */
/* a */
a {
	color: var(--link);
	text-decoration: none;
	transition: .08s ease-in;
}
a:hover {
	color: var(--link-hover);
}
/* code */
code {
	background: var(--text);
	border-radius: 3px;
	color: var(--background-dark);
	display: inline-block;
	font-size: 11pt;
	padding: 2px 4px;
}
dl {
	list-style-type: none;
	margin: 0;
}
dl dt {
	font-weight: bold;
	margin: 1em 0 0 0;
}
dl dd {
	margin: 0;
}

/* CUSTOM DIVS AND SPANS */
a.quickbutton {
	background: var(--background);
	border-radius: 8px;
	display: block;
	font-size: 150%;
	margin: 0.5em 0;
	padding: 1em;
	text-align: center;
}
a.quickbutton:hover {
	background: var(--link-hover);
	color: var(--background-dark);
}
div.break {
	width: 4em;
	margin: 2em auto;
	border-bottom: 3px double var(--text);
}
img.bigimg {
	border-radius: 8px;
	display: block;
	margin: 1em auto;
}

/* HIERARCHICAL CLASSES */
/* HEADER */
.header {
	background: var(--background);
}
.logocontainer {
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 1em 0;
}
.logo {
	border-radius: 50%;
	height: 128px;
	vertical-align: middle;
	margin: 0 1em;
	max-width: 128px;
}
.header h1 {
	display: inline;
	margin: 0;
}
.header p {
	margin: 0;
}
.header nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;
}
.header nav ul li {
	display: inline-block;
	padding: 0.8em;
}
.header nav ul li:hover {
	background: var(--link-hover);
	color: var(--background-dark);
	transition: .08s ease-in;
}

/* CONTENT */
.content {
	background: var(--background);
	padding: 2em 0;
}
.subcontainer {
	background: var(--background);
	border-radius: 8px;
	margin: 1em 0;
	padding: 1em;
}
.toc {
	background: var(--background);
	border-radius: 4px;
	display: inline-block;
	margin: 0 1em 1em 1em;
	width: auto;
}

/* FOOTER */
.footer {
	background: var(--background);
	font-size: 11px;
	line-height: 1.3;
	padding: 1em 0;
	text-align: center;
}
.footer p {
	margin: 0;
}

/* MOBILE */
@media only screen and (max-width: 600px) {
	body {
		margin: 0;
		padding: 1em;
	}
	.nomobile {
		display: none;
	}
}
