@font-face{
	font-family: terminus;
	src: url('/fonts/terminus.woff2');
	font-display: swap;
}

html{
	display: block;
	width: 100%;
	height: 100%;
}

body{
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	overflow: hidden;
}

div#container{
	display: block;
	width: 100%;
	min-height: calc(100% - 24px);
	max-height: calc(100% - 24px);
	margin-top: 24px;
	margin-bottom: 72px;
	overflow: auto;
}

div#header{
	font-family: terminus;
	position: fixed;
	top: 0;
	left: 0;
	height: 24px;
	width: 100%;
	padding: 0 8px;
	max-height: 24px;
	line-height: 24px;
	font-size: 16px;
	overflow: hidden;
	background-color: #000;
	color: #fff;
	display: inline;
	a{
		height: 24px;
		display: inline-block;
		cursor: pointer;
		color: #fff;
		text-decoration: none;
		vertical-align: middle;
	}
	a.home{
		width: 24px;
		content: '';
		background-image: url('/ico/favicon-16x16.png');
		background-repeat: no-repeat;
		background-position: center;
	}
	div#sharecontainer{
		position: fixed;
		top: 0;
		right: 0;
		img{
			height: 16px;
			width: 16px;
			padding: 4px;
			cursor: pointer;
		}
		input{
			display: none;
		}
		div#sharelinks{
			display: none;
			position: fixed;
			top: 24px;
			right: 0;
			background-color: #000;
			padding: 8px;
			a{
				line-height: 16px;
			}
			img{
				vertical-align: middle;
			}
			label#sharelinksclose{
				display: block;
				text-align: center;
				cursor: pointer;
			}
		}
		input#sharelinkstoggle:checked ~ div#sharelinks{
			display: block;
		}
	}
}

div#footer{
	font-family: terminus;
	font-size: 24px;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 72px;
	max-height: 72px;
	overflow: hidden;
	white-space: nowrap;
	background-color: #000;
	color: #fff;
	h1#storycategory{
		display: block;
		font-family: terminus;
		height: 24px;
		background-color: #000000;
		color: #ffffff;
		padding: 0 8px;
		top: 24px;
		left: 0;
		max-height: 24px;
		line-height: 24px;
		font-size: 16px;
		text-align: center;
		margin: 0;
		font-weight: normal;
	}
	div#storylinks{
		display: flex;
		a{
			flex-grow: 1;
			cursor: pointer;
			color: #ffffff;
			text-decoration: none;
			text-align: center;
			line-height: 48px;
		}
		a:hover{
			color: #000000;
			background-color: #ffffff;
		}
	}
}