html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light dark;
  scroll-padding-top: 5rem;
}

body {
  line-height: 1.6;
}

main a,
main code {
  overflow-wrap: anywhere;
}

main h1,
main h2,
main h3,
main h4 {
  scroll-margin-top: 5rem;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.sidebar-item a,
.sidebar-item button,
.nav-link,
.dropdown-item,
.quarto-navigation-tool,
.navbar-toggler {
  min-height: 44px;
}

.quarto-navigation-tool,
.navbar-toggler {
  min-width: 44px;
}

.quarto-navigation-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quarto-color-scheme-toggle .bi::before {
  content: "\2600";
  background-image: none !important;
  font-family: "Segoe UI Symbol", sans-serif !important;
  font-size: 1.25rem;
  font-style: normal;
  line-height: 1;
}

body.quarto-dark .quarto-color-scheme-toggle .bi::before {
  content: "\263E";
}

body.quarto-dark #quarto-header .navbar {
  --bs-navbar-color: #fff;
  --bs-navbar-hover-color: #fff;
  --bs-navbar-active-color: #fff;
  --bs-navbar-brand-color: #fff;
  --bs-navbar-brand-hover-color: #fff;
  background-color: #343a40;
}

body.quarto-dark #quarto-header .navbar .nav-link,
body.quarto-dark #quarto-header .navbar .navbar-brand,
body.quarto-dark #quarto-header .navbar .quarto-navigation-tool {
  color: #fff;
}

#quarto-announcement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

#quarto-announcement .quarto-announcement-content {
  flex: 1;
  text-align: center;
}

#quarto-announcement .quarto-announcement-content p {
  margin-bottom: 0;
}

#quarto-announcement .quarto-announcement-action {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

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

table td:first-child,
table th:first-child {
  white-space: nowrap;
}

.card {
  height: 100%;
}

img,
video,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

@media screen and (max-width: 768px) {
  table,
  pre {
    max-width: 100%;
  }

  table,
  pre {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table td:first-child,
  table th:first-child {
    white-space: normal;
  }

  .sidebar-item a,
  .sidebar-item button,
  .nav-link,
  .dropdown-item {
    touch-action: manipulation;
  }

  .card-body {
    padding: clamp(1rem, 4vw, 1.5rem);
  }
}

@media screen and (max-width: 576px) {
  main h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  main h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.75rem);
  }

  .navbar-brand {
    white-space: nowrap;
  }
}

@media (pointer: coarse) {
  .sidebar-item a,
  .card {
    min-height: 48px;
    touch-action: manipulation;
  }

  .sidebar-item a:active,
  .card:active {
    opacity: 0.8;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
