/*
Theme Name: Shadow Cottage Press

Author: ShadowCottage


Version: 1.0


*/

/* Custom styles for book covers, titles, and authors */
.book-cover {
    width: 160px; /* Adjust based on actual size requirements */
    height: 240px; /* Adjust based on actual size requirements */
    background-color: #d3d3d3; /* Placeholder color */
  }
  .book-title {
    font-size: 0.875rem; /* Adjust based on actual size requirements */
    font-weight: 600;
  }
  .book-author {
    font-size: 0.75rem; /* Adjust based on actual size requirements */
    font-weight: 400;
  }
  .logo-large {
    height: 200px !important;
    width: auto !important;
  }
  
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.book {
  background-color: #1E3A8A; /* Blue background color */
  padding: 10px;
  border-radius: 8px; /* Optional: For rounded corners */
  color: white; /* Ensures text is visible */
  text-align: center; /* Center the text */
}

.buy-books-section {
  background-color: #ADD8E6; /* Light blue background */
  padding: 20px;
  border-radius: 8px; /* Optional: for rounded corners */
}

@media (max-width: 768px) {
  .nav {
      flex-direction: column;
      padding: 1rem;
      color: white;
  }
  .logo-large {
      margin-bottom: 1rem; /* Adds space between the logo and navigation links */
  }
  .nav .a {
      font-size: 0.875rem; /* Adjusts font size for better fit */
      padding: 0.5rem 0; /* Adjusts padding for a taller, more touch-friendly link */
  }
}

/* Additional custom styles */
.logo-large {
  height: 100px;
  width: auto;
}

/* Adjusting the main content to avoid overlap with the fixed navbar */
main {
  padding-top: 100px; /* Adjust this value based on the actual height of your navbar */
}

/* Hide hamburger menu on larger screens */
.hamburger {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: white;
}

/* Hide traditional menu on smaller screens */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .menu a {
    text-align: center;
    padding: 10px;
    border-top: 1px solid gray;
  }

  /* Display the hamburger menu on smaller screens */
  .hamburger {
    display: block;
  }
}

.book-cover {
  width: 160px; /* Adjust based on actual size requirements */
  height: 240px; /* Adjust based on actual size requirements */
  background-image: url('/images/saraLogo.png');
  background-size: cover;
  background-position: center;

}
#navbar .menu a {
  color: black; /* Forces the color change */
}

#navbar .menu a:hover {
  color: #007bff; /* Example blue color for hover, adjust as needed */
}
.container.text-black h1,
.container.text-black p {
  color: black !important;
}

.back-image {
  background-size: cover; /* Ensures the background image covers the entire element */
  background-position: center; /* Centers the background image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  /* Set a default height and width or make it responsive as needed */
  height: 240px; /* Example height */
  width: 160px; /* Example width */
}

.author:hover {
  cursor: pointer;
}

/* Targets the navigation bar's container */
.nav {
  /* Ensures the text color within the navbar is white */
  color: white;
}

/* Specifically targets all <a> tags within the .nav class */
.nav a {
  color: white; /* Sets text color to white */
  text-decoration: none; /* Optional: removes underline from links */
}

/* Enhances the hover effect for links to maintain white text color */
.nav a:hover {
  background-color: #1d4ed8; /* Dark blue background on hover, adjust the color code as per your theme */
  color: white; /* Ensures text remains white on hover */
  transition: background-color 0.3s; /* Smooth transition for background color change */
}
