/*************************************************
* Mixins
*************************************************/
html {
  font-size: 62.5%;
  font-family: "Crimson Text", Georgia, "Helvetica Neue", Arial, serif;
}
body {
  font-size: 1.8rem;
  line-height: 1.45;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", "Helvetica Neue", Arial;
  line-height: 1.2;
  font-weight: 400;
}
h1 {
  font-size: 4.8rem;
}
h2 {
  font-size: 3rem;
}
h3 {
  font-size: 2.1rem;
}
h4 {
  font-size: 1.8rem;
  font-weight: 500;
}
h6 {
  font-size: 1.8rem;
  text-transform: uppercase;
}
figure {
  font-size: 1.5rem;
}
.subtitle {
  font-size: 1.5rem;
}
.author {
  font-family: "Roboto";
  font-size: 1.8rem;
  font-weight: 500;
}
.pager {
  font-family: "Roboto";
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
}
/*****************************************************************************/
/*
/* Colors
/*
/*****************************************************************************/
/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/
html {
  color: #464641;
}
body {
  background-color: #FFFFFF;
}
a {
  text-decoration: none;
  color: #464641;
}
a:hover {
  text-decoration: hover;
}
a:visited {
  color: #464641;
}
b,
strong {
  color: #C43131;
}
p {
  margin: 1.2rem 0 1.8rem;
}
h1 {
  margin: 0;
}
h2 {
  margin-top: 3rem;
}
h3,
h4,
h5 {
  margin-top: 2.1rem;
}
p + ul,
p + ol {
  margin-top: -0.8rem;
}
hr {
  color: #EA5E5B;
  background-color: #EA5E5B;
  height: 1px;
  font-size: 0;
  border: 0;
  width: 50%;
  margin: 1.8rem auto 2.4rem;
}
pre {
  padding: 1rem;
  border: 1px solid #DBDBD7;
  background-color: #F0F2F3;
  padding: 0.6em;
  font-size: 1.5rem;
  border-radius: 0.2rem;
}
/* terminal */
pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}
pre.terminal code {
  background-color: #333;
}
code {
  border: 1px solid #DBDBD7;
  background-color: #F0F2F3;
  padding: 0 0.2em;
  font-size: 1.3rem;
}
pre code {
  border: none;
}
.container {
  position: relative;
  padding: 6rem;
  border: 1px solid #DBDBD7;
  min-height: 18rem;
  background-color: #FFF;
}
.author-bar {
  position: fixed;
  margin-top: -6rem;
  width: 20rem;
  text-align: right;
  height: 100%;
  border-right: 1px solid #DBDBD7;
  padding-right: 4rem;
  box-sizing: border-box;
  padding-top: 8rem;
}
.author {
  margin-top: 3rem;
}
.profile-link {
  font-size: 1.5rem;
}
.profile-link {
  position: relative;
  top: -0.2rem;
}
.bio {
  margin-top: 0.2rem;
}
.bio .subtitle {
  margin-bottom: 0;
}
.bio .link {
  color: #EA5E5B;
  display: inline-block;
}
.bio .link:hover {
  text-decoration: underline;
}
.jekyll-twitter-plugin {
  padding-top: 1rem;
}
.twitter-tweet-rendered {
  box-shadow: none !important;
}
.twitter-tweet {
  margin: 0;
  background-color: white;
  -webkit-border-radius: 4px;
  /* Safari3.1+, Chrome4.0+ */
  -moz-border-radius: 4px;
  /* FF2.0+ */
  border-radius: 4px;
  /* W3C */
  border: none !important;
  display: none;
}
.subtitle {
  color: #95989C;
  margin-bottom: 0;
}
figure .image {
  max-width: 110%;
}
figure .caption {
  margin-top: 0.4rem;
  margin-bottom: 1.8rem;
  text-align: center;
  color: #95989C;
}
ul.posts {
  margin-bottom: 2em;
}
.read-more-link {
  border-bottom: 1px dotted #464641;
}
.social-profile {
  margin-left: 0.8rem;
  font-size: 1.4rem;
  display: inline-block;
  height: 1.6rem;
  width: 1.6rem;
}
.social {
  margin-top: 1.2rem;
}
.twitter {
  max-width: 256px;
  max-height: 256px;
  background-image: url(../assets/icn-twitter.svg);
}
.twitter:hover {
  background-image: url(../assets/icn-twitter-hover.svg);
}
.linkedin {
  max-width: 256px;
  max-height: 256px;
  background-image: url(../assets/icn-linkedin.svg);
}
.linkedin:hover {
  background-image: url(../assets/icn-linkedin-hover.svg);
}
.dribbble {
  max-width: 256px;
  max-height: 256px;
  background-image: url(../assets/icn-dribbble.svg);
}
.dribbble:hover {
  background-image: url(../assets/icn-dribbble-hover.svg);
}
.medium {
  max-width: 256px;
  max-height: 256px;
  background-image: url(../assets/icn-medium.svg);
}
.medium:hover {
  background-image: url(../assets/icn-medium-hover.svg);
}
/*****************************************************************************/
/*
/* About
/*
/*****************************************************************************/
.page-link:hover {
  text-decoration: underline;
}
.post-list .post {
  margin-bottom: 0.6rem;
}
/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/
.site {
  width: 100%;
  max-width: 96rem;
  padding-left: 24rem;
  -webkit-box-sizing: border-box;
  /* Safari3.1+, Chrome4.0+ */
  -moz-box-sizing: border-box;
  /* FF2.0+ */
  box-sizing: border-box;
  /* W3C */
}
.site .subtitle {
  margin: 0.8rem 0;
}
.site .header a {
  font-weight: bold;
  text-decoration: none;
}
.site .header h1.title {
  display: inline-block;
  margin-bottom: 2em;
}
.site .header h1.title a {
  color: #EA5E5B;
}
.site .header h1.title a:hover {
  color: #C43131;
}
.site .header a.extra {
  color: #F0F2F3;
  margin-left: 1em;
}
.site .header a.extra:hover {
  color: #000;
}
.site .meta {
  color: #F0F2F3;
}
/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/
/* standard */
.post .subtitle {
  margin: 0.2rem 0 0.8rem;
}
.post h1 {
  font-size: 3.6rem;
  font-weight: 500;
}
.post h3 a {
  border-bottom: none;
}
.post .screenshot-link {
  border-bottom: none;
}
.post-content,
.post-content-truncate {
  margin-bottom: 6.4rem;
  margin-top: 2rem;
}
.post-content ul,
.post-content-truncate ul {
  margin: 1.8rem 0 0 2.4rem;
  list-style: square;
}
.post-content ol,
.post-content-truncate ol {
  padding: 0;
  margin-left: 2.4rem;
}
.post-content p + ul,
.post-content-truncate p + ul,
.post-content p + ol,
.post-content-truncate p + ol {
  margin-top: -0.8rem;
}
.post-content li,
.post-content-truncate li {
  margin-bottom: 0.6rem;
}
.post-content a,
.post-content-truncate a {
  border-bottom: 1px dotted #464641;
}
.post-content .screenshot-link,
.post-content-truncate .screenshot-link {
  border-bottom: none;
}
.post-content img,
.post-content-truncate img {
  max-width: 100%;
  -webkit-border-radius: 4px;
  /* Safari3.1+, Chrome4.0+ */
  -moz-border-radius: 4px;
  /* FF2.0+ */
  border-radius: 4px;
  /* W3C */
}
.post-content-truncate img {
  max-width: 100%;
  -webkit-border-radius: 4px;
  /* Safari3.1+, Chrome4.0+ */
  -moz-border-radius: 4px;
  /* FF2.0+ */
  border-radius: 4px;
  /* W3C */
}
.fine-print {
  display: block;
  text-transform: uppercase;
  font-size: 0.72em;
  padding: 10px 0;
  color: #EA5E5B;
}
.category {
  font-style: italic;
  padding-right: 3px;
}
.category a {
  color: #95989C;
}
.gist .gist-file {
  font-size: 13px;
  color: #464641;
}
.gist .gist-file div.gist-meta {
  background-image: none;
  background-color: #FCFCFC;
}
blockquote {
  border-left: 0.4rem solid #EA5E5B;
  padding-left: 2.1rem;
  font-size: 2.1rem;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
}
/*****************************************************************************/
/*
/* Tables
/*
/*****************************************************************************/
table {
  font-family: Roboto, sans-serif;
  font-size: 1.5rem;
  background: #FFF;
  margin-bottom: 1.8rem;
}
thead th {
  border-bottom: 1px solid #DBDBD7;
  border-right: 1px solid #DBDBD7;
  text-align: left;
  padding: 0.4rem 1.2rem;
}
tbody td {
  border-right: 1px solid #DBDBD7;
  padding: 0.4rem 1.2rem;
}
tbody tr td:first-child {
  font-weight: 500;
  line-height: 1.3;
  padding-left: 0;
}
thead tr th:first-child {
  padding-left: 0;
}
thead tr th:last-child {
  border-right: none;
}
tbody tr td:last-child {
  border-right: none;
}
.right-aligned td {
  text-align: right;
}
.right-aligned tbody tr td:first-child {
  text-align: left;
}
.right-aligned thead td {
  text-align: left;
}
.overflow-holder {
  overflow: scroll;
  width: 110%;
  position: relative;
}
.overflow-holder-mask {
  background: linear-gradient(to left, white, transparent);
}
/*****************************************************************************/
/*
/* Icons
/*
/*****************************************************************************/
.icon {
  background-image: url(../assets/logo-mb-1.2x.png);
  background-repeat: no-repeat;
  background-size: 100%;
  height: 36px;
  width: 20px;
  display: inline-block;
  vertical-align: middle;
}
.icon-logo {
  background-position: 0 0;
}
/*****************************************************************************/
/*
/* Footers
/*
/*****************************************************************************/
.pager {
  display: flex;
  justify-content: space-between;
}
.pager li {
  display: inline-block;
  margin-left: -0.8rem;
  border-radius: 0.4rem;
}
.pager li a {
  display: inline-block;
  padding: 0.8rem;
}
.pager li:hover {
  background-color: #E2E7E8;
}
.post-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.post-footer a {
  display: block;
}
.post-footer .home {
  border-radius: 0.4rem;
}
.post-footer .home .logo-holder {
  padding: 0.8rem 0.8rem 0;
}
.post-footer .home .subtitle {
  margin: 0;
  padding: 0.8rem;
}
.post-footer .home:hover {
  background: #F0F2F3;
}
/*****************************************************************************/
/*
/* Media queries
/*
/*****************************************************************************/
@media all and (min-width: 1420px) {
  figure .image {
    max-width: 120%;
  }
}
@media all and (max-width: 800px) {
  .container {
    margin: 0;
    padding: 1rem;
    -webkit-border-radius: 0;
    /* Safari3.1+, Chrome4.0+ */
    -moz-border-radius: 0;
    /* FF2.0+ */
    border-radius: 0;
    /* W3C */
  }
  .author-bar {
    position: static;
    text-align: center;
    width: 100%;
    border-right: none;
    padding-right: 0;
  }
  .author {
    font-weight: bold;
    font-size: 1.8rem;
  }
  .site {
    padding: 1rem;
    margin-top: 2rem;
  }
  .bio {
    margin-top: 0;
  }
  figure .image {
    max-width: 100%;
  }
  .social-profile {
    margin-left: 0.4rem;
    margin-right: 0.4rem;
  }
}
