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;
}

.documentation-card {
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.documentation-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.documentation-navigation {
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.documentation-navigation .nav-link.active {
  color: var(--bs-primary);
}

.documentation-content {
  max-width: 920px;
  line-height: 1.65;
}

.documentation-content h1,
.documentation-content h2,
.documentation-content h3 {
  scroll-margin-top: 1rem;
}

.documentation-content h2 {
  margin-top: 2.5rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.documentation-content h3 {
  margin-top: 2rem;
}

.documentation-content pre {
  padding: 1rem;
  overflow-x: auto;
  color: #f8f9fa;
  background: #212529;
  border-radius: .5rem;
}

.documentation-content :not(pre) > code {
  padding: .1rem .3rem;
  color: #b02a37;
  background: #f8f9fa;
  border-radius: .25rem;
}

.documentation-content table {
  width: 100%;
  margin-bottom: 1rem;
}

.documentation-content th,
.documentation-content td {
  padding: .5rem;
  border: 1px solid var(--bs-border-color);
  vertical-align: top;
}

.documentation-content blockquote {
  padding-left: 1rem;
  color: var(--bs-secondary-color);
  border-left: .25rem solid var(--bs-border-color);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
