/* Base */
/* ----------------------------------------------------------*/

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

html,
body {
  height: 100%;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  background-color: #fdfdfd;
  color: #111;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: 400;
}

a {
  color: #2a7ae2;
  text-decoration: none;
}

a:hover {
  color: #000;
  text-decoration: underline;
}

a:visited {
  color: #205caa;
}

img {
  max-width: 100%;
}

/* Utility */
/* ----------------------------------------------------------*/

.wrap:before,
.wrap:after {
  content: "";
  display: table;
}

.wrap:after {
  clear: both;
}

.wrap {
  max-width: 800px;
  padding: 0 30px;
  margin: 0 auto;
  zoom: 1;
}

/* Layout Styles */
/* ----------------------------------------------------------*/

.site-header {
  border-top: 5px solid #333;
  border-bottom: 1px solid #e8e8e8;
  min-height: 56px;
  background-color: #fff;
}

.site-title,
.site-title:hover,
.site-title:visited {
  display: block;
  color: #333;
  font-size: 26px;
  letter-spacing: -1px;
  float: left;
  line-height: 56px;
  position: relative;
  z-index: 1;
}

.site-nav {
  float: right;
  line-height: 56px;
}

.site-nav .menu-icon {
  display: none;
}

.site-nav .page-link {
  margin-left: 20px;
  color: #727272;
  letter-spacing: -0.5px;
}

.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.site-footer .footer-col {
  float: left;
  margin-bottom: 15px;
}

.footer-col-1 {
  width: 65%;
  padding-right: 20px;
}

.footer-col-2 {
  width: 35%;
}

.site-footer p {
  font-size: 15px;
  letter-spacing: -0.3px;
  color: #828282;
}

.page-content {
  padding: 30px 0;
  background-color: #fff;
}

/* Home styles */
/* ----------------------------------------------------------*/

.home h1 {
  margin-bottom: 25px;
}

.posts {
  list-style-type: none;
}

.posts li {
  margin-bottom: 30px;
}

.posts .post-link {
  font-size: 20px;
  letter-spacing: -1px;
  line-height: 1;
}

.posts .post-date {
  display: block;
  font-size: 15px;
  color: #818181;
}

.post-excerpt {
  margin-top: 8px;
  color: #333;
}

.post-excerpt p {
  margin-bottom: 0;
}

/* Post styles */
/* ----------------------------------------------------------*/

.post-header {
  margin: 10px 0 30px;
}

.post-header h1 {
  font-size: 36px;
  letter-spacing: -1.75px;
  line-height: 1;
  font-weight: 300;
}

.post-header .meta {
  font-size: 15px;
  color: #818181;
  margin-top: 5px;
}

.post-content {
  margin: 0 0 30px;
}

.post-content > * {
  margin: 20px 0;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  line-height: 1;
  font-weight: 300;
  margin: 40px 0 20px;
}

.post-content h2 {
  font-size: 32px;
  letter-spacing: -1.25px;
}

.post-content h3 {
  font-size: 26px;
  letter-spacing: -1px;
}

.post-content h4 {
  font-size: 20px;
  letter-spacing: -1px;
}

.post-content blockquote {
  border-left: 4px solid #e8e8e8;
  padding-left: 20px;
  font-size: 18px;
  opacity: 0.75;
  letter-spacing: -1px;
}

.post-content ul,
.post-content ol {
  padding-left: 20px;
}

.post-content li {
  margin: 8px 0;
}

.post-content p,
.post-content ul,
.post-content ol {
  font-size: 17px;
}

.post-content code {
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 85%;
  background-color: #eef;
  border-radius: 3px;
  padding: 1px 5px;
}

.post-content pre {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 8px 12px;
  overflow-x: auto;
}

.post-content pre code {
  border: 0;
  padding: 0;
  background-color: transparent;
}

.post-content table {
  border-collapse: collapse;
  width: 100%;
  display: block;
  overflow-x: auto;
}

.post-content th,
.post-content td {
  border: 1px solid #e8e8e8;
  padding: 6px 10px;
}

/* Responsive */
/* ----------------------------------------------------------*/

@media screen and (max-width: 600px) {
  .wrap {
    padding: 0 12px;
  }

  .site-nav {
    position: fixed;
    z-index: 10;
    top: 14px;
    right: 8px;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }

  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 30px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }

  .site-nav .trigger {
    clear: both;
    display: none;
  }

  .site-nav:hover .trigger,
  .site-nav:focus-within .trigger {
    display: block;
    padding-bottom: 5px;
  }

  .site-nav .page-link {
    display: block;
    padding: 5px 10px;
    margin-left: 20px;
  }

  .post-header h1 {
    font-size: 30px;
  }

  .post-content h2 {
    font-size: 26px;
  }

  .post-content h3 {
    font-size: 22px;
  }

  .footer-col-1,
  .footer-col-2 {
    width: 100%;
    padding-right: 0;
  }
}
