/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
  padding-inline-start: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

* {
  outline: none;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@keyframes moving_background {
  from {
    background-position: 0px 0px;
  }
  to {
    background-position: 24px 24px;
  }
}
@keyframes moving_background_reverse {
  from {
    background-position: 0px 0px;
  }
  to {
    background-position: -24px -24px;
  }
}
h1, h2, h3, h4, h5, h6 {
  color: #262117;
  background-color: #ffffff;
  font-family: "Nixie One", cursive;
  padding: 4px 0 4px 1em;
}

h1 {
  font-size: 3em;
  font-family: "Nixie One", cursive;
  color: #ffffff;
}

h2 {
  font-size: 2.25em;
  border: 12px solid transparent;
  border-image: url("../images/horz_brackets.png") 12 round;
}
h2.article_header {
  text-shadow: 4px 4px 2px #594636;
  padding: 8px;
}

h3 {
  font-size: 2em;
  border: 12px solid transparent;
  border-image: url("../images/horz_brackets_main.png") 12 round;
  margin: 8px 0 8px 0;
}

h4 {
  font-size: 1.5em;
  border: 12px solid transparent;
  border-image: url("../images/horz_brackets_main.png") 12 round;
  margin: 8px 0 8px 0;
}

p {
  font-size: 1.25em;
  font-family: "Nanum Gothic Coding", serif;
  color: #000000;
  text-shadow: 1px 1px 2px #888888;
}

li {
  font-size: 1.3em;
  font-family: "Nanum Gothic Coding", serif;
  color: #262117;
}

strong {
  text-shadow: 2px 2px 0px #DF9A45;
}

em {
  text-shadow: 2px 2px 0px #9AD9A8;
}

pre {
  font-family: "Fira Mono", monospace;
  color: #ffffff;
  font-size: 1em;
  background-color: #262117;
  padding: 1em;
}
pre::selection {
  background-color: #D9B384;
  color: #ffffff;
}

code {
  color: #ffffff;
  background-color: #594636;
  padding: 8px;
  font-family: "Fira Mono", monospace;
  font-size: 1em;
}

blockquote p {
  padding: 24px;
  margin: 4px 0 4px 0;
  background-color: transparent;
  color: #0D0B07;
  font-family: "Nixie One", cursive;
  font-size: 2em;
  font-style: italic;
  border: 12px solid transparent;
  border-image: url("../images/vert_brackets.png") 12 round;
}

hr {
  width: 80%;
  height: 4px;
  margin: 12px auto 12px auto;
  background-color: #262117;
  border: 0 none;
}

a {
  color: #423259;
  text-decoration: none;
  text-shadow: 2px 2px 2px #D9B384;
  transition: color 200ms;
  background-color: #ffffff;
  border-bottom: 1px dotted #986FD9;
}

a:hover, a:focus, a:focus-within {
  color: #D9B384;
  transition: color 200ms, background-color 200ms;
  background-color: #262117;
  text-shadow: 0px 0px transparent;
}

::selection {
  background-color: #DF9A45;
  color: #262117;
}

a::selection {
  color: #9AD9A8;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html {
  background-image: url("../images/dark_tile.png");
  background-repeat: repeat;
  animation: moving_background 10s linear infinite;
}

header nav {
  display: flex;
  top: 0;
  left: 0;
}
@media screen and (min-width: 801px) {
  header nav#horizontalnav {
    flex-direction: row;
    width: 100%;
    position: absolute;
    margin: 0 auto 4px auto;
  }
}
@media screen and (max-width: 800px) {
  header nav#horizontalnav {
    display: none;
  }
}
header nav#adminnav {
  flex-direction: row;
  width: 100%;
  position: absolute;
  top: 65px;
}
header nav#verticalnav {
  flex-direction: column;
  position: fixed;
  top: 65px;
  z-index: 200;
  transition: transform 300ms;
}
@media screen and (min-width: 801px) {
  header nav#verticalnav {
    width: 300px;
  }
}
@media screen and (max-width: 800px) {
  header nav#verticalnav {
    width: 100vw;
  }
}
@media screen and (min-width: 801px) {
  header nav#verticalnav {
    transform: translate(0px, -390px);
  }
  header nav#verticalnav.visible {
    transform: translate(0px, -325px);
    transition: transform 300ms;
  }
}
@media screen and (max-width: 800px) {
  header nav#verticalnav {
    transform: translate(0px, -390px);
  }
}
header nav#verticalnav.show {
  transform: translate(0px, 0px);
  transition: transform 300ms;
}
header nav#singlenav {
  flex-direction: column;
  position: fixed;
  z-index: 200;
  transition: transform 300ms;
}
@media screen and (min-width: 801px) {
  header nav#singlenav {
    width: 300px;
  }
}
@media screen and (max-width: 800px) {
  header nav#singlenav {
    width: 100vw;
  }
}
@media screen and (min-width: 801px) {
  header nav#singlenav {
    transform: translate(-325px, 0px);
  }
  header nav#singlenav.visible {
    transform: translate(0px, 0px);
    transition: transform 300ms;
  }
}
@media screen and (max-width: 800px) {
  header nav#singlenav {
    transform: translate(0px, 0px);
  }
}
header nav#singlenav.active a span.arrow {
  transform: rotate(-90deg);
  transition: transform 300ms;
}
header nav#bottomnav {
  position: fixed;
  top: auto;
  bottom: 0;
  left: 0;
  z-index: 200;
  cursor: pointer;
  transform: translateX(-310px);
  transition: transform 300ms;
}
header nav#bottomnav.visible {
  transform: translateX(0px);
  transition: transform 300ms;
}
header nav a {
  flex-grow: 1;
  font-size: 1.5em;
  height: 65px;
  background-color: #ffffff;
  background-clip: padding-box;
  transition: background-color 200ms;
  border: 8px solid transparent;
  border-image: url("../images/button_border.png") 16 round;
  padding-left: 12px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
header nav a#navbutton {
  cursor: pointer;
}
header nav a#navbutton span.arrow {
  transform: rotate(90deg);
  transition: transform 300ms;
  text-shadow: none;
}
header nav a p {
  padding: 10px;
  color: #000000;
  transition: color 200ms;
}
header nav a:hover, header nav a:focus, header nav a:focus-within {
  background-color: #262117;
  transition: background-color 200ms;
}
header nav a:hover p, header nav a:hover span.arrow, header nav a:focus p, header nav a:focus span.arrow, header nav a:focus-within p, header nav a:focus-within span.arrow {
  color: #ffffff;
  transition: color 200ms;
}

#topbutton p {
  font-size: 1em;
}

section#header_image {
  position: absolute;
  top: 0;
  z-index: -10;
  border-bottom: 4px solid #000000;
  background-color: #000000;
}
@media screen and (min-width: 801px) {
  section#header_image {
    width: 100%;
    height: 50vh;
  }
}
@media screen and (max-width: 800px) {
  section#header_image {
    width: 100%;
    height: 50vh;
  }
}
section#header_image img.header {
  object-fit: cover;
}
@media screen and (min-width: 801px) {
  section#header_image img.header {
    width: 100%;
    height: 100%;
  }
}
@media screen and (max-width: 800px) {
  section#header_image img.header {
    height: 100%;
  }
}

section#header_text {
  background-color: #000000;
  text-align: center;
  padding: 0.25em;
  box-shadow: 0px 0px 20px #594636;
  border: 12px solid transparent;
  border-image: url("../images/vert_brackets_white.png") 12 round;
}
@media screen and (min-width: 801px) {
  section#header_text {
    margin-top: 50vh;
  }
}
@media screen and (max-width: 800px) {
  section#header_text {
    margin-top: 50vh;
  }
}
section#header_text h1 {
  color: #ffffff;
  text-shadow: 4px 4px 1px #D9B384;
  padding: 0;
  margin: 0 auto 0 auto;
  background-color: transparent;
}

article {
  border: 1px solid #000000;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media screen and (min-width: 801px) {
  article {
    width: 800px;
    margin: 10px auto 10px auto;
    box-shadow: 0px 0px 20px #594636;
  }
}
@media screen and (max-width: 800px) {
  article {
    margin: 4px;
  }
}
article section.header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 20;
  background-color: #D9B384;
}
article section.header h2 {
  color: #262117;
  font-size: 3em;
  margin: 0;
  padding: 0.5em;
  background-color: #ffffff;
  border: 1px solid #262117;
}
article section.header p.byline {
  color: #ffffff;
  font-size: 0.75em;
  font-family: "Fira Mono", monospace;
  margin: 0;
  padding: 4px;
  background-color: #000000;
  border: 12px solid transparent;
  border-image: url("../images/horz_brackets.png") 12 round;
}
article div.body_wrapper {
  background-image: url("../images/red_tile.png");
  background-repeat: repeat;
  animation: moving_background 9s linear infinite;
  z-index: 25;
}
@media screen and (min-width: 801px) {
  article div.body_wrapper {
    margin: 0 auto 1em auto;
  }
}
@media screen and (max-width: 800px) {
  article div.body_wrapper {
    margin: 0px auto 0px auto;
    padding: 4px;
  }
}
article div.body_wrapper section.body {
  max-width: 600px;
  padding: 12px;
  border: 1px solid #0D0B07;
  background-color: #ffffff;
  color: #ffffff;
  z-index: 25;
}
@media screen and (min-width: 801px) {
  article div.body_wrapper section.body {
    transform: translate(-8px, -8px);
  }
}
@media screen and (max-width: 800px) {
  article div.body_wrapper section.body {
    transform: translate(-6px, -6px);
  }
}
article div.body_wrapper section.body p {
  margin: 0 0 12px 0;
  text-align: left;
}
article div.body_wrapper section.body h1 {
  border: 12px solid transparent;
  border-image: url("../images/horz_brackets_main.png") 12 round;
}
article.single {
  left: 0;
  right: 0;
}
article.add_content {
  width: 100%;
  background-image: url("../images/pink_tile.png");
  background-repeat: repeat;
  animation: moving_background 15s linear infinite;
}

article.list {
  right: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background-color: #262117;
  background-image: none;
  z-index: 100;
  display: flex;
  flex-direction: row;
  transform: translate(0px, 0px);
  transition: transform 250ms;
}
article.list h2 {
  width: 100%;
  display: block;
}
article.list section.backend_list {
  width: 75%;
}
article.list section.frontend_list {
  width: 100%;
}
article.list section.backend_buttons {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
article.list section.backend_buttons a {
  flex-grow: 1;
  border: 1px solid #DF9A45;
  text-align: center;
  color: #ffffff;
  background-color: #D9B384;
}
article.list section.backend_buttons a.delete {
  background-color: #000000;
}
article.list section.backend_buttons a.delete p {
  color: #DF9A45;
}
article.list section.backend_buttons a.delete:hover, article.list section.backend_buttons a.delete:focus, article.list section.backend_buttons a.delete:focus-within {
  background-color: #DF9A45;
}
article.list section.backend_buttons a.delete:hover p, article.list section.backend_buttons a.delete:focus p, article.list section.backend_buttons a.delete:focus-within p {
  color: #000000;
}
article.list section.backend_buttons a.edit {
  background-color: #9AD9A8;
}
article.list section.backend_buttons a.edit p {
  color: #ffffff;
}
article.list section.backend_buttons a.edit:hover, article.list section.backend_buttons a.edit:focus, article.list section.backend_buttons a.edit:focus-within {
  background-color: #ffffff;
}
article.list section.backend_buttons a.edit:hover p, article.list section.backend_buttons a.edit:focus p, article.list section.backend_buttons a.edit:focus-within p {
  color: #9AD9A8;
}
article.list section.backend_buttons a p {
  margin: 4px;
  color: #ffffff;
}
article.list section:hover, article.list section:focus, article.list section:focus-within {
  background-color: #000000;
}
article.list section:hover a p, article.list section:focus a p, article.list section:focus-within a p {
  color: #DF9A45;
}
article.list section a {
  padding: 0;
  margin: 0;
  text-decoration: none;
}
article.list section a section {
  padding: 8px;
  margin: 0;
}
article.list section a section p span.byline {
  font-size: 0.75em;
}
article.list section a section p.description {
  font-size: 1em;
  margin: 0.5em;
  padding: 4px;
  border: 1px solid #ffffff;
}
article.list section a section p {
  color: #ffffff;
}
article.list:hover, article.list:focus, article.list:focus-within {
  transform: translate(-4px, -4px);
  transition: transform 250ms;
}

article.cms {
  padding: 0;
  background-color: #DF9A45;
  background-image: none;
  margin-top: 36px;
  border: 4px solid #594636;
}

article.portfolio {
  padding: 0;
  background-color: #DF9A45;
  background-image: none;
  margin-top: 36px;
  border: 4px solid #262117;
}

article.multi {
  border: 4px solid #ffffff;
}
@media screen and (max-width: 800px) {
  article.multi {
    border: 1px solid #ffffff;
  }
}

footer {
  background: #ffffff;
  text-align: center;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: 2em;
}
footer p {
  color: #000000;
  font-size: 0.75em;
}
footer p a {
  color: #DF9A45;
}
footer p a:hover, footer p a:focus, footer p a:focus-within {
  color: #000000;
}

form {
  max-width: 600px;
  margin: 8px auto 8px auto;
  padding: 8px;
  background-color: #262117;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 4px 4px 8px 2px #ffffff, -4px -4px 8px 2px #ffffff;
}
form input {
  width: 75%;
  margin: 8px;
  padding: 4px;
  outline: none;
  box-shadow: 2px 2px 0px #000000;
  border: 4px solid #594636;
}
form input:focus {
  border: 4px solid #DF9A45;
  background-color: #000000;
  color: #ffffff;
}
form input::selection {
  background-color: #DF9A45;
}
form label {
  color: #ffffff;
  font-size: 2em;
  font-family: "Fira Mono", monospace;
  text-shadow: 4px 4px 0px #594636;
}
form button {
  color: #ffffff;
  background-color: #000000;
  border: 2px solid #594636;
  margin: 4px;
  font-family: "Fira Mono", monospace;
  font-size: 1em;
  position: relative;
  left: 0;
  top: 0;
  box-shadow: 2px 2px 0px #000000;
}
form button:hover, form button:focus, form button:focus-within {
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #DF9A45;
}
form button:active {
  outline: none;
  background-color: #DF9A45;
  color: #ffffff;
  border: 2px solid #000000;
  left: 2px;
  top: 2px;
  box-shadow: 0px 0px 0px #000000;
}
form button#reset_button, form button#submit_button {
  cursor: crosshair;
  width: 45%;
}
form.add_content label {
  font-size: 1em;
  display: block;
}
form.add_content input {
  width: 80%;
}
form.add_content {
  max-width: 1200px;
  background-color: #262117;
}

form#contact_form label {
  font-size: 1.5em;
}
form#contact_form textarea {
  width: 80%;
  margin: 8px auto 8px auto;
  height: 40vh;
  display: block;
}

section.body img {
  border: 2px solid #986FD9;
  box-shadow: 2px 2px 1px #986FD9;
  margin: 12px auto 12px auto;
  width: 85%;
}

article.toc {
  background-color: #0D0B07;
  color: #ffffff;
}
article.toc ul {
  list-style-type: none;
  padding-inline-start: 0px;
}
article.toc ul li {
  color: #ffffff;
  border: 1px solid #D9B384;
  margin: 4px;
  transform: translateX(0px);
  transition: transform 200ms;
}
article.toc ul li:hover, article.toc ul li:focus, article.toc ul li:focus-within {
  color: #0D0B07;
  background-color: #ffffff;
  transform: translateX(8px);
  transition: transform 200ms;
}
article.toc ul li a {
  color: inherit;
  border: none;
  background-color: inherit;
  width: 100%;
  display: block;
  margin: 4px;
}

html {
  color: #000000;
  background-color: #ffffff;
}