/* Tutorial layout inspired by https://tutorial.amemory.net/.
   Flatly and orange.scss supply the palette, controls, and code colors. */
@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
body, h1, h2, h3, h4, h5, h6, .navbar { font-family: 'DM Sans', system-ui, sans-serif; }
:root { color-scheme: light; }
body { background: #fff; color: #222; font-size: 1rem; line-height: 1.6; }
.navbar { padding: .7rem 1rem; }
.navbar-title { font-size: 1.2rem; font-weight: 500; }
.sidebar-navigation .sidebar-item { font-size: .9375rem; }
#title-block-header { display: flex; flex-direction: column; margin-bottom: 1.6rem; }
#title-block-header .quarto-title-meta { order: -1; margin: .4rem 0 2rem; }
h1.title { font-size: clamp(1.8rem, 3vw, 2.15rem); font-weight: 700; line-height: 1.2; }
#title-block-header .description {
  margin-top: .8rem;
  padding: .65rem 0 .65rem 1rem;
  border-left: 4px solid #edc8a9;
  color: var(--bs-secondary-color);
  font-size: 1.1rem;
}
h2 { margin-top: 2rem; font-weight: 650; }
h3 { font-weight: 600; }
main a { text-underline-offset: .15em; }
blockquote { border-left-width: 4px; }
.project-label { color: #a8410d; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.cell { margin-bottom: 1rem; }
.cell-output-stdout pre {
  margin: 0 0 1.5rem .75rem;
  padding: .6rem 1rem;
  border-left: 2px solid #ce6b28;
  border-radius: 0;
  background: transparent;
}
.nav-footer { border-top: 1px solid var(--bs-border-color); }
@media (max-width: 767px) {
  .navbar-title { max-width: 65vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
  #title-block-header .quarto-title-meta { margin-bottom: 1.5rem; }
}
