cwonrails
2/9/2016 - 3:33 PM

screen.css

/* Base Casper stylesheet rewritten to comply with SUIT CSS conventions /*

/* Casper | MIT LICENSE | github.com/TryGhost/Casper */

/* SUIT CSS | MIT LICENSE | github.com/suitcss/suit */

@font-face {
  font-family: "casper-icons";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/casper-icons.eot?v=1");
  src:
    url("../fonts/casper-icons.eot?v=1#iefix") format("embedded-opentype"),
    url("../fonts/casper-icons.woff?v=1") format("woff"),
    url("../fonts/casper-icons.ttf?v=1") format("truetype"),
    url("../fonts/casper-icons.svg?v=1#icons") format("svg");
}

[class^="icon-"]::before,
[class*=" icon-"]::before {
  font-family: "casper-icons", "Open Sans", sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  speak: none;
  text-decoration: none !important;
  text-transform: none;
}

.icon-ghost::before {
  content: "\f600";
}

.icon-feed::before {
  content: "\f601";
}

.icon-twitter::before {
  content: "\f602";
  font-size: 1.1em;
}

.icon-google-plus::before {
  content: "\f603";
}

.icon-facebook::before {
  content: "\f604";
}

.icon-arrow-left::before {
  content: "\f605";
}

.icon-stats::before {
  content: "\f606";
}

.icon-location::before {
  content: "\f607";
  margin-left: -3px;
}

.icon-link::before {
  content: "\f608";
}

.icon-menu::before {
  content: "\f609";
}

html {
  font-size: 62.5%;
  height: 100%;
  max-height: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  color: #3a4145;
  font-family: "Merriweather", serif;
  font-feature-settings: "kern" 1;
  font-size: 1.8rem;
  height: 100%;
  letter-spacing: 0.01rem;
  line-height: 1.75em;
  max-height: 100%;
  text-rendering: geometricPrecision;
}

::selection {
  background: #d6edff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #2e2e2e;
  font-family: "Open Sans", sans-serif;
  font-feature-settings: "dlig" 1, "liga" 1, "lnum" 1, "kern" 1;
  line-height: 1.15em;
  margin: 0 0 0.4em 0;
  text-rendering: geometricPrecision;
}

h1 {
  font-size: 5rem;
  letter-spacing: -2px;
  text-indent: -3px;
}

h2 {
  font-size: 3.6rem;
  letter-spacing: -1px;
}

h3 {
  font-size: 3rem;
}

h4 {
  font-size: 2.5rem;
}

h5 {
  font-size: 2rem;
}

h6 {
  font-size: 2rem;
}

a {
  color: #4a4a4a;
  transition: color 0.3s ease;
}

a:hover {
  color: #111;
}

p,
ul,
ol,
dl {
  font-feature-settings: "liga" 1, "onum" 1, "kern" 1;
  margin: 0 0 1.75em 0;
  text-rendering: geometricPrecision;
}

ol,
ul {
  padding-left: 3rem;
}

ol ol,
ul ul,
ul ol,
ol ul {
  margin: 0 0 0.4em 0;
  padding-left: 2em;
}

dl dt {
  clear: left;
  float: left;
  font-weight: 700;
  margin-bottom: 1em;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 180px;
}

dl dd {
  margin-bottom: 1em;
  margin-left: 200px;
}

li {
  margin: 0.4em 0;
}

li li {
  margin: 0;
}

hr {
  border: 0;
  border-top: #efefef 1px solid;
  display: block;
  height: 1px;
  margin: 3.2em 0;
  padding: 0;
}

blockquote {
  border-left: #4a4a4a 0.4em solid;
  box-sizing: border-box;
  margin: 1.75em 0 1.75em -2.2em;
  padding: 0 0 0 1.75em;
}

blockquote p {
  font-style: italic;
  margin: 0.8em 0;
}

blockquote small {
  color: #ccc;
  display: inline-block;
  font-size: 0.9em;
  margin: 0.8em 0 0.8em 1.5em;
}

blockquote small::before { content: "\2014 \00A0"; }

blockquote cite {
  font-weight: 700;
}

blockquote cite a { font-weight: normal; }

mark {
  background-color: #fdffb6;
}

code,
tt {
  background: #f7fafb;
  border: #e3edf3 1px solid;
  border-radius: 2px;
  font-family: Inconsolata, monospace, sans-serif;
  font-feature-settings: "liga" 0;
  font-size: 0.85em;
  padding: 1px 3px;
  white-space: pre-wrap;
}

pre {
  background: #f7fafb;
  border: #e3edf3 1px solid;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: Inconsolata, monospace, sans-serif;
  font-size: 0.9em;
  margin: 0 0 1.75em 0;
  overflow: auto;
  padding: 10px;
  white-space: pre;
  width: 100%;
}

pre code,
pre tt {
  background: transparent;
  border: none;
  font-size: inherit;
  padding: 0;
  white-space: pre-wrap;
}

kbd {
  background: #f4f4f4;
  border: #ccc 1px solid;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.2),
    0 1px 0 0 #fff inset;
  color: #666;
  display: inline-block;
  font-size: 0.9em;
  font-weight: 700;
  margin-bottom: 0.4em;
  padding: 1px 8px;
  text-shadow: #fff 0 1px 0;
}

table {
  background-color: transparent;
  box-sizing: border-box;
  margin: 1.75em 0;
  max-width: 100%;
  width: 100%;
}

table th,
table td {
  border-top: #efefef 1px solid;
  line-height: 20px;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

table th { color: #000; }

table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
  border-top: 0;
}

table tbody + tbody { border-top: #efefef 2px solid; }

table table table { background-color: #fff; }

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background-color: #f6f6f6;
}

table.plain tbody > tr:nth-child(odd) > td,
table.plain tbody > tr:nth-child(odd) > th {
  background: transparent;
}

iframe,
.fluid-width-video-wrapper {
  display: block;
  margin: 1.75em 0;
}

.fluid-width-video-wrapper iframe {
  margin: 0;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}
.clearfix::after { clear: both; }
.clearfix { zoom: 1; }

.hidden {
  display: none;
  text-indent: -9999px;
  visibility: hidden;
}

.inner {
  margin: 0 auto;
  max-width: 710px;
  position: relative;
  width: 80%;
}

.vertical {
  display: table-cell;
  vertical-align: middle;
}

.site-wrapper {
  background: #fff;
  min-height: 100%;
  position: relative;
  transition: transform 0.5s ease;
  z-index: 10;
}

body.nav-opened .site-wrapper {
  overflow-x: hidden;
  transform: translate3D(-240px, 0, 0);
  transition: transform 0.3s ease;
}

.main-header {
  background: #222 no-repeat center center;
  background-size: cover;
  display: table;
  height: 100vh;
  margin-bottom: 5rem;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.main-header .inner {
  width: 80%;
}

.main-nav {
  margin: 0 0 30px 0;
  padding: 35px 40px;
  position: relative;
}

.main-nav a {
  font-family: "Open Sans", sans-serif;
  text-decoration: none;
}

body.nav-opened .nav-cover {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 240px;
  top: 0;
  z-index: 200;
}

.nav {
  background: #111;
  bottom: 0;
  margin-bottom: 0;
  opacity: 0;
  overflow-y: auto;
  position: fixed;
  right: 0;
  text-align: left;
  top: 0;
  transition:
    transform 0.5s ease,
    opacity 0.3s ease 0.7s;
  width: 240px;
  z-index: 5;
}

body.nav-closed .nav {
  transform: translate3D(97px, 0, 0);
}

body.nav-opened .nav {
  opacity: 1;
  transform: translate3D(0, 0, 0);
  transition:
    transform 0.3s ease,
    opacity 0s ease 0s;
}

.nav-title {
  color: #fff;
  font-size: 16px;
  font-weight: 100;
  left: 30px;
  position: absolute;
  text-transform: uppercase;
  top: 45px;
}

.nav-close {
  font-size: 10px;
  height: 20px;
  padding: 0;
  position: absolute;
  right: 25px;
  top: 38px;
  width: 20px;
}

.nav-close:focus {
  outline: 0;
}

.nav-close::before,
.nav-close::after {
  background: rgb(150, 150, 150);
  content: "";
  height: 1px;
  position: absolute;
  top: 0;
  top: 15px;
  transition: background 0.15s ease;
  width: 20px;
}

.nav-close::before {
  transform: rotate(45deg);
}

.nav-close::after {
  transform: rotate(-45deg);
}

.nav-close::hover::before,
.nav-close::hover::after {
  background: rgb(255, 255, 255);
}

.nav ul {
  counter-reset: item;
  list-style: none;
  padding: 90px 9% 5%;
}

.nav li::before {
  color: #b8b8b8;
  content: counter(item, lower-roman);
  counter-increment: item;
  display: block;
  float: right;
  font-size: 1.2rem;
  padding-left: 5px;
  padding-right: 4%;
  text-align: right;
  vertical-align: bottom;
}

.nav li {
  margin: 0;
}

.nav li a {
  display: block;
  font-size: 1.4rem;
  line-height: 1.4;
  overflow: hidden;
  padding: 0.6rem 4%;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav li a::after {
  color: rgba(255, 255, 255, 0.2);
  content: " .......................................................";
  display: inline-block;
  margin-left: 5px;
}

.nav .nav-current::before {
  color: #fff;
}

.nav .nav-current a::after {
  border-bottom: rgba(255, 255, 255, 0.5) 1px solid;
  content: " ";
  height: 1px;
  width: 100%;
}

.nav a:link,
.nav a:visited {
  color: #b8b8b8;
}

.nav li.nav-current a,
.nav a:hover,
.nav a:active,
.nav a:focus {
  color: #fff;
}

.subscribe-button {
  background: #fff;
  border-radius: 3px;
  bottom: 30px;
  box-sizing: border-box;
  color: #111 !important;
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  height: 38px;
  left: 30px;
  line-height: 35px;
  padding: 0 20px;
  position: absolute;
  right: 30px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all ease 0.3s;
}

.subscribe-button::before {
  font-size: 9px;
  margin-right: 6px;
}

.scroll-down {
  animation: bounce 4s 2s infinite;
  bottom: 45px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 34px;
  height: 34px;
  left: 50%;
  margin-left: -16px;
  position: absolute;
  text-align: center;
  text-decoration: none;
  transform: rotate(-90deg);
  width: 34px;
  z-index: 100;
}

.scroll-down:hover {
  animation: none;
  color: #fff;
}

.home-template .main-header::after {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0) 100%);
  border-radius: 100%;
  bottom: 0;
  content: " ";
  display: block;
  height: 130px;
  left: 50%;
  margin-left: -75px;
  position: absolute;
  width: 150px;
}

.no-cover .scroll-down,
.no-cover.main-header::after,
.archive-template .scroll-down,
.archive-template .main-header::after {
  display: none;
}

.blog-logo {
  background: none !important;
  border: none !important;
  display: block;
  float: left;
}

.blog-logo img {
  box-sizing: border-box;
  display: block;
  height: 38px;
  padding: 1px 0 5px 0;
  width: auto;
}

.menu-button {
  border-radius: 3px;
  border-style: solid;
  border-width: 1px;
  box-sizing: border-box;
  display: inline-block;
  float: right;
  font-size: 12px;
  height: 38px;
  line-height: 35px;
  opacity: 1;
  padding: 0 15px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.5s ease;
  white-space: nowrap;
}

.menu-button::before {
  font-size: 12px;
  font-weight: bold;
  margin-right: 6px;
  position: relative;
  top: 1px;
}

.menu-button:hover {
  background: #fff;
}

.menu-button:focus {
  outline: 0;
}

.nav-closed .menu-button {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.nav-closed .menu-button:hover {
  color: #222;
}

.nav-closed .no-cover .menu-button {
  border-color: #bfc8cd;
  color: #9eabb3;
}

.nav-closed .no-cover .menu-button:hover {
  border-color: #555;
  color: #555;
}

.nav-opened .menu-button {
  background: #111;
  border-color: #111;
  color: #fff;
  padding: 0 12px;
  transform: translate3D(94px, 0, 0);
  transition: all 0.3s ease;
}

.nav-opened .menu-button .word {
  opacity: 0;
  transition: all 0.3s ease;
}

.main-nav.overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  border: none;
  height: 70px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.no-cover .main-nav.overlay {
  background: none;
}

.page-title {
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 10px 0 10px 0;
}

.page-description {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Merriweather", serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01rem;
  line-height: 1.5em;
  margin: 0;
}

.no-cover.main-header {
  background: #f5f8fa;
  max-height: 40vh;
  min-height: 160px;
}

.no-cover .page-title {
  color: rgba(0, 0, 0, 0.8);
}

.no-cover .page-description {
  color: rgba(0, 0, 0, 0.5);
}

.home-template .page-title {
  animation: fade-in-down 0.6s;
  animation-delay: 0.2s;
}

.home-template .page-description {
  animation: fade-in-down 0.9s;
  animation-delay: 0.1s;
}

.post {
  border-bottom: #ebf2f6 1px solid;
  margin: 4rem auto;
  max-width: 710px;
  padding-bottom: 4rem;
  position: relative;
  width: 80%;
  word-wrap: break-word;
}

.post::after {
  background: #fff;
  border: #e7eef2 1px solid;
  border-radius: 100%;
  bottom: -5px;
  box-shadow: #fff 0 0 0 5px;
  content: "";
  display: block;
  height: 7px;
  left: 50%;
  margin-left: -5px;
  position: absolute;
  width: 7px;
}

body:not(.post-template) .post-title {
  font-size: 3.6rem;
}

.post-title a {
  text-decoration: none;
}

.post-excerpt p {
  font-size: 0.9em;
  line-height: 1.7em;
  margin: 0;
}

.read-more {
  text-decoration: none;
}

.post-meta {
  color: #9eabb3;
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  line-height: 2.2rem;
  margin: 1.75rem 0 0 0;
}

.author-thumb {
  border-radius: 100%;
  float: left;
  height: 24px;
  margin-right: 9px;
  width: 24px;
}

.post-meta a {
  color: #9eabb3;
  text-decoration: none;
}

.post-meta a:hover {
  text-decoration: underline;
}

.user-meta {
  min-height: 77px;
  padding: 0.3rem 40px 0 100px;
  position: relative;
}

.post-date {
  border-left: #d5dbde 1px solid;
  display: inline-block;
  font-size: 1.3rem;
  margin-left: 8px;
  padding-left: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.user-image {
  left: 0;
  position: absolute;
  top: 0;
}

.user-name {
  display: block;
  font-weight: 700;
}

.user-bio {
  display: block;
  font-size: 1.4rem;
  line-height: 1.5em;
  max-width: 440px;
}

.publish-meta {
  padding: 4.3rem 0 4rem 0;
  position: absolute;
  right: 0;
  text-align: right;
  top: 0;
}

.publish-heading {
  display: block;
  font-weight: 700;
}

.publish-date {
  display: block;
  font-size: 1.4rem;
  line-height: 1.5em;
}

.post-template .post-header {
  margin-bottom: 3.4rem;
}

.post-template .post-title {
  margin-bottom: 0;
}

.post-template .post-meta {
  margin: 0;
}

.post-template .post-date {
  border: none;
  margin: 0;
  padding: 0;
}

.post-template .content {
  overflow: hidden;
}

.post-template .post {
  border-bottom: none;
  margin-top: 0;
  padding-bottom: 0;
}

.post-template .post::after {
  display: none;
}

.post-content img {
  display: block;
  height: auto;
  left: 50%;
  max-width: 126%;
  padding: 0.6em 0;
  position: relative;
  transform: translateX(-50%);
}

.footnotes {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6em;
}

.footnotes li {
  margin: 0.6rem 0;
}

.footnotes p {
  margin: 0;
}

.footnotes p a:last-child {
  text-decoration: none;
}

.post-footer {
  border-top: #ebf2f6 1px solid;
  margin: 6rem 0 0 0;
  padding: 6rem 0 0 0;
  position: relative;
}

.post-footer h4 {
  font-size: 1.8rem;
  margin: 0;
}

.post-footer p {
  font-size: 1.4rem;
  line-height: 1.75em;
  margin: 1rem 0;
}

.author-meta {
  color: #9eabb3;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.author-meta a {
  color: #9eabb3;
}

.author-meta a:hover {
  color: #111;
}

.post-footer .author {
  margin-right: 180px;
}

.post-footer h4 a {
  color: #2e2e2e;
  text-decoration: none;
}

.post-footer h4 a:hover {
  text-decoration: underline;
}

.post-footer .share {
  position: absolute;
  right: 0;
  top: 6rem;
  width: 140px;
}

.post-footer .share a {
  color: #bbc7cc;
  display: inline-block;
  font-size: 1.8rem;
  margin: 1rem 1.6rem 1.6rem 0;
  text-decoration: none;
}

.post-footer .share .icon-twitter:hover {
  color: #55acee;
}

.post-footer .share .icon-facebook:hover {
  color: #3b5998;
}

.post-footer .share .icon-google-plus:hover {
  color: #dd4b39;
}

.post-head.main-header {
  height: 65vh;
  min-height: 180px;
}

.no-cover.post-head.main-header {
  background: transparent;
  height: 85px;
  margin-bottom: 0;
  min-height: 0;
}

.tag-head.main-header {
  height: 40vh;
  min-height: 180px;
}

.author-head.main-header {
  height: 40vh;
  min-height: 180px;
}

.no-cover.author-head.main-header {
  background: transparent;
  height: 10vh;
  min-height: 100px;
}

.author-profile {
  border-bottom: #ebf2f6 1px solid;
  padding: 0 15px 5rem 15px;
  text-align: center;
}

.author-profile::after {
  background: #fff;
  border: #e7eef2 1px solid;
  border-radius: 100%;
  bottom: -5px;
  box-shadow: #fff 0 0 0 5px;
  content: "";
  display: block;
  height: 7px;
  left: 50%;
  margin-left: -5px;
  position: absolute;
  width: 7px;
}

.author-image {
  background: #fff;
  border-radius: 100%;
  box-shadow: #e7eef2 0 0 0 1px;
  box-sizing: border-box;
  display: block;
  height: 80px;
  left: 50%;
  margin-left: -40px;
  overflow: hidden;
  padding: 6px;
  position: absolute;
  top: -40px;
  width: 80px;
  z-index: 2;
}

.author-image .img {
  background-position: center center;
  background-size: cover;
  border-radius: 100%;
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}

.author-profile .author-image {
  box-shadow: none;
  height: 120px;
  left: auto;
  margin: -100px auto 0 auto;
  padding: 3px;
  position: relative;
  top: auto;
  width: 120px;
}

.author-title {
  margin: 1.5rem 0 1rem;
}

.author-bio {
  color: #50585d;
  font-size: 1.8rem;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1.5em;
  text-indent: 0;
}

.author-meta {
  margin: 1.6rem 0;
}

.author-profile .author-meta {
  font-family: "Merriweather", serif;
  font-size: 1.7rem;
  letter-spacing: 0.01rem;
  margin: 2rem 0;
}

.author-meta span {
  display: inline-block;
  margin: 0 2rem 1rem 0;
  word-wrap: break-word;
}

.author-meta a {
  text-decoration: none;
}

.archive-template .author-profile .author-meta {
  display: none;
}

.read-next {
  align-items: stretch;
  box-align: stretch;
  display: box;
  display: flex;
  display: flexbox;
  flex-align: stretch;
  margin-top: 10rem;
}

.read-next-story {
  background: #222 no-repeat center center;
  background-size: cover;
  box-flex: 1;
  color: #fff;
  display: flex;
  flex-grow: 1;
  flex-positive: 1;
  min-width: 50%;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-decoration: none;
}

.read-next-story:hover::before {
  background: rgba(0, 0, 0, 0.8);
  transition: all 0.2s ease;
}

.read-next-story:hover .post::before {
  background: #fff;
  color: #222;
  transition: all 0.2s ease;
}

.read-next-story::before {
  background: rgba(0, 0, 0, 0.7);
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.5s ease;
}

.read-next-story .post {
  padding-bottom: 6rem;
  padding-top: 6rem;
}

.read-next-story .post::before {
  border: rgba(255, 255, 255, 0.5) 1px solid;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  content: "Read Next Post";
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  padding: 4px 10px 5px;
  text-transform: uppercase;
  transition: all 0.5s ease;
}

.read-next-story.prev .post::before {
  content: "Read Previous Post";
}

.read-next-story h2 {
  color: #fff;
  margin-top: 1rem;
}

.read-next-story p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.read-next-story.no-cover {
  background: #f5f8fa;
}

.read-next-story.no-cover::before {
  display: none;
}

.read-next-story.no-cover .post::before {
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.5);
}

.read-next-story.no-cover h2 {
  color: rgba(0, 0, 0, 0.8);
}

.read-next-story.no-cover p {
  color: rgba(0, 0, 0, 0.5);
}

.read-next-story.no-cover + .read-next-story.no-cover {
  border-left: rgba(0, 0, 100, 0.04) 1px solid;
  box-sizing: border-box;
}

.read-next + .site-footer {
  bottom: 0;
  left: 0;
  margin: 0;
  position: absolute;
  right: 0;
}

.gist table {
  font-size: 1.4rem;
  margin: 0;
  text-rendering: auto;
}

.gist td {
  line-height: 1.4;
}

.gist .line-number {
  min-width: 25px;
}

.content .embedPastebin {
  margin-bottom: 1.75em;
}

.pagination {
  color: #9eabb3;
  font-family: "Open Sans", sans-serif;
  font-size: 1.3rem;
  margin: 4rem auto;
  max-width: 710px;
  position: relative;
  text-align: center;
  width: 80%;
}

.pagination a {
  color: #9eabb3;
  transition: all 0.2s ease;
}

.older-posts,
.newer-posts {
  border: #bfc8cd 1px solid;
  border-radius: 4px;
  display: inline-block;
  padding: 0 15px;
  position: absolute;
  text-decoration: none;
  transition: border 0.3s ease;
}

.older-posts {
  right: 0;
}

.page-number {
  display: inline-block;
  min-width: 100px;
  padding: 2px 0;
}

.newer-posts {
  left: 0;
}

.older-posts:hover,
.newer-posts:hover {
  border-color: #98a0a4;
  color: #889093;
}

.extra-pagination {
  border-bottom: #ebf2f6 1px solid;
  display: none;
}

.extra-pagination::after {
  background: #fff;
  border: #e7eef2 1px solid;
  border-radius: 100%;
  bottom: -5px;
  box-shadow: #fff 0 0 0 5px;
  content: "";
  display: block;
  height: 7px;
  left: 50%;
  margin-left: -5px;
  position: absolute;
  width: 7px;
}

.extra-pagination .pagination {
  width: auto;
}

.archive-template .main-header {
  max-height: 30vh;
}

.archive-template .extra-pagination {
  display: block;
}

.site-footer {
  color: #bbc7cc;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.75em;
  margin: 8rem 0 0 0;
  padding: 1rem 15px;
  position: relative;
}

.site-footer a {
  color: #bbc7cc;
  font-weight: bold;
  text-decoration: none;
}

.site-footer a:hover {
  border-bottom: #bbc7cc 1px solid;
}

.poweredby {
  display: block;
  float: right;
  text-align: right;
  width: 45%;
}

.copyright {
  display: block;
  float: left;
  width: 45%;
}

@media only screen and (max-width: 900px) {
  blockquote {
    margin-left: 0;
  }

  .main-header {
    box-sizing: border-box;
    height: auto;
    height: 60vh;
    min-height: 240px;
    padding: 15% 0;
  }

  .scroll-down,
  .home-template .main-header::after { display: none; }

  .archive-template .main-header {
    min-height: 180px;
    padding: 10% 0;
  }

  .blog-logo img {
    padding: 4px 0;
  }

  .page-title {
    font-size: 4rem;
    letter-spacing: -1px;
  }

  .page-description {
    font-size: 1.8rem;
    line-height: 1.5em;
  }

  .post {
    font-size: 0.95em;
  }

  body:not(.post-template) .post-title {
    font-size: 3.2rem;
  }

  hr {
    margin: 2.4em 0;
  }

  ol,
  ul {
    padding-left: 2em;
  }

  h1 {
    font-size: 4.5rem;
    text-indent: -2px;
  }

  h2 {
    font-size: 3.6rem;
  }

  h3 {
    font-size: 3.1rem;
  }

  h4 {
    font-size: 2.5rem;
  }

  h5 {
    font-size: 2.2rem;
  }

  h6 {
    font-size: 1.8rem;
  }

  .author-profile {
    padding-bottom: 4rem;
  }

  .author-profile .author-bio {
    font-size: 1.6rem;
  }

  .author-meta span {
    display: block;
    margin: 1.5rem 0;
  }

  .author-profile .author-meta span {
    font-size: 1.6rem;
  }

  .post-head.main-header {
    height: 45vh;
  }

  .tag-head.main-header,
  .author-head.main-header {
    height: 30vh;
  }

  .no-cover.post-head.main-header {
    height: 55px;
    padding: 0;
  }

  .no-cover.author-head.main-header {
    padding: 0;
  }

  .read-next {
    flex-direction: column;
    margin-top: 4rem;
  }

  .read-next p {
    display: none;
  }

  .read-next-story.no-cover + .read-next-story.no-cover {
    border-left: none;
    border-top: rgba(0, 0, 100, 0.06) 1px solid;
  }
}

@media only screen and (max-width: 500px) {
  .main-header {
    height: 40vh;
    margin-bottom: 15px;
  }

  .no-cover.main-header {
    height: 30vh;
  }

  .archive-template .main-header {
    max-height: 20vh;
    min-height: 160px;
    padding: 10% 0;
  }

  .main-nav {
    margin-bottom: 2rem;
    padding: 5px;
  }

  .blog-logo {
    padding: 5px;
  }

  .blog-logo img {
    height: 30px;
  }

  .menu-button {
    background: transparent;
    border-radius: 0;
    border-width: 0;
    color: #2e2e2e;
    padding: 0 5px;
  }

  .menu-button:hover {
    background: none;
    border-color: transparent;
    color: #2e2e2e;
  }

  body.nav-opened .menu-button {
    background: none;
    border: transparent;
  }

  .main-nav.overlay a:hover {
    background: transparent;
    border-color: transparent;
    color: #fff;
  }

  .no-cover .main-nav.overlay {
    background: none;
  }

  .no-cover .main-nav.overlay .menu-button {
    border: none;
  }

  .main-nav.overlay .menu-button {
    border-color: transparent;
  }

  .nav-title {
    top: 25px;

  }

  .nav-close {
    position: absolute;
    top: 18px;
  }

  .nav ul {
    padding: 60px 9% 5%;
  }

  .inner,
  .pagination {
    margin: 2rem auto;
    width: auto;
  }

  .post {
    line-height: 1.65em;
    margin-bottom: 2rem;
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 2rem;
    padding-bottom: 2rem;
    width: auto;
  }

  .post-date {
    display: none;
  }

  .post-template .post-header {
    margin-bottom: 2rem;
  }

  .post-template .post-date {
    display: inline-block;
  }

  hr {
    margin: 1.75em 0;
  }

  p,
  ul,
  ol,
  dl {
    font-size: 0.95em;
    margin: 0 0 2.5rem 0;
  }

  .page-title {
    font-size: 3rem;
  }

  .post-excerpt p {
    font-size: 0.85em;
  }

  .page-description {
    font-size: 1.6rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0 0 0.3em 0;
  }

  h1 {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  h2 {
    font-size: 2.4rem;
    letter-spacing: 0;
  }

  h3 {
    font-size: 2.1rem;
  }

  h4 {
    font-size: 1.9rem;
  }

  h5 {
    font-size: 1.8rem;
  }

  h6 {
    font-size: 1.8rem;
  }

  body:not(.post-template) .post-title {
    font-size: 2.5rem;
  }

  .post-template .site-footer {
    margin-top: 0;
  }

  .post-content img {
    max-width: 112%;
    min-width: 0;
    padding: 0;
    width: calc(100% + 32px);
  }

  .post-meta {
    font-size: 1.3rem;
    margin-top: 1rem;
  }

  .post-footer {
    padding: 5rem 0 3rem 0;
    text-align: center;
  }

  .post-footer .author {
    border-bottom: #ebf2f6 1px dashed;
    margin: 0 0 2rem 0;
    padding: 0 0 1.6rem 0;
  }

  .post-footer .share {
    position: static;
    width: auto;
  }

  .post-footer .share a {
    margin: 1.4rem 0.8rem 0 0.8rem;
  }

  .author-meta li {
    float: none;
    line-height: 1.75em;
    margin: 0;
  }

  .author-meta li::before {
    display: none;
  }

  .older-posts,
  .newer-posts {
    margin: 10px 0;
    position: static;
  }

  .page-number {
    display: block;
  }

  .site-footer {
    margin-top: 3rem;
  }

  .author-profile {
    padding-bottom: 2rem;
  }

  .post-head.main-header {
    height: 30vh;
  }

  .tag-head.main-header,
  .author-head.main-header {
    height: 20vh;
  }

  .author-profile .author-image {
    margin-top: -70px;
  }

  .author-profile .author-meta span {
    font-size: 1.4rem;
  }

  .archive-template .main-header .page-description {
    display: none;
  }

  .read-next {
    margin-bottom: -37px;
    margin-top: 2rem;
  }

  .read-next .post {
    width: 100%;
  }

}

@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(-90deg);
  }

  40% {
    transform: translateY(-10px) rotate(-90deg);
  }

  60% {
    transform: translateY(-5px) rotate(-90deg);
  }
}