html {
  scroll-behavior: smooth;
}

.md-typeset img:not(.twemoji) {
  border: 2px solid #999;
}

.md-typeset img.xs {
  max-height: 100px;
}
.md-typeset img.sm {
  max-height: 200px;
}
.md-typeset img.md {
  max-height: 300px;
}
.md-typeset img.lg {
  max-height: 400px;
}
.md-typeset img.xl {
  max-height: 500px;
}

.md-typeset__table {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.md-typeset__table table:not([class]) {
  display: table;
}

.full-width-tables .md-typeset__table {
  display: block;
  margin-left: 0;
  margin-right: 0;
}

.md-typeset__table table:not([class]) code {
  white-space: nowrap;
}

.md-typeset strong {
  font-weight: 700;
  color: #000;
}

[data-md-color-scheme="slate"] .md-typeset strong {
  color: #fff;
}

.md-typeset .admonition-title {
  font-weight: inherit;
}

.md-typeset .keys {
  margin: 0 0.15em;
}

.md-typeset__table table:not([class]) th {
  text-align: center !important;
  background-color: rgba(0, 0, 0, 0.05);
}

[data-md-color-scheme="slate"] .md-typeset__table table:not([class]) th {
  background-color: rgba(255, 255, 255, 0.05);
}

.md-typeset__table table:not([class]) th:not(:last-child),
.md-typeset__table table:not([class]) td:not(:last-child) {
  border-right: 0.05rem solid var(--md-typeset-table-color);
}

.md-typeset__table table:not([class]) caption,
.md-typeset figcaption {
  font-style: normal;
  font-size: 0.8rem;
  margin: 1em auto;
  max-width: none;
}

.md-typeset ul ul {
  list-style-type: circle;
}

.md-tabs__list {
  justify-content: space-evenly;
}

.swatch {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  border: 1px solid var(--md-default-fg-color--lightest);
  vertical-align: middle;
}

.md-typeset .app-title {
  text-align: center;
  margin-top: 2rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 46rem;
  margin: 2.5rem auto;
}

.md-typeset .app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.4rem;
  color: var(--md-default-fg-color);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  transition:
    box-shadow 125ms,
    transform 125ms;
}

.md-typeset .app-card:hover {
  box-shadow: 0 0 0.6rem var(--md-default-fg-color--lighter);
  transform: translateY(-2px);
}

.md-typeset .app-card img.app-img {
  border: none;
  max-height: 120px;
  width: auto;
}

.md-typeset .app-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--md-default-fg-color);
}

.md-typeset .app-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.md-typeset .app-sublinks {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.md-typeset .app-sublinks a {
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--md-default-fg-color--lighter);
  border-radius: 1rem;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--md-default-fg-color--light);
  transition:
    border-color 125ms,
    color 125ms;
}

.md-typeset .app-sublinks a:hover {
  border-color: var(--md-accent-fg-color);
  color: var(--md-accent-fg-color);
}

.md-typeset .app-card--wide {
  grid-column: 1 / -1;
}

@media screen and (max-width: 44em) {
  .app-grid {
    grid-template-columns: 1fr;
    max-width: 20rem;
  }
}
