/*
Theme Name: zachwp
Author: Zach Godin
Author URI: https://zachgod.in
Description: Writing blog theme for Zachary Godin
*/

*{-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;}
a, a:hover, a:focus {
  -webkit-transition: all 350ms ease;
  -moz-transition: all 350ms ease;
  -o-transition: all 350ms ease;
  transition: all 350ms ease;
  text-decoration: none;
}
button, input { outline: 0; }
h1,h2,h3,h4,h5,h6 {font-weight: normal;}
ul,ol{list-style:none;}

.button {
  color: #f3f3f3;
  display: inline-block;
  padding: 18px 28px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 4px;
  line-height: initial;
}

.button.dark {
  background-color: #242029;
}

.button.light {
  background-color: #848286;
}

.button:hover,
.button:focus {
  background-color: #666;
}

body {
  font-family: "objektiv-mk1", sans-serif;
  color: #242029;
  font-size: 17px;
}

header,
.title,
article,
footer {
  width: 835px;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}

article {
  line-height: 42px;
  padding: 50px 0;
}

article p {
  margin: 0 0 42px;
}

article.post {
  text-align: left;
}

article.post p {
  margin: 0 0 42px;
}

article p:last-child {
  margin: 0;
}

.title h1 {
  font-family: "eloquent-jf-pro", serif;
  color: #242029;
  font-size: 68px;
  letter-spacing: -2px;
  line-height: 70px;
}

.title img {
  margin: 55px 0 0;
  max-width: 100%;
  height: auto;
}

footer {
  padding: 25px 0;
}

.title p,
footer p {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 3px;
  color: #757575;
}

footer p a {
  color: #222;
}

footer p a:hover,
footer p a:focus {
  color: #999;
}

.title {
  padding: 85px 0 0;
}

header {
  padding: 30px 0 0;
}

header ul {
  margin: 15px 0 0;
}

header ul li {
  display: inline-block;
}

header ul li a {
  font-size: 12px;
  letter-spacing: 6px;
  color: #242029;
  text-transform: uppercase;
  padding: 18px 22px;
}

header ul li a:hover,
header ul li a:focus {
  color: #BBB;
}

header ul li a span {
  -webkit-transition: all 350ms ease;
  -moz-transition: all 350ms ease;
  -o-transition: all 350ms ease;
  transition: all 350ms ease;
  background-image: url(i/twitter.svg);
  -webkit-background-size: 17px;
  background-size: 17px;
  width: 20px;
  height: 18px;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  text-indent: -9999px;
  position: relative;
  top: -1px;
  opacity: 1;
}

header ul li a:hover span,
header ul li a:focus span {
  opacity: 0.5;
}

article.list ul li a {
    color: #222;
    font-size: 28px;
    font-family: "eloquent-jf-pro", serif;
    line-height: 28px;
}

article.list ul li span {
    display: block;
    text-transform: uppercase;
    font-size: 9px;
    color: #AAA;
    margin: -9px 0 0;
    font-family: "objektiv-mk1", sans-serif;
letter-spacing: 2px;
}

article.list ul li a:hover, article.list ul li a:focus {
    color: #999;
}

article.list ul li {
    margin: 0 0 30px;
    border-bottom: 1px dotted #CCC;
    padding: 0 0 20px;
}

article.list ul li:last-child {
    margin: 0;
    padding: 0;
    border-bottom: none;
}






@media (max-width: 800px) {

  .title h1 {
    font-size: 45px;
    line-height: 46px;
}

.title {
    padding: 55px 0 0;
}

header ul li a {
    font-size: 11px;
    letter-spacing: 4px;
    padding: 14px 11px;
}

.title p, footer p {
    font-size: 10px;
    letter-spacing: 3px;
}

article p {
    margin: 0 0 50px;
}

body {
    font-size: 15px;
}

article {
    line-height: 29px;
}

.button {
  margin: 2px;
}

}

@media (max-width: 480px) {
  .title h1 {
      font-size: 33px;
      line-height: 36px;
  }

  .title {
      padding: 35px 0 0;
  }

  .title img {
      margin: 20px 0 0;
  }

  article {
      padding: 30px 0;
      line-height: 24px;
  }

  article p {
      margin: 0 0 35px;
  }

  .button {
      margin: 2px 0;
      display: block;
  }

  body {
      font-size: 13px;
  }

  .title p, footer p {
      font-size: 9px;
      letter-spacing: 1px;
  }
}

article.list ul.achievements li {
    margin: 15px 0;
    padding: 0;
    border: none;
}

article.list ul.achievements {
    background: #fbfbfb;
    display: inline-block;
    padding: 11px 40px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1;
}

article.list h2 {
    font-family: "eloquent-jf-pro", serif;
    color: #434343;
    font-size: 38px;
    letter-spacing: -1px;
    line-height: 1;
    margin: 70px 0 0;
}
