:root {
  --bgColor: #161513;
  --fgColor: #D6D6D6;
  --metaColor: #78B6AD;
  --headColor: #;
  --linkColor: #ecd1b2;
  --hovColor: #E2AEA2;
  --bgSelect: #464949;
  --red: #CD909B;
  --dimRed: #684249;
  --orange: #E2AEA2;
  --dimOrange: #704941;
  --yellow: #DBD5BC;
  --dimYellow: #6F6847;
  --green: #78B6AD;
  --dimGreen: #3E615C;
  --blue: #87C9E5;
  --dimBlue: #38494F;
  --purple: #CEA7DE;
  --dimPurple: #5E406A;
  --grey: #CBCDCD;
  --dimGrey: #464949;
  --semiDimGrey: #777;
  --darkGrey: #333;

  --bodyWidth: 96rem;
}

::-moz-selection {
  color: var(--bgColor);
  background: var(--metaColor)
}

::selection {
  color: var(--bgColor);
  background: var(--metaColor)
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
  scrollbar-color: var(--metaColor) var(--bgColor);
  scrollbar-width: thin;
}

body {
  font-family: monospace;
  font-size: 1.6rem;
  line-height: 1.35;
  max-width: var(--bodyWidth);
  margin: auto;
  overflow-wrap: break-word;
  background: var(--bgColor);
  color: var(--fgColor);
}

main {
    max-width: 100%;
    overflow: hidden;
    flex-grow: 1;
}

h1 {
  font-size: 2.4rem;
  color: var(--metaColor);
  text-wrap: balance;
  margin: 1rem 0;
}

.page_head p {
    margin: 0.5rem 0;
};

h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
  color: var(--metaColor);
  content: '# '
}

a {
  text-decoration: none;
  padding: 0 .2rem 0 .2rem;
  border-radius: .3rem;
  color: var(--linkColor);
  white-space: nowrap;
}

a:focus,
a:hover {
  background-color: var(--linkColor);
  color: var(--bgColor)
}

ul {
  list-style: none;
  margin-top: .5rem;
  margin-bottom: .5rem;
  line-height: 1.45;
}

ul li::marker {
  content: '» ';
  color: var(--metaColor)
}

ul li:hover::marker {
  content: '# ';
  font-weight: 700;
  color: var(--linkColor)
}

blockquote {
  border-left: .5rem solid var(--metaColor);
  margin: 1rem;
  padding: 0 0 0 1rem
}

textarea {
  border: 2px dotted;
  outline: 0;
  resize: none;
  overflow: auto;
  background-color: var(--bgColor)
}

hr {
  border: 1px dashed
}

img {
  max-width: 90%;
  height: auto;
  margin: .2rem;
  padding: .2rem;
  border: dashed .2rem var(--metaColor);
  border-radius: 15px
}

pre {
  border: none;
  border-radius: 1rem;
  padding: 1.5rem;
  overflow-x: auto;
  font-style: monospace;
}

p code,
li code,
div code {
  padding: 0 .2rem 0 .2rem;
  border-radius: .3rem;
  background-color: var(--darkGrey);
}

a:hover code {
    background-color: inherit;
}

p {
    text-align: justify;
    text-justify: auto;
}

pre code {
  padding: 0;
  border-radius: 0;
  color: inherit;
  background-color: inherit;
}

.z-code {
    background-color: #0f0e0d;
}

.z-macro .z-support {
    color: #4eade5;
}

.z-macro-matcher > .z-type {
    color: #4eade5;
}

.z-macro .z-parameter {
    color: #ffc66d;
}

.z-annotation {
    color: #bbb529;
}

.z-name, .z-support, .z-name .z-entity {
    color: #ffdda1;
}

.z-storage, .z-keyword {
    color: #cc7832;
}

.z-lifetime, .z-generic {
    color: #20999d;
}

.z-begin, .z-end, .z-punctuation {
    color: var(--fgColor);
}

.z-path {
}

.z-punctuation {
}

iframe {
  max-width: 90%;
}

table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  line-height: 1.1
}

thead th:first-child {
  width: 20%
}

th {
  font-weight: 400
}

td,
th {
  padding: .5rem;
  border: dashed .1rem var(--metaColor)
}

footer {
  font-size: 1.4rem;
  clear: both;
  color: var(--footColor)
}

footer,
td,
th {
  text-align: left
}

.metaData,
.themeButton,
hr,
textarea {
  color: var(--metaColor)
}

/* Site Specific Styling */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  padding: 0 1.5rem;
  overflow-x: hidden;
}

/* Icons settings */
.icons {
  width: 2.0rem;
  height: 2.0rem;
  aspect-ratio: 1/1;
  display: inline-block;
  vertical-align: middle;
  color: #4a4a4a;
  fill: #4a4a4a;
  background-color: transparent;
}

.icons__background:hover {
  background-color: transparent;
  color: var(--metaColor);
}

.navBar {
  padding: 1rem 0 0 0;
  display: flex;
  flex-direction: row;
  gap: .4rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
}

.themeButton {
  cursor: pointer;
  border: none;
  font-size: 1.8rem;
  background-color: transparent
}

.dark .themeButton.dark,
.themeButton.light {
  display: none
}

.dark .themeButton.light {
  display: block
}

.tagsData {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  align-content: flex-end
}

.titleList {
  line-height: 1.8;
}

.titleList p {
  margin-top: 0;
  margin-left: 1rem;
}

.vidwrap p {
    margin-bottom: 0;
}

.footnote-definition {
  margin: 0 0 0 2rem;
}

.footnote-definition-label {
  color: var(--metaColor);
}

.footnote-definition p {
  display: inline;
  padding: 0 0 0 1rem;
}

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

.noStyle {
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0
}

.textCenter {
  text-align: center;
}

.floatRight {
  float: right
}

.floatLeft {
  float: left
}

.webring {
  margin: 0.5rem;
}

input {
    background: transparent;
    border: transparent;
    border-bottom: var(--dimGrey) 2px dashed;

    color: var(--fgColor);

    font-size: medium;
    height: 3rem;
}

input:focus {
    outline: none;
    border-bottom-color: var(--metaColor);
}

#dropdown {
    position: relative;
    display: inline-block;
    width: fit-content;
}

#searchbox {
    max-width: 20rem;
    width: 100%;
}

#dropdown_content {
    position: absolute;
    z-index: 1;

    visibility: hidden;

    width: 18rem;
    margin-top: 0.5rem;
    padding: 1rem;

    border: var(--grey) 2px dashed;
    border-radius: 0.75rem;

    background-color: var(--bgColor);

}

#dropdown_content a {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

iframe[src^="https://youtube.com"], iframe[src^="https://www.youtube.com"], iframe[src^="https://youtu.be"] {
    border: 0;
    display: block;
    padding: 1rem 0;
}

img.icon_image {
    border: 0;
    color: var(--metaColor);
}

.page_links {
    display: flex;
    flex-direction: row;
    flex-shrink: 1;
    overflow: scroll;
    scrollbar-width: none;
    align-items: center;
}

.wowhead-tooltip-powered {
    display: none !important;
}

.wowhead-tooltip .q a {
    white-space: wrap;
}

.centered_image {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.centered_image p {
    margin-top: 0;
    margin-bottom: 0;
}

.noborder {
    border: none;
}
