/* Reset styles */

h1,
h2,
h3,
p {
  margin: 0;
}

img {
  display: block;
}

/* Utilities */

.u-text-center {
  text-align: center;
}

/* Rest of styles */

* {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
}

body {
  background-color: #efefef;
  color: #515151;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  gap: 20px;
  background-color: #005e2b;
  color: #ffffff;
}

h1 {
  font-size: 48px;
  font-weight: bold;
}

h2 {
  font-size: 40px;
  font-weight: bold;
  color: #005e2b;
}

.body-lg {
  font-size: 24px;
}

.container {
  padding: 40px;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}

.container-small {
  max-width: 1000px;
  padding: 40px 0;
}

.book-list {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 0;
}

.book-item {
  display: flex;
  gap: 20px;
  width: 400px;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  padding: 10px 20px;
}

.book-item:hover .book-image {
  transform: translateY(-15px);
}

.book-title {
  color: #005e2b;
  font-size: 18px;
  font-weight: bold;
}

.book-image {
  margin-top: -40px;
  box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 25%);
  transition: transform 200ms ease-in-out;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  align-items: flex-start;
}

.content-wrapper .button {
  margin-top: auto;
}

.button {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background-color: #005e2b;
  padding: 10px 12px;
  text-decoration: none;
}

.button-large {
  font-size: 24px;
  padding: 16px;
}

.breadcrumbs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.book-header {
  display: flex;
  margin: 60px 0;
  gap: 40px;
}

.book-header-image {
  box-shadow: 10px 10px 0 0 rgba(0, 0, 0, 0.25);
}

.book-header-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 24px;
}

.book-header-content .button {
  margin-top: auto;
}

.book-header-author {
  text-transform: uppercase;
}

.book-about p {
  font-size: 18px;
  margin: 36px 0;
  line-height: 2;
}

.book-detail {
  color: var(--book-detail-text);
  background-color: var(--book-detail-background);
}

.book-detail a,
.book-detail h2 {
  color: var(--book-detail-text);
}

.book-detail .button {
  color: var(--book-detail-background);
  background-color: var(--book-detail-text);
}
