/* App.css
/* ---------------------------------------------------------- /*
These are just some base styles to get you started. You delete
these and start over using your toolset of choice, or evolve
what's here to work the way you'd like it to.
# Table of Contents
- Vars
- Reset
- Defaults
- Layout
- Tag Archives
- Author Archives
- Pagination
- Footer
/* Variables
/* ---------------------------------------------------------- */

:root {
  /* Colours */
  --color-primary: #1565C0;
  --text-dark: black;
  --color-bg: #eeeeee;
  --color-green: green;

  /* Fonts */
  --font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
  "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
  sans-serif;
  --font-serif: Georgia, Times, serif;
}

/* Reset
/* ---------------------------------------------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
body {
  line-height: 1;
}
img {
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #e7e7e7;
}
html {
  box-sizing: border-box;
  font-family: sans-serif;

  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Defaults
/* ---------------------------------------------------------- */

html {
  overflow-x: hidden;
  overflow-y: scroll;
  font-size: 62.5%;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  overflow-x: hidden;
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
  Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.5rem;
  line-height: 1.6em;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  background: var(--color-bg);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
}

::selection {
  background: #cbeafb;
}

hr {
  position: relative;
  display: block;
  width: 100%;
  margin: 1.8em 0 2.4em;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #e3e9ed;
}

p,
ul,
ol,
dl,
blockquote {
  margin: 0 0 1.5em 0;
}

blockquote {
  margin: 0.3em 0 1.8em;
  padding: 0 1.6em 0 1.6em;
  border-left: #cbeafb 0.5em solid;
}

blockquote p {
  margin: 0.8em 0;
  font-size: 1.2em;
  font-weight: 300;
}

blockquote small {
  display: inline-block;
  margin: 0.8em 0 0.8em 1.5em;
  font-size: 0.9em;
  opacity: 0.8;
}
/* Quotation marks */
blockquote small:before {
  content: "\2014 \00A0";
}

blockquote cite {
  font-weight: bold;
}
blockquote cite a {
  font-weight: normal;
}

a {
  color: var(--color-primary);
}

a:hover {
  text-decoration: underline;
}

em {
  font-style: italic;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

.content-body pre {
  margin: 0.4em 0 1.8em;
  font-size: 1.6rem;
  line-height: 1.4em;
  white-space: pre-wrap;
  padding: 20px;
  background: #15171a;
  color: #fff;
  border-radius: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--text-dark);
  line-height: 1.15;
  font-weight: 700;
  text-rendering: optimizeLegibility;
}

h1 {
  margin: 0 0 0.5em 0;
  font-size: 4rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  h1 {
    font-size: 2rem;
  }
}

h2 {
  margin: 1.5em 0 0.5em 0;
  font-size: 2rem;
}
@media (max-width: 500px) {
  h2 {
    font-size: 1.8rem;
  }
}

h3 {
  margin: 1.5em 0 0.5em 0;
  font-size: 1.8rem;
  font-weight: 500;
}
@media (max-width: 500px) {
  h3 {
    font-size: 1.7rem;
  }
}

h4 {
  margin: 1.5em 0 0.5em 0;
  font-size: 1.6rem;
  font-weight: 500;
}

h5 {
  margin: 1.5em 0 0.5em 0;
  font-size: 1.4rem;
  font-weight: 500;
}

h6 {
  margin: 1.5em 0 0.5em 0;
  font-size: 1.4rem;
  font-weight: 500;
}

/* Layout
/* ---------------------------------------------------------- */

.viewport {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 4vw;
}

.container.nav {
  max-width: 720px;
}

.content {
  margin: 0 auto;
  font-size: 2rem;
  line-height: 1.7em;
}

.content-body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
}

.post-full-content {
  max-width: 720px;
  margin: 0 auto;
}

.post-full-content figcaption {
  margin: 1em 3em 0;
  font-size: 55%;
  line-height: 1.6em;
  text-align: center;
  font-weight: normal;
}

.post-feature-image img {
  margin: 0 0 3vw;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
  font-family: var(--font-sans-serif);
}

.content-body h1 {
  margin: 1em 0 0.5em 0;
  font-size: 3.4rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .content-body h1 {
    font-size: 2.8rem;
  }
}

.content-title {
  margin: 0.8em 0 0.8em;
  font-size: 5rem;
}
@media (max-width: 500px) {
  .content-title {
    margin: 0.8em 0;
    font-size: 3.4rem;
  }
  .content {
    font-size: 1.8rem;
  }
}

.content-body h2 {
  margin: 0.8em 0 0.4em 0;
  font-size: 3.2rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .content-body h2 {
    font-size: 2.6rem;
  }
}

.content-body h3 {
  margin: 0.5em 0 0.2em 0;
  font-size: 2.8rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .content-body h3 {
    font-size: 2.2rem;
  }
}

.content-body h4 {
  margin: 0.5em 0 0.2em 0;
  font-size: 2.4rem;
  font-weight: 700;
}
@media (max-width: 500px) {
  .content-body h4 {
    font-size: 2.2rem;
  }
}

.content-body h5 {
  display: block;
  margin: 0.5em 0;
  padding: 1em 0 1.5em;
  border: 0;
  font-family: Georgia, serif;
  color: var(--color-primary);
  font-style: italic;
  font-size: 3.2rem;
  line-height: 1.35em;
  text-align: center;
}

.content-body h6 {
  margin: 0.5em 0 0.2em 0;
  font-size: 2rem;
  font-weight: 700;
}

.content-body figure {
  margin: 0.4em 0 1.6em;
  font-size: 2.8rem;
  font-weight: 700;
}

.post-links {
  display: flex;
  margin-bottom: 30px;
}
.post-links div {
  width: 50%;
  display: inline;
  padding: 4px;
  text-align: center;
}
.post-links a {
  display: block;
}

/* Header
/* ---------------------------------------------------------- */

.site-head {
  color: #000;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0, rgba(27, 31, 35, 0.15) 0 0 0 1px;
}

.site-nav-item {
  display: inline-block;
  padding: 5px 10px;
  color: inherit;
}

.nav-item-active {
  text-decoration: underline;
}

.site-nav-item:hover {
  text-decoration: underline;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main
/* ---------------------------------------------------------- */
.site-main {
  padding: 4vw 0;
}

.tag-header {
  margin: 0 0 1vw;
}

.tag-header p {
  color: var(--text-dark);
  font-size: 2.2rem;
  line-height: 1.3em;
}

@media (max-width: 500px) {
  .tag-header p {
    font-size: 1.7rem;
  }
}

table, th, td {
  border: 1px solid;
  border-collapse: collapse;
  padding: 5px;
  text-align: left;
}

/* Index
/* ---------------------------------------------------------- */

.main {
  max-width: 100%;
}

.post-feed {
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

.post-card-title {
  margin: 0 0 10px 0;
  padding: 0;
  display: inline;
  color: var(--color-primary);
  font-size: 2rem;
  font-family: sans-serif;
}
@media (max-width: 500px) {
  .post-card-title {
    font-size: 1.8rem;
  }
}

.postlist-date {
  width: 100px;
  font-size: 1.5rem;
  font-family: sans-serif;
}

.postlist-item {
  display: flex;
  margin-bottom: 10px;
}

.archive-month-link {
  font-family: sans-serif;
}

.is-done-0 {

}

.is-done-1 {
  color: var(--color-green);
  text-decoration: line-through;
}
