/* -------------- FONTS -------------- */
@charset "UTF-8";

@font-face {
  font-family: 'iA';
  src: url("/file/iAWriterQuattroS-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'iA';
  src: url("/file/iAWriterQuattroS-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

/* -------------- HEADER -------------- */
header {
  margin-top: 60px;
}
header a {
  border-bottom: none;
}
header a:hover {
  border-bottom: none;
}
header img {
  max-width: 40px;
  /* GROW */
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.25s ease-out;
}
header img:hover, header img:focus {
  /* GROW */
  transform: scale(1.05);
}
header img:active {
  /* GROW */
  transform: scale(0.95);
}

/* -------------- MAIN -------------- */

* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "iA", monospace;
  font-weight: normal;
  vertical-align: baseline;
  font-size: 16px;
  letter-spacing: -.016em;
  line-height: 1.75;
}

html {
  background: #111;
}

body {
  width: 600px;
  max-width: 94%;
  margin: auto;
  text-align: left;
  
  padding-bottom: 20px;
  
  background: #111;
  color: #fff;
}

main {
  margin-bottom: 60px;
}

/* -------------- LINKS -------------- */

a {
  color: #e879f9;
  transition: color ease 0.4s, border ease 0.4s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  overflow-wrap:break-word;
  word-wrap:break-word;
}
a:hover {
  border-bottom: 2px solid #e879f9;
}

/* -------------- OTHER -------------- */

li {
  margin-bottom:1em
}
code {
  font-size:0.8em
}
img,iframe,audio {
  max-width:100%;
  display:block
}
img {
  height:auto
}
section {
  margin-bottom: 20px;
}

blockquote, h1, h2, h3, ol, p, small, ul {
  margin-bottom: 20px;
  display: block;
}

i, cite {
  font-style: italic;
}

b, strong {
  font-weight: 700;
  color: #ddd;
}

article img:hover {
  filter: grayscale(0) opacity(100%);
}

h1, h2, h3 {
  color: #fef08a;
  margin-top: 40px;
}

h3:before {
  content: "–";
  color: #fef08a;
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

ol li {
  list-style: none;
  position: relative;
  margin-bottom: 10px;
}

ul li {
  list-style: none;
  position: relative;
  margin-bottom: 10px;
}
ul li:before {
  content: "→";
  position: absolute;
  left: -20px;
  color: #333;
}

ol li:before {
  content: "#";
  position: absolute;
  left: -20px;
  color: #333;
}

blockquote {
  position: relative;
  color: #fff;
}
blockquote p {
  padding: 0;
}
blockquote:before {
  content: "“";
  position: absolute;
  left: -20px;
  color: #fff;
}

cite {
  color: #fff;
}

small {
  display: block;
  color: #fff;
}

/* -------------- MOBILE -------------- */
@media screen and (max-width: 620px) {
  header {
    margin-top: 20px;
  }
  main {
    margin-bottom: 40px;
  }
  blockquote, ol li, ul li {
    list-style: none;
    position: relative;
    padding-left: 20px;
  }
  blockquote:before, ol li:before, ul li:before {
    left: 0;
  }
}