/* IMML - https://github.com/leoncvlt/imml */
:root {
  --imml-text-light: #333333;
  --imml-text-dark: #eeeeee;
  --imml-background-light: #f0f0f0;
  --imml-background-dark: #121212;
  --imml-accent-light: #3cb310;
  --imml-accent-dark: #ade398;
}

:root {
  --imml-background: var(--imml-background-light);
  --imml-text: var(--imml-text-light);
  --imml-text-inverse: var(--imml-text-dark);
  --imml-accent: var(--imml-accent-light);
}

@media (prefers-color-scheme: dark) {
  :root {
    --imml-background: var(--imml-background-dark);
    --imml-text: var(--imml-text-dark);
    --imml-text-inverse: var(--imml-text-light);
    --imml-accent: var(--imml-accent-dark);
  }
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
}

body {
  font-family: sans-serif;
  min-height: 100%;
  color: var(--imml-text);
  background: var(--imml-background);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page {
  margin: 0 auto;
  width: 100%;
  max-width: 720px;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 1em;
  padding-bottom: 1em;
}

.page .breadcrumbs {
  font-family: monospace;
  text-transform: uppercase;
  font-size: small;
}

p {
  line-height: 22px;
}

a {
  width: fit-content;
  color: var(--imml-accent);
  /* border-bottom: 1px dotted var(--imml-accent); */
  text-decoration: none;
}

hr {
  border-style: solid;
  border-bottom: 1px;
  margin-top: 1em;
  margin-bottom: 1em;
}

blockquote {
  border-left: 0.5em solid var(--imml-text-inverse);
  padding: 0 1em;
}

blockquote p {
  font-style: italic;
}

img {
  max-width: 100%;
  border-radius: 0.25em;
}

table {
  margin-top: 0.25em;
  border-collapse: collapse;
  width: 100%;
}
thead {
  text-align: left;
  font-weight: bold;
}
thead tr {
  border-bottom: 1px solid;
}
tr {
  border-bottom: 1px dashed;
}
td,
th {
  padding: 4px;
}

/* ----------------------------- */

* :not(code) {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

a:hover{
  color: var(--imml-text);
  text-decoration: none;
}

main {
  flex: 1;
}

#footer {
  margin-top: 15px;
  text-align: center;
  width: 100%;
  padding-bottom: 10px;
  text-decoration: none;
  color: var(--imml-text) !important
}

.highlight {
  max-width: 100%;
  overflow-x: auto;
}

pre {
  max-width: 100%;
  padding: 10px;
  overflow-x: auto;
  border-radius: 0.25em;
  background: var(--imml-text-light) !important;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 3rem;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.post-date {
  font-size: 1rem;
  margin-bottom: 1.2em;
}