/* Global styles */
:root {
  --background-color: #f0f9ff;
  --foreground-color: #113d4e;
  --accent-color: #10b981;
  --heading-font: "Fira Code";
  --content-font: "Work Sans";
  --default-font-size: 16px;
}

html,
body {
  background-color: var(--background-color);
  color: var(--foreground-color);
  font-family: var(--content-font), sans-serif;
  font-size: var(--default-font-size);
}

code {
  font-family: var(--content-font), monospace;
  background-color: var(--foreground-color);
  color: var(--background-color);
  border-radius: 3px;
  padding: 0 5px;
}

pre code.code-block {
  display: block;
  width: 100%;
}

a {
  color: var(--foreground-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font), monospace;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  margin: 1rem 0;
}

/* Site header */
.header {
  padding: 1rem;
  display: flex;
  align-items: baseline;
  column-gap: 3rem;
}

.header .logo {
  font-family: var(--heading-font), monospace;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--foreground-color);
  text-decoration: none;
}

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

/* Main content */
main {
  padding: 1rem;
}

/* Note pages styles */
main.notes-layout article {
  margin-top: 1rem;
  max-width: 56rem;
}

.note .note-details {
  font-size: 0.8rem;
  font-style: italic;
}
