
/* Defaults */

html, body {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: #000;
  background-color: #000;
  height: 100%;
  margin: 0;
}
a {
  text-decoration: none;
  color: #fff;
}
a:hover {
  color: #92754d;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: calc(18px + 3.6vw);
  letter-spacing: 4px;
  color: #92754d;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}
h2 {
  text-align: center;
  font-family: 'Special Elite', cursive;
  color: #92754d;
  font-size: calc(8px + 1.5vw);
  margin-bottom: 0;
  margin-top: 0;
}
p {
  color: #000;
  font-family: 'Lora', serif;
  font-size: calc(12px + .5vw);
  line-height: calc(12px + 1.5vw);
  text-align: justify;
  margin-top: 0;
  margin-bottom: 0;
  hyphens: none;
}
button {
	background-color: #9b2c29;
	color: #fff;
	font-family: 'Special Elite', cursive;
	font-size: calc(10px + 2vw);
	font-weight: 400;
	padding: .5em;
	border: none;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.25);
}
button:hover {
  background-color: #CF4147;
	z-index: 10;
}

/* Universal stylings */

.hide {
  display: none;
}
.leader {
  color: #000;
  font-family: 'Special Elite', cursive;
  font-size: calc(20px + 2vw);
  line-height: calc(14px + 1.5vw);
}
.underline {
  padding-top: .5em;
  display: block;
  margin: auto;
  width: 25%;
  height: auto;
}
.book-title {
  font-style: italic;
}
.mobile-inter {
  display: none;
  width: 100%;
  margin-bottom: -1em;
}
.mobile-inter img {
  width: 100%;
  height: auto;
  margin: 0em;
}

/* Navigation - Desktop */

.filler {
  width:100%;
  height: 3em;
  color: #000;
}
.nav-mobile {
  display: none;
  flex-direction: row;
  align-items: center;
  background-color: rgba(0,0,0,.7);
  padding: 0;
  width: 100%;
  height: 3em;
  position: fixed;
  z-index: 90;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33%;
}
.nav-mobile .menu-burger {
  align-items: flex-start;
  color: #fff;
  margin-left: 1em;
  margin-top: 0em;
  padding-top: 0em;
}
.nav-mobile .logo {
  align-items: center;
  color: #fff;
}
.nav-mobile .logo img {
  height: 2em;
}
.nav-mobile .shop {
  align-items: flex-end;
  color: #fff;
  margin-right: 1em;
}
.nav-mobile ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-right: 1em;
  overflow: hidden;
}
.social-menu-mobile {
  color: #fff;
  font-family: 'Comfortaa', cursive;
  font-size: 1em;
  width: 76px;
  align-items: center;
  float:left;
}
.social-menu-mobile  img {
  height: 2.5em;
  padding-left: .5em
}
.social-menu-mobile  a {
  height: 2.5em;
  padding-right: .5em;
  padding-left: .5em;
}
.nav-desktop {
  background-color: #000;
  padding: 0;
  width: 100%;
  height: 3em;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  position: fixed;
  z-index: 90;
}
.nav-desktop ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-right: 1em;
  height: 3em;
  overflow: hidden;
}
.nav-desktop .main-menu {
  color: #fff;
  float: left;
  font-family: 'Special Elite', cursive;
  font-size: 1.1em;
  padding-top: 1.5em;
  margin-top: -.5em;
  padding-bottom: .6em;
  padding-right: .75em;
  padding-left: .75em;
  border-style: none solid none none;
  border-color: rgba(255, 255, 255, 0.5);
  border-width: 1px;
}
.nav-desktop .main-menu:hover {
  background-color: #fff;
  color:#92754d;
}
.nav-desktop .clear {
  border-style: none none none none;
}
.nav-desktop .home-key {
  float: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 1.15em;
  padding-left: .5em
}
.home-key .logo-img {
  height: 1.5em;
  width: auto;
  padding-bottom: .5em;
}
.nav-desktop .home-key .white {
  display: block;
}
.nav-desktop .home-key .gold {
  display: none;
}
.nav-desktop .main-menu:hover .white {
  display: none;
}
.nav-desktop .main-menu:hover .gold {
  display: block;
}
.nav-desktop .social-menu {
  color: #fff;
  float: right;
  display: flex;
  flex-direction: row;
  font-family: 'Special Elite', cursive;
  font-size: .9em;
  height: 3em;
  align-items: center;
}
.nav-desktop .social-menu  img {
  height: 2em;
  padding-right: .35em;
  padding-left: .7em;
}
.nav-desktop .social-menu  a {
  height: 3em;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 0em;
  padding-left: 0em;
  color: #fff;
}
.nav-desktop .middle  a {
  height: 3em;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: .5vw;
  padding-left: .5vw;
}
.nav-desktop .social-menu span {
  padding-top: .25em;
  padding-right: .25em;
}
.main-menu:hover .dropdown-content {
  display: block;
  -webkit-animation-duration: .5s;
  -webkit-animation-delay: 0s;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  margin-top: .5em;
  margin-left: -1em;
  border-radius: 0px 0px 5px 5px;
  z-index: 1;
}
.nav-desktop .dropdown-content .bottom {
  border-radius: 0px 0px 5px 5px;
}
.nav-desktop .dropdown-content a {
  color: #000;
  display: block;
  font-family: 'Special Elite', cursive;
  font-size: 1em;
  padding-left: .5em;
  padding-right: 1em;
  padding-top: .25em;
  padding-bottom: 0em;
  margin-top: 0em;
  margin-bottom: 0em;
}
.nav-desktop .main-menu:hover .trigger {
  color: #92754d;
  background-color: #fff;
  pointer-events: none;
  cursor: default;
}
.dropdown-content a:hover {
  background-color: #000;
  color: #fff;
}

/* Navigation - Mobile */

.mobile-sidelist {
  display: none;
}
#sidenav {
  background: #000;
  width: 320px; // Don't forget to set this while initializing Sidenav.js
}
#sidenav .header {
  text-align: center;
  padding: 5px;
  background: url(../img/menu/background.jpg) center center no-repeat;
  background-size: cover;
}
#sidenav .title {
  margin-top: 5px;
  padding-bottom: 5px;
  color: #fff;
  /*text-shadow: 0px 0px 1px #000;*/
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  line-height: 1em;
  color: #fff;
}
#sidenav .underline {
  padding-bottom: 10px;
}
#sidenav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#sidenav ul li {
  padding: 15px;
  display: flex;
  align-items: center;
  border-style: solid none none none;
  border-width: 1px;
  border-color: rgba(102, 102, 102, .6);
}
#sidenav ul .end {
  border-style: solid none solid none;
  border-width: 1px;
}
#sidenav ul .sub {
  border-style: none none none none;
  padding-left: 2em;
}
#sidenav ul li span {
  color: #fff;
  font-family: 'Comfortaa', cursive;
  font-weight: 400;
}
#sidenav ul li i {
  margin-right: 10px;
  color: #000;
}
#sidenav ul li:hover {
    background-color: #fff;
}
#sidenav ul li:hover span {
    color: #000;
}
#sidenav ul li:hover i {
    color: #92754d;
}

/* Preface Section */

.preface-section {
  background-image: url(../img/preface/background.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  width: 100%;
}
.preface-container {
  background-color: rgba(255, 255, 255, 0.75);
  display: table;
  width: 100%;
  height: auto;
}
.preface-author-mobile {
  width: 100%;
  height: auto;
  display: none;
}
.preface-books img {
  width: 65%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 3em;
}

.preface-headline h2 {
  color: #92754D;
  font-family: 'Playfair Display', serif;
  font-size: calc(8px + 1vw);
  letter-spacing: 5px;
  padding-top: 2em;
}
.preface-headline h1 {
  color: #92754D;
  padding-bottom: .25em;
  font-size: calc(12px + 2.4vw);
}
.preface-headline .underline {
  padding-top: 1em;
  padding-bottom: 1em;
  width: 15vw;
}
.preface-text {
  padding: 10em;
  padding-top: 2em;
}
.preface-text img {
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.25);
  border-radius: 5px;
  float: left;
  width: 20vw;
  height: auto;
  margin-top: 10px;
  margin-right: 2.5em;
  margin-bottom: .5em;
}
.preface-text p {
  margin-bottom: 2em;
}
.preface-text .alt {
  font-style: italic;
}
.preface-text .alt a {
  font-style: normal;
  font-weight: 700;
  color: #92754D;
}
.preface-text .alt a:hover {
  color:#000;
  text-decoration: underline;
  text-decoration-color:  #92754D;
  text-decoration-style: double;
}
.preface-text .quote {
  font-style: italic;
  padding-left: 4em;
  padding-right: 4em;
}
.preface-text .signature {
  float: right;
  padding-right: 2em;
  padding-bottom: 2em;

}
.preface-text .signature p {
  font-weight: 700;
  margin-bottom: 0em;
}
.preface-text .tagline {
  float: left;
  padding-right: 2em;
  padding-bottom: 4em;
}
.preface-text .tagline p {
  font-style: italic;
  margin-bottom: 0em;
}

/* Footer Section */

.footer-section {
  background-color: #000;
  display: flex; -webkit-flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 15px;
  padding-bottom: 15px;
}
.footer-container {
  display: flex; -webkit-flex;
  flex-direction: row;
  justify-content: center;
}
.footer-content p {
  text-align: center;
  color: #fff;
  font-family: 'Comfortaa', cursive;
  font-weight: 300;
  font-size: .75em;
}
.footer-content a {
  padding-right: 1.5em;
  padding-left: 1.5em;
}
.footer-content ul {
  list-style-type: none;
  overflow: hidden;
  margin-left: -2em;
}
.footer-content li {
  display: inline;
  font-family: 'Comfortaa', cursive;
  font-size: 1em;
}
.footer-content .contact {
  font-weight: 400;
  font-size: 2em;
}
.footer-logo-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 1em;
}
.footer-logo-container .logo {
  display: flex;
  height: 3em;
}

/* Smaller Media */

/* Disable Parallax on touchscreens */

@media (pointer:coarse) {
  .preface-section { background-attachment:local; background-size: auto; }
}

/* Moble layout for (1) mobile phones through iPhone X, (2) iPads in portrait mode, and (3) slender phones in landscape (including Google Pixel XL 2) */

@media only screen and (max-width: 812px), screen and (max-width: 1024px) and (orientation: portrait), screen and (aspect-ratio: 2/1) {
  p {
    font-size: calc(12px + 1vw);
    line-height: calc(24px + 1.75vw);
    text-align: left;
  }
  h1 {
    font-size: calc(18px + 6vw);
    letter-spacing: 2px;
  }
  h2 {
    font-size: calc(12px + 4vw);
    letter-spacing: 1px;
  }
  button {
    font-size: calc(8px + 4vw);
  }
  .mobile-inter {
    display: block;
  }
  .underline {
    width: 50%;
  }
  .nav-desktop {
    display: none;
  }
  .filler {
    height: 3em;
  }
  .nav-mobile {
    display: flex;
  }
  .mobile-sidelist {
    display: block;
  }
  .preface-section {
    background-image: url(../img/preface/background_mobile.jpg);
  }
  .preface-books {
    display: none;
  }
  .preface-headline {
    padding-bottom: 1em;
  }
  .preface-headline .underline {
    padding-bottom: 1em;
  }
  .preface-text {
    padding: 2em;
  }
 .preface-text img {
    display: none;
  }
  .preface-text .quote {
    padding-left: 0em;
    padding-right: 0em;
  }
  .preface-author-mobile {
    display: block;
  }
}

/* Layout for phones in landscape mode */

@media only screen and (max-width: 812px) and (orientation: landscape), screen and (aspect-ratio: 2/1) {

}
