@font-face {
  font-family: "KodeMono";
  src: url("/static/KodeMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "KodeMono";
  src: url("/static/KodeMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "KodeMono";
  src: url("/static/KodeMono-Bold.ttf") format("truetype");
  font-weight: 600; /* SemiBold */
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("/static/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("/static/Barlow-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Barlow";
  src: url("/static/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("/static/Barlow-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 4rem 1rem;
  font-size: 1.1rem;
  font-family: Barlow, sans-serif;
  line-height: 1.4;

  --c-background: #fff;
  --c-highlight: #b4ff8a;
  --c-black: #000;
  --w-content: 40rem;
}

@media screen and (max-width: 40rem) {
  body {
    padding: 2rem 1rem;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  background-color: var(--c-highlight);
}

nav,
.profile_picture,
.content {
  max-width: var(--w-content);
  margin: 0 auto;
}

nav,
.profile_picture {
  text-align: center;
}

nav {
  padding-bottom: 1rem;
  display: flex;
  justify-content: center;
  font-family: "KodeMono", monospace;
  border-bottom: 1px dashed var(--c-black);
}

nav h1 {
  margin: 0;
  font-size: 1em;
}

.profile_picture {
  margin: 2rem auto;
}

.profile_picture img {
  display: block;
  margin: 0 auto;
  padding: 0.5rem;
  border: 1px dashed #000;
  /* background-color: var(--c-highlight); */
}

.profile_picture img:hover {
  background-color: var(--c-highlight);
}

.content {
  border-top: 1px dashed var(--c-black);
}

.content p {
  margin-top: 0;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-family: "KodeMono", monospace;
}

.content h3 {
  margin: 3rem 0 0.5rem;
}

.content h4 {
  margin: 2rem 0 0.5rem;
}

.home .content {
  text-align: center;
}

.home ul {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}

.home ul li {
  font-family: "KodeMono", monospace;
  border: 1px dashed var(--c-black);
}

.home ul li a {
  display: block;
  padding: 1rem;
}

.content p a {
  text-decoration: underline;
}
