* {
  box-sizing: border-box;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

body {
  font-family: 'Lato', sans-serif;
  width: 100%;
  margin: 1rem auto;
  padding: 0 1rem;
  background-color: #fafafa;
  color: rgb(39, 39, 39);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.main {
  max-width: 960px;
  margin: 0 auto;
}

a {
  color: orange;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.header {
  text-decoration: none !important;
  color: orange;
}

h1 {
  font-family: "Raleway", sans-serif;
  font-size: 4rem;
  text-shadow: 2px 2px tomato;
  color: orange;
  letter-spacing: 0.2px;
  margin: 0;
  text-align: center;
  line-height: 3rem;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: 0.2px;
  margin: 0;
  font-weight: 600;
}

.title {
  text-decoration: none;
  margin: 0;
}

.author {
  text-decoration: none;
  margin: 0;
  margin-top: 1rem;
  font-weight: 800;
}

hr {
  height: 1px;
  color: orange;
  background-color: orange;
  border: none;
}


img {
  width: 300px;
  border: 1px solid #eee;
  padding: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.book {
  text-align: center;
  background-color: white;
  border: 1px solid #eee;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 1rem;
  padding: 1rem;
  min-width: 200px;
  min-height: 230px;
}

.book img {
  border: none;
  padding: 0 !important;
  margin: 0 !important;
}


.book-image {
  height: 300px;
  width: 220px;
}

.other-image img {
  width: 100%;
}

.books {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}



@media (min-width: 50em) {
  .book {
    width: 250px;
  }
}

footer {
  text-align: center;
  font-size: 0.9rem;
}