html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.example-header {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.example-header.singleton {
  background-color: #e9ecef;
}

.example-header.scoped {
  background-color: #d1e7dd;
}

.example-header.transient {
  background-color: #fff3cd;
}

.example-header h1 {
  margin-bottom: 0.25rem;
}

.example-header .lead {
  margin-bottom: 0;
}

.homepage-diagram {
  max-width: 100%;
  border-radius: 0.5rem;
}

.diagram-caption {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 42rem;
  text-align: left;
}

.di-circle-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b57edc, #7b4397);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.demo-code {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 0;
  font-size: 0.875rem;
  overflow-x: auto;
  background-color: #fff;
}

.demo-code code {
  display: block;
  padding: 1rem;
  white-space: pre;
  background: transparent;
}

.markdown-snippet.colorcode {
  margin-bottom: 1rem;
}

.markdown-snippet.colorcode > div {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 0;
}

.markdown-snippet.colorcode pre {
  margin: 0;
  padding: 1rem;
  font-size: 0.875rem;
  white-space: pre;
  background: transparent;
}