/* ===== minima base ===== */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Helvetica, Arial, sans-serif, "Apple Color Emoji",
               "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  background-color: #fdfdfd;
}

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

a:hover {
  text-decoration: underline;
}

/* ===== layout ===== */

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

.page-content {
  padding: 30px 0;
}

/* ===== header ===== */

.site-header {
  border-top: 5px solid #424242;
  border-bottom: 1px solid #e8e8e8;
  min-height: 56px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 56px;
  margin: 0;
  float: left;
}

.site-title,
.site-title:visited {
  color: #424242;
}

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

.site-nav .page-link {
  margin-left: 20px;
  color: #424242;
}

/* ===== mobile nav ===== */

.nav-trigger {
  display: none;
}

.menu-icon {
  display: none;
}

/* ===== responsive ===== */

@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 .page-link {
    display: block;
    margin: 0;
    padding: 10px 20px;
  }

  .menu-icon {
    display: block;
    cursor: pointer;
  }

  .nav-trigger:checked ~ .trigger {
    display: block;
  }

  .trigger {
    display: none;
  }
}

/* ===== content ===== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

ul {
  margin: 0 0 1em 1.5em;
}

/* ===== footer (optional) ===== */

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