html,body {margin:0;padding:0;}

::selection {background: #CD254D; color:#CFCCC8;}

body {
  background:#969996;
  color:#1B1819;
  font-size:18px;
  line-height: 1.5;
  font-family: "alfabet", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1, h1 a {
  color:#F4F8F4;
  font-size:40px;
  text-decoration:none;
  margin:0;
  padding:0;
  font-weight:600;
}

h2 {
  font-size:60px;
  font-weight: 300;
}

.post h2 {
  font-size:36px;
}

a {
  color:#1B1819;
  transition: all .25s ease;
  text-decoration:none;
}

a:hover {
  color:#CD254D;
}

p a {
  color:#CD254D;
  text-decoration:underline;
}

p a:hover {
  color:#AE002A;
}

p.italic {
  font-style:italic;
}

.subtitle {
  font-weight:300;
}

@media (max-width:1024px){
  h1, h1 a, h2 {font-size:30px;}
}

.container {
  margin:80px;
}

.home .container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: flex-start;
}

@media (max-width:1024px){
  .container,
  .home .container {
    margin:30px;
    display:block;
  }
}

.primary {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: flex-start;
}

.home .primary {
  max-width:900px;
  min-height:calc(100vh - 160px);
  flex-direction: column;
  align-items: flex-start;
}

.work .primary,
.articles .primary,
.contact .primary,
.videos .primary {
    flex-direction: row;
    align-items: flex-end;
}

nav {
  margin:80px 0;
}

nav ul, nav li {
  margin:0;
  padding:0;
  list-style:none;
}

nav li a {
  display:block;
  width:300px;
  font-weight: 500;
  text-decoration:none;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding:10px 0;
  border-bottom:1px solid #656664;
  line-height: 100%;
}

nav li:last-child a {
  border-bottom:none;
}

nav li.current a {
  color:#CD254D;
}

.bio {
  margin-right:80px;
}


@media (max-width:1024px){
  .primary,
  .home .primary {
    width:100%;
    max-width:100%;
    min-height: auto;
  }

  nav {
    margin:30px 0;
    width:50%;
    min-width:300px;
  }

  nav li a {
    width:100%;
  }

  .bio {
    margin:0 auto;
  }

  .work .primary,
  .articles .primary,
  .contact .primary,
  .videos .primary,
  .post .primary {
    display:block;
  }
}

.mikeframe {
  width: calc(100% - 160px);
  max-width:720px;
}

.mikeframe .caption {
  margin-top:20px;
}

.mike {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width:720px;
  height:calc(100vh - 160px);
  min-height:600px;
  background:url('img/mike.jpg') center / cover no-repeat;
}

.mike::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('img/noise.gif') repeat;
      mix-blend-mode: multiply;
      opacity:0.2;
}

.mike .credit {
  position:absolute;
  bottom:0;
  width:100%;
  text-align: center;
  color:rgba(255,255,255,0.6);
  font-size:13px;
  font-weight:300;
}

@media (max-width:1024px){

  .mikeframe {
    width:100%;
    max-width:100%;
  }

  .mike {
    width:100%;
    max-width:100%;
    height:calc(60vh - 60px);
    min-height:420px;
    margin:40px auto;
  }
}

.bookshelf {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-start;
}

.book {
  background: url('img/book.svg') top left no-repeat;
  padding-right:10px;
  box-shadow: 5px 5px 10px 0px #0000001A;
  transition: all .25s ease;
  margin:0 40px 40px 0;
  width:180px;
  height:280px;
}

.book:hover {
  box-shadow: 10px 10px 15px 0px #00000033;
  transform: rotate(0.5deg);
}

.book.let {
  background: url('img/booklet.svg') top left no-repeat;
  padding-right:4px;
  margin:0 46px 46px 0;
  height:274px;
}

.book img {
  width:180px;
  height:270px;
}

@media (max-width:1024px){
  .bookshelf {
    justify-content:flex-start;
  }
}

.articlelist {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.articlelist a {
  display:block;
  width:100%;
}

.article {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: center;
  width:100%;
  padding:20px 0;
  border-top:1px solid #656664;
  transition: all .25s ease;
}

.article img {
  width:160px;
  height:90px;
  margin-right:20px;
}

.article .text p {
  margin:0;
}

.article .title {
  font-size:20px;
  text-decoration:none;
}

.article .date {
  font-size:13px;
  text-transform: uppercase;
  font-weight: 500;
  color:#4C4B4B;
}

.article:hover {
  background:#F4F8F4;
  border-top-color: #F4F8F4;
  padding-left:20px;
  padding-right:20px;
  width:calc(100% - 40px);
}

body.post {
  background:#F4F8F4;
}

body.post h1 a {
  color:#1B1819;
}

.post .primary {
  align-items: flex-end;
}

.post .top {
  margin-bottom:80px;
  margin-left:80px;
  margin-right:380px;
  text-align: center;
}

.top h2 {
  margin:0 auto 20px;
  line-height: 1em;
}

.top .meta {
  font-size:14px;
  text-transform: uppercase;
  font-weight:700;
  opacity:.7;
}

.post .postcontent {
  max-width:680px;
  margin:0 auto;
}

.em {
  font-style:italic;
}

.postcontent p {
  margin:30px 0;
}

.postcontent img {
  margin:20px auto;
  width:100%;
  height:auto;
}

img.hero {
  margin-top:0;
}

.caption {
  font-size:0.7em;
  text-align: center;
  opacity:0.7;
  margin: -20px auto 40px;
}

ol li {
  margin:20px 0;
}

h3 {
  font-size:24px;
  font-weight:700;
  margin:60px 0 20px;
}

a.ref {
  color:#1B1819;
  font-size:14px;
  padding:2px 2px 2px 0;
}

p.ref {
  font-size:14px;
}

@media (max-width:1024px){
  .post .top {
    margin-bottom:40px;
    margin-left:0;
    margin-right:0;
    text-align: center;
  }

  h3 {
    margin:40px 0 20px;
  }

}

@media (max-width:600px){
  .article {
    display: block;
  }
  .article img {
    margin-bottom:10px;
  }
}

.videolist {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.video {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: center;
  width:100%;
  padding:20px 0;
  border-top:1px solid #656664;
}

.video .embed {
  width:100%;
  max-width:600px;
  height:auto;
  margin-right:40px;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width:1024px){
  .video {
    display:block;
  }

  .video .embed {
    max-width:none;
    margin-right:auto;
  }
}

.contact .text,
.post .text {
  border-top:1px solid #656664;
  padding:40px 0;
}


footer {
  font-size:16px;
  margin:120px 80px 80px 80px;
}

footer a {
  padding:0 5px;
  margin-left:15px;
  font-weight:600;
}

@media (max-width:1024px){
  footer {
    margin:40px 30px;
  }
}
