@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Space+Grotesk:wght@300..700&display=swap');

:root {
  --var-grey: #f4f4f4;
  --primary-color: #605aa6;
  --color-default: #262626;
  --color-light: gray;
  --font-default: "Outfit";
  --font-primary: "Chakra Petch";
  --font-brand: "Chakra Petch";
  --border-radius: 5px;
}

.is-draft {
  font-style: italic;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

code {
  color: mediumpurple;
}

.brand {
  font-family: var(--font-brand);
  font-size: xx-large;
  margin-top: 1rem;
  font-weight: bold
}

.brand a {
  color: black;
}

.brand a .muted {
  color: var(--primary-color)
}

.muted {
  color: var(--color-light)
}

nav {
  margin: 2rem 0 0 0;
}

body {
  font-family: var(--font-default), sans-serif;
  font-size: 100%;
  color: var(--color-default);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 1rem 0 0.5rem 0;
}

time {
  font-weight: normal;
}

ul.page-list {
  list-style: none;
  padding: 0;
}

ul.page-list li {
  margin-bottom: 0;
}

main>* {
  margin-left: 1rem;
}

main h1,
main h2,
main h3,
main h4 {
  font-family: var(--font-primary);
  color: black;
  font-weight: bold;
}

main h1 {
  font-size: x-large;
}

main h2,
main h3,
main h4 {
  font-size: large;
}

main h1,
main h2 {
  border-image: linear-gradient(to right, var(--primary-color) 0%, transparent 70%) 1;
  border-bottom: 3px solid;
}

.intro img {
  max-width: 200px;
  display: inline-block;
}

header {
  margin-bottom: 3rem;
}

footer .copyright {
  font-style: italic;
}

.intro {
  padding: 2rem 0;
  background-color: var(--var-grey);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.highlight {
  overflow: auto;
}

.container {
  max-width: 780px;
}

.module-footer {
  background-color: var(--var-grey);
  padding: 3rem 0;
}

main {
  margin-bottom: 3rem;
}

.module-footer nav {
  margin: 0;
}

.nav-item {
  margin-right: .1rem;
  font-weight: bold;
  text-decoration: none;
  padding: 8px;
  border-radius: 5px;
  color: var(--color-default);

}

a.nav-item:hover,
a.nav-item.is-active {
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

a.nav-item:hover {
  background-color: var(--var-grey);
}

.post-meta {
  color: var(--color-light);
  font-style: italic;
  margin-bottom: 2rem;
}

.page-list .title {
  font-weight: 500;
}
