*{ 
	margin: 0;
    padding: 0;
	font-size: 105%;

}

body {
    margin: 0;
    padding: 0;
	font-family: 'Literata', serif;
	color: #111;
	font-size: 1rem;
    background-color: #fefaf1;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    min-height: 95vh;
	background-color: #fdf7e6;
}

header {
    width: 100%;
    text-align: center;
	height: auto;
}

header img {
    width: 100%;
    max-width: 1000px;
    height: auto;
	display: block;
	margin-left: auto;
    margin-right: auto;
}



main {
	width: min(1000px, 100%);
    flex-grow: 1;
}

header, main, footer {
    flex-shrink: 0;

}

section {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
	width: 100%;
   margin: 2.6rem 0 2.6rem;
	font-size: 2.5rem;
	font-weight: 300;
	font-style: italic;
	color: #40432f;
	line-height: 2.2rem;
	 -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;
}


h2 {
	width: 100%;
   margin: 2.6rem 0 2.6rem;
	font-size: 2.2rem;
	font-weight: 700;
	color: #40432f;
	line-height: 2.2rem;
	 -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;
}

h2 i {
   margin: 0 0 10px;
	font-size: 1.5rem;
	font-weight: 300;
	color: #40432f;
	line-height: 1rem;
}

h3 {
   margin: 1rem 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #40432f;
}


section p {
	width: 100%;
   text-align: left;
	font-size: 1.3rem;
   margin-bottom: 20px;
}

.story p:first-of-type:first-letter  {
  color: #8a3c6f;
  font-weight: 800;
  font-family: 'Alegreya Sans', sans-serif;
  float: left;
  font-size: 7.6rem;
  line-height: 5rem;
  padding-top: 1rem;
  padding-right: 0.6rem;
  padding-left: 0.2rem;
}


.story p:first-of-type:first-line  {
  font-variant: small-caps;
  font-size: 120%;
}


a {
	text-decoration: none;
}


hr {
  width: 60%;
  text-align: center;
  line-height: 1px; 
  height: 0px;
  font-size: 1.5rem;
  border-width: 2px 0 0 0;
  border-style: solid;
  border-color: #964a67;
  margin: 2rem auto 3rem;
  overflow: visible;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  -o-box-sizing: content-box;
  box-sizing: content-box;
}

hr:after {
  content: "\01f431"; 
  color: #999;
  display: inline; 
  background-color: #fdf7e6; 
  padding: 0 0.5rem;
}

/* opera doesn't render correctly. hide section sign */
x:-o-prefocus, hr:after {
  content: "";
}


.annotation {
	font-size: 60%;
}

.annotation_notes li {
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

ol {
	padding: 0 1rem 0 40px;
}


.story-section {
	display: flex;
	flex-direction: row;

}

.story-section-img {
    width: 35%;
    height: auto;
    border-radius: 5%;
	border: 2px solid #302005;
    margin-right: 20px;
	flex: 0 0 auto;
	align-self: start;
}


.story-links li {
	font-size: 1.5rem;
	font-weight: 700;
	color: #407364;
	margin: 0 0 1.5rem;
}

.story-links li a {
	font-size: 1.5rem;
	font-weight: 700;
	color: #407364;
}

.story-links li p {
	font-weight: 400;
	font-size: 1.3rem;
	color: #111;
	margin: 0.5rem 0 0.5rem;
}

.story-links li div {
	font-weight: 400;
	font-size: 1rem;
	color: #111;
}



.character-list {
    width: 100%;
    display: flex;
	flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

article {
	width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

figure {
    flex-basis: 100%;
    display: flex;
    flex-flow: wrap row;
	justify-content: center;
    align-items: stretch;
	width: min(100%);

}

figure img {
    width: min(200px, 100%);
    height: auto;
    border-radius: 5%;
	border: 2px solid #302005;
    margin: 20px;
	flex: 0 0 auto;
}

figcaption {
	display: flex;
	flex-direction: column;
    flex-wrap: wrap;
	flex: 2 2 2;
	width: max(calc(20% + 300px), calc(100% - 250px));
}

figcaption p {
    text-align: left;
	font-size: 1rem;
	
}

footer {
    width: (100%-10px);
	max-width: 1000px;
    display: flex;
	flex-direction: column;
	justify-content: center;
    margin: 20px 0;
	font-size: 0.9rem;
}


.footerguys {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: nowrap;
	overflow: hidden;
	
}

footer img {
    flex: 1 1 auto;
    width: min(30%, 110px);
    height: auto;
}

footer p {
	padding: 15px;
	text-align: center;
}


@media (max-width: 768px) {
	html {
		font-size: 115%;
		
	-moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto; 
   
	}
	
.story p:first-of-type:first-letter {
  color: #8a3c6f;
  font-weight: 800;
  float: left;
  font-size: 4.5rem;
  line-height: 3rem;
  padding-top: 1rem;
  padding-right: 0.4rem;
  padding-left: 0.1rem;
}

h2 i {
   margin: 0 0 10px;
	font-size: 1.3rem;
	font-weight: 300;
	color: #40432f;
	line-height: 1rem;
}


.story-section {
	display: flex;
	flex-direction: column;

}

.story-section-img {
    width: min(400px, 100%);
    height: auto;
    border-radius: 5%;
	border: 2px solid #302005;
    margin: 20px;
	flex: 0 0 auto;
	align-self: center;
}

}

@media (max-width: 500px) {
  html {
    font-size: 105%;
  }
