/* CYANOBACTERIA.CSS v1.1 */
/* HTML/CSS layout template from https://ribo.zone/free/layouts/ */
/* last updated: june 28, 2026 */






/* ===== LIGHT/DARK MODE STYLING ===== */

/*light mode*/
	:root {
		--text: darkslategrey;
		--border: lightgrey;
		--accent: teal;
		--bg: #dce3e1;
		--gradient-top: white;
		--gradient-bottom: rgb(240, 248, 255, .8);
		--selectedbutton: rgba(94, 207, 207, 0.753);
	}
	header {
		background: url('/images/template/NewProject.png');
	}
/*end light mode*/


/*dark mode*/
	/* @media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #5a7678;
			--accent: #74C365;
			--bg: #603742;
			--gradient-bottom: #380513;
			--gradient-top: #632f3c;
			a:link { color: lightblue; }
		}
		header {
			background: url('NewProject.png');
		}
	}
/*end dark mode*/




@font-face {
  font-family: 'ToshibaTxL2'; /* set name */
  src: url('Web437_ToshibaTxL2_8x16.woff'); /* url of the font */
}

/* ===== STYLING ===== */

body {
	padding: 10px;
	font-family: 'ToshibaTxL2', sans-serif;
	color: var(--text);
	font-size: 1.1rem;
	background-color: var(--gradient-top);
}

h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
	-webkit-font-smoothing: none;
	font-smooth: never;
}
h1 { 
	font-size: 2.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 2rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.5rem;
}
h4 { 
	font-size: 1.3rem;
	color: var(--accent);
	padding-left: 12px;
}

a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}






/* ===== SIZES OF BOXES AND SUCH ===== */

* { 
	box-sizing: border-box;
	scrollbar-color:  var(--border) var(--gradient-bottom);
}
html {
	overscroll-behavior: none;
}

.container {
	max-width: 98rem;
	margin: 2vw 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 */
.sidebar { flex: 1 1 9%; }
.content { flex: 1 1 70%; }
.half { flex: 1 1 49%; }
.full { flex: 1 1 100%; }

header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 200px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	position: relative;
}
header img {
	font-size: 2.5rem;
	position: absolute;
	bottom: 1px;
	right: -4px;
	height: 120px;

}

/* Grow Rotate */
.hvr-grow-rotate {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow-rotate:hover, .hvr-grow-rotate:focus, .hvr-grow-rotate:active {
  -webkit-transform: scale(1.1) rotate(4deg);
  transform: scale(1.1) rotate(4deg);
}





section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradient-top),var(--gradient-bottom));
	padding: 5px;
}






/* ===== NAVIGATION ===== */

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: 2rem;
	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: var(--text);
}
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.sidebar > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}


footer {
	text-align: center;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}


/* ===== RADIO BUTTON STYLING ===== */

.bar {
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;

}


ul.bar {
    list-style-type: none;
    padding: 0;
    overflow: hidden;
	margin: 2px;
}

ul.bar li {
	float:left;
	border-right: 1px solid var(--border);
	display: inline-flex;
	margin: 5px;
	background: linear-gradient(to bottom,var(--bg),var(--gradient-bottom));
	border-radius: 5px;
	padding: 18px 10px;
	text-decoration: none;
	transition-duration: 0.4s;
}

ul.bar li:hover {
	background: linear-gradient(to bottom,var(--bg), var(--gradient-bottom), var(--gradient-top));
	font-style: italic;
}

.w3-red,
.w3-hover-red:hover {
  background-color: var(--selectedbutton) !important;
  background: linear-gradient(to bottom,var(--selectedbutton),var(--gradient-bottom))!important;
}


/* ===== MOBILE STUFF ===== */


/* skip button */

.skip-to-nav-link {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradient-bottom));
	border-radius: 5px;
	width: 100%;
	padding: 2px 7px;
	text-decoration: none;
	display: none;
}

.skip-to-nav-link a:hover, .skip-to-nav-link a:focus {
	background: linear-gradient(to right,var(--bg), var(--gradient-bottom), var(--gradient-top));
}




@media only screen and (max-width: 900px) {

	.container {
		min-width:initial;
		width:100%;
	}

	.content {
		order: 1;
		flex: 100%;
	}
	.sidebar {
		order: 2;
	}

	.full{
		order: 3;
	}
	.footer {
		order: 4;
	}

	.skip-to-nav-link {
		display:block;
	}
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }

