@charset "utf-8";

body {
	background-color: #E9E5CD !important;
	color: #75420E;
	font-family: "Inter", sans-serif;
}

.navbar-brand {
	font-family: "Inter", sans-serif;
	color: #553B08;
	font-weight: 300;

}

.search {
	text-align: center;
	color: #86A668;
	border: 2px none;
	border-radius: 15px;
}

.navhero {
	background: url("images/backgroundmybooks.png") no-repeat top;
	background-size: cover;
	min-height: 100vh; /*this one i asked chatgpt so im not so sure. . .*/
	background-repeat: no-repeat;
	width: 100%;
}

.nav {
	background-color: #2E4E3F;
	padding: 6px 12px;
	box-sizing: border-box;
	margin: 0 auto;
	width: 50%;
	border-radius: 15px;
	display: flex;
	flex-direction: row;
	justify-content: center; 
	align-content: center;
	gap: 40px;
}

.nav-link {
	color: #F4F3F3 !important;
}

.nav-link:hover {
	color: #86A668 !important;
	text-decoration: underline;
}

.herosection {
	justify-content: center;
	align-items: center;
	text-align: center;
	display: flex;
	flex-direction: column;
	padding: 10rem;
}

.heroh1 {
	font-family: "Playfair Display", serif;
	font-weight: 700;
	color: #553B08;
}

.heroh2 {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	color: #75420E;
	margin: 2rem 0rem;
}

.currentread {
	margin: 2rem 0rem;
}

.nextread {
	margin: 3rem 0rem;
}

.finishedread {
	margin: 3rem 0rem;
}

.currentread-scroll {
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 0;
	justify-content: start;
}


.currentread-card {
	min-width: 200px;
	flex-shrink: 0;
}

.discover-scroll {
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 0;
	justify-content: start;
}


.discover-card {
	min-width: 200px;
	flex-shrink: 0;
}

.finishedread-scroll {
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 0;
	justify-content: start;
}


.finishedread-card {
	min-width: 200px;
	flex-shrink: 0;
}

.book-title {
	font-family: "Playfair Display", serif;
	font-size: 1rem;
	margin: 1rem 0rem;
	color: #3F2900;
}

.book-author {
	font-family: "Inter", sans-serif;
	font-size: 0.85rem;
	margin: 0.25rem 0rem;
	color: #6F5A31;
}

.sectiontitle {
	color:#553B08;
	margin: 2rem 0rem;
	font-family: "Inter", sans-serif;
	font-weight: 600;
}

.section-line {
	border: none;
	height: 4px;
	background-color: #75420E;
	width: 400px;
}

.site-footer {
  background-color: #E9E5CD;
  border-top: 1px solid rgba(85, 59, 8, 0.2); /* soft brown border */
  font-family: "Inter", sans-serif;
}

.footer-heading {
	font-family: "Playfair Display", serif;
	color: #3F2900;
	font-size: 1rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #75420E;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #2E4E3F;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  color: #553B08;
  font-size: 2rem;
  margin: 0;
}

.footer-line {
  border: none;
  height: 2px;
  background-color: #86A668;
  width: 60px;
  margin: 0 0 0.5rem auto;
}

.footer-social img {
	width: 30px;
	margin: 0 0.5rem;
	transition: opacity 0.3s ease;
	background-color: #F4F3F3;
	border: 2px solid #889E7480;
	border-radius: 12px;
}

.footer-social img:hover {
  opacity: 0.7;
}

.footer-divider {
  border-color: #2E4E3F;
  margin: 2rem 0 1rem;
}

.copyright-text {
  font-size: 0.85rem;
  color: #86A668;
}

@media (max-width: 992px) {
  .nav {
    flex-direction: column;
    width: 100%;
    border-radius: 0;
    gap: 1rem;
    padding: 1rem 0;
  }

  .herosection {
    padding: 5rem 2rem;
  }

  .custom-btn {
    margin: 2rem auto;
  }

  .section-line {
    width: 80%;
    margin: 0 auto;
  }

  .d-flex {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .currentread-card,
  .discover-card,
  .finishedread-card {
    min-width: 85%;
    max-width: 100%;
  }

  .book-title,
  .book-author {
    text-align: center;
  }

  .site-footer .row {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .footer-social img {
    width: 24px;
  }

  .footer-divider {
    width: 80%;
    margin: 2rem auto 1rem;
  }
}

