html, body { height: 100%; }
body {
  margin: 0;
}

article img, article figure {
  max-width: 800px;
  width: 800px;
  display: block;
  margin-left: -2em;
}

a {
  color: black
}

a.hover {
  position: relative;
  color: black;
  text-decoration: none;
  transition: all 0.1s ease-in-out;
  z-index: 1;
}

a.hover::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -0.15em;
  right: -0.15em;
  background-color: #000;
  transform-origin: bottom center;
  transform: scaleY(0.1);
  transition: all 0.1s ease-in-out;
}

a.hover:hover::before {
  transform: scaleY(1);
  background-color: #000
}

a.hover:hover {
  color: #fff;
}


.anchorjs-link {
  transition: all .25s linear;
}

*:hover > .anchorjs-link {
  margin-left: -1.125em !important;
}

.red {
  color: red;
  font-weight: bold
}

.green {
  color: green;
  font-weight: bold
}

.important-emoji {
  text-align: center;
  font-size: 2em;
  margin: 0 auto
}

li[data-draft=true] h2::after {
  content: "DRAFT";
  border: 1px dotted red;
  font-size: .4em;
  margin-left: 5px;
  padding: 0 2px;
  color: red;
  vertical-align: middle;
}

.site {
  height: 100%;
}

#home, #disqus_thread {
  width: 700px;
  margin-left: 10%;
}

figcaption {
  padding: 0.5em;
  text-align: center;
  border: 2px solid black;
}

#disqus_thread {
  margin: 0 auto;
}

#menu {
  list-style-type: none;
  width: 100px;
}

#menu li {
  float: left;
}

#menu a {
  text-decoration: none;
  color: black;
  font-size: 30px;
  padding: 10px;
}

.posts {
  list-style-type: none;
}

.posts a {
  color: black;
  text-decoration: none;
}

.posts h2 {
  margin-bottom: 2px
}

.posts h3 {
  margin: 2px;
  letter-spacing: -0.02em;
  font-weight: 300;
  font-style: normal;
  font-size: 15px;
  line-height: 1.1;
}

.posts time {
  font-family: Georgia;
  font-style: italic;
}

.opaque {
  opacity: 1 !important;
  filter: alpha(opacity=1) !important;
}

.background {
  height: 102%;
  width: 100%;
  display: block;
  top: -1%;
  position: fixed;
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  filter: alpha(opacity=0);
}

.cover {
  height: 100%;
  margin-top: 0;
  position: relative;
}

.cover-back a {
  position: absolute;
  margin-left: 4%;
  margin-top: 4%;
  color: white;
  z-index: 1;
  text-decoration: none;
}

.topbar {
  width: 100%;
  height: 5px;
  background-color: black;
}

.cover-layout {
  width: 100%;
  height: 100%;
  background-position: center;
  background-color: black;
  opacity: 0.5;
  position: absolute;
}

.cover-attribution {
  position: absolute;
  font-family: "Lucida Grande";
  margin-left: 8%;
  bottom: 20px;
  color: rgb(170, 170, 170);
  opacity: 0.2;
  right: 20px;
  z-index: 1;
}

.cover-title {
  height: 30%;
  position: absolute;
  margin-left: 8%;
  bottom: 0;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-family: "Lucida Grande";
}

h2 {
  letter-spacing: -0.02em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cover-title h2 {
  color: white;
  font-size: 50px;
  margin-bottom: 5px;
}

.cover-title h3 {
  letter-spacing: -0.02em;
  font-weight: 300;
  font-style: normal;
  font-size: 30px;
  line-height: 1.1;
  color: white;
  opacity: 0.65;
  margin: 0;
}

.cover-image {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.post {
  margin-top: 25px;
  margin-bottom: 30px;
  font-family: Georgia;
  letter-spacing: .01rem;
  font-weight: 400;
  font-style: normal;
  font-size: 25px;
  line-height: 1.5;
  color: #5b5b5b
}

.special-post {
  float: left;
  margin-left: -5%;
  margin-top: 0.7%;
}

.content {
  width: 700px;
  margin: 0 auto;
}

.center {
  text-align: center;
  margin: 0 auto;
}

.content iframe, .content pre {
  width: 120%;
  font-size: 20px;
}

.content .cutcsa-report {
  margin-top: -5%;
}

.content pre {
  white-space: pre-wrap;
  margin-top: 5%;
  margin-bottom: 5%;
}

.content .cutcsa-report img {
  max-width: 50%;
  margin: 0 auto;
}

blockquote {
  font-style: italic;
}

footer {
  height: 100px
}

@media (max-width: 600px), handheld and (orientation: landscape) {
  .background { display: none }
  #home {
    width: 100%;
    margin: 0 auto;
  }

  .posts {
    width: 80%;
  }

  .special-post {
    margin-left: -1.5em;
  }

  .cover-title {
    margin-left: 8%;
    height: 20%;
  }

  .cover-title h2 {
    font-size: 1em;
  }

  .cover-title h3 {
    font-size: 0.8em;
  }

  .cover-attribution {
    display: none;
  }

  .post {
    padding: 5%;
    font-size: 1.3em;
  }

  article img {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
  }

  .content pre, .content iframe {
    max-width: 90%;
    font-size: 1em;
    margin: 0 auto;
  }

  .content {
    width: 100%;
  }

  #disqus_thread {
    display: none;
  }
}

