* {
    box-sizing: border-box;
    margin: 0;
}

body > *, body main > *, main figure > div > *, main p, main q, main cite, main pre { margin-bottom: 10px }

.entry {
    border-bottom: 1px dotted #d47d7d;
}

body {
    background-color:#260d1a;
    color:#d47d7d;
    font-family: "DejaVu Serif", "Georgia", serif;
}

span.right-side {
    float: right;
    clear: right;
    width: 30vw;
    margin-right: -35vw;
    font-size: smaller;
    margin-top: -0.5rem;
    border: 1px solid #d47d7d;
    padding: 0.7rem;
}

div.right-side {
    float: right;
    clear: right;
    width: 30vw;
    margin-right: -35vw;
    font-size: smaller;
    margin-top: -2rem;
    border: 1px solid #d47d7d;
    padding: 0.7rem;
}

.note {
    border: 1px solid #d47d7d;
}

.current .note {
    border: 1px solid #260d1a;
}

.current .right-side {
    color:#d47d7d;
}


details {
    border: 1px solid #d47d7d;
    padding: 0.5rem;
}

details > p {
    padding: 0.5rem;
}

.current {
    background-color: #d47d7d;
    color: #260d1a;
    padding: 5px;
    border: 1px #260d1a dotted;
}

.current ::selection {
    background-color: #260d1a;
    color: #d47d7d;
}

.current .right-side::selection {
    background-color: #d47d7d;
    color:#260d1a;
}

/* this is so stupid, there must be a better way
 * what do you mean i cant choose all possible
 * descendants of a tag */
.current .right-side ::selection {
    background-color: #d47d7d;
    color:#260d1a;
}

.current blockquote {
    color: #754245;
}

.current a {
    color: #260d1a;
}

hr {
    border: none;
}

hr::before {
    color: #d47d7d;
    content: '***';
    display: block;
    text-align: center;
    margin: 1.5rem auto;
}

::selection {
	background-color: #d47d7d;
	color: #260d1a;
}

a {
	text-decoration-style: dotted;
	color: #d47d7d;
}

blockquote {
    color: #b26869;
    max-width: 400px;
    font-style: italic;
    font-size: 20px;
}

main {
    max-width: 600px;
    margin-left: 10px;
}

main * {
    line-height: 150%;
}

main img {
    max-width: 100%;
}

nav {
    background-image: url("../media/vergesslicher-angel-top.jpg");
    width: 100%;
    height: 250px;
    background-size: auto;
    background-repeat: no-repeat;
    padding: 10px;
}

nav a {
    color: #260d1a;
}

a:hover, a:active {
	text-decoration-style: solid;
}

.aphorism {
    display: inline-block;
    width: 100%;
    height: 300px;
}

.aphorism img {
    float: right;
}

blockquote footer {
    border-top: 1px #d47d7d dotted;
    text-align: right;
    font-size: 0.9rem;
    background-image: none;
    height: unset;
}

aside, figcaption {
    font-size: 15px;
}

footer {
    background-image: url("../media/vergesslicher-angel-bottom.jpg");
    width: 100%;
    height: 250px;
    background-size: auto;
    background-repeat: no-repeat;
    padding: 10px;
}

footer > a {
    position: absolute;
    left: 300px;
}

li {
    clear: both;
}

li > .title {
    float: left;
}

.right {
    display: inline;
    float: right;
    clear: right;
}

@media only screen and (min-width: 320px) {
  main {
    width: 90%;
  }
}

#owl {
  clear: right;
  float: right;
  margin-left: 1000px;
  margin-right: 13vw;
  margin-bottom: -100px;
  margin-top: -50px; /* i hate hard-coding stuff but alas */
}

.library {
    // border-collapse: true;
    border: 1px solid #d47d7d;
}

.library thead {
    font-weight: bold;
}

.library tr td {
    border: 1px solid #754245;
}

.footnote-ref, .footnotes{
	font-size:smaller;
	color: #d47d7d;
	line-height: 140%;
}
