@import url("https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,500,700");

* {
  font-family: "Roboto", Roboto, Helvetica, Arial, sans-serif;
  color: rgba(0, 0, 0, 0.96);
}

article {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}

blockquote {
  margin: 1em auto 0 auto;
  padding: 0 16px;
  border-left: solid 4px rgba(0, 0, 0, 0.3);
  opacity: 0.6;
}

article img,
article video {
  max-width: 100%;
  height: auto;
  margin: 0.5em 0 0 0;
  border-radius: 6px;
}

article video {
  margin: 1.5em 0 0 0;
}

article img.half {
  display: inline-block;
  width: calc(50% - 8px);
  height: auto;
  margin: 0.5em 11px 0 0;
  border: solid 1px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

article img.half:nth-of-type(2n) {
  margin: 0.5em 0 0 0;
}

article img.third {
  display: inline-block;
  width: calc(33.333333% - 8px);
  height: auto;
  margin: 0.5em 5px 0 0;
  border: solid 1px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

article img.third:nth-of-type(3n) {
  margin: 0.5em 0 0 0;
}

article img.large {
  position: relative;
  width: 160%;
  max-width: 90vw;
  height: auto;
  left: 50%;
  transform: translate(-50%, 0);
}

article img.no-border {
  border: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1.5em auto 0 auto;
  vertical-align: middle;
}

h1 {
  font-size: 1.75em;
  font-weight: 700;
  margin: 1em auto 0.64em auto;
}

h2 {
  font-size: 1.5em;
  margin: 1em auto;
}

h3 {
  font-size: 1.2em;
  margin: 1.5em auto 0 auto;
}

h4 {
  font-size: 1.1em;
}

h5 {
  font-size: 1em;
}

h6 {
  margin: 2.4em auto 0 auto;
  font-size: 1em;
  font-weight: 400;
}

p,
ul,
ol {
  margin: 1em auto 0 auto;
  font-size: 1.1em;
  line-height: 1.6em;
}

p a {
  color: inherit;
  text-decoration: none;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
}

p a:hover {
  border-bottom: solid 2px rgba(0, 0, 0, 0.3);
}

hr {
  margin: 2em 0;
  border: none;
  border-bottom: solid 1px rgba(0, 0, 0, 0.16);
}

mark {
  padding: 0 2px 1px 2px;
  background-color: rgba(85, 255, 199, 1);
  border-radius: 2px;
}

pre,
code {
  font-family: "Roboto Mono", "Lucidia Console", monospace;
}

code {
  vertical-align: baseline;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.08);
}

pre {
  padding: 4px;
  border-radius: 6px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.08);
}

pre code {
  background: transparent;
}

.tag {
  position: relative;
  top: -1px;
  left: 0;
  padding: 2px 4px;
  margin: 0 8px;
  background-color: #aaa;
  border-radius: 3px;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
}

::selection {
  background: rgba(0, 0, 0, 0.96);
  color: #fff;
}

::moz-selection {
  background: rgba(0, 0, 0, 0.96);
  color: #fff;
}
