@charset "UTF-8";
html {
  background-image: url("images/background-image.jpg");
  background-size: cover;
  background-attachment: fixed;
  font-family: "Alegreya", serif;
  font-size: 18px;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background-color: #fff;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
  padding: 0.3em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Alegreya SC", serif;
}

a {
  color: #AE0000;
}

.header-main .logo-group {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1em;
}
.header-main .logo-group .logo {
  width: 400px;
  max-width: 100%;
}
.header-main .logo-group .slogan {
  font-family: "Alegreya SC", serif;
  font-size: 0.9em;
}

.gallery-heading {
  color: #AE0000;
  font-size: 1.5em;
  text-align: center;
}
.gallery-heading .tagline {
  font-size: 0.8em;
  font-weight: normal;
}

hr {
  border: none;
  border-bottom: 1px solid gray;
  margin-bottom: 1em;
  padding-top: 1em;
  text-align: center;
}

.fleuron-rule::before, .reversed-fleuron-rule::before {
  content: "❧";
  color: #000;
  background: #fff;
  font-size: 1.5em;
  line-height: 0;
  padding: 0 0.5em;
  position: relative;
  text-align: center;
  top: -0.25em;
}

.reversed-fleuron-rule::before {
  content: "☙";
}
@media screen and (max-width: 500px) {
  .reversed-fleuron-rule::before {
    content: "❧";
  }
}

.book-title {
  margin-bottom: 1em;
}
.book-title h2, .book-title h3 {
  margin: 0;
}
.book-title h3 {
  font-family: "Alegreya", serif;
}

.call-to-action a {
  background-color: #FBD0AD;
  color: #AE0000;
  font-family: "Alegreya SC", serif;
  font-size: 1.2em;
  padding: 0.5em 1em;
  text-decoration: none;
}

.book-highlight {
  text-align: center;
}
.book-highlight .cover-and-description {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
  text-align: left;
}
.book-highlight .cover-and-description .book-cover {
  max-width: 49%;
}
.book-highlight .cover-and-description .book-cover, .book-highlight .cover-and-description .book-highlight-description {
  flex-basis: 49%;
}
.book-highlight .cover-and-description .book-highlight-description .book-title {
  margin-bottom: 0;
}
.book-highlight .cover-and-description .book-highlight-description p {
  font-style: italic;
  font-size: 0.8em;
}

.books-gallery {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr 3fr 1fr;
}
.books-gallery .books-gallery-item {
  display: block;
  padding: 1em;
  color: inherit;
  text-decoration: none;
}
.books-gallery .books-gallery-item .book-cover {
  width: 100%;
}
.books-gallery .books-gallery-item .book-publish-date {
  font-weight: bold;
  text-align: center;
}

.email-update-section {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  max-width: 23em;
}
.email-update-section h3 {
  margin-bottom: 0.2em;
}
.email-update-section .email-input-group {
  display: flex;
  padding: 0 0.2em;
}
.email-update-section .email-input-group input, .email-update-section .email-input-group button {
  border: 1px solid #FBD0AD;
}
.email-update-section .email-input-group input {
  min-width: 0;
  flex: 1;
}
.email-update-section .email-input-group button {
  flex: 0.5;
}

.book-description .book-cover {
  width: 250px;
  padding: 0.5em;
  float: right;
  text-align: center;
}
@media screen and (max-width: 460px) {
  .book-description .book-cover {
    width: 100%;
  }
  .book-description .book-cover img {
    width: 60%;
  }
}
.book-description .book-cover img {
  max-width: 100%;
}

footer {
  overflow: hidden;
}

.footer-nav, .header-nav {
  color: #AE0000;
  font-family: "Alegreya SC", serif;
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 1em;
}

label {
  font-weight: bold;
}

input, textarea, label {
  display: block;
  width: 100%;
}

input, textarea, button {
  background-color: #FBD0AD;
  border: 1px solid rgba(174, 0, 0, 0.4);
  color: #AE0000;
  font-family: "Alegreya SC", serif;
  padding: 0.5em;
  margin-bottom: 1em;
}

input, textarea {
  background-color: white;
  font-family: "Alegreya", serif;
}

button {
  cursor: pointer;
}

@media screen and (max-width: 400px) {
  .header-main .logo-group .slogan {
    font-size: 0.7em;
  }
}
@media screen and (min-width: 700px) {
  html {
    padding-top: 1em;
    padding-bottom: 1em;
  }

  body {
    border: 8px solid #FBD0AD;
    max-width: 50em;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5em;
  }

  .header-main .logo-group .slogan {
    font-size: 1em;
  }

  .header-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .header-main .logo-group {
    margin-bottom: 0;
  }
  .header-main .header-nav {
    display: block;
  }

  article {
    font-size: 1.1em;
    padding: 0.2em;
  }
  article .coming-soon-heading {
    text-align: left;
    font-size: 2.5em;
    line-height: 0.8;
    margin: 0;
  }
  article .coming-soon-heading .tagline {
    font-size: 0.5em;
  }
  article .book-highlight {
    text-align: left;
  }
  article .book-highlight .call-to-action {
    position: relative;
    top: -1em;
    text-align: right;
    margin: 0;
  }
  article .book-highlight .call-to-action a {
    padding: 0.25em 1em;
  }
  article .book-highlight .cover-and-description .book-cover {
    height: 300px;
    margin-right: 0.5em;
  }
  article .book-highlight .cover-and-description .book-highlight-description {
    font-size: 1.2em;
  }
  article .book-highlight .cover-and-description .book-cover, article .book-highlight .cover-and-description .book-highlight-description {
    flex-basis: auto;
  }

  .footer-nav {
    display: none;
  }
  .contact-inputs{
  }
