
.termynal-comment {
  color: #4a968f;
  font-style: italic;
  display: block;
}

.termy {
  /* For right to left languages */
  direction: ltr;
}

.termy [data-termynal] {
  white-space: pre-wrap;
}

a.external-link {
  /* For right to left languages */
  direction: ltr;
  display: inline-block;
}

a.external-link::after {
  /* \00A0 is a non-breaking space
            to make the mark be on the same line as the link
        */
  content: "\00A0[↪]";
}

a.internal-link::after {
  /* \00A0 is a non-breaking space
            to make the mark be on the same line as the link
        */
  content: "\00A0↪";
}

.shadow {
  box-shadow: 5px 5px 10px #999;
}

.md-grid {
  max-width: 1840px;
}

/* Give space to lower icons so Gitter chat doesn't get on top of them */
.md-footer-meta {
  padding-bottom: 2em;
}

.user-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.user-list-center {
  justify-content: space-evenly;
}

.user {
  margin: 1em;
  min-width: 7em;
}

.user .avatar-wrapper {
  width: 80px;
  height: 80px;
  margin: 10px auto;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
}

.user .avatar-wrapper img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.user .title {
  text-align: center;
}

.user .count {
  font-size: 80%;
  text-align: center;
}

a.announce-link:link,
a.announce-link:visited {
  color: #fff;
}

a.announce-link:hover {
  color: var(--md-accent-fg-color);
}

.announce-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.announce-wrapper div.item {
  display: none;
}

.announce-wrapper .sponsor-badge {
  display: block;
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 0.5rem;
  color: #999;
  background-color: #666;
  border-radius: 10px;
  padding: 0 10px;
  z-index: 10;
}

.announce-wrapper .sponsor-image {
  display: block;
  border-radius: 20px;
}

.announce-wrapper>div {
  min-height: 40px;
  display: flex;
  align-items: center;
}

.twitter {
  color: #00acee;
}

/* Right to left languages */
code {
  direction: ltr;
  display: inline-block;
}

.md-content__inner h1 {
  direction: ltr !important;
}

.illustration {
  margin-top: 2em;
  margin-bottom: 2em;
}

@keyframes heart {

  0%,
  40%,
  80%,
  100% {
    transform: scale(1);
  }

  20%,
  60% {
    transform: scale(1.15);
  }
}

.heart {
  animation: heart 1000ms infinite;
}


th,
td {
  border: 1px solid var(--md-typeset-table-color);
  border-spacing: 0;
  border-bottom: none;
  border-left: none;
  border-top: none;
}

.md-typeset__table {
  line-height: 1;
}

.md-typeset__table table:not([class]) {
  font-size: .74rem;
  border-right: none;
}

.md-typeset__table table:not([class]) td,
.md-typeset__table table:not([class]) th {
  padding: 9px;
}

/* light mode alternating table bg colors */
.md-typeset__table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

/* dark mode alternating table bg colors */
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
  background-color: #00C1B320;
}

[data-md-color-scheme="default"] .md-typeset__table tr:nth-child(2n) {
  background-color: #00C1B320;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;   /* 2:1 ratio, drop height:0 & padding hack */
}
.chart-wrapper canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.sk-plotly-graph-div {
  border-radius: 15px;
  background-color: rgba(38, 42, 50, 1.0);
  padding: 10px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.md-typeset h2 {
  color: #1D99FF;
}


[data-md-color-scheme="helios"] {
  --md-primary-fg-color:        #1D99FF;
  --md-primary-fg-color--light: #00FCC3;
  --md-primary-fg-color--dark:  #009574;
}


/* Kill the extra margin on the <pre> inside, and pad it nicely */
.md-typeset .highlight pre {
  border: 1px solid #1D99FF;
  /* border-radius: 10px; */
  background: var(--md-code-block-bg-color);
}


[data-md-color-scheme="default"] img[src$="#only-dark"],
[data-md-color-scheme="default"] img[src$="#gh-dark-mode-only"] {
  display: none; /* Hide dark images in light mode */
}

/* Make the mermaid container use flex-box and center its contents */
.mermaid {
  display: flex;
  justify-content: center;
}

/* Or, if you prefer margin-auto on the SVG itself: */
.mermaid svg {
  display: block;
  margin: 0 auto;
}
