@import url('https://fonts.googleapis.com/css?family=Barlow');
@import url('https://fonts.googleapis.com/css?family=Emblema+One');
::-moz-selection { 
  color: #fff;
  background: #a60303;
}
::selection {
  color: #fff;
  background: #a60303;
}
body {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 1em;
  color: #000;
  background-color: #fff;
}
h1,h2,h3,h4,h5,h6 {
  font-family: "Emblema One", Arial, serif;
}
h1,h2,h3,h4 {
  margin: .75em 0;
  font-size: 2em;
  font-weight: 200;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.25rem;
}
a {
    color: #303810;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    cursor: pointer;
}
a:hover {
    color: #778014;
    cursor: pointer;
}
p {
    margin-block-start: 0;
    margin-block-end: 0;
    font-weight: 100;
}
hr {
    margin: 50px 0;
}
section {
    position: absolute;
    top: 100px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    width: 88%;
    max-width: 928px;
}
footer {
    position: fixed;
    left: -78px;
    top: 70%;
    z-index: 10000;
    color: #4a535a;
    font-size: 1.7rem;
    text-align: center;
    opacity: .1;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}
.centered {
  margin: 0 auto;
  display: block;
  text-align: center;
  max-width: 100%;
}
.endnote {
  display: inline-block;
  vertical-align: super;
  font-size: .7rem;
  text-decoration: none;
}
.references { 
  margin-left: 2rem;
  text-indent: -2rem;
}
.code-comment {
  color: #bbb;
}
p.image-caption {
  padding-left: 1rem;
  margin: 0 auto;
  max-width: 800px;
  font-style: italic;
  font-size: .8rem;
  color: #999;
  border-left: 2px solid #a60303;
}
.credit, .credit a {
  font-style: italic;
  font-size: .8rem;
  color: #999;
}
.credit a:hover {
  color: #778014;
}
.other-works {
  font-style: italic;
  font-size: .8rem;
  color: #999;
}
.pullquote {
    float: right;
    max-width: 73%;
    padding: 10px 0 15px 30px;
    margin: 10px 0 5px 30px;
    border-top: 2px solid #a60303;
    border-bottom: 2px solid #a60303;
    font-size: 2rem;
    font-style: italic;
    line-height: 2rem;
}
button {
  cursor: pointer;
}

.twitter {
    position: fixed;
    bottom: 1rem;
    left: .5rem;
    opacity: .3;
    cursor: pointer;
}
.twitter img {
  width: 30px;
}
.twitter:hover {
    opacity: 1;
}
.centered {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.tab-content {
    padding-top: 17px;
    overflow: auto;
}
.fade {
    opacity: 0;
    -webkit-transition: opacity 0.3s linear;
       -moz-transition: opacity 0.3s linear;
         -o-transition: opacity 0.3s linear;
            transition: opacity 0.3s linear;
}
.fade.in {
    opacity: 1;
}
.tab-content > .tab-pane{
    display: none;
}
.tab-content > .active {
    display: block;
}
.logo {
    width: 250px;
    padding-top: 10px;
}
.center {
    text-align: center;
    display: block;
    margin: 0 auto;
}

.social-links {
    display: block;
    margin: 0 auto;
    text-align: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.social-links a:hover {
    opacity: .5;
}
.quote {
    max-width: 520px;
    margin: 0 auto;
    display: block;
}

.dropcap {
    color: #a60303;
    float: left;
    font-family: "Emblema One";
    font-size: 75px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
}
.dropcap:after {
  clear:both;
}
.full-width-image {
    width:100%;
}
.section-break-2 {
    background-color: transparent;
    border: 0;
    border-top: 1px solid #666;
    height: 16px;
    margin: 2rem auto;
    text-align: center;
    width: 80%;
}
.section-break-2:before {
    opacity: .6;
    content: '\27B0';
}
.subheader {
    font-size: 1.3em;
}

.curve{
    margin:0 auto;
    position:relative;
    width:100%;
    height:100%;
    color:#000;
    text-align: center;
    opacity: .1;
}
.curve:after{
    content: "";
    position: absolute;
    width: 23%;
    height: 40px;
    border-bottom: 3px solid #000;
    border-radius: 50%;
    left: 49.8%;
    margin-top: -18px;
}
.curve:before{
    content: "";
    position: absolute;
    width: 23%;
    height: 40px;
    border-bottom: 3px solid #000;
    border-radius: 50%;
    left: 27.2%;
    margin-top: -18px;
}
.nospace p {
    margin: 0;
    color:#ccc;
}
.editors-email:hover {
    background: #000;
    display: block;
    color: #fff
}

.bounce {
    -moz-animation: bounce 6s infinite;
    -webkit-animation: bounce 6s infinite;
    animation: bounce 6s infinite;
}
@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-4px);
    transform: translateY(-4px);
  }
  60% {
    -moz-transform: translateY(-1px);
    transform: translateY(-1px);
  }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
  60% {
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
  60% {
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }
}

/* New Styles - Individual Post */
.content {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 1.25rem 0 .5rem;
}
.main-img {
  margin: 0 auto;
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}
.block-img.spacer img {
  height: 0;
}
.block-img img {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.block-img + .block-img img {
  width: 50%;
  display: inline-block;
  float: left;
  margin: .5rem 0;
  padding-right: 1rem;
}
.block-img img:after {
  content: "";
  display: table;
  clear: both;
}
p:not(.block-img), br {
  display: block;
  clear: both;
  padding-bottom: 1rem;
  line-height: 1.7;
}
p:not(.block-img) img {
  height: 20px;
}
.meta {
  display: flex;
  flex-direction: row;
}
.meta .category, .meta .date {
  padding: 0 20px 0 0;
}
.meta .category p, .meta .date p {
  font-size: .7em;
  text-transform: uppercase;
  color: #a60303;
}
.meta .category p:before {
  content: 'FORMAT:  ';
  color: #000;
}
.meta .date p:before {
  content: 'PUBLISH DATE:  ';
  color: #000;
}
.author p {
  color: #a60303;
  display: inline-block;
  padding-bottom: 4px;
}
.author:before {
  content: 'by ';
  color: #000;
}
.author-bio {
  width: 80%;
  margin: 5rem 0;
  padding-top: 0.45rem;
  font-style: italic;
  font-size: .8rem;
  color: #999;
  border-top: 2px solid #a60303;
}
.content-block > p:first-of-type::first-letter { 
  color: #a60303;
  float: left;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  font-family: "Emblema One";
  font-size: 75px;
  line-height: 60px;
}
p em {
  font-style: italic;
}
.content ul {
  padding-bottom: 1.5rem;
}
.content ul li {
  padding-left: 2rem;
  line-height: 1.4;
  border-left: solid 2px #a60303;
}
.content ul li em {
  white-space: pre-wrap;
  font-style: italic;
}
.full-scaled-image {
  width: 100%;
}

.content ol li {
  list-style: decimal;
}

/* contributors page overrides */
#contributors .author-bio {
  font-style: normal;
  font-size: .8rem;
  color: #000;
}
#contributors .other-works a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 0 4px;
  font-style: normal;
  font-family: "Emblema One", Arial, serif;
  text-decoration: none;
  border: 2px solid #a60303;
}
#contributors .other-works a:hover {
  background: #a60303;
  color: #fff;
}
@media all and (min-width: 980px) {
  #contributors .author-bio {
    font-size: 1rem;
  }
  #contributors .content-block {
    margin-left: 2rem;
  }
}

/* buttons */
.red-button {
  position: fixed;
  display: block;
  height: 2rem;
  width: 2rem;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 50%;
  background-color: #a60303;
  outline: none;
  z-index: 100;
}
.red-button.up {
  bottom: 2rem;
  right: 1rem;
}
.red-button.up:after{
  content: '\2191';
  color: #fff;
}
.red-button.next {
  top: 2rem;
  right: 1rem;
}
.red-button.next:after{
  content: '\2192';
  color: #fff;
}
.red-button.more {
  position: fixed;
  top: 2rem;
  left: 1rem;
  background-color: transparent;
}
.red-button.more:after{
  content: '☰';
  font-size: 1.4rem;
  line-height: .5;
  padding-left: 1.75px;
}

/* pullout menu */
.pullout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -198px;
  width: 200px;
  height: 100%;
  padding: 5rem .5rem 5rem 2rem;
  background-color: #a60303;
  z-index: 99;
  opacity: .9;
}
.pullout-menu.active {
  -webkit-animation: slide 0.5s forwards;
  -webkit-animation-delay: .2s;
  animation: slide 0.5s forwards;
  animation-delay: .2s;
}
.pullout-menu-wrapper {
  margin-top: 3rem;
  padding-left: 1rem;
  border-left: 2px solid #fff;
}
.pullout-menu p {
  font-family: 'Emblema One', sans-serif;
  line-height: 1;
  padding-bottom: 2rem;
}
.pullout-menu a {
  text-decoration: none;
  color: #fff;
}
.pullout-menu a:hover {
  text-transform: none;
  color: #000;
}
.pullout-menu .social-twitter {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}
.pullout-menu .active-page-icon {
  position: absolute;
  left: -40px;
  top: 1px;
}



/* animated underline */
.pullout-menu-wrapper p {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: 400;
}
.pullout-menu-wrapper p a,
.pullout-menu-wrapper p a:hover {
  color: #fff;
  text-decoration: none;
}
.pullout-menu-wrapper p a::after {
  content: "";
  position: absolute;
}
.pullout-menu-wrapper p a::after {
  top: 65%;
  height: 2px;
  width: 0%;
  left: 5%;
  background-color: rgba(255, 255, 255, 0.6);
    transition: 0.5s ease all .3s;
}
.pullout-menu-wrapper p:hover a::after {
  width: 90%;
    transition: 0.3s ease all;
}


@-webkit-keyframes slide {
    100% { left: 0; }
}

@keyframes slide {
    100% { left: 0; }
}

@media (min-width: 775px) {
  .article-columns {
      padding: 20px 0;
      column-count:3;
      column-gap:20px;
  }
  .article-columns p:first-child {
      margin-top: 0;
  }
  .red-button.more {
    position: fixed;
  } 
  .twitter {
    position: fixed;
    float: none;
    margin: 0;
    left: 1rem;
    bottom: 2rem;
  }
}

/* desktop overrides */
@media all and (min-width: 980px) {
  .content {
    padding: 0 1.5rem;
  }
  .content-block {
    padding-left: 2rem;
  }
  .columns {
    padding: 20px 0;
    column-count: 3;
    column-gap: 20px;
  }
  .main-img {
    max-width: 80%;
  }
  .block-img img {
    max-width: 600px;
  }
  .red-button {
    right: 2rem;
  }
  .red-button.more {
    left: 2rem;
  }
  .twitter {
    left: 2rem;
  }
}



/* homepage styling */

.homepage-img-wrapper {
  display: block;
  position: relative;
  width: 100%;
}

.homepage-img {
  display: block;
  width: 100%;
  height: auto;
}

.homepage-img-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  -webkit-transition: .5s ease;
  transition: .5s ease;
  background-color: #fff;
}

.ojo-container {
  position: relative;
  margin: auto;
  max-width: 90%;
  border-bottom: 1px solid #999;
  page-break-inside: avoid;
}
.ojo-link {
  text-decoration: none;
  text-align: center;
}
.ojo-link:hover .homepage-img-overlay {
  opacity: 1;
}
.ojo {
  padding: 1rem 0 0 0;
}
.ojo-title {
  font-size: 1.6rem;
  padding-bottom: 1rem;
}
.ojo-icon {
  max-width: 220px;
  width: 100%;
}

.homepage-img-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.35;
  font-family: 'Barlow', sans-serif;
  font-size: 1.2rem;
  color: #a60303;
}

/* Infinite loop animation */
.loop-1 {
  position: absolute;
  top: 0;
  left: 0;
}
/* Triple Loop image */
#triple-loop-image {
  position: fixed;
    width: 320px;
    transform: scale(1) translate(80px,20px);
    opacity: .04;
}
#triple-loop-image.transition-shrink{
    transform: scale(4) translate(-85px,0px);
    transition: transform 1s ease-in;
}
@media (min-width: 775px) {
  #triple-loop-image {
      width: 465px;
      transform: scale(2.8) translate(115px,20px);
  }
  #triple-loop-image.transition-shrink{
      transform: scale(6) translate(15px,0px);
      transition: transform 1s ease-in;
  }
}