
  
/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #0d0c0e;
  --content-background-color: transparent;
  --sidebar-background-color: #1b1a1c;

  /* Text Colors: */
  --text-color: #bfbfbf;
  --heading-color: #a3a3a3;
  --sidebar-text-color: #bfbfbf;
  --link-color: #bfbfbf;
  --link-color-hover: #0f0e10;

  /* Text: */
  --font: Nunito, Arial;
  --heading-font: BM Space, Arial;
  --font-size: 1.045em;

  /* Other Settings: */
  --margin: 10px;
  --padding: 20px;
  --border: 0px solid #000000;
  --round-borders: 0px;
  --sidebar-width: 200px;
}

@font-face {
    font-family: Nunito;
    src: url('fonts/nunito/nunito.ttf') format("truetype");
            }
			
			@font-face {
    font-family: BM Space;
    src: url('fonts/bm/bmspace.TTF') format("truetype");
            }

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body, html, a {
	cursor: crosshair;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  text-transform: lowercase;
  letter-spacing: 0.04em;
	line-height: 1.3em;
  background-color: var(--background-color);
  background-image: url("../img/bg.png");
  background-repeat: repeat;
  background-attachment: fixed;
}

::selection {
  /* (Text highlighted by the user) */
  background: rgba(0, 0, 0, 0.2);
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

/* Links: */

a, a:visited {
color: var(--link-color);
  text-decoration-color: #9f4b9c;
  text-decoration-thickness: .160em;
  text-underline-offset: 3.5px;
	padding-bottom: 0em 0.15em;
}

a:hover,
a:focus  {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
  background-color: #9f4b9c;
	color: #0f0e10;
	text-decoration: none;
	font-weight: bold;
 }
 
 b {
	 color: #cbaf59;
 }

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 1030px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header header header" auto "leftSidebar main rightSidebar" auto "footer footer footer" auto / var(--sidebar-width) auto var(--sidebar-width);
  margin-top: 4em;
  /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
}

main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
}

.tthover {
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: #222222;
  text-decoration-thickness: .160em;
  text-underline-offset: 3.5px;
	padding-bottom: 0em 0.15em;
}

.tthover:hover {
	background-color: #d9d9d9;
	font-weight: bold;
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
	width: auto;
	height: auto;
	background-color: #050506;
	color: var(--background-color);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9;
	padding: 15px;
}

.header-content {
  padding: var(--padding);
}

.header-title {
  font-family: var(--heading-font);
  font-size: 1.7em;
  font-weight: normal;
  color: #9f4b9c;
}

.header-title i {
	position: relative;
	top: 1px;
}

.header-image img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

#top {
width: 1px;
height: 1px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}

aside {
  grid-area: aside;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  background: var(--sidebar-background-color);
  padding: var(--padding);
  color: var(--sidebar-text-color);
}

.left-sidebar {
	grid-area: leftSidebar;
	height: auto;
	width: 280px;
	font-size: var(--font-size);
	font-family: Nunito, Arial, Verdana, Helvetica, Times New Roman;
	text-align: center;
	color: var(--text-color);
	text-transform: lowercase;
	position: fixed;
	margin-top: -0.5em;
	margin-left: -5.5em;
	background-color: transparent;
}

.sbimg {
	object-fit: contain;
	width: 100%;
	border: 7px solid #1b1a1c;
	margin-bottom: 0;
}

.sbpixel {
	opacity:0.2;
	margin-bottom: 1em;
}

.navlink {
	background-color: #1b1a1c;
	text-decoration: none;
	text-align: left;
	padding: 0.3em;
	padding-left: 0.4em;
	display: block;
	margin-bottom: 0.6em;
	border-left: 7px solid #9f4b9c;
	transition: 0.4s;
}

.navlink:hover {
	background-color: #bfbfbf;
	font-style: italic;
}

table {
    width: 100%;
    height: auto;
	font-size: 0.85em;
    border-collapse: collapse;
	margin-top: 0;
	color: #414141;
	text-transform: uppercase;
}

table td {
    height: 0;
    padding: 0.05em;
    text-align: center;
    vertical-align: middle;
    position: relative;
}

.current-day {
    background-color: #9f4b9c;
	color: #0f0e10;
	font-weight: bold;
}

table td:focus {
    outline: 2px solid #007bff;
}

.right-sidebar {
  grid-area: rightSidebar;
	height: auto;
	width: 170px;
	font-size: 1.04em;
	font-family: Nunito, Arial, Verdana, Helvetica, Times New Roman;
	letter-spacing: 0.03em;
	line-height: 1.3em;
	color: var(--text-color);
	text-transform: lowercase;
	position: fixed;
	margin-top: 2.9em;
	margin-left: 49em;
	background-color: transparent;
	padding: 0;
	display: none;
}

.sidebar-title {
  font-weight: bold;
  font-size: 1.2em;
  font-family: var(--heading-font);
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}

/* Sidebar Blockquote: */

.sidebar-section blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}

/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
  grid-area: footer;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  font-size: 0.75em;
  margin-bottom: 1.5em;
  background: var(--content-background-color);
  display: flex;
  justify-content: center;
}

footer a,
footer a:visited {
color: var(--link-color);
  text-decoration-color: #9f4b9c;
  text-decoration-thickness: .160em;
  text-underline-offset: 3.5px;
	padding-bottom: 0em 0.15em;
}

footer a:hover,
footer a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
  background-color: #9f4b9c;
	color: #0f0e10;
	text-decoration: none;
	font-weight: bold;
}

/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */

nav {
  margin-bottom: 3em;
}

nav .sidebar-title {
  margin-bottom: 0.5em;
}

nav ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  user-select: none;
}

nav ul li {
  margin-bottom: 0;
}

nav > ul li > a,
nav > ul li > strong {
  display: inline-block;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {
  padding: 5px 10px;
}

nav > ul li > a.active,
nav > ul li > details.active summary {
  font-weight: bold;
}

nav ul summary {
  cursor: pointer;
}

nav ul ul li > a {
  padding-left: 30px;
}

/* NAVIGATION IN HEADER */

header nav {
  margin-bottom: 0;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

header nav ul li {
  position: relative;
}

header nav ul li:first-child > a {
  padding-left: 0;
}

header nav ul li:last-child > a {
  padding-right: 0;
}

/* Subnavigation (Drop-Down): */

header nav ul ul {
  background: var(--content-background-color);
  display: none;
  position: absolute;
  top: 100%;
  left: 10px;
  padding: 0.5em;
  z-index: 1;
  border: var(--border);
  min-width: 100%;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
}

header nav ul li:hover ul,
header nav ul li:focus-within ul {
  display: block;
}

header nav ul li strong {
  color: var(--link-color);
  text-decoration: underline;
  font-weight: normal;
}

header nav ul ul li a {
  display: block;
  padding-left: 0;
  padding-right: 0;
}

/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */

main blockquote {
	background-color: #050506;
	color: #9d9d9d;
	font-size: 0.9em;
	font-style: italic;
	border-left: 7px solid #9f4b9c;
	padding-top: 0.9em;
	padding-bottom: 0.9em;
	margin: 20px;
}

.nobottom {
	margin-bottom: 0;
}

.ph-quotes {
	color: #484749;
	font-size: 2.6em;
	margin-right: 0.15em;
	position: absolute;
	margin-top: -0.85em;
	margin-left: -0.3em;
}

main section {
	background-color: var(--sidebar-background-color);
	margin-bottom: 1.7em;
	padding-bottom: 0.1em;
}

main {
  padding: 0;
}

main a,
main a:visited {
  color: var(--link-color);
  text-decoration-color: #9f4b9c;
  text-decoration-thickness: .160em;
  text-underline-offset: 3.5px;
	padding-bottom: 0em 0.15em;
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
  background-color: #9f4b9c;
	color: #0f0e10;
	text-decoration: none;
	font-weight: bold;
}

main p {
	margin: 0 1.3em 1.3em 1.3em;
}

main .image,
main .full-width-image,
main .two-columns {
  margin: 0.75em 0;
}

main ol,
main ul {
  list-style-type: square;
  margin-right: 1.3em;
}

main ol li,
main ul li {
  margin-bottom: 0.3em;
}

ol li::marker {
  color: #9f4b9c;
}
ul li::marker {
  color: #9f4b9c;
}

main ol {
  
}

main pre {
  margin: 1em 0 1.5em;
}

main code {
  text-transform: none;
}

main center {
  margin: 1em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

main details {
	margin-bottom: 0.9em;
	margin-left: 1.3em;
	margin-right: 1.3em;
}

main details p {
	margin-left: 0;
	margin-right: 0;
}

main summary {
	font-size: 1.04em;
	padding-top: 0.5em;
	margin-top: 1em;
	border-top: 1px dashed var(--text-color);
}

.dborder {
	padding-bottom: 0.7em;
	border-bottom: 1px dashed var(--text-color);
}

/* HEADINGS: */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
	color: var(--heading-color);
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: normal;
  font-size: 1.1em;
	letter-spacing: 0.12em;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
	color: #9d9d9d;
  font-size: 1.1em;
  background-color: #050506;
  margin-bottom: 1em;
  padding: 0.5em;
  border-bottom: 0px solid #313131;
}

h1 i {
	font-size: 1.055em;
	position: relative;
	top: 3px;
	color: inherit;
}


main h2 {
  font-size: 1.4em;
}

main h3 {
  font-size: 1.3em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

/* COLUMNS: */

.two-columns {
  display: flex;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

.sideimg {
	max-width: 170px;
	float: left;
}

.sideimg2 {
	max-width: 200px;
	float: right;
}

img {
	filter: brightness(93%);
}

.postimg {
	display: block;
  max-width: 98%;
  height: auto;
  margin-bottom: 1em;
  border: 1px solid #050506;
}

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

/* please do not remove this. */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  body {
    font-size: 1em;
  }

  .layout {
    width: 100%;
    grid-template: "header" auto  "leftSidebar" auto "main" auto "footer" auto / 1fr;
    /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
	margin-top: 2.5em;
  }
  
  .left-sidebar {
	  position: relative;
	  margin: 0;
	  width: 100%;
  }
  
  .right-sidebar { 
    display: none;
  }

  aside {
    border-bottom: 0px solid;
    font-size: 0.9em;
  }
  
  main {
	  margin-top: -4em;
  }

  
  nav {
    padding: 0;
  }

  nav > ul {
    padding-top: 0.5em;
  }

  nav > ul li > a,
  nav > ul li > details summary,
  nav > ul li > strong {
    padding: 0.5em;
  }

  main {
    max-height: none;
    padding: 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}
