* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
  color: #222;
  background-color: #e8e8e8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header */
header {
  padding: 30px 0 0;
}

.site-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 36px;
  font-weight: normal;
  font-style: normal;
  line-height: 1.1;
}

.site-title a {
  color: #000;
  text-decoration: none;
}

.site-title a::after {
  content: "|";
  animation: blink 1s steps(1, start) infinite;
  position: relative;
  left: -4px;
}

@keyframes blink {
  from, to { opacity: 0; }
  50% { opacity: 1; }
}

/* Nav */
nav {
  padding: 10px 0 15px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

nav a {
  color: #222;
  text-decoration: none;
}

nav a:hover {
  color: #1e73be;
}

/* Page — the paper sheet */
.page {
  background: #fff;
  padding: 40px 30px;
  margin: 0 auto 20px;
  max-width: 960px;
  width: 100%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  border: 1px solid #d4d4d4;
  flex: 1;
}

/* Post list (homepage) */
.post-list {
  list-style: none;
}

.post-list li {
  padding-left: 30px;
  background-image: url('/assets/flower.svg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 20px;
  font-size: 14pt;
  margin-bottom: 12px;
  line-height: 2;
}

.post-list a {
  color: #222;
  text-decoration: none;
}

.post-list a:hover {
  color: #1e73be;
}

/* Post content — double spaced like a document */
.post-content {
  font-size: 12pt;
  line-height: 2;
}

.post-content p {
  margin-bottom: 1.5em;
  text-indent: 2em;
}

.post-content p:first-child {
  text-indent: 0;
}

.post-header h1 {
  font-size: 18pt;
  font-weight: normal;
  margin-bottom: 5px;
}

.post-meta {
  color: #575760;
  margin-bottom: 30px;
  font-size: 10pt;
}

/* About page */
.page-content {
  font-size: 12pt;
  line-height: 2;
}

.page-content h1 {
  font-size: 18pt;
  font-weight: normal;
  margin-bottom: 15px;
}

.page-content p {
  margin-bottom: 1em;
}

.page-content a {
  color: #222;
}

.page-content a:hover {
  color: #1e73be;
}

/* Blinking cursor on last element */
.post-content p:last-child::after,
.page-content p:last-child::after,
.post-list li:last-child a::after {
  content: "|";
  animation: blink 1s steps(1, start) infinite;
  position: relative;
  left: 2px;
}

/* Footer */
footer {
  padding: 15px 0;
  text-align: center;
  font-size: 9pt;
  color: #888;
}

/* Desktop */
@media (min-width: 769px) {
  .site-title {
    font-size: 100px;
  }

  .site-title a::after {
    left: -8px;
    top: -4px;
  }

  .page {
    padding: 60px 80px;
    margin-top: 10px;
    margin-bottom: 30px;
  }

  .post-content,
  .page-content {
    font-size: 14pt;
  }

  .post-list li {
    font-size: 16pt;
  }

  .post-header h1,
  .page-content h1 {
    font-size: 24pt;
  }
}
