/* styles.css */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 40px;
  line-height: 1.6;
  color: #333;
  background-color: #fff5f7; /* Soft pink background */
}

nav {
  background-color: #ff69b4; /* Hot pink nav bar */
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  margin-right: 15px;
  color: #e6fffa; /* Light teal links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #26a69a; /* Teal hover */
}

nav a[href="#top"] {
  color: #8e44ad; /* Purple for Top */
}

nav a[href="#top"]:hover {
  color: #6c3483; /* Darker purple hover */
}

.buy {
  color: #1078bd;
}

.buy-button {
  display: inline-block;
  background-color: #ff69b4; /* Pink to match theme */
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}
.buy-button:hover {
  background-color: #26a69a; /* Teal hover */
}

.sub-toc {
  margin: 20px 0;
  background-color: #fff;
  padding: 15px;
  border-left: 4px solid #ff69b4; /* Pink border */
  border-radius: 3px;
}

.sub-toc h3 {
  color: #ff69b4; /* Pink header */
  margin-top: 0;
}

.sub-toc li {
  margin-bottom: 10px;
}

.sub-toc a {
  color: #26a69a; /* Teal links */
  text-decoration: none;
}

.sub-toc a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  color: #ff69b4; /* Pink headings */
}

h1 {
  font-size: 2.2em;
  border-bottom: 2px solid #26a69a; /* Teal underline */
  padding-bottom: 10px;
}

h2 {
  font-size: 1.8em;
  margin-top: 30px;
}

h3 {
  font-size: 1.4em;
  margin-top: 20px;
}

p {
  max-width: 800px;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
}

a {
  color: #26a69a; /* Teal links */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  body {
    margin: 20px;
  }
  nav {
    padding: 10px;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.5em;
  }
}
