/* CYANOBACTERIA.CSS v1.1 */
/* HTML/CSS layout template from https://ribo.zone/free/layouts/ */
/* last updated: june 28, 2026 */

@font-face {
	font-family:'Igiari';
		src:url('Igiari.eot');
		src:url('Igiari.eot?#iefix') format('embedded-opentype'),
				url('Igiari.woff') format('woff'),
				url('Igiari.ttf') format('truetype'),
				url('Igiari.svg#Igiari') format('svg');
	font-weight:normal;
	font-style:normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	@font-face {
		font-family:'Igiari';
		src: url('Igiari.svg') format('svg');
		font-weight:normal;
		font-style:normal;
	}
}

/* start light mode styling */
	:root {
		--text: #080000;
		--border: rgb(211, 157, 157);
		--accent: #b10808;
		--bg: #e3dcdc;
		--gradient-top: #fff0f0;
		--gradient-bottom: rgba(255, 240, 240, 0.8);
	}
	header {
		background: black;
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #b10808;
			--accent: #b10808;
			--bg: rgba(60, 0, 0, 0.8);
			--gradient-bottom: rgb(60, 0, 0);
			--gradient-top: black;
			a:link { color: #b10808; }
		}
		header {
			background: url('Graphics/backgrounds/bck-grid.gif');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
	scrollbar-color:  var(--border) var(--gradient-bottom);
}
html {
	overscroll-behavior: none;
}
body {
	padding: 10px;
	font-family: 'Igiari', sans-serif;
	color: var(--text);

	/* page background pattern */
	background-color: var(--gradient-top);
	background-image: url(Graphics/backgrounds/red112.jpg);
	background-size: 10vw;
}


.scrollboxcontainer {
    overflow: scroll;
    scrollbar-width:thin;
}

.scrollboxheader {
    position: sticky;
}

.scrollsubheading {
    font-weight: bold;
    margin-top: 0.5rem;
}

.container {
	max-width: 55rem;
	margin: 3vw 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 */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }
.navspace {flex: 1 1 69.25%}
.thirddiv {flex: 1 1 32%}
.quarter {flex: 1 1 25%}


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	position: relative;
}
header span {
	font-size: 4rem;
	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);
}


nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradient-top),var(--gradient-bottom));
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradient-bottom));
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: #b10808;
}
nav a:hover, nav a:focus {
	background: linear-gradient(to right,var(--bg), var(--gradient-bottom), var(--gradient-top));
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}


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 {
	color: #b10808;
}

a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: #b10808;
}