/* start light mode styling */
	:root {
		--text: black;
		--border: black;
		--accent: white;
		--bg: black;
		--gradientTop: white;
		--gradientBottom: white;
		--link: black;
	}
	header {
		background: url('https://hvmator.neocities.org/header.jpg');
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: white;
			--accent: black;
			--bg: black;
			--gradientBottom: black;
			--gradientTop: black;
			--link: white;
		}
		header {
			background: url('https://hvmator.neocities.org/header.jpg');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'Baskerville';
	color: var(--text);
	background-color: var(--accent);
	
}


.container {
	max-width: 55rem;
	margin: auto;
	border: 6px var(--border);
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px; 
	
	/* container background pattern */
	background-color: var(--gradientBottom);
}

.container img {
  max-width: 100%;         /* responsive image */
  height: auto;
  justify-content:center;
  align-items:center;
}
	

/* 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%; }


@media screen and (max-width: 768px) {
  /* On mobile devices, make .small behave like .half */
  .small { flex: 1 1 100%; /* Take up full width just like .full */ }
}

a {
	color: var(--link);
}

header {
	background-size: cover;
	background-position: left;
	width: 100%;
	height: 250px; /* change banner height here*/
	border: 2px solid var(--border);
	position: relative;
}
header span {
	font-family: 'MS Gothic', sans-serif;
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
		color: var(--text);
text-shadow: 1px 1px 0 var(--accent), 
             -1px 1px 0 var(--accent), 
             1px -1px 0 var(--accent), 
             -1px -1px 0 var(--accent);
}


nav {
	padding: 0px;
	background: var(--accent);
	font-size: 1.2rem
}
nav div {
	text-align: center;
	font-family: 'MS Gothic', sans-serif;
	font-weight: bold;
	font-size: 1.25rem;
	color: var(--text);

}
nav a {
	display: block;
	margin: 5px;
	background: var(--gradientBottom);
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: var(--accent);
}


section {
	border: 2px solid var(--border);
	background: var(--accent);
	padding: 15px;
}


footer {
	text-align: center;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 1.25rem;
	font-weight: bold;
	font-family: 'MS Gothic', sans-serif;
	text-align: center;
	
}
h2 { 
	font-size: 0.8rem;
	font-weight: normal;
	font-family: 'Baskerville';
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
		font-family: 'MS Gothic', sans-serif;
}
h4 { 
	font-size: 1.1rem;
	color: var(--text);
	padding-left: 12px;
		font-family: 'MS Gothic', sans-serif;
}
p {font-size: 1.2rem;
  color: var(--text);
  font-family: 'Baskerville';
  text-align: left;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 2px;
}

li {font-size: 1.2rem;
  color: var(--text);
  font-family: 'Baskerville';
  padding-left: 12px;
  padding-right: 12px;
}



/* prevents overflow on smaller screens */
img { max-width: 100%; 
float: center}
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}