* {
	box-sizing: border-box;
}

:root {
	--sideW: 270px;
	--red: #a13737;
	--yellow: #fade8f;
}

html {
	scrollbar-color: #a13737 #fade8f;
}

body {
	font-family: basiic, ms pgothic, arial;
	font-size: 17px;
	margin: 0px;
	background-image: url("/notebook/!g/grid-mustard.png");
	background-size: 10px;
}

::selection {
	color: white;
	background: #a13737;
}

h1 {
	text-align: center;
}

h1,
h2,
h3,
h4 {
	font-family: momo;
}

button {
	cursor: pointer;
	font-size: 14px;
	font-family: inherit;
	background: transparent;
	border: none;
}

a {
	color: var(--red);
	font-weight: bold;
}

hr {
	border-color: var(--red);
	border-style: dashed;
}

#sidebar {
	background: var(--yellow);
	position: fixed;
	z-index: 5;
	height: 100%;
	width: var(--sideW);
	padding: 15px;
	overflow: auto;
}

#sidebar button {
	background: var(--red);
	color: var(--yellow);
	border: 1px solid black;
	border-radius: 5px;
	margin: 2px 1px;
}

#sidebar button:hover,
#sidebar button.active {
	background: var(--yellow);
	color: var(--red);
}

img.box {
	background: var(--yellow);
	cursor: zoom-in;
	border: 2px solid var(--red);
	width: 100%;
	height: auto;
	margin: 10px;
	border-radius: 10px;
}

.captions {
	line-height: normal;
	display: none;
}

main {
	text-align: center;
	z-index: 1;
	line-height: 0px;
	display: block;
	position: relative;
	padding: 10px 20px 20px 280px;
	width: 100%;
	height: 100%;
	column-count: 3;
	column-gap: 20px;
}

#pop-up {
	top: 0px;
	left: 0px;
	text-align: center;
	display: none;
	z-index: 2;
	position: fixed;
	background: white;
	padding: 10px 20px 20px 280px;
	width: 100%;
	height: 100%;
	overflow: auto;
	img {
		max-width: 100%;
	}
}

#popCap {
	margin: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 600px;
}

#pop-up button {
	font-family: momo, consolas;
	position: fixed;
	right: 20px;
	font-size: 30px;
	cursor: zoom-out;
}
