/* startdark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #631C12;
			--accent: #D73C28;
			--bg: #361D19;
			--gradientBottom: #3C110B ;
			--gradientTop: #160604;
			a:link { color: lightblue; }
		}
		header {
			background: url('***dark mode banner image***');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'MS PGothic', sans-serif;
			color: white;

	/* page background pattern */
	background-color: #160604;
	background-image: url("https://mannysworld.neocities.org/mannysworld/IMGS/pattern%20204.gif");
	background-size: 20px 35px;
	background-position: 0 0, 0 0, 10px 18px, 10px 18px, 0 0, 10px 18px;
}

#pagedoll {
  position: relative;
  top:0px;
  left:-130px;
}

.overlay {
  position: absolute;
  z-index: 2;
}

.scroll-box {
  width: 250px; 
  height: 350px; 
  border: 1px solid #3C110B; 
  overflow: scroll; /* Enables scrollbars if content overflows */
  padding: 10px; 
}

	.gallery {
  width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;}
  
.gallery img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 2px #631C12;
  background: #160604;
  margin: 2px;}
  
.gallery img:hover {
  object-fit: contain;}
	
.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge #3C110B;
	outline: 3px solid #160604;
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;
  z-index: 1;
	/* container background pattern */
	background-color: #3C110B;
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #3C110B 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%; }

header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge #3C110B;
	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 white,
		-1px 1px white,
		1px -1px #D73C28,
		-1px -1px #D73C28;
	color: #160604;
}


nav {
	border: 2px ridge #3C110B;
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(#160604,#3C110B);
}
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),#3C110B);
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: rgb(99, 193, 230);

}
nav a:hover, nav a:focus {
	background: linear-gradient(to right,var(--bg), #3C110B, #160604);
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge #3C110B;
	border-radius: 5px;
}


section {
	border: 2px ridge #3C110B;
	border-radius: 5px;
	background: linear-gradient(#160604,#3C110B);
	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 #3C110B;
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: #D73C28;
	padding-left: 12px;
}

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

li {
  margin: 15px 0;
}

a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: #D73C28;
}
  