.container {
  background-color: rgb(234, 232, 232);
}
/*
.container::before {
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("../img/mountains.jpg;");
  background-size: cover;
}*/
body {
  font-family: "Marck Script", cursive;
  font-weight: 300;
  font-style: normal;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures the body takes at least the full viewport height */
  min-width: 100vw;
  margin: 0;
}

header {
  background: linear-gradient(to bottom, #162916d9, rgb(234, 232, 232));
  position: sticky;
  top: 0;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  z-index: 2;
}

main {
  min-height: 100vh;
}

h1 {
  font-size: clamp(0.75rem, 1.5vw, 1.5rem);
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: black;
}

.page-links {
  max-width: 50%;
  position: relative;
}

.pages {
  padding: 5%;
}
.website-pages {
  max-width: 50%;
  display: flex;
  justify-content: space-around;
  padding-left: 0;
  font-size: clamp(1rem, 2vw, 1.75rem);
}

.social-links-wrapper {
  width: 6%;
  display: flex;
  justify-content: flex-end;
}
svg {
  width: 70%;
}

.hover-effect {
  transition: all 300ms ease-in-out;
}
.hover-effect:hover {
  color: rgba(103, 101, 101, 0.8);
}
/*
.book-background-img-current {
  background-image: url("../img/mountains2.jpg");
} /*

.book-background-img-1 {
  background-image: url("../img/IMG_0014.jpg");
}
.book-background-img-2 {
  background-image: url("../img/IMG_0631.PNG");
}
.book-background-img-3 {
  background-image: url("../img/IMG_5643.jpeg");
}
.book-background-img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  height: fit-content;
  position: relative;
}
/*
.book-background-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}*/

.current-book-section-wrapper {
  border: 1px solid #162916d9;
  max-width: 80vw;
  margin-left: auto;
  margin-right: auto;
  border-width: 10px 7px 0.5px 0.5px;
  /*background-color: rgba(117, 116, 116, 0.676);*/
}
.current-book-section-wrapper,
.book-section-wrapper {
  margin-top: 100px;
  padding: 50px 0px;
  display: flex;
  justify-content: space-evenly;
  color: #162916d9;
  max-height: 20%;
  align-items: center;
  text-align: center;
}
.current-book-description {
  display: flex;
  justify-content: flex-start;
  max-width: 300px;
  font-size: clamp(0.5rem, 1.5vw, 1.5rem);
  line-height: 40px;
  z-index: 1;
}

.book-description {
  display: inline-block;
  font-size: clamp(0.5rem, 1.5vw, 1.5rem);
  line-height: 40px;
  border: 2px solid #162916d9;
  border-radius: 5px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  padding: 10px;
  align-items: center;
  width: 40vw;
}

.current-book-release-date,
.book-release-date {
  font-size: 20px;
  margin-top: 0;
}

.square-font {
  font-family: "Metal Mania", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
}
/*
Source - https://stackoverflow.com/a
Posted by Is_this_my_username, modified by community. See post 'Timeline' for change history
Retrieved 2025-12-05, License - CC BY-SA 4.0
*/

.animation {
  animation: slideInFromRight 1s ease-in-out;
}

/*
Source - https://stackoverflow.com/a
Posted by lambdacoder
Retrieved 2025-12-05, License - CC BY-SA 4.0
*/

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}
/*
Source - https://stackoverflow.com/a
Posted by user14554230
Retrieved 2025-12-05, License - CC BY-SA 4.0
*/

[data-component="slideshow"] .slide {
  display: none;
  text-align: center;
}

[data-component="slideshow"] .slide.active {
  display: block;
}

.rotating-images {
  margin: 0 auto;
  padding: 100px;
  display: flex;
  justify-content: center;
  max-height: 800px;
  max-width: 600px;
  overflow: hidden;
}

.selected-slide-image {
  width: 90%;
  object-fit: contain;
}
.series-header {
  margin: 15px;
  margin-top: 50px;
  font-size: 40px;
  text-align: center;
  padding: 5px;
}
.series-header::before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 40%;
  margin-bottom: 5px;
  border: 1px solid #162916d9;
}
.series-header::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 50%;
  margin-top: 5px;
  border: 1px solid #162916d9;
}
.page-header {
  font-size: 50px;
  text-align: left;
  padding-left: 18%;
  text-decoration: underline;
  /*
  border-top: 1px solid #162916d9;
  border-bottom: 1px solid #162916d9;*/
}

.go-to-current-button,
.subscribe-button {
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
  border: 1px solid rgb(234, 232, 232);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  transition: all 300ms ease-in-out;
  font-family: "Marck Script", cursive;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  cursor: pointer;
}

.go-to-current-button:hover,
.subscribe-button:hover {
  background-color: #162916d9;
  color: rgb(234, 232, 232);
  border: 1px solid #162916d9;
}
.current-book-cover,
.book-cover {
  width: 20%;
  display: flex;
  justify-content: flex-end;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
}

.current-book-layer-1,
.book-layer-1 {
  z-index: 1;
}
.subscribe-wrapper {
  margin: 10px;
  max-width: 100%;
  height: 30%;
  margin: 100px 0;
  padding: 100px 50px 20px 50px;
}

.subscribe-text {
  text-align: center;
  font-size: 22px;
  padding-bottom: 50px;
}

.subscribe-form-container {
  margin: 0 auto;
  line-height: 50px;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  max-width: 100%;
}

.enter-email,
.enter-name {
  font-family: "Marck Script", cursive;
  font-weight: 300;
  font-style: normal;
  font-size: 20px;
  padding: 10px 20px;
}

.form-field {
  margin: 10px;
}
.name,
.email {
  width: 40%;
}

.enter-name,
.enter-email {
  width: 100%;
  padding: 5px;
  border: 1px solid rgb(234, 232, 232);
  border-radius: 5px;
}

.author-bio-wrapper {
  display: flex;
  justify-content: space-around;
  margin: 50px 0;
  padding: 50px 0;
  background-color: #162916d9;

  align-items: center;
}

.author-pic {
  width: 20%;
  border: 1px solid #162916d9;
  border-radius: 5px;
}

.author-bio {
  width: 30%;
  line-height: 30px;
  font-size: 22px;
  color: black;
  background-color: rgb(234, 232, 232);
  padding: 20px;
  border: 1px solid rgb(234, 232, 232);
  border-radius: 5px;
}

.awards,
.reviews {
  font-size: 50px;
  margin: 0 auto;
  padding: 100px;
  display: flex;
  justify-content: center;
  height: 200px;
}

.reviews {
  padding: 0;
}
.awards-wrapper,
.review-wrapper {
  max-height: 20%;
  max-width: 100vw;
  margin-bottom: 200px;
}
.awards-header,
.review-header {
  margin-top: 80px;
  position: relative;
  text-align: center;
}

.awards-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: block;
  background-image: url("../img/IMG_3389.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  opacity: 0.2;
  z-index: 0;
}
.first-award-slot {
  margin: 0 auto;
  background-color: #162916d9;
  display: flex;
  justify-content: space-around;
  max-width: 100vw;
  height: 50vh;
  padding: 50px 0 50px 0;
  align-content: center;
}

.first-award-slot-description {
  font-size: 25px;
  color: rgb(234, 232, 232);
  padding-left: 20%;
  max-width: 25%;
  text-align: center;
  align-self: center;
}
.first-award-image {
  max-width: 50%;
  object-fit: contain;
}

.review-video {
  position: relative;
  max-width: 50%;
  object-fit: contain;
}

.contact-form-container {
  margin: 0 auto;
  margin-top: 5rem;
  max-width: 30vw;
  border: 2px solid #162916d9;
  border-radius: 10px;
  line-height: 50px;
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  padding: 20px;
  margin-bottom: 5px;
  max-height: 50%;
}

.contact-label {
  padding: 2px;
  width: 3rem;
  font-size: 1.5rem;
}

.contact-name,
.contact-email,
.contact-subject,
.contact-message {
  width: 95%;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  border: 0.5px solid #162916d9;
  text-align: start;
}

.contact-submit {
  border-radius: 10px;
  border: 1px solid #162916d9;
  padding: 10px 25px;
  font-family: "Marck Script", cursive;
  font-size: 1.25rem;
  align-content: end;
  transition: all 300ms ease-in-out;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  text-align: start;
}

.contact-submit:hover {
  background-color: #162916d9;
  color: rgb(234, 232, 232);
  cursor: pointer;
}

footer {
  max-width: 100%;
  padding: 20px;
  background-color: #162916d9;
}
.bottom-info-bar {
  bottom: 0;
  width: 100%;
}

.blank-space {
  height: 100px;
  margin-top: 200px;
}

.coded-by {
  color: rgb(234, 232, 232);
  padding-right: 5px;
  text-align: end;
  overflow: scroll;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px 5px;
    align-items: center;
    gap: 10px;
  }

  .name-logo-wrapper {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
  }

  .social-links-wrapper {
    width: auto;
    display: flex;
    justify-content: center; /* Center the icons */
    align-items: center;
    gap: 15px; /* Space between icons */
  }

  svg {
    width: 30px; /* Fixed size that's visible but not huge */
    height: 30px;
  }

  .page-links {
    width: 100%;
    max-width: 100%;
  }

  .website-pages {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    padding-left: 0;
    gap: 8px;
    margin: 0 auto;
    width: 100%;
  }

  .pages {
    padding: 8px 12px; /* Compact padding */
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    display: inline-block; /* Make them inline blocks */
  }

  .current-book-section-wrapper,
  .book-section-wrapper {
    flex-direction: column; /* Stack items vertically */
    padding: 30px 20px; /* Less padding on mobile */
    max-width: 90vw; /* Take up most of screen width */
  }

  /* Make book covers bigger and centered */
  .current-book-cover,
  .book-cover {
    width: 60%; /* Was 20%, now bigger for mobile */
    margin: 20px auto; /* Center it with space above/below */
  }

  /* Make book descriptions take full width */
  .book-description,
  .current-book-description {
    width: 90%; /* Take up most of the screen */
    max-width: 90%;
    margin: 0 auto; /* Center it */
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  }

  /* FORMS */

  .subscribe-form-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
  }

  .name,
  .email {
    width: 90%;
  }

  .contact-form-container {
    max-width: 85vw;
  }

  /*ABOUT*/

  .author-bio-wrapper {
    flex-direction: column;
  }

  .author-pic {
    width: 60%;
    margin-bottom: 15px;
  }
  .author-bio {
    width: 80%;
  }

  /*INFO*/

  .first-award-slot {
    flex-direction: column;
    height: auto;
    justify-content: center;
    align-items: center;
  }

  .first-award-image {
    width: 60%;
  }

  .first-award-slot-description {
    max-width: 85%;
    padding-left: 0;
    margin-bottom: 15px;
  }

  /*TEXT ADJUSTMENTS AND SPACING*/

  .page-header {
    font-size: 35px;
    padding-left: 5%;
    text-align: center;
  }

  .website-pages {
    font-size: 1rem;
  }

  .series-header {
    font-size: 25px;
  }

  .rotating-images {
    padding: 50px 20px; /* Was 100px, now less */
  }

  .subscribe-wrapper {
    padding: 50px 20px;
    margin: 50px 0;
  }

  .blank-space {
    height: 50px;
    margin-top: 50px;
  }

  .awards,
  .reviews {
    padding: 50px 20px;
  }

  .awards-wrapper,
  .review-wrapper {
    margin-bottom: 100px;
  }
}
