/* :root { */
/* 	/* --header-image: url('https://sadhost.neocities.org/images/layouts/wp.jpeg'); */
/* 	/* --body-bg-image: url('https://sadhost.neocities.org/images/tiles/purplesky.gif'); */
/* /* --content: #23456E; */
/* } */

body {
	/* font-family: sans-serif; */
	margin: 0;
	background-color: #080808;
	background-size: 65px;
	color: #fceaff;
	background-image: var(--body-bg-image);
}

* {
	box-sizing: border-box;
}

#container {
	max-width: 1200px;
	margin: 0 auto;
}

#showupd {
	color: #8bde99;
	font-weight: bold;
	background: transparent;
	cursor: pointer;
}


button {
	color: #8bde99;
	font-weight: bold;
	background: transparent;
	cursor: pointer;
}

button:hover {
	color: #c8bc65;
	border-color: #c8bc65;
	text-decoration: underline;
}

button:disabled {
	color: #7a7a7a;
	border-color: #7a7a7a;
	cursor: default;
}

button:disabled:hover {
	color: #7a7a7a;
	border-color: #7a7a7a;
	text-decoration: none;
}

.pagination-controls {
	margin-top: 1em;
	display: flex;
	align-items: center;
	gap: 1em;
}

#header-area {
	position: sticky;
}

#header {
	width: 100%;
	background-color: #121212;
	height: 150px;
	background-image: var(--header-image);
	background-size: 100%;
}

#navbar {
	height: 40px;
	background-color: #121212;
	margin-bottom: 0px;
	width: 100%;
}

#navbar ul {
	display: flex;
	padding: 0;
	margin: 0;
	list-style-type: none;
	justify-content: space-evenly;
}

#navbar li {
	padding-top: 10px;
}

a {
	color: #8bde99;
	font-weight: bold;
}

a:hover {
	color: #c8bc65;
	text-decoration: underline;
}


nav a.active {
	color: #c8bc65;
	text-decoration: underline;
	border-bottom: 2px solid #c8bc65;
	cursor: default;
}

nav a.disabled {
	color: #7a7a7a;
	cursor: default;
	pointer-events: none;
	text-decoration: none;
}

#dirlink a {
	color: #fceaff;
	font-weight: normal;
}

#flex {
	display: flex;
}

aside {
	background-color: #121212;
	width: 200px;
	padding: 10px;
	font-size: smaller;
}

.post-preview {
	padding: 10px;
	border-bottom: 1px solid #4a4a4a;
}

#posts .post-preview img {
	max-width: 100%;
	height: auto;
	display: block;
}

main {
	background-color: #161616;
	flex: 1;
	padding: 20px;
	order: 2;
}

#posts {
	max-width: 100%;
	overflow-wrap: break-word;
}

#posts pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-x: auto;
	max-width: 100%;
	box-sizing: border-box;
}

*/ #leftSidebar {
	margin-right: 0px;
	order: 1;
}

#leftSidebar ul {
	padding-left: 10px;
}

.textbrowser {
	display: none;
}


footer {
	background-color: #121212;
	width: 100%;
	height: 40px;
	padding: 10px;
	text-align: center;
}

h1,
h2,
h3 {
	color: #abee99;
}

h1 {
	font-size: 25px;
}

strong {
	color: #ffffff;
}

.box {
	background-color: #161616;
	border: 1px solid #8bde99;
	padding: 10px;
	display: none;
}


#topBar {
	width: 100%;
	height: 30px;
	padding: 10px;
	font-size: smaller;
	background-color: #161616;
}



@media only screen and (max-width: 800px) {
	#flex {
		flex-wrap: wrap;
	}

	aside {
		width: 100%;
	}

	main {
		order: 1;
	}

	#leftSidebar {
		order: 2;
	}

	/* #rightSidebar { */
	/* 	order: 3; */
	/* } */

	#navbar ul {
		flex-wrap: wrap;
	}
}
