/*** Global Variables ***/

:root {
  /* Pride colorset */
  --pride-red: #E50000;
  --pride-orange: #FF8D00;
  --pride-yellow: #FFEE00;
  --pride-green: #028121;
  --pride-blue: #004CFF;
  --pride-violet: #770088;
  --pride-rainbow: #E50000 17%, #FF8D00 0 34%, #FFEE00 0 50%, #028121 0 67%, #004CFF 0 84%, #770088 84%;
}

/*** Stylesheet ***/
/* Body */

body, input, select, textarea {
    font-family: 'Raleway', 'Helvetica', sans-serif;
    font-weight: 200;
    font-size: 0.9em;
}

/* Typography */

h1 {
  font-size: 1.3em;
}

/* Header */

#header .main ul li.langswitcher > a {
      text-decoration: none;
      border-bottom: 0;
      color: #838383;
      text-indent: 0em;
      text-align: center;}

@media screen and (max-width: 736px) {
    #header .main ul li.langswitcher {
      display: none; } }

#header .logo h1, #header .logo a {
  font-family: "RoadRage", Helvetica, sans-serif;
  font-size: 2.3em;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
}
@media screen and (max-width: 736px) {
  #header .logo h1, #header .logo a {
    font-size: 1.5em;
  }
}

/* Footer */

#footer ul.icons {
    text-align: right;
}

/* Posts */

.post > footer .stats {
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-left: 1.0em;
}

.post > header {
    margin-bottom: 1.5em;
}

.post > header .title {
    padding-bottom: 1.5em;
    text-align: center;
}

.post > header .title h2 a {
    font-family: 'Raleway', 'Helvetica', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-variant: small-caps;
    text-transform: none;
}

.post > header .meta .avatar {
    height: 48px;
    text-align: left;
}

.post > header .meta {
    padding-top: 1.5em;
    padding-left: 0.5em;
}

.post > header .meta .metatext {
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-direction: row;
  flex-direction: row;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -moz-justify-content: -moz-flex-end;
  -ms-justify-content: -ms-flex-end;
  justify-content: flex-end;
  border-bottom: 0;
  font-family: "Raleway", Helvetica, sans-serif;
  font-size: 0.7em;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
}

.post > header .meta .metatext strong {
  padding-right: 0.5em;
}

.post > header .meta .published {
  font-weight: 400;
}

@media screen and (max-width: 980px) {
  #header .main ul li > a.menuicon:before {
    font-family: "FontAwesome";
    content: "\f0c9";
    display: block;
  }
}

@media screen and (min-width: 981px) {
  #header .main ul li > a.menuicon:before {
    font-family: "FontAwesome";
    content: "\f142";
    display: block;
  }
}

/* Intro */

@media screen and (max-width: 1280px) {
  #intro {
    margin: 0 0 3em 0;
    text-align: center;
    display: none;
  }
  #intro header h2 {
    font-size: 2em;
  }
  #intro header p {
    font-size: 0.7em;
  }
}

/* Images */

img.caption {
  float: left;
  padding-right: 0.6em;
  padding-bottom: 0.5em;
}

img.caption-right {
  float: right;
  padding-left: 0.6em;
  padding-bottom: 0.5em;
}

/* Buttons */

#back-to-top {
  display: inline-block;
  font-family: 'FontAwesome';
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  line-height: 1.3em;
  background-color: #ab1d35;
  color: #fff;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s,
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#back-to-top:hover {
  cursor: pointer;
  background-color: #333;
  color:#fff !important;
}
#back-to-top:active,
#back-to-top:visited {
  background-color: #ab1d35 !important;
  color: #fff;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Frontpage */
.modular-hero section {
  padding-top: 4rem;
  padding-bottom: 7rem;
}
.modular-features section {
  text-align: center;
}
.modular-features .columns {
  display: flex;
  flex-wrap: wrap;
}
.modular-features .columns .column {
  padding: 1rem;
}
.modular-features .columns .col-4 {
  width: 33.333333%;
}
.modular-features .feature-icon i {
  font-size: 100px;
  filter: opacity(50%);
}
.modular-features .feature-icon h6 {
  font-size: 1.0rem;
}
.modular-hero h1 {
  font-family: 'RoadRage', 'Helvetica', sans-serif;
  font-size: 6rem;
  font-weight: 100;
  text-transform: none;
  line-height: 1.1;
  padding-top: 1.8rem;
}
.modular-hero h2 {
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.1;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
}
@media screen and (max-width: 980px) {
  .modular-features .columns .col-4 {
    width: 50%;
  }
}
@media screen and (max-width: 600px) {
  .modular-features .columns .col-4 {
    width: 100%;
  }
  .modular-hero h1 {
    font-size: 3.4rem;
  }
}
.modular-hero p {
  font-size: 1.1rem;
  font-weight: 600;
}
.modular-features h1,
.modular-text h1 {
  font-size: 3rem;
  margin-bottom: 0;
}
.modular-features h2,
.modular-text h2 {
  font-size: 1.8rem;
  margin-top: 0;
}

/*** Plugins & Snippets ***/
/* Bookmeta & Affilist*/

div.di-bookmeta, div.affilist-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: #f3f3f3;
  padding: 0.5em;
  margin-bottom: 1rem;
}

@media (max-width: 736px) {
  div.di-bookmeta, div.affilist-container {
    flex-direction: column;
  }
}

div.di-bookmeta strong, div.affilist-container strong {
  font-variant: small-caps;
}

div.di-bookmeta {
  justify-content: center;
}

div.affilist-container {
  justify-content: flex-start;
}

div.di-bookmetabox-1 {
  float: left;
}

div.di-bookmetabox-2 {
  float: left;
}

#lbox {
  width: 65%;
}

#rbox {
  width: 35%;
}

@media (max-width: 736px) {
  #lbox, #rbox {
    width: 100%;
  }
}

/* Bookseries */

li.bookseries {
  list-style: none;
}

/* Pride colors */
#header > .pride-logo a {
  filter: invert(0.75);
  mix-blend-mode: difference;
}
#header > .pride-logo a:active, a:hover, a:focus {
  filter: invert(1.5);
  mix-blend-mode: difference;
}

.pride-nav {
  background-image: linear-gradient(to right, var(--pride-rainbow));
}
#header > .pride-nav ul li a {
  filter: invert(2.0);
  mix-blend-mode: difference;
}
#header > .pride-nav ul li a:active, a:hover, a:focus {
  filter: invert(2.5);
  mix-blend-mode: difference;
}

/* Teaser */

.di-teaser {
  font-style: italic;
}

/* AboutMe */
.blurb {
  text-align: center;
}

/* Now Reading */
.nowreading img {
  max-width: 135px;
}
.meter {
  background-color: #ba2e5d;
  border-radius: 10px;
  padding: 3px;
  width: 135px;
}
.meter > span {
  display: block;
  background-color: white;
  width: 40%;
  height: 14px;
  border-radius: 10px;
}
