/* Personal website. Typography and navbar follow the bgms documentation site. */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --bs-body-font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bs-body-font-size: 1rem;
}

/* Base typography */
body {
  font-family: var(--bs-body-font-family);
  font-size: 1rem;
}

/* Links: no underline until hover */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid #dee2e6;
  font-size: 1rem;
  min-height: 66px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
}

.navbar-nav .nav-link {
  font-size: 1rem;
}

/* Custom navbar icons */
.navbar-icon {
  height: 20px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.navbar-icon:hover {
  opacity: 1;
}

.navbar-nav .nav-link .navbar-icon {
  vertical-align: middle;
}

pre {
  border-radius: 6px;
}

/* Headings */
h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
  border-bottom: none;
  padding-bottom: 0;
}

h3 {
  font-size: 1.3rem;
}

/* Consistent sizing in dark mode */
[data-bs-theme="dark"] body,
.quarto-dark body {
  font-size: 1.05rem;
}

[data-bs-theme="dark"] .navbar,
.quarto-dark .navbar {
  font-size: 1rem;
}

/* Publication list */
.publication-list p {
  padding-left: 2em;
  text-indent: -2em;
  margin-bottom: 0.7rem;
}
