body {
  margin: 30px 0;
  margin-bottom: 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#page {
  margin: 0 40px;
}

header {
  display: flex;
  justify-content: space-between;
}

header > div {
  display: flex;
  align-items: center;
}

header img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 20px;
}

header h1 {
  font-family: Lato;
  font-weight: bold;
  color: #242424;
  margin: 0;
  margin-bottom: 5px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: unset;
}

header small {
  display: inline-block;
  margin-bottom: 7px;
  font-family: Lato;
  font-weight: bold;
  color: #686868;
  letter-spacing: 0.2px;
}

header nav {
  font-family: Lato;
  font-weight: bold;
}

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

header nav ul li {
  display: inline-block;
  color: #313131;
  letter-spacing: 0.1px;
}

header nav ul li:not(:first-child) {
  margin-left: 50px;
}

section {
  margin-top: 40px;
}

section > h1 {
  font-family: lato;
  font-weight: bold;
  text-transform: uppercase;
  color: #5D5D5D;
  font-size: 12px;
}

section.talks .talks-wrapper {
  display: flex;
  column-gap: 1rem;
}

section.talks article {
  display: inline-flex;
  align-items: center;
  border: 1px solid #979797;
  border-radius: 3px;
  max-width: 330px;
  padding: 10px;
}

section.talks article img {
  height: 70px;
  margin-right: 15px;
}

section.talks article h1 {
  font-family: Lato;
  font-weight: bold;
  color: #333333;
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 7px;
  letter-spacing: 0.1px;
}

section.talks article p {
  font-family: Lato;
  font-weight: bold;
  margin: 0;
  color: #5D5D5D;
  font-size: 12px;
}

section.talks article a {
  margin-bottom: -4px;
}

section.posts article {
  margin-top: 25px;
}

section.posts article > a {
  display: inline-block;
}

section.posts article h1 {
  font-family: Mukta;
  font-weight: bold;
  font-size: 34px;
  margin: 0;
  max-width: 700px;
  line-height: 40px;
  color: #607D8B;
}

section.posts article.external h1 {
  font-size: 26px;
  line-height: 30px;
  max-width: 600px;
}

section.posts article p {
  font-family: Lato;
  font-weight: normal;
  max-width: 700px;
  line-height: 1.4;
  font-size: 18px;
}

section.posts article a {
  color: #4A4A4A;
  text-decoration: none;
}

section.posts article p:nth-child(3),
section.posts article.external p:nth-child(2) {
  font-weight: bold;
  color: #515151;
  letter-spacing: 0.3px;
  font-size: 12px;
}

.pagination {
  display: flex;
  margin: 30px 0;
  margin-bottom: 40px;
  font-family: Lato;
}

.pagination .page {
  margin: 0 15px;
}

.pagination p {
  margin: 0;
  color: grey;
  cursor: default;
}

.pagination .page,
.pagination a p {
  color: black;
}

.pagination a p {
  cursor: pointer;
}

article.full {
  margin-top: 50px;
  padding-bottom: 0;
}

article.full a {
  border-bottom: 1px solid #8c8c8c;
}

article.full h1 {
  font-family: Mukta;
  font-weight: bold;
  font-size: 34px;
  margin: 0;
  line-height: 40px;
  color: #607D8B;
}

article.full h2 {
  font-family: Mukta;
  font-weight: bold;
  font-size: 20px;
  margin: 0;
  color: black;
}

article.full p {
  font-family: Lato;
  font-weight: normal;
  line-height: 1.6;
  font-size: 18px;
}

article.full p:last-child {
  font-weight: bold;
  color: #515151;
  letter-spacing: 0.3px;
  font-size: 12px;
  margin: 0;
  padding-bottom: 20px;
}

article.full img {
  display: block;
  max-width: min(100%, 500px);
  margin: 30px 0;
  border-radius: 2px;
}

article.full figure {
  margin: auto;
  display: flex;
  flex-direction: column;
  max-width: min(100%, 700px);
}

article.full figure img {
  margin: 0;
  border-radius: 0;
  max-width: min(100%, 700px);
}

article.full figure figcaption {
  background: #f8f8f8;
  padding: 10px 16px;
  font-family: 'Lato';
  font-size: 13px;
  text-align: center;
}

@media(min-width: 920px) {
  article.full figure.instructions {
    flex-direction: row;
    max-width: unset;
  }
}

article.full figure.instructions figcaption {
  text-align: left;
}

article.full figure.instructions figcaption ol {
  padding-left: 20px;
}

article.full blockquote {
  font-family: Lato;
  font-weight: normal;
  line-height: 24px;
  font-size: 18px;
  border-left: 3px solid #dedede;
  margin: 0;
  padding-left: 20px;
}

article.full li {
  font-family: Lato;
  font-weight: normal;
  line-height: 24px;
  font-size: 18px;
  margin: 10px 0;
}

article.full pre {
  background-color: #272727;
  color: white;
  padding: 17px;
  border-radius: 2px;
  line-height: 20px;
  overflow-x: auto;
}

article.full iframe {
  max-width: 100%;
}

table {
  font-family: Lato;
  border: 2px solid #c3c3c3;
  border-spacing: 0;
  margin-bottom: 20px;
}

table thead {
  background: #ececec;
}

table th {
  padding: 8px;
  text-align: left;
}

table td {
  padding: 8px;
}

table tr:nth-child(2n) {
  background: #f6f6f6;
}

@media(max-width: 800px) {
  header {
    display: block;
    text-align: center;
  }

  header > div {
    justify-content: center;
  }

  header nav {
    margin-top: 30px;
  }

  section.talks .talks-wrapper {
    flex-direction: column;
    row-gap: 10px;
  }

  section.talks article h1 {
    font-size: 14px;
  }

  .pagination {
    justify-content: center;
  }

  article.full {
    margin: 50px -20px 0 -20px;
  }
}
