
:root {
  /* --main-accent: #A24521; */
  /* --main-accent: black; */
  --main-accent: #001726;
}

html {
  min-height: 100vh;

  border-left: 20px solid var(--main-accent);
}

body {
  margin: 0;
}

.backwards{
  display: inline-block;
  position: absolute;
  top: 0;
  left: 10px;
  padding: 10px 5px;
  overflow: hidden;

  border-bottom: 1px solid black;
  background:white;
  font-family: minion-pro, serif;
  color: black;
  text-decoration: none;
  transition: left .1s ease-in-out,border .1s ease-in-out;
}

.backwards:hover  {
  left: 0px;
  padding-right: 15px;

  border-bottom-width: 2px;
}

.ripcord {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1;

  font-family: minion-pro, serif;
  text-decoration: none;
  color: rgba(0,0,0,.5);
  visibility: hidden;
  transition: margin-bottom .2s ease-in-out;
}

.ripcord:before {
  content: '\2191';
  visibility: visible;
}

.ripcord-cover {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  right: 40px;
  height: 100vh;
  width: 100px;
  z-index: 1000;

  background: white;
}

body > header {
  margin-top: 90px;
}

header {
  text-align: center;
}

article {
  display: grid;
  grid-template-columns: 1fr 60px 608px 60px 1fr;

  font-family: minion-pro, serif;
}

article {
  margin-top: 100px;
}

article:after {
  content:'';
  display: inline-block;
  grid-column-start: 3;
  width: 19px;
  height: 26px;
  margin: 0 auto;
  margin-top: 100px;

  background: var(--main-accent);
}

article header, article > p, article ul, article h2 {
  grid-column-start: 3;
  margin-bottom: .5em;
  margin-top: .5em;
}

article header img {
  margin-bottom: 35px;

  border-radius: 10px;
}

article img {
  width: 100%
}

article figure {
  grid-column-start: 2;
  grid-column-end: 5;
  width: 100%;
  margin: 0;
  margin-top: 2em;
  margin-bottom: 2em;
}

article figure img {
  /* width: 100%; */

  border-radius: 15px;
  border-bottom-right-radius: 0;
}

article .video {
  grid-column-start: 2;
  grid-column-end: 5;
  margin: 2em 0;
  overflow: hidden;
  position: relative;

  border-top-left-radius: 20px;
}

article .video.youtube {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

article .video.youtube img {
  grid-row-start: 1;
  grid-column-start: 1;
  grid-column-end: 4;
}

article .video.youtube .caption {
  grid-row-start: 1;
  grid-column-start: 3;
  grid-column-end: 4;
  padding-top: 50%;
  position: relative;

  text-align: center;
  background: rgba(0,0,0,.7);
  color: white;
}

article .video.youtube .title {
  display: inline-block;
  margin-bottom: 15%;
  padding: 0 10px;

  font-size: 18px;
}

article .video.youtube a {
  color: white;
  text-decoration: none;
  border-bottom: 4px solid white;
}

article .video.youtube a:hover {
  opacity: .7;
  /* color: black; */

}

article .video.youtube a:hover:before {
  color: black;
}

article .video.youtube a:before {
  display: block;
  content:'\27FF';

  font-size: 100px;
  line-height: 60px;
  color: white;

}

article .caption {
  grid-column-start: 4;
}

article h1 {
  margin: 0;

  font-family: casablanca-urw, sans-serif;
  font-weight: 300;
  font-size: 64px;
  color: #001726;
}

article .tagline {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 51px;

  font-family: 'Fanwood Text', serif;
  font-size: 21px;
  font-weight: 100;
  font-style: italic;
  color: #4A4A4A;
}

article > p {
  font-family: minion-pro, serif;
  font-size: 21px;
  color: #001726;
}

article > p a {
  position: relative;

  color: var(--main-accent);
}

article > p a:after {
  content:'';
  height: 100%;
  width: 0;
  position: absolute;
  bottom: 0;
  left: -2px;
  z-index: -1;

  background: yellow;
  transition: .1s width ease-in-out;
}

article > p a:hover {
  text-decoration: none;
}

article > p a:hover:after {
  width: 100%;
}

article ul {
  margin: 1em 0;
  padding: 0;

  font-size: 21px;
  list-style-type: circle;
}

article hr {
  grid-column-start: 2;
  grid-column-end: 5;
  width: 10%;
  margin-top: 2em;
  margin-bottom: 2em;

  border: none;
  border-bottom: 1px solid black;
}

article blockquote {
  grid-column-start: 2;
  grid-column-end: 5;
  position: relative;
  margin: 0;
  margin-top: 2em;
  margin-bottom: 3em;
}

article blockquote p {
    font-size: 36px;
}

article blockquote footer {
  padding-right: 100px;
  text-align: right;
}

article > h2 {
  font-family: casablanca-urw, sans-serif;
  font-weight: 100;
  text-align: center;
  font-size: 48px;
}

article > h2:after {
  content: '';
  display: block;
  width: 10%;
  margin: 0 auto;
  margin-top: 15px;

  border-bottom: 1px solid;
}

article pre {
  grid-column-start: 2;
  grid-column-end: 5;
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 40px;

  font-family: monospace;
  line-height: 160%;
  font-size: 18px;
  border: #001726 1px solid;
  border-bottom-width: 2px;
  border-radius: 20px;
  border-top-left-radius: 0;
}

article .interlude {
  grid-column-start: 1;
  grid-column-end: 6;
  display: grid;
  grid-template-columns: 1fr 50% 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  height: 200vh;
  margin-top: 2em;
  margin-bottom: 2em;

  background: tomato;
  background: var(--main-accent);
}

article .interlude .test {
  grid-column-start: 2;
  grid-row-start: 2;
  display: flex;
  align-items: center;
  margin: 0 auto;
  text-align: center;

  color: white;
}


article .gallery {
  grid-column-start: 2;
  grid-column-end: 5;
  display: flex;
  flex-wrap: wrap;
  margin: 2em 0;
  overflow: hidden;

  list-style: none;
  border-radius: 20px;
  border-bottom-right-radius: 0;
}

article .gallery li {
  display: flex;
  flex: 2 2 25%;
  flex-grow: 1;
  align-items: center;
  min-width: 50%;

  outline: 10px solid white;
}

article .gallery li.landscape {
  min-width: 100%;
}

article .gallery img {
  width: 100%;
}


.index {
  /* width: 60%; */
  width: 608px;
  margin: 0 auto;
}

.index main {
    margin-top: 100px;
}

.index .introduction {
  display: block;
  margin: 0 auto;
  padding-top: .5em;
  margin-bottom: 51px;
  text-align: justify;

  font-family: 'Fanwood Text', serif;
  font-size: 21px;
  font-weight: 100;
  font-style: italic;
  color: #4A4A4A;
}

.index ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.index li {
  display: flex;
  position: relative;
  justify-content: space-between;
}

.index li:after {
  content: '';
  position: absolute;
  width: 100%;
  top: 50%;
  z-index: -1;

  border-bottom: 1px dotted black;
}

.index h2 {
  margin: 0;
  padding-right: 10px;

  font-family: casablanca-urw, sans-serif;
  font-weight: 100;
  font-size: 36px;
  color: #001726;
  background: white;
}

.index h2 a {
  position: relative;
  z-index: 1;

  color: var(--main-accent);
  text-decoration: none;
}

.index h2 a:before {
  content: '';
  width: 0;
  height: 20px;
  position: absolute;
  bottom: 0;
  left: -10px;
  z-index: -1;

  background: rgba(0,0,0,.2);
  background: tomato;
  background: yellow;
  transition: .2s ease-in-out;
}

.index h2 a:hover:before {
  width: 100%;
}

.index .date {
  display: flex;
  align-items: center;
  text-align: right;
  vertical-align: middle;
  padding-left: 10px;

  font-family: minion-pro, serif;
  font-size: 17px;
  background: white;
}

.support {
  display: block;
  width: 608px;
  margin: 0 auto;
  margin-top: 80px;
  text-align: center;

  color: #4A4A4A
}

.support hr {
  width: 80%;
  margin-top: 2em;
  margin-bottom: 2em;

  border: none;
  border-bottom: 1px dotted black;
}

.support a {
  position: relative;

  color: var(--main-accent);
}

.support a:after {
  content:'';
  height: 100%;
  width: 0;
  position: absolute;
  bottom: 0;
  left: -2px;
  z-index: -1;

  background: yellow;
  transition: .1s width ease-in-out;
}

.support a:hover {
  text-decoration: none;
}

.support a:hover:after {
  width: 100%;
}

body > footer {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 45px;

  font-family: fanwood, serif;
  font-style: italic;
  text-transform: lowercase;
}

@media (max-width:768px)  {

  .index {
    width: 80%;
    margin: 0 auto;
  }

  .index main {
    margin-top: 50px;
  }

  .index li {
    padding-bottom: 1em;
    padding-top: 1em;

    border-bottom: 1px dotted black;
  }

  .index li:after {
    display: none;
  }

  article {
    grid-template-columns: 1fr 1fr 85% 1fr 1fr;
    margin-top: 50px;
  }

  article h1 {
    margin-bottom: 1em;

    font-size: 54px;
  }

  article header img {
    width: 100%;
  }

  article .gallery li {
    min-width: 100%;
  }

  .support {
    width: 80%;
  }

  .ripcord-cover, .ripcord {
    display: none;
  }

}
