body {
	font-family: Verdana, Arial, sans-serif;
	font-size: 14px;
	font-size-adjust: 0.545;
	background: #402850;
}

#container {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 40px;
	margin-bottom: 20px;
	background: white;
	border: 4px solid #777;
	box-shadow: black 0 0 25px;
}

#banner {
	background-image: url("banner.png");
	background-size: cover;
	aspect-ratio: 1000 / 160;
}

nav {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	border-top: 1px solid #505;
	border-bottom: 1px solid #505;
	border-left: 1px solid #505;
}

nav a {
	background: linear-gradient(to bottom, #f7e, #948);
	color: white;
	text-align: center;
	border-right: 1px solid #505;
	padding-top: 5px;
	padding-bottom: 5px;
	font-weight: bold;
	text-decoration: none;
	text-shadow: #444 0 0 4px;
	line-height: 200%;
}

nav a:hover {
	background: linear-gradient(to bottom, #fae, #a59)
}

main {
	padding: 15px;
}

footer {
	border-top: 1px solid #aaa;
	background: linear-gradient(to bottom, #eee, #ccc);
	text-align: center;
	font-size: 12px;
	padding: 10px;
	clear: both;
}

a {
	color: #406;
}

h1 {
	font-weight: bold;
	font-size: 20px;
	margin-top: 5px;
	margin-bottom: 5px;
}

h2 {
	font-weight: bold;
	font-size: 18px;
	margin-top: 5px;
}

h3 {
	font-weight: bold;
	font-size: 16px;
	margin-top: 5px;
}

hr {
	border: none;
	border-top: 1px solid #aaa;
}

hr.double {
	border: none;
	border-top: 3px double #aaa;
}

div.subtitle {
	color: #444;
}

img {
	max-width: 100%;
}

table, th, td {
	border: 1px solid #888;
	padding: 6px;
	margin-bottom: 10px;
}

table {
	border-collapse: collapse;
}

th {
	background-color: #ddd;
	color: #333;
}

code {
	font-family: monospace;
	color: black;
	background-color: #ddd;
}

.code {
	font-family: monospace;
	color: black;
	background-color: #ddd;
	padding: 5px;
}

.thumb {
	float: right;
	margin-left: 10px;
	margin-right: 10px;
	padding: 5px;
	border: 1px solid #aaa;
	background: #eee;
	width: 200px;
}

.thumb img {
	width: 100%;
	border: 1px solid #aaa;
}

figcaption {
	font-size: 12px;
}

.creation {
	display: flex;
	background: #eee;
	border: 1px solid #aaa;
	padding: 10px;
	margin-bottom: 10px;
}

.creationInfo {
	flex: 1 1 auto;
	margin-bottom: 10px;
}

.creationTitle {
	font-size: 16px;
	font-weight: bold;
}

.creationDesc {
	margin-top: 10px;
}

.creationThum {
	flex: 0 0 auto;
	margin-left: 10px;
}

.creationThum img {
	width: 200px;
	border: 1px solid #aaa;
}

.creationButton {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	background: linear-gradient(to bottom, #6e6, #383);
	border: 1px solid #060;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	color: white;
	text-shadow: black 1px 1px 2px;
	border-radius: 8px;
}

.creationButton:hover {
	background: linear-gradient(to bottom, #6f6, #3a3);
}

.info {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 5px;
	padding-left: 10px;
	background-color: #def;
	background-image: url("icons/info.png");
	background-repeat: no-repeat;
	background-origin: content-box;
	background-position-x: left;
	background-position-y: center;
	border: 1px solid #00a;
	margin-bottom: 10px;
}

.info p {
	margin-left: 60px;
	margin-top: 5px;
	margin-bottom: 5px;
}

/* for example sentences in conlang documentation */
.lang-example {
	margin-left: 50px;
}

/* word-for-word glosses of example sentences */
.lang-gloss {
	font-family: monospace;
	background: #ddd;
	color: black;
}

/* make footnotes and things highlight themselves like magic! */
.footnote:target {
	background-color: #fdf;
}

/*
	vibasite, now with support for gay esperanto
	
	this is here because i was going to make a version of my homepage in sitelen pona,
	but for reasons, this ended up being a bit more trouble than it's worth.
	maybe i'll figure out a better way to do it later though.
	or just wait until sitelen pona gets into unicode and every single
	computational device in the universe supports it.
*/
@font-face
{
	/* linja pona is still the best toki pona font don't @ me */
	font-family: linjapona;
	src: url(linjapona.otf);
}

/* Zotym stuff */
@font-face
{
	font-family: zotym;
	src: url(zotym/zotym.ttf);
}

.zotym {
	font-family: zotym;
	font-size-adjust: none;
}