
.md-header__button.md-logo :where(img,svg) {
  width: 100%;
  height: 30px;
}

.md-header, .md-header__inner {
  background-color: #fff;
  color: #2A4CDF;
}


.md-header--shadow {
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, .12);
  transition: box-shadow 200ms linear;
}


.md-header__inner {
  height: 72px;
}

.md-header__topic {
  font-size: 24px;
}

.md-footer {
  background-color: #2A4CDF;
}

.md-search__form:hover {
  background-color: rgba(0,0,0,.13);
}

.md-typeset h1 {
  color: black;
  font-weight: 700;
}

.youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 24px;
  row-gap: 24px;
}

.home-grid div {
  border-radius: 4px;
  padding: 24px;
  background-color: #f3e9d9;
}

.home-grid h3 {
  margin-top: 0;
  font-weight: 700;
}

.nomad-button {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 4px !important;
  background-color: #2A4CDF;
  color: #ffffff !important;
  border: none !important;
  margin: 0;

  letter-spacing: normal;
  text-transform: none;
} */

.nomad-button--card-action {
  margin: 1em 0 0 0 !important;
}

.scrollable {
  max-height: 60vh;   /* at most 60% of window height */
  max-width: 60vw; 
  overflow-x: auto;   /* horizontal scrolling if needed */
  overflow: auto;     /* scroll in both directions if needed */
  padding: 0.25em;
  border: 1px solid var(--md-default-fg-color--light);
  border-radius: 6px;
  background: var(--md-code-bg-color);
  font-size: 0.85em; /* optional: make it smaller */
  white-space: pre-wrap; /* allow wrapping instead of one long line */
  /* background-color: #f3e9d9; */

}

.scrollable p{
  margin: 0;  /* remove default margin inside scrollable */
  padding: 0em; 
}

.scrollable-img {
  max-height: 60vh;   /* limit to 60% of window height */
  max-width: 60vw;    /* limit to 60% of window width */
  overflow: auto;     /* scroll in both directions if needed */
  border: 1px solid var(--md-default-fg-color--light);
  border-radius: 6px;
  background: var(--md-code-bg-color);
  padding: 0.25em;
}

.scrollable-img img {
  display: block;   /* remove inline spacing */
}