*, *:before, *:after { box-sizing: border-box; }

:root {
  --ms-base: 1rem;
  --ms-ratio: var(--major-second)
}

@media (min-width: 576px) {
  :root {
    --ms-ratio: var(--minor-third);
  }
}

@media (min-width: 720px) {
  :root {
    --ms-ratio: var(--major-third);
  }
}

html {
  font-family: georgia, serif;

  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  font-size: calc(16px + (20 - 16) * (100vw - 320px) / (768 - 320));
  line-height: 1.6;
}

@media (max-width: 320px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 576px) {
  html {
    line-height: 1.7;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 20px;
    line-height: 1.8;
  }
}

@media print {
  html {
    font-size: 14px;
  }
}

body {
  color: #666;
  margin: 0;
  padding: 0;
}

a {
  color: #0099ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  color: #000;
}


h1, h2, h3, h4 {
  font-family: helvetica, arial, sans-serif;
  font-weight: 700;
  color: #101010;
  margin: var(--ms5) 0 0 0;
  line-height: 1.4;
}

h1 {
  font-size: var(--ms3);
  letter-spacing: -0.015em;
}

h2 {
  font-size: var(--ms2)
}

h3 {
  font-size: var(--ms1)
}

h4 {
  font-size: var(--ms0);
}

p, ul, ol, dl, pre, hr, blockquote, .cp_embed_wrapper {
  margin: var(--ms2) 0 0 0;
}

ul, ol {
  padding-left: var(--ms1);
}

blockquote {
  padding: 0 var(--ms1);
  border-left: 0.25rem solid #0099ff;
  font-style: italic;
}

img {
  max-width: 100%;
}

pre {
  -webkit-overflow-scrolling: touch;
  overflow: auto;
  padding: 1rem;
}

code {
  background-color: #f3f3f3;
  color: #75715e;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 0.8rem;
  padding: 2px 4px;
}

pre code {
  background: transparent;
  border: none;
  display: block;
  line-height: 1.45;
  margin: 0;
  padding: 0;
  white-space: pre;
  word-break: normal;
  word-wrap: normal;
}

pre code:before,
pre code:after {
  content: normal;
}

hr {
  border: none;
  height: 1px;
  background: #808080;
}

/**
 * Logo
 */
.logo {
  width: 6rem;
  display: block;
}

/**
 * Article list
 */
.article-list {
  list-style: none;
  padding: 0;
}

.article-list li {
  margin-bottom: var(--ms3);
}

/**
 * Main content
 */
.main-content {
  margin: 0 auto;
  padding: var(--ms5) 0;
  max-width: 768px;
  word-wrap: break-word;
  width: 87%;
}

@media (min-width: 480px) {
  .main-content {
    width: 75%;
  }
}

.main-content > :first-child {
  margin-top: 0;
}

/**
 * Footer
 */
.site-footer {
  font-size: var(--ms-1);
  margin-top: var(--ms1);
  padding-top: var(--ms1);
}

@media print {
  .site-footer {
    display: none;
  }
}

.site-footer-credits {
  color: #999;
}

.circle-head {
  display: block;
  border-radius: 50%;
  overflow: hidden;
  margin: var(--ms4) 0 0;
  width: 6rem;
  height: 6rem;
}

/**
 * Content
 */
.twitter-tweet {
  margin: var(--ms4) auto !important;
}

.inline-img {
  display: block;
  margin: var(--ms4) auto;
}

.screen-cap {
  box-shadow: 0 2px 4px #ccc;
  display: block;
  margin: var(--ms4) auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
