:root {
	--foreground-0: #ffffff;
	--foreground-1: #ffffff66;
	
	--background-0: #323232;
	--background-1: #ffffff22;
	--background-2: #ffffff44;

	--link-0: #0099ff;
	--link-1: #22bbff;
}

body {
	font-family: sans;
	
	margin: 0px;
  padding: 0px;

	background-color: var(--background-0);
  color: var(--foreground-0);
}

between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

header {
	display: flex;
	justify-content: space-between;
	
	padding: 24px;
  margin-bottom: 16px;
  
  color: var(--foreground-0);

  border-bottom: solid 1px var(--background-1);
}

header a {
  font-size: 1.5rem;
	font-weight: bold;

	color: var(--foreground-0);

	text-decoration: underline;
}

header a:hover {
	color: var(--foreground-0);
}

right * {
	margin-left: 12px;
}

slogan {
  padding-left: 12px;

	color: var(--foreground-1);

  font-size: 1.5rem;
  font-style: italic;
}

main {
	max-width: 1024px;
	
	margin-left: 25%;
	margin-right: 25%;
  padding: 16px;
    
	text-align: left;
}

input, textarea {
	width: 256px;

	margin: 4px;
  padding: 8px;

  outline: none;
  border: solid 1px var(--background-1);
  
  background-color: var(--background-0);
  color: var(--foreground-0);

	border-radius: 0px;
}

textarea {
	width: 100%;
	height: 256px;

	margin: 0; 
  padding: 0;

  resize: none;
}

a {
	color: var(--link-0);
}

a:hover {
	color: var(--link-1)
}

button {
	margin: 4px;
	padding: 8px;

  outline: none;
  border: none;

  background-color: var(--background-1);
  color: var(--foreground-0);
  
	border-radius: 0px;
}

button:hover {
  background-color: var(--background-2);
}

h1 {
  font-size: 3rem;
  font-weight: bold;
}

h2 {
  font-size: 2.125rem;
  font-weight: bold;
}

h3 {
  font-size: 1.25rem;
  font-weight: bold;
}

.topic-area {
	width: 100%;
	padding-top: 12px;
}

.topic {
	width: 100%;
	
	padding: 12px;

  border-top: solid 1px var(--background-1);
}

.post {
	word-wrap: break-word;
	/* width: 100%; */
	
  min-height: 128px;

  margin: 8px;
  padding: 8px;

	text-align: left;

  border-top: solid 1px var(--background-1);
}

.post .title {
  padding: 8px;

  font-size: 1.5rem;
  font-weight: bold;

	color: var(--foreground-0);
}

.post .title:hover {
	color: var(--foreground-0);
}

.post .content {
	/* white-space: pre; */
	white-space: pre-line;
	word-wrap: break-word;
  padding: 8px;
}

.post .redir {
  padding: 8px;
  margin-bottom: 4px;
}

.post .redir, .post .redir:hover, .post .redir:visited {
	color: var(--foreground-1);
}

.textbox-wrapper {
	display: block;

	margin: 4px;
  padding: 8px;
}

.buttons {
	padding: 8px;

	text-align: left;
}

.invite-area {
	border: 1px solid var(--background-1);
}

.invite {
	padding: 8px;
}

* {
  font-size: 1rem;
}

