[data-theme=light] {
  --bg: #EEEEEE;
  --text: #41474E;
  --link: #5690AF;
  --accent: #78B6AD;
}

[data-theme=dark] {
  --bg: #222529;
  --text: #D6D6D6;
  --link: #DBD5BC;
  --accent: #78B6AD;
}

::selection {
  color: var(--bg);
  background: var(--accent)
}

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

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

h1 {
  font-size: 2.4rem;
  color: var(--text);
  text-align: left;
  text-wrap: balance;
}

h1::before, h2::before, h3::before, h4::before {
    content: '# ';
}

h2 {
  font-size: 2.0rem;
  color: var(--text);
  text-align: left;
  text-wrap: balance;
  margin-top: 1.0em;
}

h2::before {
    margin-left: 0.1em;
}

h3 {
  font-size: 1.75rem;
  color: var(--text);
  text-align: left;
  text-wrap: balance;
  margin-top: 0.75em;
}

h3:before {
    margin-left: 0.2em;
}

a a:visited {
  text-decoration: none;
  padding: 0 .2rem 0 .2rem;
  border-radius: .3rem;
  color: var(--link);
}

a:focus,
a:hover {
  background-color: var(--link);
  color: var(--bg)
}

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

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

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

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

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

hr {
  border: 1px dashed
}

img {
  opacity: 1.0;
  max-width: 90%;
  height: auto;
  margin: 1.0rem;
  padding: 0rem;
  border: dashed 0.1em var(--accent);
  border-radius: 15px
}

pre {
  border: 1px solid var(--accent);
  padding: 1rem;
  overflow-x: auto;
  font-family:var(--mono-font)
  white-space: pre-wrap; 
  word-break: break-word;
  max-height: none;
}

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

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

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(--accent)
}

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

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

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

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

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

#nav-bar {
  padding: 1rem 0 0 0;
  display: flex;
  flex-direction: row;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  align-content: flex-end
}

.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;
}

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

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

.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;
}

#content {
    position: relative;
    display: inline-block;
    width: 800px;
    text-align: justify;
}

#sidebar {
    position: absolute;
    display: block;
    right: calc(100% + 50px);
    top: 50px;
    height: 100%;
    width: 250px;
    text-align: center;

    #name {
        margin-top: 10px;
        font-size: 30px;
        font-weight: bold;
    }

    #pronouns {
        font-size: 15px;
    }

    ul {
        all: initial;
    }

    li {
        all: unset;
        font-size: 35px;
    }
}

#headshot {
    width: 100%;
    border-radius: 50%;
    border: none;
}

#wrapper {
  display: grid;
  width: 100%;
  float: left;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
}
