*, *::before, *::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	outline: 0px solid red;
}

@font-face {
    font-family: Roboto;
    src: url('../fonts/roboto/roboto.ttf') format("truetype");
            }
			
			@font-face {
    font-family: Roboto Mono;
    src: url('../fonts/robotomono/robotomono.ttf') format("truetype");
            }
			
			@font-face {
    font-family: Atkinson Hyperlegible;
    src: url('../fonts/atkin/atkinsonreg.ttf') format("truetype");
            }
			
			@font-face {
    font-family: Phoenix Disaster;
    src: url('../fonts/phdisaster/phoenixdisastergraffiti.ttf') format("opentype");
            }
		
html, body, a, button {
	cursor: crosshair;
}

html {
	min-height: 100vh;
	position: relative;
}
 
body {
	min-height: 100vh;
	background-color: #f3f2f2;
background-attachment: fixed;
	font-size: 1em;
	font-family: Roboto, Atkinson Hyperlegible, Roboto Mono, Bitstream, Arial, Verdana, Helvetica, Times New Roman;
	line-height: 1.3em;
	letter-spacing: 0.03em;
	color: #222222;
}

header {
	padding-top: 1em;
	width: 840px;
	margin: 0 auto;
}

.flexcontainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	flex: 1;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 1rem;
   width: 840px;
	overflow: hidden;
	margin: 0 auto;
}

.leftside {
	display: flex;
	flex-flow: column;
	gap: 1rem;
	height: auto;
	width: 155px;
}

nav {
	background-color: #3a393c;
	border: 1px solid #3a393c;
}

.navlink {
	color: #d3d1d1;
	font-size: 0.97em;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	padding: 0.5em;
	border-bottom: 1px solid #c0c0c0;
	transition: 0.2s;
}

.navlink:hover {
	background-color: #f0edf1;
	color: #222222;
	font-weight: bold;
	font-style: italic;
}

.active {
	background-color: #f3f2f2;
	color: #222222;
	font-weight: bold;
	font-style: italic;
}

.nope {
	opacity: 0.4;
}

.nope:hover {
	cursor: not-allowed;
}

.noborder {
	border-bottom: 0;
}

.moon {
	background-image: url(img/stars3.gif);
	background-repeat: repeat;
}

#contain_moon {
	transform: scale(0.5);
	display: flex;
	flex-flow: column;
	margin-top: -2.4em;
	height: 135px;
}

#contain_moon div:nth-child(3) {
	font-size: 1.75em;
	font-family: Roboto Mono;
	color: #eee;
	text-transform: uppercase;
	line-height: 0.9em;
	margin-top: 0.6em;
	margin-left: 0.2em;
}

.linkbutt {
	background-color: #ff0000;
	text-align: center;
	padding: 0.4em;
	width: 100%;
	transition: 0.2s;
}

.linkbutt:hover {
	background-color: #0000ff;
}

.content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	flex: 1;
	overflow: auto;
	gap: 1rem;
}

section {
	flex: 1 1 100%;
}

.headback {
	background-color: #3a393c;
	color: #d3d1d1;
	font-size: 0.97em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	float: left;
	width: 135px;
	display: inline;
	padding: 0.5em;
	transition: 0.2s;
}

.headback:hover {
	background-color: #f3f2f2;
	color: #222222;
	font-weight: bold;
	font-style: italic;
}

#secthalf {
	max-width: 48.82%;
}

.sideimg {
	width: 100px;
	float: left;
	margin-right: 0.7em;
	border: 1px solid #8b8b8c;
}

.updbg {
	background-color: #c9c9c9;
	padding: 0.7em;
	margin-bottom: 0.9em;
}

.nobg {
	background-color: transparent;
	padding: 0.7em;
	margin-bottom: 0.9em;
}


.scrollbox {
		overflow: auto;
		overflow-x: hidden;
		height: 200px;
		padding: 0.5em;
		border: 1px solid #8b8b8c;
}

.buttons {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	width: 100%;
	gap: 1.4rem;
	padding: 0.9em;
}

.buttons img {
	border: 1px solid #3a393c;
}

footer {
	font-size: 0.95em;
	text-align: right;
	text-transform: uppercase;
	margin: 0 auto;
	margin-top: 0.9em;
	margin-bottom: 3em;
	padding-top: 0.8em;
	width: 840px;
	border-top: 3px dashed;
}

.hdrimg {
	float: right;
	width: 20px;
	border: 1px solid #3a393c;
	border-radius: 0.1em;
}

.subtimg {
	margin-right: 0.3em;
}

h1 {
	color: #3a3a3a;
	font-family: Phoenix Disaster;
	font-size: 3.7em;
	padding-top: 1em;
	margin-bottom: 0.3em;
	border-bottom: 3px dashed;
}

h2 {
	background-color: #3a3a3a;
	color: #d3d1d1;
	font-family: Roboto Mono;
	font-size: 1.22em;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 0.57em;
	margin-bottom: 0.5em;
	border-bottom: 1px solid #8b8b8c;
}

.h2sym {
	margin-right: 0.2em;
}

h3 {
	font-size: 1.08em;
	background-color: #d9d9d9;
	padding: 0.5em;
	margin-bottom: 0.5em;
}

p {
	margin: 0 0.9em 0.9em 0em;
}

 b {
	 background-color: #;
 }

.yesmargin {
	margin-bottom: 0.9em;
}

.nomargin {
	margin-bottom: 0;
}

.scrollbox p {
	margin-left: 0;
}

ul {
	list-style-type: none;
	margin: 1em;
	padding: 0;
}

li::before {
    content: '┊┄';
	float: left;
	margin-right: 0.5em;
	font-size: 0.8em;
	font-weight: normal;
}

li {
	margin-bottom: 0.8em;
}

.nostyle {
		background-color: transparent;
		padding: 0;
		border: 0;
		box-shadow: none;
}

@media (max-width: 750px), (orientation: portrait) {
  .flexcontainer {
	  display: flex;
    flex-flow: column;
	justify-content: center;
	align-items: center;
	height: 100%;
  }
  
  header, .flexcontainer,
  footer {
	  width: 96%;
  }
  
  .buttons {
	  display: flex;
	  flex-direction: row;
	  flex-wrap: wrap;
	  justify-content: center;
  }
  
  
  .leftside {
	  margin-top: -0.2em;
	width: 98%;
	height: auto;
	margin-bottom: 0.3em;
    order: 2;
  }
  
  .content {
    order: 1;
    width: 100%;

}
  
  #secthalf {
	  min-width: 100%;
  }

  .abracadabra {
	  display: none;
  }
}