@import url("https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap");

@media screen and (min-width: 50em) {
  html {
    font-size: 137.5%;
  }
}

@media screen and (min-width: 100em) {
  html {
    font-size: 150%;
  }
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  font-weight: 500;
}

.highlighttable .linenos {
  font-size: 1em;
}

.md-typeset code {
  font-size: 1em;
  border-radius: 4px;
  padding: 1px 4px;
}

.md-typeset pre {
  line-height: 1.2;
}

.md-typeset {
  line-height: 1.4;
  font-size: 0.725rem;
}

.md-typeset .admonition,
.md-typeset details {
  font-size: 0.675rem;
}

nav.md-tabs {
  font-weight: 500;
}

.md-typeset table:not([class]) {
  font-size: 0.675rem;
}

.katex-display {
  overflow-x: auto;
}

nav.md-post__action {
  display: none;
}

figure .md-typeset__table {
  margin-bottom: 0;
}

.learn-more-buttons p {
  margin: 0;
}

.learn-more-buttons p a {
  min-width: 9rem;
  text-align: center;
  border-radius: 8px !important;
}

.project {
  padding: 1rem;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  background-color: #f5f5f5;

  margin-bottom: 1.6rem;
}

.project:last-of-type {
  margin-bottom: 2.4rem;
}

[data-md-color-scheme="slate"] .project {
  background-color: #2c303a;
}

.project .project-img {
  flex-basis: 40%;
  margin-bottom: 0.8rem;
}

@media (min-width: 640px) {
  .project {
    flex-direction: row;
  }

  .project .project-content {
    padding: 0 1rem;
  }

  .project .project-img {
    margin-bottom: 0;
  }
}

.project .project-title {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.project .project-content {
  flex-basis: 60%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project p {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.project .project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

[data-md-color-scheme="slate"] .project .tag {
  background-color: #464c5a;
}

.project .tag {
  font-size: 0.6rem;
  padding: 0.1rem 0.5rem;
  background-color: #e4e4e4;
  border-radius: 4px;
}

.project .project-buttons p {
  display: flex;
  gap: 10px;
}

.project .project-buttons p {
  margin: 0;
}

.project .project-buttons p .md-button {
  flex-basis: 50%;
  text-align: center;
  border-radius: 8px;
  padding: 0.4em 2em;
}

[data-md-color-scheme="slate"] .project .project-buttons p .md-button {
  color: #7f90fa;
}

.project .project-buttons p .md-button {
  color: #435cfa;
}

.project .project-buttons p .md-button:hover,
.project .project-buttons p .md-button:active,
.project .project-buttons p .md-button:focus {
  color: #ffffff;
}

.md-button .twemoji {
  margin-right: 3px;
}

[data-md-color-scheme="slate"] .md-post .toclink,
[data-md-color-scheme="slate"] article h1 {
  color: #cdcdcd;
}

.md-post .toclink,
[data-md-color-scheme="default"] article h1 {
  color: #292929;
}

.md-post .toclink:hover,
.md-post .toclink:focus,
.md-post .toclink:active {
  color: var(--md-accent-fg-color);
}
