/* start light mode styling */
	:root {
	--text: #fffefc;
    --border: #777370;
    --accent: #c04941;
    --bg: #15242b;
    --gradientBottom: #15242b;
    --gradientTop: #020609;
	}
	header {
		background: url('https://iatecivilization.xyz/assets/venin/ghostsinsnow.png');
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
	--text: #fffefc;
    --border: #777370;
    --accent: #c04941;
    --bg: #15242b;
    --gradientBottom: #15242b;
    --gradientTop: #020609;
		}
		header {
			background: url('https://iatecivilization.xyz/assets/venin/ghostsinsnow.png');
		}
	}
/* end dark mode styling */

@font-face {
    font-family: 'Mom \'sTypewriter';
    src: url('https://iatecivilization.xyz/fonts/subset-MomsTypewriter.woff2') format('woff2'),
        url('https://iatecivilization.xyz/fonts/subset-MomsTypewriter.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: optional;
}

Typewriter { 
    font-family:  'Mom \'sTypewriter';
}




* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'MS PGothic', sans-serif;
	color: var(--text);

	/* page background pattern */
  background: url("https://iatecivilization.xyz/assets/venin/veninbg.png");
}


.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 3px solid var(--accent);
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;
	
	/* container background pattern */
	background-color: var(--gradientBottom);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradientBottom) 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 var(--border);
	border-radius: 5px;
	position: relative;
}
header span {
  font-family:'Mom \'sTypewriter';
	font-size: 2.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: 5px;
	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: 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(--gradientBottom), var(--gradientTop));
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}


section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	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 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;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: #c04941;
}

dl {
	margin: 1rem 0 1rem 2rem;
}

/* SCROLLBAR SETTINGS */

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #15242b;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #c04941;
border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #c04941;
}

/* END SCROLLBAR SETTINGS */

.new::before {
/* edit these variables! */
--white: #74C365; 
--med: #0000000;
--font: 'MS PGothic', sans-serif;

position:relative;
display:inline-block;
margin-right:10px;
content:"new!";
font-family:var--(font);
font-weight:bold;
font-size:10px;
width:33px;
line-height:12px;
height:12px;
vertical-align:middle;
border-radius:20px;
color:var(--med);
background:var(--white);
outline:var(--med) 1px solid;
outline-offset:1px;
border:1px var(--med) dotted;
text-align:center;
}

.hover_image:hover {text-decoration: none} /* Optional (avoid undesired underscore if a is used as wrapper) */
.hide {display:none}
/* Do the shift: */
.hover_image:hover img:first-child{display:none}
.hover_image:hover img:last-child{display:inline-block}

hr { 
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
  color: #c04941;
} 