/* light mode styling */
	:root {
		--text: black;
		--border: lightgrey;
		--accent: grey;
		--bg: white;
		--gradientTop: white;
		--gradientBottom:#b7c9e2;
		--time-text: white;
    	header {
    		background: url('***light mode banner image***');
    	}
	}


/* dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: white;
			--accent: lightgrey;
			--bg: black;
			--gradientBottom: rgb(114, 114, 114);
			--gradientTop: black;
			--time-text: black;
			a:link { color: white; };
		}
		header {
		  background-color: black;
		}
	}

* { 
	box-sizing: border-box;
}

@font-face {
  font-family: "DOS24";
  src: url('fonts/Web437_DOS-V_re_ANK24.woff') format('woff');
}

body {
background-image: url(https://www.esa.int/var/esa/storage/images/esa_multimedia/images/2025/06/bullet_cluster_nircam_image/26782589-1-eng-GB/Bullet_Cluster_NIRCam_Image.jpg);
font-family: "DOS24", monospace;
font-size:15px;
color: var(--text);
padding: 10px;
}

.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 3px solid var(--gradientTop);
	outline-offset: 4px;
	border-radius: 3px;
	display: flex;
	flex-wrap: wrap;
	padding: 8px;
	gap: 8px;
    background-color: var(--bg);
    background: linear-gradient(var(--gradientTop),var(--gradientBottom));
}


/*control the column widths */
.small { flex: 0.5 0.5 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: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 2px;
	position: relative;
	opacity:0.8;
}
header span {
	font-size: 3.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);
}

nav {
	border: 2px ridge var(--border);
	border-radius: 2px;
	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: linear-gradient(to right,var(--bg),var(--gradientBottom));
	border-radius: 1px;
	padding: 4px 9px;
	text-decoration: none;
	font-size: 1rem;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: linear-gradient(to right,var(--bg), var(--gradientBottom), var(--gradientTop));
}

/* optional button styling*/
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 2px;
}

section {
	border: 2px ridge var(--border);
	border-radius: 2px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	padding: 5px;
	font-size: 1rem;
}

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;
}

img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}



