* {
	image-rendering: pixelated;
	-webkit-font-smoothing: none;
	font-smooth: never;
	font-family: Sans-Serif;

	cursor: url("/res/img/cursor/pointer.png"),auto;
	
}

*::selection {
	color: white;
	background-color: orange;
	font-weight: bold;
}

html, body {
	height: 100%;
	margin: 0;
}

body {
	background-color: #bcbcbc;
	
	background-image: url("/res/img/bg.png");
	background-position: center 86px;
	background-repeat: no-repeat;
	background-size: 100%;
}

header {
	background-color: white;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 86px;
}

header #logo {
	position: absolute;
	bottom: 4px;
	right: 16px;
	z-index: 9999;
}

#cover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
}

h1, h2 {
	padding-left: 32px;
	border-left: solid #df7126 4px;
	margin-left: 16px;
}


/* MOBILE SUPPORT */

@media all and (max-width: 768px) and (min-width: 200px) {
	body {
		font-size: 1rem !important;
	}
	#logo {
		left: 0 !important;
		right: 0 !important;
		margin-left: auto;
		margin-right: auto;
	}

	#cover {
		display: none !important;
	}

	#content {
		width: 90% !important;
		padding: 16px !important;
	}

	main {
		padding-top: 32px !important;
		padding-bottom: 32px !important;
	}

	nav {
		text-align: center !important;
	}
	
	nav a {
	  padding-right: 8px !important;
	  margin-right: 8px !important;
	}
}

/*
Nokia support?... Idk yet.
Don't really know how well Opera Mini displays modern-ish CSS and HTML,
But I can't just give up! :3
*/
@media all and (max-width: 200px) {
	body {
		font-size: 0.5rem !important;
	}
	
	nav a {
	 font-size: 8px !important;
	}
}

nav {
	display: block;
	background-color: black;
	color: white;
	left: 0;
	right: 0;
	font-weight: bold;
	text-align: right;
	vertical-align: center;
	margin: auto;
	position: absolute;
	height: 32px;
	line-height: 32px;
}

nav a {
	margin: auto;
	padding-right: 16px;
	margin-right: 16px;
	border-right: solid white 2px;
	color: white;
}

nav a:last-child {
	border: none;
}

nav a:hover {
	text-decoration: underline;
	color: blue;
}

img small {
	right: 0;
}

main {
	position: relative;;
	
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;

	margin-top: 86px;
	
	padding-top: 64px;
	padding-bottom: 64px;
}


#content {
	border-radius: 8px;
	color: #181818;
	background-image: url("/res/img/content_bg.png");
	background-size: 100% auto;
	width: 70%;
    max-width: 960px;
	height: 100%;
	box-sizing: border-box;
	position: relative;
	padding: 32px;
	box-shadow: 8px 8px;
}

#content #top, #content #bottom {
	height: 32px;
	width: 100%;
	object-fit: contain;
	display: none;
}

#content #top {
	position: absolute;
	top: -24px;
	left: 0px;
	z-index: 2;
}

#content #bottom {
	position: absolute;
	bottom: -32px;
	left: 0px;
	z-index: 2;
}

#content img {
	display: block;
	width: 100%;
}

#content a {
	color: #da257e;
	transition: color 0.25s;
	font-weight: bold;
}

#content a:hover {
	color: #257eda;
}

table {
	width: 100%;
}

table, th, td {
	/*border: 1px solid black;*/
}

table {
	border: 4px solid black;
}

th {
	border: 2px dashed black;
}

td {
	border: 2px solid gray;
	padding: 8px;
}

ul {
	/*list-style-type: square;*/
	list-style-image: url("/res/img/ul.png");
	list-style-position: outside;
}

q {
	color: blue;
}

input[type=text], input[type=email], textarea, button {
	border: solid 2px black;
	padding: 6px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	width: 256px;
	box-shadow: 4px 4px;
}

button {
	width: 128px;
}

#talk {
	background-color: white;
	font-family: Sans-Serif;
	width: 100%;
	border: 2px inset black;
	border-radius: 0px 0px 8px 8px;
	height: auto;
}


details summary {
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

details p::first-letter {
	font-weight: bold;
	color: #7eda25;
}

details summary:hover {
	color: #d187a6;
	text-decoration: underline;
}

details summary small {
	font-size: 18px;
	padding-left: 8px;
	color: gray;
	vertical-align: center;
}

details * {
	font-family: Sans-Serif;
}

details {
	margin-bottom: 16px;
	box-shadow: 4px 4px black;
	background-color: #283141;
	color: white;
	border-radius: 16px 0px 0px 0px;
	padding: 4px;
}

#posts details:first-child summary {
  font-size: 32px;
  background-color: white;
  color: #283141;
  border-radius: 16px 0px 0px 0px;
}

#fancy {
	font-family: Serif;
	font-weight: 1000;
	font-style: italic;
}

#content video, #content img {
	width: 100%;
}

#gfx {
	display: flex;
}

#gfx img {
	width: auto !important;
}

* {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

object::-webkit-scrollbar {
	display: none;
}

#changelog {
	color: pink;
}

#flx {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	width: 100%;
	row-gap: 10px;
	column-gap: 10px;
}

#btn {
	width: 88px !important;
}

#flx > div > * {
	padding: 2px;
}
