/*@font-face {
	font-family: unifont;
	src: url(unifont-14.0.01.woff) format("woff");
}*/

html {
	width: 100%;
	height: 100%;
	background: #808080;
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: unifont, monospace;
	font-size: 16px;
	line-height: 1rem;
}

body {
	margin: 0;
	width: 60rem;
	height: 40rem;
	background: white;
	display: flex;
	flex-direction: column;
	cursor: none;
}

header {
	background: #C0C0C0;
	text-align: center;
}

footer {
	background: #C0C0C0;
}

main {
	height: 100%;
	flex: auto;
	overflow: hidden auto;
}

#page {
	word-break: break-all;
}

#pointer {
	position: absolute;
	width: .5rem;
	height: 1rem;
	background: white;
	mix-blend-mode: difference;
	pointer-events: none;
}

#title {
	width: fit-content;
	display: inline-block;
}

#page p {
	margin: 1rem 0;
}

#page p.pre {
	white-space: pre;
}

#page p.indent {
	text-indent: 2rem;
}

#page p.indent2 {
	text-indent: 4rem;
}

#page p.noMargin {
	margin: 0;
}

#page p.marginLeft2 {
	margin-left: 4rem;
}

#page p.img {
	line-height: 0;
	text-align: center;
}

#page img {
	outline: solid 2px blue;
	outline-offset: -2px;
	min-width: 16px;
	min-height: 16px;
}

a {
	color: inherit;
	text-decoration: none;
	cursor: none;
}

a.spLeft {
	margin-left: .5rem;
}

a.normal:before {
	content: '';
}

a.normal:after {
	content: '';
}

a:before {
	content: '◖';
	color: #008000;
}

a:after {
	content: '◗';
	color: #008000;
}

::-webkit-scrollbar {
	width: .5rem;
}
::-webkit-scrollbar-button {
	display: none;
}
::-webkit-scrollbar-thumb {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAAGklEQVQI12NkYGD4z4AAjOh8JiQJBiRJOB8Afr4EBJ3LpqcAAAAASUVORK5CYII=);
	/*background: black;*/
}
::-webkit-scrollbar-track {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAAGUlEQVQI12NgYGD4z4AK0Pk4Jf4zMDAwAACFvAP9HeZCzAAAAABJRU5ErkJggg==);
}

::selection {
	background: black;
	color: white;
}
