/* Custom styles for branding */
body {
    background: #fafafa;
    font-family: "Georgia", serif;
    color: #333;
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #0056b3; /* A muted blue */
}

a {
    color: #cc5500 !important; /* A subtle accent color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

article {
    padding: 1rem 0rem;
}

ul {
  margin-bottom: 3rem;
}

ul li strong {
  color: #5da8ff !important;; /* Muted blue for emphasis */
}

/* Centered Navbar Styling */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(250, 250, 250, 0.95); /* Slight transparency */
    padding: 10px 0;
    text-align: center; /* Center the navigation */
    margin-bottom: 30px; /* Adds spacing below */
    font-size: 1.1em;
    font-weight: 400; /* Slightly lighter weight */
}

/* Center align the navigation list */
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0 auto; /* Centers the list */
    display: flex;
    justify-content: center; /* Ensures perfect centering */
    gap: 60px;
    align-items: center; /* Fixes vertical misalignment */
}

/* Force all list items to have equal height */
.navbar ul li {
    margin-top: 0 !important;
    display: inline-block;
    vertical-align: middle; /* Ensures consistent vertical alignment */
}

/* Normalize link styling */
.navbar ul li a {
    text-decoration: none;
    font-weight: 400;
    font-size: 1em; /* Ensure uniform font size */
    display: inline-block; /* Helps normalize rendering */
    line-height: 1.5; /* Forces uniform spacing */
    padding: 5px 0; /* Adds slight vertical padding */
    transition: border-color 0.3s, color 0.3s;
}

/* Hover effect */
.navbar ul li a:hover {
    color: #cc5500; /* Accent underline */
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
      .navbar {
        background: rgba(20, 20, 20, 0.95);
        border-bottom: 1px solid #444;
    }
    .navbar ul li a {
        color: #5da8ff;
    }
    .navbar ul li a:hover {
        color: #ffa726;
    }
}


/* Style the skills table */
table {
    width: 100%;
    border-collapse: separate; /* Keeps spacing between rows */
    border-spacing: 10px 15px; /* Adds horizontal & vertical spacing */
    font-size: 1.2em;
}

td {
    padding: 10px; /* Adds padding inside each cell */
    vertical-align: top; /* Keeps text aligned at the top */
}

/* Make headers (left column) stand out */
td:first-child {
    font-weight: bold;
    width: 25%; /* Ensures left column isn't too wide */
}



/* Keep Tufte's wide margins */
.sans { font-family: "Helvetica", sans-serif; }

@media (prefers-color-scheme: dark) {
    body {
        background: #121212;
        color: #ddd;
    }
    h1, h2, h3 {
        color: #5da8ff;
    }
    a {
        color: #ffa726 !important;
    }
    p strong {
        color: #5da8ff;
    }
    ul li strong {
        color: #5da8ff;
    }
}


/* Subtle inline summaries under select items */
.note {
  margin: 6px 0 10px;
  padding: 6px 10px;
  background: #f9f9f9;
  border-left: 3px solid #0056b3; /* aligns with your accent color */
  border-radius: 4px;
  font-size: 0.95em;
  color: #555;
}

/* More comfortable spacing for long link lists */
article ul li {
  margin-bottom: 10px;
}

/* Optional: metadata chips if you ever add tags like “talk”, “panel”, “podcast” */
.meta {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.85em;
  padding: 1px 6px;
  border: 1px solid #ddd;
  border-radius: 999px;
  color: #666;
}

.headshot {
  width: 360px;
  border-radius: 3px;
  /* filter: grayscale(100%); */
  background: #f5f5f5;
  margin: 32px 0 32px 0;
  display: block;
}
