/* styiling 

--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

- Font weights
lighter - 200
Default -  400
bold - 600
bolder - 800

- Line heights
Default: 10px
paragraph: 16px

Border- radius 

Default - 6px

font-family -  Heading  - 'cinzel' , body text - ' lato'.


--- colors

-- Main color #191970

Tints - #BABAD4 , #7575a9 , #47478d
shades - #14145a , #0f0f43 , #0a0a2d


-- Main color - #4B0082 
Tints - #6f339b , #9366b4 , #b799cd , #dbcce6
shades - #3c0068 , #2d004e ,  #1e0034


-- Main color - #50C878

Tints - #73d393 , #96deae , #b9e9c9 , #dcf4e4
shades - #40a060 , #307848 , #205030 , #102818

-- secondary colors - #FFD700 
-- secondary colors - #DC143C

-- Text - #333 , #777 , #D3D3D3


*/

/* Header section */

.header {
  background-color: #191970;
  padding: 0.8rem 1.6rem;
  font-family: "lato";
  position: relative;
}

.header-flex {
  justify-content: space-between;
  align-items: center;
}

.main-logo {
  height: 6.2rem;
}

/* NAv bar */

.nav-list-flex {
  gap: 4.8rem;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  list-style: none;
}
.nav-item:link,
.nav-item:visited {
  text-decoration: none;
  color: #dbcce6;
  font-size: 2rem;
  font-weight: 700;
}
.nav-item:hover,
.nav-item:active {
  opacity: 60%;
  box-shadow: 0 0.1rem 0 rgb(255, 255, 255, 0.5);
}
.nav-btn:link,
.nav-btn:visited {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  color: black;
  font-size: 2rem;
  font-weight: 700;
  background-color: #fff;
  border-radius: 2rem;
}

.nav-btn:hover {
  transform: translateY(-0.01rem);
  box-shadow: 0 0.3rem 0.2rem #777;
}

.nav-btn:active {
  transform: translateY(0.2rem);
  box-shadow: 0 0.5rem 0.2rem #777;
}

.menu-btn {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}
.icon-btn {
  height: 3.8rem;
  width: 3.8rem;
  color: #ffffff;
}

.menu-close[name="close-outline"] {
  display: none;
}
/* Hero section */

.section-hero {
  background-color: #191970;
  padding-top: 4.8rem;
}

.hero {
  max-width: 130rem;
}
.hero-title {
  font-family: "cinzel";
  text-align: center;
  color: #ffd700;
  font-size: 3.6rem;
}
.hero-gap {
  gap: 3.2rem;
}
.hero-book-name {
  font-size: 2.4rem;
  color: #d3d3d3;
  font-family: "lato";
}
.hero-img {
  border-radius: 0 1rem 1rem 0;
  box-shadow: 0.2rem 0 1.5rem -0.5rem rgba(255, 255, 255, 0.8);
}

.hero-btn:link,
.hero-btn:visited {
  display: inline-block;
  padding: 1rem 4.8rem;
  text-decoration: none;
  font-family: "lato";
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  background-color: #dc143c;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.hero-btn:hover {
  box-shadow: 0.2rem 0.4rem 0.5rem rgba(255, 255, 255, 0.2);
  transform: translate(-0.1rem);
}

.hero-btn:active {
  transform: translatey(0.1rem);
}

.paperback {
  font-size: 1.8rem;
  color: wheat;
  opacity: 0.6;
}

/**  About book section **/

.about-book {
  margin-top: 4.8rem;
}
.about-book-grid {
  align-items: center;
}

.About-book-cover {
  border-radius: 0.6rem;
  justify-self: center; /* Centers the image horizontally in its column */
  align-self: center; /* Centers the image vertically in its column */
  max-width: 85%; /* Ensures the image is responsive */
}

.paragraph {
  max-width: 100%;
  font-size: 2rem;
  line-height: 2.8rem;
}

/* * Whats included* */

.whats-included {
  background-image: linear-gradient(to left, #14145a, #0a0a2d);
  margin-top: 4.8rem;
  padding: 12.8rem 0;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.whats-include-title {
  color: #fff;
  margin-bottom: 6.4rem;
}

.text-content {
  justify-self: center; /* Centers the image horizontally in its column */
  align-self: center; /* Centers the image vertically in its column */
  row-gap: 8rem;
  column-gap: 2.4rem;
}

.icon {
  width: 5.2rem;
  background-color: #dc143c;
  padding: 0.8rem;
  border-radius: 50%;
}
.list-flex {
  gap: 1.4rem;
  justify-items: center;
  align-items: center;

  flex-direction: column;
}
.list-text {
  font-size: 2rem;
  color: #fff;
}

.image-content {
  justify-self: center; /* Centers the image horizontally in its column */
  align-self: center; /* Centers the image vertically in its column */
}
.whats-include-img {
  max-width: 80%;
  box-shadow: -0.4rem 0rem 1.2rem rgba(0, 0, 0, 0.529);
}

/* Bonus section */

/* Bonus rewards */

.bonus-reward {
  margin-top: 4.8rem;
}
.bonus-reward-card {
  background-color: #e7f5ff;
  padding: 0 1.6rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 100%;
}
.title {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-family: "cinzel";
  font-weight: 600;
  flex-direction: row;
}

.bonus-title {
  font-size: 2.4rem;
  border-bottom: 0.2rem solid;
  font-weight: 700;
}
.bonus-list-column {
  justify-self: center; /* Centers the image horizontally in its column */
  align-self: center; /* Centers the image vertically in its column */
}

.bonus-list {
  list-style: none;
  font-size: 2rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2rem;
}

.bonus-text {
  display: block;
  font-size: 1.6rem;
  opacity: 0.5;
  font-weight: 900;
  margin-bottom: 2rem;
}

.bonus-item-flex {
  flex-direction: row;
}

.bonus-btn:link,
.bonus-btn:visited {
  display: inline-block;
  margin-bottom: 2rem;
  width: 80%;
  padding: 1.2rem 2.4rem;
  text-decoration: none;
  font-family: "opensans";
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  background-color: #4b0082;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.bonus-btn:hover {
  box-shadow: 0.2rem 0.4rem 0.5rem rgba(255, 255, 255, 0.2);
  transform: translate(-0.1rem);
}

.bonus-btn:active {
  transform: translatey(0.1rem);
}

.bonus-img {
  border-radius: 1rem;
  width: 80%;
  justify-self: center; /* Centers the image horizontally in its column */
  align-self: center; /* Centers the image vertically in its column */
}
.bonus-grid {
  justify-content: space-between; /* Centers grid items horizontally */
  align-items: center;
}
.bonus-reward-grid {
  gap: 2rem;
}
.last-child {
  align-self: end;
  margin-bottom: 2rem;
}

.bonus-paragraph {
  font-size: 2rem;
}

/* *Testimonial section* */

.testimonial {
  margin-top: 4.8rem;
}

.testimonial-card {
  max-width: 100%;
  height: 40rem;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #191970;
  border-radius: 1rem;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-text {
  font-size: 2rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 2rem;
  padding-left: 2rem;
  position: relative;
}
/* 
.testimonial-text:before {
  content: "“";
  font-size: 4rem;
  color: #14145a;
  position: absolute;
  top: 0;
  left: 0;
} */

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  position: absolute;
  bottom: 1.6rem;
}

.author-img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  padding: 0.2rem;
  border: 0.3rem solid #fff;
  object-fit: cover;
  margin-right: 1.6rem;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
}

.author-title {
  font-size: 1.4rem;
  color: #777;
}

.testimonial-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* About author */
.about-author-section {
  margin-top: 4.8rem;
  background-color: #fff;
}

.author-container {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 0.6rem;
  box-shadow: 0 1rem 1.6rem rgba(0, 0, 0, 0.1);
}

.author-image img {
  width: 90%;
  height: auto;
  border-radius: 50%;
  object-fit: fill;
  border: 5px solid #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.author-bio {
  text-align: left;
}
.author-bio h2 {
  margin-bottom: 2.4rem;
}

.author-bio p {
  font-size: 1.8rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Footer */

/* Footer section */

/* General Styles */
.footer {
  margin: 4.8rem 0 0 0;
  background-color: #171b8b;
  padding: 3rem 1rem 0rem 1rem;
  color: #fff;
  font-family: "Lato", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 2fr 2.5fr;
  gap: 2rem;
  justify-content: space-between;
}

.footer-logo {
  width: 12rem;
  margin-bottom: 2rem;
}

.footer-socials {
  list-style: none;
  padding: 0;
}

.footer-socials-flex {
  flex-direction: column;
}

.solo-flex {
  align-items: center;
  gap: 1rem;
}

.footer-socials li {
  margin-bottom: 1rem;
}

.footer-socials a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
}

.footer-socials img {
  width: 20px;
  margin-right: 1rem;
}

/* Links Section */
.footer-links {
  font-size: 1.6rem;
}

.footer-links h3 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Contact Form Section */
.footer-form h3 {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.6rem;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 5px;
}

.footer-form textarea {
  height: 100px;
}

.footer-form button {
  padding: 1.2rem 2.4rem;
  background-color: #fff;
  color: #171b8b;
  border: none;
  border-radius: 5px;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.footer-form button:hover {
  background-color: #e0e0e0;
}

/* Bottom Note */
.footer-bottom {
  text-align: center;
  padding: 2rem;
  padding-bottom: 0rem;
  font-size: 1.4rem;
}

.footer-bottom p {
  margin: 0;
}
