* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.self-clear::after {
  clear: both;
  content: "";
  display: block;
}

html {
  font-size: 62.5%;
}

body {
  color: #303030;
  display: flex;
  font-size: 100%;
  flex-direction: column;
  margin: 0 auto;
  min-height: 100vh;
  width: 88rem;
}

header {
  flex-shrink: 0;
  height: 16rem;
  padding: 0;
}

header h1 {
  font-size: 0;
  text-align: center;
  width: 100%;
}

header h1 img {
  display: block;
  height: 5.4rem;
  margin: 6rem auto 0 auto;
  width: auto;
}

nav {
  border-top: 1px solid #686868;
  border-bottom: 1px solid #686868;
  flex-shrink: 0;
}

nav a.hamburger {
  display: none;
}

nav ul.main-menu {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
}

nav ul.main-menu li {
  flex-grow: 1;
  flex-shrink: 0;
}

nav ul.main-menu li.expand-menu {
  display: none;
}

nav ul.main-menu li a {
  color: #282828;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  padding: 1.4rem 1.2rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .35s, color 0.2s;
  width: 100%;
}

nav ul.main-menu li.current a {
  color: #800069;
  font-weight: 600;
}

nav ul.main-menu li a:hover {
  color: #fff;
  /*background-color: #963885;
  background-color: #82006B;*/
  background-color: #730B60;
  /*text-shadow: 0 0 0.05rem #fff;*/
}

main {
  flex-grow: 1;
  flex-shrink: 0;

}

article {
  font-family: 'Lora', serif;
  font-size: 1.7rem;
  padding: 6.4rem 0 3.2rem 0;
}



article a {
  color: #8f0076;
  text-decoration: none;
}

article a:hover {
  text-decoration: underline;
}

article h2 {
  font-family: 'Abyssinica SIL', serif;
  font-size: 2.8rem;
  font-weight: 400;
  margin: 0 0 1.6rem 0;
}

article h2.temp-info {
  font-style: italic;
  text-align: center;
}

article b,
article strong {
  font-weight: 600;
}


article p.big-text {
  font-family: 'Abyssinica SIL', serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.5;
}

article p.big-text i.obfem {
  color: #585858;
  font-style: italic;
}

article.front-page {
  padding: 6.4rem 0 0 0;
}

article.plain {
  padding: 6.4rem 3.2rem 3.2rem 3.2rem;
}

article.front-page .intro {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding: 0 2.8rem 0 2.8rem;
  /*width: 100%;*/
}

article.front-page .intro figure.photo_johanna {
  width: 24rem;
}

article.front-page .intro figure.photo_johanna img {
  border-radius: 2px;
  height: auto;
  width: 100%;
}

article.front-page .intro figure.photo_johanna figcaption {
  color: #606060;
  display: block;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  padding: 0 0 0 0.24rem;
  text-align: left;
}

article.front-page .intro p {
  color: #3a3a3a;
  font-family: 'Abyssinica SIL', serif;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 1.6rem 0 0 0;
  width: 48rem;
  word-spacing: -.05em;
}

article.front-page .intro p a {
  color: #8F0076;
  text-decoration: none;
}

article.front-page .intro p a:hover {
  text-decoration: underline;
}

article.front-page .latest-book {
  background-color: #f0f0f0;
  margin: 6.4rem 0 0 0;
}

article.front-page .latest-book,
article.my-books ol.my-books-list li {
  display: flex;
  flex-direction: row;
  padding: 3.2rem 3.2rem 4.8rem 3.2rem;
  width: 100%;
}

article.my-books ol.my-books-list li {
  border-top: 1px solid #d8d8d8;
  padding: 6.4rem 3.2rem 6.4rem 3.2rem;
}

article.my-books ol.my-books-list li:first-of-type {
  border-top-style: none;
  padding-top: 0;
}

article.my-books ol.my-books-list li:last-of-type {
  padding-bottom: 0;
}

article.front-page .latest-book figure.book-cover,
article.my-books ol.my-books-list li figure.book-cover {
  flex-shrink: 0;
  flex-grow: 0;
  padding: 0 5rem 0 0;
  width: 29rem;
}

article.front-page .latest-book figure.book-cover img,
article.my-books ol.my-books-list li figure.book-cover img {
  height: auto;
  width: 24rem;
}

article.front-page .latest-book .book-info,
article.my-books ol.my-books-list li .book-info {
  flex-shrink: 0;
  flex-grow: 0;
  width: 48rem;
}

article.front-page .latest-book .book-info h2,
article.my-books ol.my-books-list li .book-info h2 {
  color: #383838;
  float: left;
  font-weight: 400;
  line-height: 3.6rem;
  margin: 0 0 1.6rem 0;
}

article.front-page .latest-book .book-info h2 {
  border-bottom: 1px solid #606060;
}

article.my-books ol.my-books-list li .book-info h2 {
  line-height: 1;
}

article.front-page .latest-book .book-info p.book-description,
article.my-books ol.my-books-list li .book-info p {
  color: #303030;
  clear: both;
  font-family: 'Lora', serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 1.6rem 0;
}

article.front-page .latest-book .book-info p.book-description:last-of-type,
article.my-books ol.my-books-list li .book-info p.book-description:last-of-type {
  margin: 0;
}

article.front-page .latest-book .book-info .order-links,
article.my-books ol.my-books-list li .book-info .order-links,
article.front-page .latest-book .book-info .listen-links,
article.my-books ol.my-books-list li .book-info .listen-links {
  color: #303030;
  font-family: 'Lora', serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.7;
  margin: 2rem 0 0 0;
}

article.front-page .latest-book a,
article.my-books ol.my-books-list li a {
  color: #8F0076;
  text-decoration: none;
  white-space: nowrap;
}

article.front-page .latest-book a:hover,
article.my-books ol.my-books-list li a:hover {
  text-decoration: underline;
}

article.my-books ol.my-books-list li h3 {
  font-family: 'Abyssinica SIL', serif;
  font-size: 2.2rem;
  font-weight: 400;
  padding: 1.2rem 0 0 0;
  margin: 1.2rem 0 1.2rem 0;
}

article.my-books ol.my-books-list li ol.book-reviews li {
  background-color: #f0f0f0;
  border-style: none;
  border-radius: 3px;
  display: block;
  margin: 1.2rem 0 0 0;
  padding: 1.2rem 1.2rem;
}

article.my-books ol.my-books-list li ol.book-reviews li.faded {
  max-height: 80px;
  overflow: hidden;
  position: relative;
}

article.my-books ol.my-books-list li ol.book-reviews li.faded::before {
  background: linear-gradient(rgba(240, 240, 240, 0) 20px, #ffffff 100%);
  content: "";
  inset: 0;
  position: absolute;
}

article.my-books ol.my-books-list li ol.book-reviews li:first-of-type {
  margin: 0;
}

body.js article.my-books ol.my-books-list li ol.book-reviews li {
  display: none;
}

body.js article.my-books ol.my-books-list li ol.book-reviews li:first-of-type {
  display: block;
}

article.my-books ol.my-books-list li ol.book-reviews li figure blockquote,
article.my-books ol.my-books-list li ol.book-reviews li figure blockquote p {
  color: #202020;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  line-height: 1.4;
}

article.my-books ol.my-books-list li ol.book-reviews li figure figcaption {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin: 1.2rem 0 0 0;
  text-align: right;
}

article.my-books ol.my-books-list li div.review-control {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* article.my-books ol.my-books-list li div.review-control.expand {
  
} */

article.my-books ol.my-books-list li div.review-control.contract {
  margin: 0.8rem 0 0 0;
}

article.my-books ol.my-books-list li div.review-control a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
}

article.my-books ol.my-books-list li div.review-control a i {
  font-size: 1.6rem;
  opacity: 0.85;
  padding: 0 0 0 3px;
  position: relative;
  top: 3px;
}

article.front-page .current-events {
  background-color: #611B54;
  color: #fff;
  padding: 3.2rem 11.2rem 4.8rem 11.2rem;
}

article.front-page .current-events h2 {
  border-bottom: 1px solid #fff;
  float: left;
  line-height: 3.6rem;
  margin: 0 0 1.6rem 0rem;
}

article.front-page .current-events ol {
  clear: left;
  list-style-type: none;
}

article.front-page .current-events ol li {
  line-height: 1.3;
  margin: 0 0 2rem 0;
}

article.front-page .current-events ol li:last-child {
  margin: 0 !important;
}

article.front-page .current-events ol li time {
  font-weight: 600;
}

article.front-page .current-events ol li a {
  color: #fff;
  text-decoration: underline;
}

article.front-page .current-events ol li a:hover {
  text-decoration: none;
}

article.quotes figure {
  /*color: #202020;
  background-color: #f0f0f0;
  border-left: 6px solid #a0a0a0;
  padding: 1.5rem 2rem 1.5rem 3rem;*/
  color: #333;
  margin: 0 auto 6.4rem auto;
  width: 56rem;
}

article.quotes figure:last-child {
  margin: 0 auto;
}

article.quotes figure blockquote {
  /*color: #383838;*/
  font-family: 'Abyssinica SIL', serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.6;
  text-indent: -0.727em;
}

article.quotes figure blockquote p {
  margin-top: 1.6rem;
  text-indent: 0;
}

article.quotes figure blockquote p:first-child {
  margin-top: 0;
  text-indent: -0.727em;
}

article.quotes figure figcaption {
  color: #202020;
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 1.2rem 0 0 0;
}

article.earlier-commissions ol.book-covers {
  float: left;
  list-style-type: none;
  width: 100%;
}

article.earlier-commissions p.commissions-intro-text {
  font-family: 'Abyssinica SIL', serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 3.2rem 0;
  padding: 0 3.2rem;
  width: 80rem;
}

article.earlier-commissions ol.book-covers {
  float: left;
  list-style-type: none;
  padding: 0 0 0 3.2rem;
  width: 100%;
}

article.earlier-commissions ol.book-covers li {
  float: left;
  margin: 0 2rem 2rem 0;
}

article.earlier-commissions ol.book-covers li img {
  height: 25rem;
  width: auto;
}

article.in-media {
  align-items: center;
  display: flex;
  flex-direction: column;
}

/* article.in-media figure.screenshot {
  
} */

article.in-media figure {
  background-color: #f0f0f0;
  border: 12px solid #f0f0f0;
  border-radius: 5px;
  margin: 0 0 3.6rem 0;
  max-width: 90%;
  text-align: center;
  width: auto;
}

article.in-media figure img {
  max-width: 100%;
}

article.in-media figure figcaption {
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  padding: .8rem 0 0 .2rem;
  text-align: left;
}

article.dev-info img {
  border-radius: 50%;
  float: left;
  margin: 0 4rem 2rem 2rem;
  height: 20rem;
  width: 20rem;
}

article.dev-info h2 {
  margin: 1rem 0 1.6rem 0;
}

article.dev-info p {
  line-height: 1.5;
  margin-right: 2rem;
}

article.error-code h2.code {
  color: #484848;
  font-family: 'Lora', serif;
  font-size: 10rem;
  font-weight: 600;
  text-align: center;
}

article.error-code  p.error-message {
  font-family: 'Abyssinica SIL', serif;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

article.error-code  p.error-message .dots {
  font-size: 2.4rem;
  letter-spacing: .1rem;
  padding: 0 0 0 .2rem;
}

footer {
  border-top: 1px solid #989898;
  color: #505050;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  padding: 0.8rem 0;
  text-align: center;
}

@media (max-width: 880px) {
  body {
    width: 100%;
  }

  header {
    height: 10vh;
    max-height: 16rem;
    min-height: 8rem;
  }

  header h1 {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
  }

  header h1 img {
    height: auto;
    margin: 0;
    max-height: 70%;
    max-height: min(75%, 4.6rem);
    max-width: 90%;
    width: auto;
  }

  /*nav {
    background: #000;
    color: #fff;
  }

  nav a.hamburger {
    display: block;
    float: right;
    padding: 0.7rem;
    margin: 0.4rem;
  }

  nav a.hamburger i {
    color: #fff;
    font-size: 3.0rem;
  }

  nav ul {
    clear: both;
    display: block;
  }

  nav ul.contracted {
    display: none;
  }

  nav ul li {

  }

  nav ul li a {
    color: #fff;
    display: block;
    text-align: center;
  }

  nav ul li.current a {
    background-color: #730B60;
    color: #fff;
  }*/

  nav {
    position: relative;
  }

  nav::after {
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,1) 90%, rgba(255,255,255,1) 100%);
    bottom: 0;
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 8rem;
  }

  nav ul.main-menu {
    /*display: block;*/
    overflow: auto;
    width: 100%
  }

  nav ul.main-menu {
    /*display: block;*/
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%
  }

  nav ul.main-menu::-webkit-scrollbar {
    display: none;
  }

  nav ul.main-menu li {
    flex-grow: 0;
    flex-shrink: 0;
    /*display: inline-block;*/
  }

  nav ul.main-menu li:last-child {
    margin: 0 6rem 0 0;
  }

  article {
    padding: 4.8rem 0 3.2rem 0;
  }

  article.plain {
    padding: 4.8rem 3.2rem 3.2rem 3.2rem;
  }

  article h2.temp-info {
    font-size: 2.4rem;
    padding: 0 3.2rem;
  }

  article.front-page .intro figure.photo_johanna {
    width: 30%;
  }

  article.front-page .intro p {
    font-size: 2.4rem;
    padding: 0;
    width: calc(70% - 4rem);
  }

  article.front-page .latest-book .book-info,
  article.my-books ol.my-books-list li .book-info {
    width: calc(100% - 29rem);
  }

  article.front-page .current-events {
    padding: 3.2rem 8rem 4.8rem 8rem
  }

  article.earlier-commissions p.commissions-intro-text {
    width: calc(100% - 8rem);
  }

  article.quotes figure {
    max-width: calc(100% - 10rem);
    padding: 0 0 0 1.6rem;
  }
}

@media (max-width: 720px) {


  article.front-page .latest-book figure.book-cover,
  article.my-books ol.my-books-list li figure.book-cover {
    padding: 0 4rem 0 0;
    width: 26rem
  }

  article.front-page .latest-book figure.book-cover img,
  article.my-books ol.my-books-list li figure.book-cover img  {
    width: 22rem;
  }

  article.front-page .latest-book .book-info,
  article.my-books ol.my-books-list li .book-info {
    width: calc(100% - 26rem);
  }

  article.front-page .current-events {
    padding: 3.2rem 6rem 4.8rem 6rem
  }

  article.front-page .current-events h2 {
    margin: 0 0 2.4rem 0;
  }

  article.earlier-commissions p.commissions-intro-text {
    font-size: 1.8rem;
  }

  article.dev-info img {
    border-radius: 50%;
    float: none;
    display: block;
    margin: 0 auto 3.6rem auto;
  }

  article.dev-info h2 {
    font-size: 2.6rem;
    margin: 0 auto 1.6rem auto;
    text-align: center;
    width: 90%;
  }

  article.dev-info p {
    margin: 0 auto 1.6rem auto;
    width: 90%;
  }
}

@media (max-width: 640px) {

  article p.big-text {
    font-size: 2.2rem;
  }

  article.front-page .intro p {
    font-size: 2.2rem;
  }

  article.front-page .latest-book,
  article.my-books ol.my-books-list li {
    display: block;
  }

  article.front-page .latest-book {
    padding: 4.8rem 4.8rem;
  }

  article.front-page .latest-book figure.book-cover,
  article.my-books ol.my-books-list li figure.book-cover {
    margin: 0 auto 4rem auto;
    max-width: 26rem;
    padding: 0;
    width: 80%;
  }

  article.front-page .latest-book figure.book-cover img,
  article.my-books ol.my-books-list li figure.book-cover img {
    width: 100%;
  }

  article.front-page .latest-book .book-info,
  article.my-books ol.my-books-list li .book-info {
    width: 100%;
  }

  article.front-page .current-events {
    padding: 3.2rem 4.8rem 4.8rem 4.8rem;
  }

  article.front-page .current-events ol li {
    margin: 0 0 2.4rem 0;
  }

  article.earlier-commissions p.commissions-intro-text {
    width: 100%;
  }

  article.earlier-commissions ol.book-covers li img {
    height: 22rem;
  }

  article.quotes figure {
    max-width: calc(100% - 8rem);
  }

  article.quotes figure blockquote {
    font-size: 2rem;
  }
}

@media (max-width: 580px) {
  article {
    padding: 3.2rem 0 3.2rem 0;
  }

  article.plain {
    padding: 3.2rem 3.2rem 3.2rem 3.2rem;
  }

  article.quotes {
    padding: 4.8rem 0 3.2rem 0;
  }

  article.front-page .intro {
    display: block;
  }

  article.front-page .intro figure.photo_johanna {
    margin: 0 auto 2rem auto;
    max-width: 20rem;
    width: 80%;
  }

  article.front-page .intro p {
    font-size: 2.4rem;
    width: 100%;
  }

  article.front-page .latest-book {
    margin: 4.8rem 0 0 0;
  }

  /* article.earlier-commissions p.commissions-intro-text {
    font-size: 1.7rem;
  } */

  article.earlier-commissions ol.book-covers li img {
    height: 20rem;
  }

  article.in-media figure figcaption {
    font-size: 1.3rem;
  }

  article.dev-info h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  article.front-page .latest-book {
    padding: 4.8rem 3rem;
  }

  article.front-page .current-events {
    padding: 3.2rem 3rem 4.8rem 3rem;
  }

  article.in-media figure figcaption {
    font-size: 1.2rem;
  }
}

@media (max-width: 360px) {

  article.front-page .intro p {
    font-size: 2rem;
  }
}




/* Responsive navigation code */
@media (max-width: 880px) {
  body.js nav::after {
    display: none;
  }

  body.js nav ul.main-menu {
    overflow: hidden;
    position: relative;
  }

  body.js nav ul.main-menu li {
    flex-grow: 1;
    flex-shrink: 1;
  }

  body.js nav ul.main-menu li:last-child {
    margin: 0;
  }

  body.js nav.expanded ul.main-menu li.expand-menu a {
    font-weight: 600;
  }

  body.js nav.expanded ul.main-menu li.expand-menu a:hover {
    background-color: #fff;
    color: #282828;

  }

  body.js nav ul.expandable-menu {
    background-color: #fff;
    border: 1px solid #000;
    list-style-type: none;
    max-width: 80vw;
    position: absolute;
    right: 0;
    top: 100%;
    width: 25rem;
  }

  body.js nav ul.expandable-menu li {
    border-bottom: 1px dotted #909090;
  }

  body.js nav ul.expandable-menu li:last-child {
    border-bottom-width: 0;
  }

  body.js nav ul.expandable-menu li a {
    color: #282828;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    display: block;
    padding: 1.4rem 1.4rem;
    text-align: center;
    text-decoration: none;
  }

  body.js nav ul.expandable-menu li a:hover {
    background-color: #730B60;
    color: #fff;
  }

  body.js nav ul.expandable-menu li.current a {
    color: #730B60;
    font-weight: 600;
  }
}

@media (max-width: 800px) {
  body.js nav ul.main-menu li a {
    text-transform: none;
  }
}

@media (max-width: 700px) {
  body.js nav ul.main-menu li:nth-child(6),
  body.js nav ul.main-menu li:nth-child(7) {
    display: none;
  }

  body.js nav ul.main-menu li.expand-menu {
    display: block;
  }

  body.js nav ul.main-menu li.expand-menu a:hover {
    background-color: initial;
    color: initial;
  }

  body.js nav ul.main-menu li.expand-menu a i {
    font-size: 1.2rem;
    padding: 0 0 0 .2rem;
    position: relative;
    top: -.3rem;
  }
}

/*@media (max-width: 690px) {
  body.js nav ul li:nth-child(6) {
    display: none;
  }
}*/

@media (max-width: 610px) {
  body.js nav ul.main-menu li:nth-child(5) {
    display: none;
  }
}

@media (max-width: 510px) {
  body.js nav ul.main-menu li:nth-child(4) {
    display: none;
  }
}

@media (max-width: 360px) {
  body.js nav ul.main-menu li:nth-child(3) {
    display: none;
  }
}

@media (max-width: 240px) {
  body.js nav ul.main-menu li:nth-child(2) {
    display: none;
  }

  /*body.js nav a.expand-menu {
    display: inline-block;
    text-transform: none;
  }*/
}

/* Limit vidible menu items depending on screen width */
/*@media (max-width: 880px) {
  body.js nav::after {
    display: none;
  }

  body.js nav ul li:last-child {
    margin: 0;
  }
}

@media (max-width: 780px) {
  / * body.js nav {
    float: left;
    width: 100%;
  }

  body.js nav ul {
    display: block;
    float: left;
  }

  body.js nav ul li {
    float: left;
  } * /

  body.js nav ul li a {
    padding: 1.4rem 1.6rem;
    text-transform: none;
  }
}

@media (max-width: 725px) {
  body.js nav ul li a {
    padding: 1.4rem 1.4rem;
  }
}

@media (max-width: 700px) {
  body.js nav ul li a {
    padding: 1.4rem 1.3rem;
  }
}

@media (max-width: 680px) {
  body.js nav ul li a {
    padding: 1.4rem 1.2rem;
  }
}

@media (max-width: 670px) {
  body.js nav {
    float: left;
    width: 100%;
  }

  body.js nav ul {
    display: block;
    float: left;
    width: auto;
  }

  body.js nav ul li {
    float: left;
  }

  body.js nav ul li:nth-child(7) {
    display: none;
  }

  body.js nav a.expand-menu {
    display: inline-block;
    float: right;
    text-transform: none;
  }

  body.js nav a.expand-menu i {
    font-size: 1.2rem;
    position: relative;
    top: -.3rem;
  }
}

@media (max-width: 650px) {
  body.js nav ul li:nth-child(6) {
    display: none;
  }

 
}

@media (max-width: 570px) {
  body.js nav ul li:nth-child(5) {
    display: none;
  }
}

@media (max-width: 470px) {
  body.js nav ul li:nth-child(4) {
    display: none;
  }
}

@media (max-width: 470px) {
  body.js nav ul li:nth-child(4) {
    display: none;
  }
}

@media (max-width: 350px) {
  body.js nav ul li:nth-child(3) {
    display: none;
  }
}

@media (max-width: 220px) {
  body.js nav ul li:nth-child(2) {
    display: none;
  }
}*/
