body {
	background-color: #260d1a;
	font-family: serif;
	color: #d47d7d;
	padding-bottom: 20px;
	line-height: 140%;
	font-size: 1rem;
	hyphens: auto;
}

.has-dropcap::first-letter {
	font-size: 3em;
	float: left;
	line-height: 65%;
	margin: 0.1em 0.15em 0.15em 0;
	overflow-wrap:normal;
}

.has-dropcap::first-line {
	text-transform: lowercase;
	font-variant: small-caps;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: 'Noto Sans', Helvetica, sans-serif;
	line-height: 80%;
}

pre {
    max-width: 90%;
    overflow-x: scroll;
}

.when {
	font-size: 75%;
}

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

.blurb {
	display: block;
	padding: 18px 30px;
	border: 1px dotted #260d1a;
	background-color: #d47d7d;
	color: #260d1a;
	font-size: 90%;
	text-indent: 5px;
    margin: 5px 5px 20px;
}

.blurb a {
	color: #260d1a;
}

blockquote {
	margin: 0 auto;
	padding: 0.1em 10px;
	width: 80%;
}

blockquote footer {
	text-align: right;
	font-size: 0.9rem;
}

.article {
	margin-bottom: 3rem;
}

.sidebar {
	background-color: #260d1a;
	height: 75%;
	width: 250px;
	position: fixed;
	top: 5px;
	right: 5px;
	border: 2px dotted #d47d7d;
	font-size: 1rem;
	line-height: 120%;
	font-family: 'Noto Sans', Helvetica, sans-serif;
	overflow-y: scroll;
	padding: 20px 50px 0 0;
}

.sidebar li {
	/* list-style-type: hiragana-iroha; */
	margin-bottom: 10px;
}

.main {
	padding: 0 15px;
        margin: 0 auto;
	order: 1; 
	max-width: 45em;

}

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

footer {
	width: 90%;
	margin: 10px auto 15px;
	padding: 15px 0 0;
	border-top: 1px dotted #d47d7d;
}

@media only screen and (max-width: 1200px) {
    .sidebar {
        display: none;
    }

	.main {
		max-width: 30em;
		margin: 0 auto 10px;
	}

	.article {
		width: 100%;
		margin-bottom:3rem;
	}
}

hr {
	border: 1px dotted #d47d7d;
}

.inline-images {
	width: 100%;
	margin: 1.5em auto;
}

.inline-images img {
	display: inline;	
	width: 23%;
}

.container {
	display: flex;
	justify-content: space-between;
}

.block {
	margin: 0.5em;
	padding: 1em;
	border: 2px dotted #d47d7d;
	font-family: Monospace;
}

/* The great divider */

.scroll {
  width: 95%;
  margin: 10px auto;
  padding: 10px;
  border: 1px dotted #d47d7d;
}

.scroll li {
	list-style-type: none;
	padding: 7px 0;
}

.updates {
	height: 300px;
	overflow-y: scroll;
}

img	{
  margin: 0 auto;
  display: block;
  overflow:hidden;
  max-width: 100%;
}

a:hover{
  text-decoration:underline;
  cursor: pointer;
}

.date{
  width:20%;
  font-size: 1.1em;
  vertical-align:text-top;
  font-family: 'Crimson Text', serif;
  padding: 30px 10px 30px 10px;
}

#flex {
  display: flex;
}

header nav {
	padding: 0.5em;
	border-bottom: 2px dotted #d47d7d;
	display: flex;
	color: #260d1a;
	font-family: 'Noto Sans', Helvetica, sans-serif;
	background-image: url('./images/escher.gif');
    background-size: 1558px;
	background-repeat: no-repeat;
    height: 100px;

}

nav a {
	background-color: #d47d7d;
	color: #260d1a;
}

.subtitle {
  font-style: italic;
  text-transform: lowercase;
  font-family: Courier;
  font-size: 1.5rem;
}

.art-row{
  display: flex;
  flex-flow: row wrap-reverse;
	background-color: transparent;
	
}

.art-column{
  overflow:hidden;
  margin: 0 auto;
  width:30%;

}

.art-image{
  padding:2px 5px 5px 2px;
  overflow:hidden;
  background-color:transparent;
  
}

.art-image img{
  max-width:330px;
  translate: -5% 0 0;
}

.art-list{
  font-size:1.3rem;
  padding: 5px 0;
  border-bottom: 1px dotted #eaeaea;
  text-align:center;
}

figcaption{
  font-size:smaller;
  padding: 2px 0 0 2px;
}

div.aphorism{
	/* background-color:#d47d7d; */
	color: #d47d7d;
	font-size:0.9em;
	padding: 5px 20px;
	margin: 0 auto 100px;
	width: 500px;
	text-indent: 20px;
}

div.aphorism > img {
	display: inline-block;
	vertical-align: middle;
	width: 180px;
	float: right;
}

@media (max-width: 500px){
    header nav {
        background-size: 600px;
    }
    
	.scroll{
		overflow: visible;
		height: auto;
	}

	div.aphorism {
	color: #d47d7d;
	font-size:0.9em;
	padding: 5px 20px;
	margin: 0 auto 100px;
	width: 90%;
	text-indent: 20px;
}

div.aphorism > img {
	display: inline-block;
	width: 130px;
}
}

.gallery {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 0.8rem;
    row-gap: 0.8rem;
}

.bcard {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 1;
    padding: 5%;
    font-size: smaller;
    color: #d47d7d;
    /* background-color: #d47d7d; */
    border: 1px #d47d7d solid;
    background-image: url('./images/puffin.jpg');
}

.card-1 {
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 3;
    background-color: #260d1a;
    color: #d47d7d;
    padding: 5%;
    font-size: smaller;
    border: 1px #d47d7d solid;
    background-image: url('./images/paper.jpg');
}

.card-2 {
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 2;
    background-image: url('./images/hasse.png');
    padding: 5%;
    border: 1px #d47d7d solid;
}

.card-3 {
    grid-column-start: 3;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 4;
    padding: 5%;
    border: 1px #d47d7d solid;
}

.entry {
    padding: 6%;
    border: 1px #d47d7d solid;
    overflow-y: scroll;
}

.outlink {
    padding: 6%;
    border: 1px #d47d7d dotted;
    background-color: rgba(211.1, 125, 125, 0.8);
    color: #260d1a;
    overflow-y: scroll;
}

.outlink a {
    color: #260d1a;
}

.outlink .title:after {
    content: " ↗";
}

.title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.entry .tag {
    font-size: 0.7rem;
    font-style: italic;
    text-align: right;
}

.entry:hover {
    color: #260d1a;
    background-color: rgba(211.1, 125, 125, 0.8);
    border: 1px #260d1a dotted;
    a {
    color: #260d1a;
    }
}

.teaser {
    font-size: 0.9rem;
}

