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

body[data-md-color-scheme="slate"] {
  --md-default-bg-color: rgb(23 23 23);
  --md-footer-bg-color: rgb(38 38 38);
  --md-footer-bg-color--dark: rgba(0, 0, 0, 0.32);
}

.md-header {
  background-image: linear-gradient(
    to left,
    rgb(37, 99, 235),
    rgb(147, 51, 234)
  );
}

.md-header__source {
  width: max-content;
}

[dir="ltr"] .md-header__title {
  margin-left: 0.5rem;
}

.md-header .md-header__button.md-logo :is(img, svg) {
  height: 32px;
}

.md-search__form {
  background: #0000001a;
  height: 40px;
  display: flex;
  align-items: center;
  /* flex-direction: column; */
}

.md-search__icon[for="__search"] {
  position: relative;
  margin: 0;
  top: 0;
  left: 0;
}

[dir="ltr"] .md-search__input {
  padding-left: 1rem;
}

.md-header__navigation {
  display: flex;
  gap: 8px;
  height: 100%;
  align-items: center;
  margin: 0;
  padding: 0;
  margin-left: -0.75rem;
}

.md-header__inner {
  height: 64px;
}

.md-tabs {
  background: inherit;
  color: inherit;
  height: min-content;
  padding: 0;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
}
.md-tabs__inner,
.md-tabs__list {
  height: 56px;
}

[data-md-color-scheme="slate"] .md-tabs {
  background: rgb(38 38 38);
  color: rgb(229, 229, 229);
}

.md-tabs__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.md-tabs__link {
  display: flex;
  align-items: center;
  border-radius: 0.25rem;
  padding: 8px 16px;
  color: inherit;
  height: 40px;
  margin: 0;
}

.md-tabs__link:hover,
.md-tabs__link--active {
  background-color: #0000000d;
}

[data-md-color-scheme="slate"] .md-tabs__link--active {
  background: #0003;
}

.md-tabs__item {
  margin: 0;
  padding: 0;
  display: flex;
  height: unset;
}

.headerNav {
  align-items: center;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  margin: 0;

  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: normal;
  display: flex;
  font-size: 16px;
  gap: 0.25em;
  height: 40px;
  padding: 8px 16px;
  place-items: center normal;
  tab-size: 4;
  text-decoration: none;
}
.headerNav.active,
.headerNav:hover {
  background-color: #0000001a;
}

@media (max-width: 500px) {
  .headerNav:not(.active) {
    display: none;
  }
  .headerNav.active {
    background-color: transparent;
  }
  .headerNav.active::before {
    content: url(/assets/logo.webp);
    width: 2em;
    height: 2em;
    display: flex;
  }
}
