* {
    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-image: url("../media/gardenofcyrus.gif");
    background-repeat: repeat;
    background-color:#260d1a;
    color:#d47d7d;
    font-family: "DejaVu Serif", "Georgia", serif;
}

.txt {
    color:#260d1a;
    background-color:#d47d7d;
    padding: 2rem 10rem;
    margin: 10rem auto 5rem;
    width: 90%;
}

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

.txt p {
    text-indent: 3rem;
}

.txt .no-indent {
    text-indent: 0;
}

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: 1px dotted #d47d7d;
}

::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: 90%;
    margin: 0 auto;
}

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

li {
    clear: both;
}

li > .title {
    float: left;
}

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

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

.container {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto auto;
}

.node {
    display: block;
    padding: 1rem;
    margin: 0.5rem;
    width: 300px;
    height: 200px;
    overflow: scroll;
}

#one, #two, #three, #four, #five {
    background-color: #260d1a;
    border: 1px solid #d47d7d;
}
