/* Apply Inter font */
body {
  font-family: "Roboto Mono", monospace;
  margin: 0;
  padding: 0;
  color: #000000;
  line-height: 1.6;
  background: #f4f4f4; /* Light grey background */
}

header,
footer {
  background: #fff; /* White background for contrast */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  text-align: center;
  padding: 1rem;
}

main {
  padding: 1rem;
  max-width: 800px; /* Optimal reading width */
  margin: auto; /* Center main content */
}

h1,
h2,
h3 {
  font-family: "Permanent Marker", cursive;
  color: #363a37;
}

h1 {
  font-size: 55px;
  padding: 10px;
  margin: 10px;
  line-height: 40px;
}

h2 {
  margin: 5px;
  font-size: 28px;
}

h3 {
  text-align: center;
}

time {
  font-family: "Permanent Marker", cursive;
  color: #363a37;
}

/* Hover effect for links */
a:hover {
  color: #0056b3;
  text-decoration: none;
}

/* fonts */

.roboto-thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.roboto-light {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.roboto-thin-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.roboto-light-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.roboto-regular-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.roboto-medium-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.roboto-bold-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-black-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.permanent-marker-regular {
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Style for the comment section */
#comment-form {
  background: #fff;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px; /* Rounded corners for form */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Consistent shadow with header/footer */
}

#captcha {
  margin-top: 1rem;
  font-weight: bold;
  color: #007bff;
}

/* Enhancements for readability and aesthetics */
p,
li {
  text-align: justify;
  hyphens: auto;
  font-weight: 300;
  font-size: 14px;
}

.article-separator {
  border-top: 1px solid #ccc; /* Example border style */
  margin: 20px 0; /* Example margin */
}

.section-separator {
  text-align: center; /* Center the separator */
  margin: 20px 0; /* Add some space above and below */
}

.section-separator hr {
  border: none; /* Remove default line */
  height: 1px; /* Set the height of the line */
  background-color: #ccc; /* Line color */
  width: 50%; /* Set the width of the line */
  margin: 0 auto; /* Center the line */
}

.section-separator .asterisks {
  font-size: 24px; /* Font size of the asterisks */
  color: #ccc; /* Color of the asterisks */
}

.footer-image {
  width: 10%;
  height: auto;
  object-fit: contain;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-content {
  text-align: center;
}

@media (max-width: 768px) {
  .footer-image {
    width: 30%;
    height: auto;
  }
}

.audio-section {
  background: #fff;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 500px;
  transition: all 0.2s ease;
}

.audio-section:hover {
  background: #f8f8f8;
  cursor: pointer;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.audio-section .audio-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.audio-section h4 {
  font-family: "Permanent Marker", cursive;
  color: #363a37;
  margin: 0;
  font-size: 16px;
}

.audio-section audio {
  width: 100%;
}

.post-nav {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.post-nav-content {
  position: absolute;
  top: 50px;
  right: 0;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 200px;
}

.post-nav-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 20px;
  color: #363a37;
  transition: transform 0.2s ease;
  padding: 0;
  line-height: 1;
}

.post-nav-toggle:hover {
  transform: scale(1.1);
}

.post-nav-title {
  font-family: "Permanent Marker", cursive;
  color: #363a37;
  font-size: 14px;
  display: block;
  margin-bottom: 0.5rem;
}

.post-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-nav li {
  margin: 0.5rem 0;
  text-align: left;
}

.post-nav a {
  color: #363a37;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}

.post-nav a:hover {
  color: #666;
}

/* Remove hover behavior */
.post-nav:hover .post-nav-content {
  display: none;
}

/* Show content only when active class is present */
.post-nav.active .post-nav-content {
  display: block;
}

/* Mobile styles */
@media (max-width: 768px) {
  .post-nav {
    bottom: 20px;
    top: auto;
    right: 20px;
  }

  .post-nav-content {
    bottom: 50px;
    top: auto;
  }
}
