/* CYANOBACTERIA.CSS v1.1 */
/* HTML/CSS layout template from https://ribo.zone/free/layouts/ */
/* last updated: june 28, 2026 */

/* start light mode styling */
	:root {
		--text: #333333;
		--border: lightgrey;
		--accent: #666666;
		--bg: #dddddd;
		--gradient-top: white;
		--gradient-bottom: rgb(240, 240, 240, .8);
	}
	header {
		background: url('banner.png');
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #7a7a7a;
			--accent: #b8b8b8;
			--bg: rgb(60,60,60,.8);
			--gradient-bottom: rgb(38, 38, 38);
			--gradient-top: #555555;
			a:link { color: lightblue; }
		}
		header {
			background: url('banner.png');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
	scrollbar-color:  var(--border) var(--gradient-bottom);
}
html {
	overscroll-behavior: none;
}
body {
	padding: 10px;
	font-family: 'MS PGothic', sans-serif;
	color: var(--text);

	/* page background: tiling image */
	background-color: #3a3f6b;
	background-image: url('bg.png');
	background-repeat: repeat;
}


.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 3px solid var(--gradient-top);
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-color: var(--gradient-bottom);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradient-bottom) 9px ), repeating-linear-gradient( var(--bg), var(--bg));
}
/* these control the column widths */
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }


header {
	background-size: cover;
	background-position: 45% center; /* keeps the sign in frame on narrow screens */
	image-rendering: pixelated; /* keeps the dither crisp */
	width: 100%;
	height: 160px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	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(--gradient-top);
}



section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradient-top),var(--gradient-bottom));
	padding: 5px;
}


footer {
	text-align: center;
	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: var(--accent);
}

/* ===== mill ends space fonts ===== */
body {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 15px;
}
header span {
	font-family: "Arial Black", Impact, sans-serif;
	letter-spacing: -1px;
}
h1, h2 {
	font-family: "Times New Roman", Times, serif;
	font-weight: bold;
}
h1 {
	font-size: 1.8rem;
	letter-spacing: 3px;
}
h2 {
	font-size: 1.5rem;
	text-decoration: underline;
}

/* ===== lighter greys (dark mode) ===== */
@media (prefers-color-scheme: dark) {
	:root {
		--gradient-top: #7a7a7a;
		--gradient-bottom: rgb(88, 88, 88);
		--bg: rgb(105, 105, 105, .8);
		--border: #9a9a9a;
	}
}
