/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: black;
			--border: #D5C782;
			--accent: #BA7235;
			--bg: #D5C782;
		  }
		
		header {
			background: url('https://metamorphobic.neocities.org/images/wallpaper1.png');
		}}
	
/* end dark mode styling */

@font-face {
    font-family: Escargoth;
    src: url(https://metamorphobic.neocities.org/fonts/Escargoth%20Demo.otf);
}

@font-face {
    font-family: Kismiklos;
    src: url(https://metamorphobic.neocities.org/fonts/Kismiklos.otf);
}

body {
  background-image: url(https://metamorphobic.neocities.org/images/vintagebg.gif)
}

* { 
	box-sizing: border-box;
}

.body {
	padding: 10px;
	font-family: 'Kismiklos';
	color: black;
}


.container {
	max-width: 70rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge #849C63;
	outline: 3px solid #849C63;
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;
	background-color: #D5C782;
}
/* 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 #849C63;
	border-radius: 5px;
	position: relative;
}
header span {
	font-size: 4rem;
	position: absolute;
	bottom: 5px;
	right: 5px;
	margin: 10px;
	font-family: 'Escargoth';
	font-weight: bold;
	color: black;
}

nav {
	border: 2px ridge #849C63;
	border-radius: 5px;
	padding: 5px;
	font-family: 'Escargoth';
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: black;
	font-family: 'Kismiklos';
    font-size: 20px;
    width: 200px;
    background-color: #BA7235;
    border: none;
    border-radius: 5px;
    text-align: center;
}
nav a:hover, nav a:focus {
  color: black;
  font-family: 'Kismiklos';
    font-size: 20px;
    width: 200px;
    background-color: #BA7235;
    border: none;
    border-radius: 5px;
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
}


section {
	border: 2px ridge #849C63;
	border-radius: 5px;
	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;
}
p {
 font-family: 'Kismiklos'
}
h1 { 
	font-family: 'Escargoth';
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge #849C63;
	padding-bottom: 5px;
}
h2 { 
  font-family: 'Escargoth';
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
  font-family: 'Escargoth';
	font-size: 1.1rem;
	color: black
}
h4 { 
  font-family: 'Escargoth';
	font-size: 1rem;
	color: black;
	padding-left: 12px;
}

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


a:hover, a:focus {
	font-style: italic;
	color: black;
	text-decoration: none
}
a:visited {
	color: black;
	text-decoration: none
}

.category {
    font-family: 'Kismiklos';
    font-size: 20px;
    width: 200px;
    background-color: #849C63;
    border: none;
    border-radius: 5px;
    margin: 3px
}