body {
  font-family: "Calisto MT", "Bookman Old Style", Bookman, "Goudy Old Style", Garamond, "Hoefler Text", "Bitstream Charter", Georgia, serif;
}

.font-title {
  font-family: "Comforter", cursive;
  font-weight: 400;
  font-style: normal; 
}


#nav-links ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

#nav-links ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

#nav-links ul li a {
  padding: 0 1rem;
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
}

#nav-links ul li a:hover {
  opacity: 0.8;
}

/* Markdown Content Styles */
main h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a202c;
}

main h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.75rem;
  margin-bottom: 0.875rem;
  color: #2d3748;
}

main h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #2d3748;
}

main h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1.25rem;
  margin-bottom: 0.625rem;
  color: #4a5568;
}

main h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #4a5568;
}

main h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #718096;
}

main p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #2d3748;
}

main strong,
main b {
  font-weight: 700;
  color: #1a202c;
}

main em,
main i {
  font-style: italic;
}

main del,
main s {
  text-decoration: line-through;
  opacity: 0.7;
}

main code {
  font-family: 'Courier New', Courier, monospace;
  background-color: #f7fafc;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #d53f8c;
  border: 1px solid #e2e8f0;
}

main pre {
  background-color: #2d3748;
  color: #f7fafc;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  line-height: 1.6;
}

main pre code {
  background-color: transparent;
  padding: 0;
  border: none;
  color: inherit;
  font-size: 0.875rem;
}

main blockquote {
  border-left: 4px solid #4299e1;
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1rem;
  color: #4a5568;
  font-style: italic;
  background-color: #f7fafc;
  padding: 1rem;
  border-radius: 0.25rem;
}

main blockquote p {
  margin-bottom: 0.5rem;
}

main blockquote p:last-child {
  margin-bottom: 0;
}

main ul,
main ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

main ul {
  list-style-type: disc;
}

main ol {
  list-style-type: decimal;
}

main ul ul,
main ol ul {
  list-style-type: circle;
}

main ul ul ul,
main ol ul ul,
main ol ol ul,
main ul ol ul {
  list-style-type: square;
}

main li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: #2d3748;
}

main li > ul,
main li > ol {
  margin-top: 0.5rem;
}

main a {
  opacity: 0.8;
  text-decoration: underline;
  transition: color 0.2s;
}

main a:hover {
  opacity: 1;
}

main hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 2rem 0;
}

main table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 0.5rem;
}

main table th,
main table td {
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
  text-align: left;
}

main table th {
  background-color: #4a5568;
  color: white;
  font-weight: 600;
}

main table tr:nth-child(even) {
  background-color: #f7fafc;
}

main table tr:hover {
  background-color: #edf2f7;
}

main img {
  max-width: 100%;
  height: auto;
}

/* Task Lists */
main input[type="checkbox"] {
  margin-right: 0.5rem;
}

main li > input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* Mobile overlay - hidden by default */
#mobile-nav-overlay {
  display: none;
}

#mobile-nav-overlay.hidden {
  display: none;
}

/* Mobile nav - vertical layout when visible */
#mobile-nav-list ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mobile-nav-list ul li {
  margin: 0;
  padding: 0;
}

#mobile-nav-list ul li a {
  text-decoration: none;
  color: white;
  padding: 1rem;
  display: block;
  font-size: 2rem;
}

#mobile-nav-list ul li a:hover {
  opacity: 0.8;
}
