/* start light mode styling */
	:root {
		--text: black;
		--border: darkgrey;
		--accent: black;
		--bg: rgba(255,255,255,0);
		--gradientTop: white;
		--gradientBottom: none;
	}
	header {
		background-image: url("goober.webp");
		image-rendering: pixelated;
		image-rendering: crisp-edges;
		filter: brightness(105%) contrast(110%);
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: white;
			--accent: white;
			--bg: rgba(255,255,255,0);
			--gradientBottom: none;
			--gradientTop: white;
			a:link { color: lightblue; }
		}
		header {
		background-image: url("goober.webp");
		image-rendering: pixelated;
		image-rendering: crisp-edges;
		filter: brightness(105%) contrast(110%);
		}
	}
/* end dark mode styling */

* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'Cascadia Mono';
	color: var(--text);

	/* page background pattern */
	background-color: var(--gradientTop);
	background-image:  url(headerlaconicaddict.png);
	background-size: cover;
	background-position: no-repeat;
}


.container {
	max-width: 70rem;
	margin: 5vw auto 12px auto;
	/*
	border: 6px ridge var(--border);
	outline: 3px solid var(--gradientTop);
	outline-offset: px;
	*/
	border-radius: 0px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-color: rgba(255, 255, 255, 1);
}
/* these control the column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 150px; /* change banner height here*/
	border: 2px dotted var(--border);
	border-radius: 0px;
	position: relative;
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
	text-shadow: 1px 1px var(--text),
		-1px 1px var(--text),
		1px -1px var(--accent),
		-1px -1px var(--accent);
	color: var(--gradientTop);
}

.adv {
  border: 10px solid var(--border);
  padding: 5px;
	img {
  border: 1px dotted red;
  border-radius: 0px;
  margin: 5px auto;
	}
}

adv div {
  text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}

nav {
	border: 2px dotted var(--border);
	border-radius: 0px;
	padding: 5px;
	/*
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	*/
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}

nav a {
	display: block;
	margin: 5px;
	background: none;
	border-radius: 0px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: rgba(0,0,0,0.1);
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border-radius: 0px;
}

section {
	border: 2px solid var(--border);
	border-radius: 0px;
	background: var(--bg);
	padding: 5px;
}

footer {
	text-align: right;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: darkviolet;
}