:root {
    --color-background: #35244E;
    --color-panels: #6C4A9D;
    --color-br-border: #B5A4CE;
    --color-tl-border: #75648E;
    --color-links: #FFB273;
    --color-text: white;
}

body {
  background-color: var(--color-background);
  background-image: url('background.png');
  background-size: 100%;
  color: var(--color-text);
  font-family: system-ui;
  margin-right: auto;
  margin-left: auto;
  width: 1042px;
  max-width: 95%;
}

a {
  color: var(--color-links);
}

a:hover {
    color: color-mix(in hsl, var(--color-links), white 50%);
    border: solid var(--color-tl-border) 1px;
}

section {
  border-radius: 5px;
  border: solid black 2px;
  border-color: var(--color-tl-border) var(--color-br-border)
                var(--color-br-border) var(--color-tl-border);
  background-color: color-mix(in srgb, var(--color-panels), transparent 10%);
  padding: 0.5em;
  margin: 10px;
  margin-top: 25px;
}

code {
    display: block;
    size: 100%;
    overflow-y: clip;
    overflow-x: auto;
}

footer {
    margin-bottom: 200px;
    padding-left: 20px;
    padding-right: 20px;
}

h1::before {
  content: "# ";
}

h2::before {
  content: "## ";
}

h3::before {
  content: "### ";
}

h4::before {
  content: "#### ";
}

p.feed-url {
    overflow-y: auto;
    padding-bottom: 5px;
}

img {
  width: 300px;
  max-width: 100%;
  border-radius: 5px;
  border: solid black 2px;
  border-color: var(--color-tl-border) var(--color-br-border)
                var(--color-br-border) var(--color-tl-border);
}

img.image-left {
    float: left;
    max-height: 100%;
    height: 100%;
    width: min-content;
    margin-right: 20px;
}

img.image-right {
    float: right;
    max-height: 100%;
    height: 100%;
    width: min-content;
    margin-left: 20px;
}

img.button {
    border-radius: 0;
    border: 0;
    width: 110px;
    image-rendering: pixelated;
    image-rendering: smooth;
}
