:root {
  --black: #202020;
  --white: #ffffff;
  --yellow: #FCFA02;
  --heading-font: "Roboto", sans-serif;
  --body-font: "SUSE Mono", sans-serif;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--body-font);
  font-size: 18px;
  margin: 0;
}

p {
  line-height: 1.5em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid var(--white);
  border-width: 1px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a {
  color: var(--yellow);
  word-break: break-all;
}

a.link___nobreak {
  word-break: unset;
}

a:hover { 
  text-decoration: line-through;
}

h1 {
  background-color: var(--yellow);
  color: var(--black);
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
}

@media screen and (max-width: 700px) {
  h1 {
    font-size: 22px;
  }
}

h2, h3 {
  color: var(--yellow);
  font-family: var(--heading-font);
  font-style: italic;
  margin-bottom: 15px;
  margin-top: 30px;
  text-align: center;
}

 h4, h5 {
  color: var(--white);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
   margin: 0 auto 10px;
  text-align: center;
  text-transform: uppercase;
 }

p {
  margin-bottom: 15px;
}

figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0;
}

figcaption {
  font-size: 14px;
  font-style: italic;
  opacity: .5;
  text-align: center;
}

li {
  margin-bottom: 10px;
}

#container {
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  margin: 0 auto;
  max-width: 700px;
}

#content {
  padding: 10px 5% 20px 5%;
}

/*HEADER */

#header {
  border-bottom: 1px solid var(--white);
  padding: 40px 5%;
}

#header ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}

#header li {
  background-color: var(--white);
  font-size: 30px;
  font-weight: 700;
  padding: 5px 10px;
  margin-right: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

@media screen and (max-width: 700px) {
  #header li {
    font-size: 18px;
  }
}


#header li a {
  color: var(--black);
  text-decoration: line-through;
}

#header li a.header_meltdown {
  font-style: italic;
  text-decoration: underline;
}

#header li a:hover {
  font-style: italic;
  text-decoration: underline;
}

#header li a.header_meltdown:hover {
  font-style: unset;
  text-decoration: line-through;
}

/* prev-next */

.prevnext {
  margin-top: 50px;
  text-align: center;
}

/* subnav */

.subnav {
  display: flex;
  gap: 10px;
  justify-content: center;
  text-transform: uppercase;
}

.subnav_link {
  text-decoration: none;
}

@media screen and (max-width: 700px) {
  .subnav_link {
    font-size: 14px;
  }
}


.subnav_link::before {
  color: var(--white);
  content: '[';
}

.subnav_link::after {
  color: var(--white);
  content: ']';
}

/*POST LIST STYLE*/

#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}

#recentpostlistdiv ul,
.archive {
  border: 1px solid var(--white);
  font-size: 1.2em;
  padding: 40px 40px 20px 40px;
  list-style-type: none;
  margin-bottom: 40px;
  text-align: center;
}

.archive_date {
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
}

.archive_link {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
  word-break: unset;
}

.archive_link::before {
  color: var(--white);
  content: '[';
}

.archive_link::after {
  color: var(--white);
  content: ']';
}

/*NEXT AND PREVIOUS LINKS STYLE*/

#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/

#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/

#footer {
  border-top: 1px solid var(--white);
  font-size: 0.8em;
  padding: 40px 5% 20px 5%;
}
