/*
 * Homepage only (see _layouts/home.html and _includes/head/custom.html).
 * Lora 16px/1.5 body, 785px content column, 26px site title on a 56px header row,
 * #4d74eb links, #e8e8e8 header and footer rules, 42px page title, 32px and 26px headings.
 */

body {
  font-family: "Lora", serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  background-color: #fdfdfd;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lora", serif;
  font-weight: 400;
}

a {
  color: #4d74eb;
  text-decoration: none;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.wrapper {
  max-width: 815px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.wrapper:after {
  content: "";
  display: table;
  clear: both;
}

.site-header {
  position: relative;
  min-height: 55.95px;
  border-bottom: 1px solid #e8e8e8;
}

.site-title {
  float: left;
  font-size: 26px;
  font-weight: 400;
  line-height: 55.95px;
  color: #424242;
  text-decoration: none;
}

.site-nav {
  float: right;
  line-height: 55.95px;
  position: relative;
}

.site-nav .nav-trigger,
.site-nav label[for="nav-trigger"] {
  display: none;
}

.site-nav .page-link {
  color: #111;
  line-height: 1.5;
  text-decoration: none;
}

.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}

.post-content {
  margin-top: 40px;
  margin-bottom: 30px;
}

.post-content h2 {
  font-size: 32px;
  margin: 1.2em 0 0.5em;
}

.post-content h3 {
  font-size: 26px;
  margin: 1em 0 0.5em;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid #e8e8e8;
  font-size: 15px;
  color: #828282;
}

.footer-col-1 {
  float: left;
  width: 35%;
}

.footer-col-2 {
  float: left;
  width: 60%;
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links li {
  margin-bottom: 5px;
}

.social-links a {
  color: #4d74eb;
}

.footer-col-2 p {
  margin: 0;
}

@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }

  .site-nav label[for="nav-trigger"] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }

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

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

  .site-nav .nav-trigger:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }

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

  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }

  .footer-col-1,
  .footer-col-2 {
    float: none;
    width: 100%;
  }

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

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