/* Add your custom styles here */
@font-face {
  font-family: 'Montez-0jZz';
  src: url('fonts/Montez-0jZz.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HuntingStar-X3Ep9';
  src: url('fonts/HuntingStar-X3Ep9.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Asenine';
  src: url('fonts/ASENINE_.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Header Image Styles */
.page-header-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-header-container {
  padding: 0;
  margin: 0;
  width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  
  .logo {
    height: 50px;
    width: 50px;
  }
  
  body
  {
    background-color: #ffffff;
    color:#373535;
    font-family: "Poiret One", serif;
    font-size: 16pt;
  }

  .copebooks_logo {
    font-family: 'Montez-0jZz', sans-serif;
    font-size: 2.5rem;
    text-decoration: none;
    text-decoration-line: none;
    color: rgb(161 101 48);
    margin: 0; /* Remove default H1 margins */
    font-weight: normal; /* Remove default H1 bold weight */
  }

  .copebooks_headings{
    font-family: 'HuntingStar-X3Ep9', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    text-decoration-line: none;
    color: rgb(135 86 23);
    
  }

  .copebooks_subHeadings{
    color: rgb(135 86 23);
    font-weight: bold;
    
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'HuntingStar-X3Ep9', sans-serif;
}

  h2,h3
  {
    color: #aa7747;
  }
  
  .navbar
  {
    background-color: #000000;
    color:#353333;
  }
  
  .tophalf
  {
    background-image: linear-gradient(to bottom, black, #12295d);
    /* height: 500px;  */
    /* background-color:#443d3d; */
  }
  
  nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  nav li {
    margin-right: 1rem;
  }
  
  
  .main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .primary-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
  }
  
  #container {
    padding: 15px;
  }

  
  #top-section {
   border-bottom: 1px solid rgb(241, 236, 236);
  }
  
  #expand-container {
   overflow: hidden;
  }
  
  #expand-contract {
   border-bottom: 1px solid rgb(226, 215, 215);
   margin-top: -100%;
   transition: all 0.4s;
  }
  
  #expand-contract.expanded {
    background-color: rgb(169, 207, 226);
    margin-top: 0;
  }
  .bg-dark{
    background-color: #ffffff !important;
  }
  .bg-body-tertiary{
    background-color: #ffffff !important;
  }
  
  .btn-primary {
  --bs-btn-color: #383636;
      --bs-btn-bg: #f5f6f8;
      --bs-btn-border-color: #1b1c1c;
      --bs-btn-hover-color: #211f1f;
      --bs-btn-hover-bg: #f2f4f7;
      --bs-btn-hover-border-color: #1a1b1b;
      --bs-btn-active-bg: #dc3545;
  }
  .menuButton{
    width:100%;
    border:0px;
    border-bottom: 1px solid #373535;
  }
  .shadow {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  #client_banner {
    opacity: 0.5;
  }
  
  #client_banner:hover {
    opacity: 1.0;
  }
  
  .grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Define column widths */
    gap: 10px; /* Optional gap between items */
  }

  /* Mobile responsiveness for book shop grid */
  @media (max-width: 768px) {
    .grid-container {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 20px;
      text-align: center;
    }
    
    .grid-item--one-third {
      order: 1;
      padding-top: 0;
    }
    
    .grid-item--two-thirds {
      order: 2;
      text-align: left;
      padding: 0 20px;
    }
    
    .book-shop-image {
      width: 250px;
      height: 375px;
    }
  }

  @media (max-width: 480px) {
    .grid-item--two-thirds {
      padding: 0 10px;
    }
    
    .book-shop-image {
      width: 200px;
      height: 300px;
    }
  }
  
  a{
    color:#aa7747;
  }
  
  strong {
    color: #875717;
    font-weight: bold;
  }
  

  .novel-container {
    position: relative;
    display: inline-block;
    text-align: center;
}

.novel-title {
    position: absolute;
    top: -60px; /* Adjust this value to position the text vertically */
    left: 50%;
    transform: translateX(-50%);
 
    padding: 5px; /* Optional: Add padding for better readability */
    font-size: 1.5em; /* Adjust the font size as needed */
    z-index: 1; /* Ensure the text is above the image */
}

.novel-image {
    display: block;
    margin: 0 auto;
}

    /* Main content */
main {
      padding: 10px;
      font-size: 1em;
}

.container {
  border: 1px solid #dfcfa9;
  margin: 0 auto;
}

div .copebooks-gallery{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 1px; /* Optional spacing between images */
      overflow-x: none; /* Adds a scrollbar if images overflow the container */
}

.copebooks-gallery img {
  max-width: 100%;
  height: auto;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.header-left {
  flex: 1;
  text-align: left;
}

.header-right {
  flex: 1;
  text-align: right;
}

.header-right a {
  margin-left: 1rem;
}

.bodyLinks{
  color: #aa7747;
  font-size: larger;

}

.bodyHighlight{
  color: #aa7747;
  font-weight: bold;

}

.headerLinks{
  color: #aa7747;
  font-family: "Poiret One";
  text-decoration: none;

}

.quicksand-text {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.poiret-one-regular {
font-family: "Poiret One", serif;
font-weight: 400;
font-style: normal;
}
.montserrat-regular {
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


/* Header */
header {
  color: #aa7747;
  padding: 10px;
  text-align: center;
  
}

.novel-image {
  display: block;
  margin: 0 auto;
  max-width: 70%;
}

/* Book Shop Image Styling */
.book-shop-image {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 450px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.book-shop-image:hover {
  transform: scale(1.05);
}

.grid-item--one-third {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
}

@media (max-width: 768px) {
  .novel-title {
      font-size: 1em; /* Smaller font size for mobile */
  }

  .novel-image {
      max-width: 80%; /* Adjust image size for mobile */
  }
}

@media (max-width: 480px) {
  .novel-title {
      font-size: 0.8em; /* Even smaller font size for very small screens */
  }

  .novel-image {
      max-width: 100%; /* Full width for very small screens */
  }
}

/*buttons*/
.cta-button {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #aa7747; /* Light brown outline */
  border-radius: 20px; /* Semicircle ends */
  background-color: rgba(170, 119, 71, 0.6);
  color: #fff; 
  text-decoration: none;
  font-weight: regular;
  text-align: center;
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

.cta-button:hover {
  background-color: #fff;
  color: #aa7747; 
  
}

.styled-hr {
  border: 0;
  height: 1px;
  background-color: rgba(170, 119, 71, 0.5); /* Light brown color with 50% opacity */
  width: 50%; /* Half the width of the page */
  margin: 20px auto; /* Center the hr element */
}

.styled-hr2 {
  border: 0;
  height: 1px;
  background-color: rgba(170, 119, 71, 0.5); /* Light brown color with 50% opacity */
  width: 98%; 
  margin: 20px auto; /* Center the hr element */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.footer-left {
  flex: 1;
  text-align: left;
}

.footer-right {
  flex: 1;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-right span {
  margin-right: 5px;
}

/* Footer Navigation Menu */
.footer-nav {
  text-align: center;
  padding: 20px 0;
  margin: 20px 0;
  border-top: 1px solid rgba(170, 119, 71, 0.3);
  border-bottom: 1px solid rgba(170, 119, 71, 0.3);
  width: 100%;
}

.footer-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 600px;
}

.footer-nav-links a {
  font-family: "Poiret One", serif;
  color: #aa7747;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 15px;
  transition: background-color 0.3s, color 0.3s;
}

.footer-nav-links a:hover {
  background-color: rgba(170, 119, 71, 0.1);
  color: #875717;
}

.footer-nav-links a.active {
  background-color: rgba(170, 119, 71, 0.2);
  font-weight: bold;
}

@media (max-width: 480px) {
  .footer-nav-links {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-nav-links a {
    font-size: 1rem;
  }
}

.responsive-container {
  width: 100%;
  padding: 10px;
}

.responsive-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.responsive-image {
  flex: 1 1 100%;
  text-align: center;
  margin-bottom: 10px;
}

.responsive-image img {
  max-width: 100%;
  height: auto;
}

.responsive-text {
  flex: 1 1 100%;
  padding: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .responsive-content {
      flex-wrap: nowrap;
  }

  .responsive-image, .responsive-text {
      flex: 1;
      text-align: left;
  }

  .responsive-text {
      padding-left: 20px;
  }
}

.chapterExcerpts{
  background-color: #ffffff;color:#333;
  padding:10px; 
  font-family: montserrat;
  font-size: 12pt;
}


.social-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
}

.social-link {
  display: grid;
  grid-template-columns: 230px 32px;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 310px;
  white-space: nowrap;
}

.social-link img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  justify-self: center;
}

.contactTextSpan{
  width: auto;
  min-width: 230px;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

/* Mobile responsiveness for social media section */
@media (max-width: 768px) {
  .social-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    max-width: 400px;
    gap: 15px;
  }
  
  .social-link {
    max-width: 350px;
    grid-template-columns: 250px 32px;
  }
  
  .contactTextSpan {
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  .social-container {
    max-width: 300px;
    gap: 12px;
  }
  
  .social-link {
    max-width: 280px;
    grid-template-columns: 220px 32px;
    gap: 8px;
  }
  
  .contactTextSpan {
    min-width: 220px;
    font-size: 0.9rem;
  }
}

/* Copyright footer section */
.copyright-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
}

.copyright-left {
  width: 40%;
  text-align: left;
}

.copyright-right {
  width: 60%;
  text-align: right;
}

.copyright-right a {
  font-weight: bold;
  color: #aa7747;
  text-decoration: none;
}

.copyright-separator {
  font-weight: bold;
  color: #aa7747;
}

.copyright-text {
  color: #aa7747;
}

.copyright-label {
  font-weight: bold;
  color: #aa7747;
}

/* Mobile responsiveness for copyright footer */
@media (max-width: 768px) {
  .copyright-footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .copyright-left, .copyright-right {
    width: 100%;
    text-align: center;
  }
  
  .copyright-text, .copyright-right a, .copyright-separator {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .copyright-text, .copyright-right a, .copyright-separator {
    font-size: 0.8rem;
  }
  
  .copyright-right {
    line-height: 1.4;
  }
}
