@import "highlight.css";

body {
  margin: 32px;
  font-size: 18px;
  line-height: 24px;
  font-family: times, serif;
  color: #000;
  background: #fff;
}

a {
  color: #000;
}


/* header */

header {
  margin-bottom: 32px;
}

h1 {
  font-weight: normal;
  font-size: 36px;
  line-height: 32px;
  margin-block: 16px;
}

h1 a {
  text-decoration: none;
}

h1 a:hover {
  text-decoration: underline;
}

.menu {
  margin-block: 16px;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  text-decoration: underline;
}


/* main */

main {
  max-width: 800px;
}

h2 {
  font-weight: normal;
  font-size: 27px;
  line-height: 32px;
  margin: 16px 0;
}

h2 a {
  text-decoration: none;
}

h2 a:hover {
  text-decoration: underline;
}

h3 {
  font-weight: bold;
  font-size: 18px;
  line-height: 32px;
  margin-block: 32px 16px;
}

h2 + h3 {
  margin-top: 16px;
}

p {
  margin-block: 16px;
}

time {
  font-style: italic;
}


/* breadcrumbs */

.breadcrumbs {
  margin: 16px 0;
  line-height: 32px;
}

.breadcrumbs ul, .breadcrumbs li, .breadcrumbs h2 {
  display: inline;
  margin: 0;
  padding: 0;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs li {
  font-size: 27px;
}

.breadcrumbs li::after {
  content: " ▸ ";
  margin: 0 4px;
}


/* blog */

code {
  font-size: 16px;
}

div.highlight {
  padding: 8px;
  overflow: auto;
  border: 1px solid #eee;
  background: #f9f9f9;
}


/* cover */

body.cover {
  background: #000;
  color: #fff;
}

body.cover a {
  color: #fff;
}

.cover-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.cover-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 800px;
}

