* {
	box-sizing: border-box;
}

body {
	font-family: Consolas, Courier, monospace;
	font-size: 1em;
	margin: 0;
}

code {
	font-family: Consolas, Courier, monospace;
}

header {
	font-size: 1.4em;
	position: fixed;
	margin: 0;
	top: 0;
	padding: 0;
	height: 2.4em;
	width: 100%;
	display: block;
	z-index:1;
}

main {
	margin: 4em .5em;
}

.logo {
	font-family: vgafont, Courier, monospace;
	float: left;
	transition: .5s ease;
	position: absolute;
}

.title {
	font-family: vgafont, Courier, monospace;
	float: right;
	margin-right: .3em;
}

article {
	margin: 1em .5em;
	padding: .5em;
	display: flex;
	flex-wrap: wrap;
}

footer {
	position: fixed;
	width:3em;
	height:3em;
	right: 0em;
	bottom: 0;
}

.tile {
	flex: none;
	margin: .5em;
	width: 10.5em;
	height: 10.5em;
	padding: .5em;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	transition: ease .5s;
}

.tile[type=external]::before {content:"\21F1";width:1em; height:1em; position:relative; left:8.8em; margin-bottom:-1em; display:block; transform:rotate(90deg);}

.tile img {
	max-width: 100%;
	max-height: 100%
}

.tileimg {
	max-width: 6em !important;
	max-height: 4em !important;
	margin-top: 1.5em !important
}

.clear {
	padding: .75em;
	width: 100%;
}

@media all {
	.logo {
		margin-left: .3em;
	}
}

@media (max-width: 400px) {
	.logo {
		margin-left: -5em;
	}
}

#theme {
	transition: .25s ease
}

/* submodules */
input,
select,
label,
textarea {
	font-size: 1em;
	font-family: Consolas, Courier, monospace;
	float: right;
}

.wide {
	width:100%;
}

#header {
	max-width: 27em;
	margin: auto;
	padding: .1em;
}

#form {
	max-width: 27em;
	margin: auto;
	margin-bottom: 3em;
	padding: 1em;
}

.nopanel {
	min-height: 1em;
	line-height: 2em;
	padding: .2em;
}

.panel {
	min-height: 1em;
	line-height: 2em;
	margin-bottom: .1em;
	padding: .2em;
	overflow: auto;
}