* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: monospace;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

h1 {
	color: #000;
	margin-top: 0;
	font-size: 12pt;
	font-weight: normal;
	letter-spacing: 0.6rem;
}

h3 {
    font-size: 1.3em;
}

img {
	width: 100%;
}

.article {
	margin-bottom: 2rem;
	border-bottom: 1px dashed #aaa;
}

.box {
	background: #fff;
	border-radius: 10px;
	max-width: 1024px;
	max-height: 80vh;
	padding: 2rem;
	overflow: auto;
}

.box > p {
	color: #000;
	text-align: justify;
}

.image-container {
	width: 100px;
	height: 100px;
	background-color: lightgray;
}

.page-link {
    text-transform: capitalize;
}

#content-container {
    width: 100vw;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1rem;
}

#gallery {
	width: 100%;
	display: grid;
	grid-gap: 1rem;
	grid-template-columns: repeat(auto-fill, 100px);
	justify-content: space-between;
}

h1#main-title {
	display: flex;
	gap: 1em;
}

h1#main-title input[type="checkbox"] {
	visibility: hidden;
	position: fixed;
	left: -100%;
	top: 0;
}

h1#main-title input[type="checkbox"][name="c"]:checked + label[for="0-checkbox"] {
	font-weight: bold;
}

h1#main-title input[type="checkbox"][name="j"]:checked + label[for="1-checkbox"] {
	font-weight: bold;
}

h1#main-title input[type="checkbox"][name="v"]:checked + label[for="2-checkbox"] {
	font-weight: bold;
}

h1#main-title input[type="checkbox"][name="f"]:checked + label[for="3-checkbox"] {
	font-weight: bold;
}

h1#main-title input[type="checkbox"][name="x"]:checked + label[for="4-checkbox"] {
	font-weight: bold;
}

h1#main-title > form > input[type="submit"] {
	display: none;
}

h1#main-title > form > input[type="checkbox"]:checked ~ input[type="submit"] {
	display: unset;
}

#nav {
	display: flex;
	list-style: none;
	padding-left: 0;
}

#nav > li {
	margin-right: 1rem;
}

#art-container {
	position: fixed;
	top: 0;
	left: 0;
    right: 0;
    bottom: 0;
	z-index: -1;
	width: 100vw;
	height: 100vh;
    overflow: hidden;
}

#foreground-art,  #background-art {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#background-art {
	background-color: #EAE2B7;
	background: linear-gradient(to bottom, #ece4b7, #7dcfb6 50%);
}

@media (prefers-color-scheme: dark) {
	#background-art {
		background-color: #161B33;
		background: radial-gradient(#0D0C1D, #161B33);
	}
	.box {
		background: #111;
	}
	.box > p, p {
		color: #fff;
	}
	a, .clickable {
		color: #adf;
	}
}
