@font-face {
  font-family: 'Bona Nova';
  font-style: normal;
  font-weight: 700;
  src: local("Bona Nova Bold");
  src: url("../fonts/BonaNova-Bold.woff2") format("woff2"); }

@font-face {
  font-family: 'Bona Nova';
  font-style: normal;
  font-weight: 400;
  src: local("Bona Nova Regular");
  src: url("../fonts/BonaNova-Regular.woff2") format("woff2"); }

@font-face {
  font-family: 'Bona Nova';
  font-style: italic;
  font-weight: 400;
  src: local("Bona Nova Italic");
  src: url("../fonts/BonaNova-Italic.woff2") format("woff2"); }

* {
  box-sizing: border-box; }

html {
  margin: 0;
  font-family: Bona Nova, Times New Roman, serif;
  background: #F5EBB0;
  color: #333;
  display: flex;
  justify-content: center; }

body {
  width: 100%;
  max-width: 1200px;
  margin: 0; }
  @media screen and (max-width: 959px) {
    body {
      -webkit-text-size-adjust: 100%; } }
@media screen and (min-width: 960px) {
  .home {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 320px;
    grid-template-rows: auto auto; }
    .home .header {
      grid-area: 1 / 1 / 2 / 2; }
    .home .photo {
      grid-area: 1 / 2 / 3 / 3; } }

.content {
  padding: 0 30px; }
  @media screen and (max-width: 959px) {
    .content {
      padding: 0 12px; } }
.photo {
  margin-top: 30px; }
  @media screen and (max-width: 959px) {
    .photo img {
      width: 200px;
      display: block;
      margin: 0 auto; } }
.main {
  justify-content: center; }

p, ul, ol, .blog-navigation {
  font-size: 24px;
  line-height: 1.5; }
  @media screen and (max-width: 959px) {
    p, ul, ol, .blog-navigation {
      font-size: 18px; } }
ul {
  list-style-type: none;
  padding-left: 32px; }
  @media screen and (max-width: 959px) {
    ul {
      padding-left: 18px; } }
a {
  color: #7F4B61;
  text-decoration: none; }
  a:hover {
    text-shadow: 0 0 3px #7F4B61; }

h1 {
  text-align: center;
  letter-spacing: 3px;
  font-size: 72px;
  font-variant: small-caps; }
  @media screen and (max-width: 959px) {
    h1 {
      font-size: 36px; } }
h2 {
  font-size: 48px;
  font-weight: 400; }
  @media screen and (max-width: 959px) {
    h2 {
      font-size: 30px; } }
.timeline-item {
  font-size: 30px;
  display: flex; }
  @media screen and (max-width: 959px) {
    .timeline-item {
      font-size: 18px; } }
  .timeline-item .year {
    text-align: right;
    padding-right: 36px;
    flex: 0;
    flex-basis: 120px;
    font-variant-numeric: lining-nums;
    font-weight: bold; }
    @media screen and (max-width: 959px) {
      .timeline-item .year {
        padding-right: 18px;
        flex-basis: 60px; } }
  .timeline-item .items {
    flex: 1; }
  .timeline-item .talk {
    margin-bottom: 12px; }
    .timeline-item .talk .event {
      font-variant: small-caps; }
  .timeline-item .event-line {
    font-size: 22px; }
    @media screen and (max-width: 959px) {
      .timeline-item .event-line {
        font-size: 14px; } }
.poems-list ul {
  margin: 0 0 1em 0; }

.poems-list .author {
  margin: 0;
  font-weight: bold; }

.poem {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 72px; }
  @media screen and (max-width: 959px) {
    .poem {
      padding-top: 36px; } }
  .poem .title, .poem .author {
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0.5em;
    text-align: center; }
  .poem .title {
    font-size: 60px; }
    @media screen and (max-width: 959px) {
      .poem .title {
        font-size: 30px; } }
  .poem .author {
    font-size: 36px; }
    @media screen and (max-width: 959px) {
      .poem .author {
        font-size: 24px; } }
  .poem .line {
    line-height: 1.5;
    min-height: 1rem;
    text-indent: -3em;
    margin: 0 0 0 3em; }

.right {
  text-align: right; }

.center {
  text-align: center; }

.aside {
  width: 320px;
  flex: 0; }

.original-title {
  font-style: italic; }

.blog {
  padding: 0 18px; }
  .blog .blog-post {
    margin-top: 60px; }
    @media screen and (max-width: 959px) {
      .blog .blog-post {
        margin-top: 30px; } }
    .blog .blog-post.has-subtitle h2.title {
      margin-bottom: 12px; }
  .blog h2.title, .blog h3.subtitle {
    margin-bottom: 24px;
    font-weight: bold;
    font-variant-numeric: lining-nums;
    text-align: center; }
  .blog h2.title {
    font-size: 48px; }
    @media screen and (max-width: 959px) {
      .blog h2.title {
        font-size: 30px; } }
    .blog h2.title code {
      font-size: 40px; }
  .blog h3.subtitle {
    margin-top: 0px;
    font-size: 36px; }
    @media screen and (max-width: 959px) {
      .blog h3.subtitle {
        font-size: 24px; } }
    .blog h3.subtitle code {
      font-size: 30px; }
  .blog h2 {
    font-size: 30px;
    font-weight: bold; }
  .blog h3 {
    font-size: 24px;
    font-weight: bold; }
  .blog .date {
    font-style: italic;
    text-align: center;
    margin: 0; }
  .blog .body, .blog .blog-navigation, .blog .blog-header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto; }
  .blog .blog-navigation {
    margin-bottom: 60px; }
    @media screen and (min-width: 960px) {
      .blog .blog-navigation {
        display: flex; }
        .blog .blog-navigation .prev, .blog .blog-navigation .next {
          flex: 1; } }
    @media screen and (max-width: 959px) {
      .blog .blog-navigation .prev, .blog .blog-navigation .next {
        display: block;
        margin-bottom: 12px; } }
    .blog .blog-navigation .prev {
      text-align: left; }
    .blog .blog-navigation .next {
      text-align: right; }
  .blog img {
    display: block;
    max-width: 100%;
    margin: 0 auto; }
  .blog ul {
    list-style-type: disc; }
  .blog table {
    margin: 0 auto;
    border-collapse: collapse; }
    .blog table tr.header {
      border-bottom: 1px solid #333; }
    .blog table th, .blog table td {
      padding: 6px 12px;
      font-variant-numeric: lining-nums;
      font-size: 24px; }
    .blog table .center {
      text-align: center; }
  .blog pre, .blog code {
    font-family: Ubuntu Mono, Menlo, Inconsolata, Consolas, monospace;
    font-size: 20px;
    line-height: 1.25; }
    @media screen and (max-width: 959px) {
      .blog pre, .blog code {
        font-size: 16px; } }
  .blog pre {
    width: calc(100vw - 36px);
    position: relative;
    left: calc(-50vw + 50% + 18px);
    overflow-x: auto; }
    .blog pre code {
      display: block;
      width: max-content;
      min-width: 800px;
      margin: 0 auto;
      padding: 0; }
  .blog hr {
    border: none;
    width: 50%;
    border-bottom: 1px solid #333; }

.blog-header {
  margin-top: 60px;
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between; }
  @media screen and (max-width: 959px) {
    .blog-header {
      margin-top: 30px; } }
@media screen and (max-width: 959px) {
  .blog-title {
    display: none; } }

.blog-title .big {
  text-shadow: 0 0 2px #333;
  text-align: left;
  font-size: 30px;
  line-height: 1.25;
  margin: 0;
  font-style: italic; }

.blog-title .small {
  margin: 0;
  letter-spacing: 1px;
  text-align: center;
  font-size: 18px; }

.blog-header-menu {
  list-style-type: none;
  text-align: right; }
  .blog-header-menu li {
    display: inline-block;
    margin-left: 18px; }
