/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #00AB75;
			--accent: #6AEBD7;
			--bg: #015D36;
			--gradientBottom: #031D04;
			--gradientTop: #001A01;
			a:link { color: #6AEBD7; }
		}
		header {
			background: url('/images/web.jpg');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'vt323regular', serif;
	color: var(--text);

 background-color: black;
  background-image: url('/images/forest-3791184_1280.jpg');
	background-position: top;
	background-repeat: repeat-x;
	background-attachment: fixed;
}


.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 3px solid var(--gradientTop);
	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%; }
.third { flex: 1 1 66% }


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 140px; /* change banner height here*/
	border: 2px ridge var(--border);
	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 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;
  font-family: 'dotgothic16regular', serif;
}
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: #6AEBD7;
}
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, h7, p, ol, li  { 
	margin: 5px;
	line-height: 1.6em;
}
p {
  font-family: 'vt323regular', serif;
  font-size: 1.2rem
}
h1 { 
	font-size: 1.6rem;
	letter-spacing: 0.2em;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
  font-family: 'dotgothic16regular', serif;
}
h2 { 
  font-size: 1.6rem;
	letter-spacing: 0.2em;
	font-weight: normal;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
  font-family: 'dotgothic16regular', serif;
  color: var(--accent);
  text-align: center;
}
h3 {
	font-size: 1.5rem;
	font-weight: normal;
	text-align: center;
	color: #EEFEE3;
	text-shadow: 0.5px 0.5px var(--color);
}
h4 {
  font-size: 1.4rem;
}
h5 { 
	font-size: 1.2rem;
	color: var(--accent);
	padding-left: 12px;
}
h6 { 
	font-size: 1.2rem;
	color: #00f8a9;
}
h7 {
  font-size: 1.2rem;
  color: #EEFEE3; 
}
b {
  color: #EEFEE3;
}
i {
  color: #EEFEE3;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: #6AEBD7;
}
/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
  width: 50%; /* Or another specific value like 300px */
  margin-left: auto;
  margin-right: auto;
  font-size: 0.7em;
  font-family: 'dotgothic16regular', serif;
  letter-spacing: 0.2em;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/*FOOTER STYLE*/
#footer {
  text-align: center;
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}
/*BUTTON STYLE*/
        .vote-container {
            display: flex;
            align-items: center;
            gap: 5px;
            font-family: sans-serif;
            margin-top: auto;
            height: 300px;
        }
        .upvote-button {
            cursor: pointer;
            width: 24px; /* Adjust size as needed */
            height: 24px;
        }
        .vote-count {
            font-weight: bold;
            font-size: 16px;
            color: #878a8c;
        }
        .upvoted-count {
            color: #ff4500;
        }
/*IMAGE BORDER*/
.image {
border: 2px ridge var(--border);
border-radius: 5px;
padding: 5px;
background: linear-gradient(var(--gradientTop),var(--gradientBottom));
}

/*MARQUE STYLE*/
    .border-example {
      border: outset 0.3em;
      border-color: #03221C; 
      padding: 0.3em 1.5em 0.2em 0.5em;
    }
    .marquee {
      flex: 1 1 100%; 
      overflow: hidden;
      white-space: nowrap;
    }
    .marquee-text {
      display: inline-block;
      animation: scroll 20s linear infinite;
    }

    @keyframes scroll {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }

/*FONT*/
@font-face {
    font-family: 'dotgothic16regular';
    src: url('https://motherstink.neocities.org/fontfolder/dotgothic16-regular-webfont.woff2') format('woff2'),
         url('https://motherstink.neocities.org/fontfolder/dotgothic16-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'vt323regular';
    src: url('https://motherstink.neocities.org/fontfolder/vt323-regular-webfont.woff2') format('woff2'),
         url('https://motherstink.neocities.org/fontfolder/vt323-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}