@font-face {
  font-family: Elena;
  src: url(../fonts/elenawebregular.woff2) format("woff2"),
    url(../fonts/elenawebregular.woff) format("woff");
  font-display: swap;
}

@font-face {
  font-family: Elena;
  src: url(../fonts/elenawebregularitalic.woff2) format("woff2"),
    url(../fonts/elenawebregularitalic.woff) format("woff");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Elena;
  src: url(../fonts/elenawebbold.woff2) format("woff2"),
    url(../fonts/elenawebbold.woff) format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Mija;
  src: url(../fonts/mija_bold-webfont.woff2) format("woff2"),
    url(../fonts/mija_bold-webfont.woff) format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Mija;
  src: url(../fonts/mija_regular-webfont.woff2) format("woff2"),
    url(../fonts/mija_regular-webfont.woff) format("woff");
  font-weight: 400;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

input {
  -webkit-appearance: none;
  appearance: none;
}

html {
  font-size: 100%;
  font-family: "Elena", arial, sans-serif;
}

body {
  border-top: 6px solid #0297d6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

kbd {
  padding: 0.0625rem 0.5rem;
  border-radius: 0.125rem;
  border: 1px solid #222;
  box-shadow: 1px 1px 0 currentColor, 1px 1px 0 currentColor;
}

a:link,
a:visited {
  color: #0074d9;
  padding: 5px 1px;
}

a:active,
a:focus {
  outline: 3px dotted #d33a2c;
}

.status {
  border: 3px solid #222;
  border-radius: 3px;
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #fbd333;
}

section {
  padding: 30px 25px;
}

@media (min-width: 37.5em) {
  section {
    padding: 60px 50px;
  }
}

.inner {
  max-width: 1400px;
}

.prose {
  max-width: 600px;
}

section:first-child {
  padding-top: 0;
}

section:nth-child(2n) {
  background-color: #eaf3fb;
}

section:nth-child(4n) {
  background-color: #eaf3fb;
}

section:nth-child(4n) .prose > * {
  color: inherit;
}

.squiggly {
  text-decoration: underline wavy red;
  text-decoration-skip-ink: none;
}

.available {
  font-size: 1em;
  line-height: 1.5;
  text-transform: uppercase;
  font-weight: bold;
  color: #647582;
  letter-spacing: 0.03em;
  margin: 10px 0;
}

@media (min-width: 37.5em) {
  .available {
    font-size: 1.1875em;
    line-height: 1.68421;
  }
}

h1 {
  font-family: "Mija", "Elena", Arial, sans-serif;
  font-size: 2em;
  line-height: 1.125;
  margin-bottom: 15px;
  color: #222;
}

@media (min-width: 37.5em) {
  h1 {
    font-size: 3em;
    line-height: 1.08333;
  }
}

@media (min-width: 37.5em) {
  h1 {
    margin-bottom: 30px;
  }
}

h2 {
  font-size: 1.5em;
  line-height: 1.33333;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
  color: #222;
}

@media (min-width: 37.5em) {
  h2 {
    font-size: 2em;
    line-height: 1.25;
  }
}

@media (min-width: 37.5em) {
  h2 {
    margin-top: 25px;
  }
}

h3 {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 5px;
  color: #222;
  margin-top: 35px;
}

@media (min-width: 37.5em) {
  h3 {
    font-size: 1.1875em;
    line-height: 1.68421;
  }
}

.detail {
  font-size: 1.15em;
  line-height: 1.6em;
}

p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #222;
}

dd + dt {
  margin-top: 20px;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 2rem;
}

@media (min-width: 37.5em) {
  dl,
  p {
    font-size: 1.1875em;
    line-height: 1.68421;
  }
}

@media (min-width: 37.5em) {
  p {
    margin-bottom: 30px;
  }

  dd + dt {
    margin-top: 30px;
  }
}

p.byline {
  font-size: 1.35em;
  line-height: 1.6em;
}

@media (min-width: 37.5em) {
  p.byline {
    font-size: 1.5em;
    line-height: 1.65em;
  }
}

ol,
ul {
  margin-bottom: 2em;
  color: #222;
}

ol li,
ul li {
  font-size: 1em;
  line-height: 1.5;
  margin-left: 20px;
  margin-bottom: 5px;
}

@media (min-width: 37.5em) {
  ol li,
  ul li {
    font-size: 1.1875em;
    line-height: 1.68421;
  }
}

blockquote {
  font-style: italic;
  margin-bottom: 20px;
  padding: 0 25px;
  color: #222;
  border-left: 5px solid #0297d6;
}

blockquote p {
  font-size: 1.3em;
  line-height: 1.5em;
}

.book {
  display: block;
  max-width: 575px;
  width: 100%;
  border-radius: 11px;
  height: auto;
}

.book.border {
  border: 1px solid #eee;
}

.book-masthead {
  display: block;
  width: 100%;
  border-radius: 11px;
  height: auto;
  max-width: 543px;
  margin: 0 auto;
}

.block-section1 {
  margin-bottom: 50px;
}

.block {
  display: flex;
  flex-direction: column;
}
.block-section2 {
  order: -1;
}

@media (min-width: 64em) {
  section:first-child {
    padding-top: 60px;
  }
  .block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .block-section1 {
    grid-column: 1 / 3;
    padding-right: 50px;
  }
  .block-section2 {
    grid-column: 3 / 5;
    padding-left: 50px;
    order: 1;
  }
}

.signUpHero-description {
  font-size: 1em;
  line-height: 1.7;
  max-width: 43.75em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  color: #222;
  font-style: italic;
}

@media (min-width: 37.5em) {
  .signUpHero-description {
    font-size: 1.1877em;
    margin-bottom: 32px;
  }
}

.signUpHero a {
  color: #fff;
}

.subscribeForm {
  margin: 0 auto 60px;
}

.subscribeForm-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.subscribeForm-label {
  font-size: 1.1875em;
  line-height: 1.684210526;
  display: block;
  font-weight: 700;
  color: #222;
}

@media (min-width: 37em) {
  .subscribeForm-label {
    font-size: 1.38em;
  }
  .subscribeForm-wrapper {
    flex-wrap: nowrap;
  }
}

.subscribeForm-email {
  display: block;
  padding: 15px;
  font-size: 20px;
  font-size: 1.4em;
  font-weight: bold;
  font-family: "Elena", Arial, sans-serif;
  border-radius: 0;
  -webkit-appearance: none;
  border: 3px solid #222;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

@media (min-width: 37em) {
  .subscribeForm-email {
    display: inline-block;
    max-width: 21em;
    margin-bottom: 0;
  }
}

.subscribeForm-button:active,
.subscribeForm-button:focus {
  background-color: #4caf50;
  border-color: #4caf50;
  color: #fff;
  text-shadow: 1px 0 0 #999;
}

.subscribeForm-button {
  transition: all 0.2s ease-in;
  font-family: "Mija", "Elena", Arial, sans-serif;
  display: inline-block;
  padding: 15px 15px;
  font-size: 1.35em;
  border-radius: 8px;
  -webkit-appearance: none;
  border: 3px solid #222;
  background-color: #222;
  color: #fff;
  font-weight: bold;
  box-sizing: border-box;
  width: 100%;
}

.subscribeForm-button:hover {
  cursor: pointer;
}

@media (min-width: 37em) {
  .subscribeForm-button {
    width: auto;
    border-radius: 0 8px 8px 0;
    position: relative;
    left: -1px;
  }
}

.subscribeForm-button:hover {
  color: #fff;
}

.meta-box {
  background: #f6f6f6;
  padding: 1.5em 1em 1.5em 0;
  margin: 0 0 2em 0;
  list-style: none;
  border-radius: 11px;
  font-size: 0.9em;
  font-family: "Mija", "Elena", Arial, sans-serif;
}

.meta-box li,
.meta-box--item {
  line-height: 1.4;
  padding-left: calc(1em + 0.5em);
  background-size: auto 1em;
  background-repeat: no-repeat;
  background-position: left top;
  margin-bottom: 0.5em;
}

.meta-box--author,
.meta-box--item--author {
  background-image: url(../images/author.svg);
}

.meta-box--published {
  background-image: url(../images/published.svg);
}

.meta-box--tags {
  background-image: url(../images/tags.svg);
}

.button:link,
.button:visited {
  font-family: "Mija", "Elena", Arial, sans-serif;
  display: inline-block;
  padding: 0.9em 2.5em;
  font-size: 1.6em;
  line-height: 1.3em;
  -webkit-appearance: none;
  background-color: #0297d6;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 15px;
  border-radius: 11px;
  transition: color, background-color 0.1s ease-in;
}

@media (min-width: 37.5em) {
  .button:link,
  .button:visited {
    margin-bottom: 15px;
  }
}

.button:hover {
  background-color: rgb(26, 21, 21);
  color: #fff;
}

.basicPage {
  padding-top: 20px;
  max-width: 37.5em;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 37.5em) {
  .basicPage {
    padding-top: 25px;
  }
}

.basicPage h1 {
  font-size: 2em;
  line-height: 1.125;
  margin-bottom: 20px;
  color: #222;
}

@media (min-width: 37.5em) {
  .basicPage h1 {
    font-size: 3em;
    line-height: 1.08333;
  }
}

.basicPage h2 {
  font-size: 1.5em;
  line-height: 1.33333;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  color: #222;
  margin-top: 20px;
}

@media (min-width: 37.5em) {
  .basicPage h2 {
    font-size: 2em;
    line-height: 1.25;
  }
}

@media (min-width: 37.5em) {
  .basicPage h2 {
    margin-top: 25px;
  }
}

.basicPage h3 {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 5px;
  color: #222;
  margin-top: 20px;
}

@media (min-width: 37.5em) {
  .basicPage h3 {
    font-size: 1.2875em;
    line-height: 1.68421;
  }
}

.basicPage p {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #222;
}

@media (min-width: 37.5em) {
  .basicPage p {
    font-size: 1.1875em;
    line-height: 1.68421;
  }
}

@media (min-width: 37.5em) {
  .basicPage p {
    margin-bottom: 20px;
  }
}

.basicPage ol,
.basicPage ul {
  margin-bottom: 20px;
  color: #222;
}

.basicPage ol li,
.basicPage ul li {
  font-size: 1em;
  line-height: 1.5;
  margin-left: 20px;
  margin-bottom: 5px;
}

@media (min-width: 37.5em) {
  .basicPage ol li,
  .basicPage ul li {
    font-size: 1.1875em;
    line-height: 1.68421;
  }
}

.basicPage blockquote {
  font-style: italic;
  margin-bottom: 20px;
  padding: 0 15px;
  color: #222;
  border-left: 5px solid #0297d6;
}

.basicPage blockquote cite {
  font-weight: bold;
}

.basicPage p code,
.basicPage ul code,
.basicPage li code {
  font-size: 1.2em;
  color: #0074d9;
}

.cta {
  text-align: center;
  width: 100%;
  margin-top: 2.5em;
}

.bycaption {
  display: block;
  font-size: 1.1em;
  line-height: 1.45em;
  color: #444;
  max-width: 340px;
  text-align: center;
  margin: 0 auto 2.5em auto;
}

figure {
  margin-top: 2em;
  margin-bottom: 1em;
  padding-top: 0;
}

figure > a {
  display: block;
}

figcaption {
  display: table;
  max-width: 575px;
  margin: 0.5em 0 2.5em 0;
  font-style: italic;
  line-height: 1.45em;
  color: #666;
  font-size: calc(0.8em + 0.2vw);
  border-radius: 11px;
  padding: 1em;
  box-shadow: 0 0 5px #ddd;
  background-color: #fff;
}

figcaption::before {
  content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNyAxMy4wOSI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNjMmMyYzI7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5jYW1lcmE8L3RpdGxlPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTguNSA1LjQ0YTIuMjEgMi4yMSAwIDEgMCAyLjIxIDIuMjEgMi4yMSAyLjIxIDAgMCAwLTIuMjEtMi4yMXpNMTQuNzkgMi4yMWgtMi41NWEyLjIxIDIuMjEgMCAwIDAtMi4yNC0yLjIxaC0zYTIuMjEgMi4yMSAwIDAgMC0yLjI0IDIuMjFoLTIuNTVhMi4yMSAyLjIxIDAgMCAwLTIuMjEgMi4yMXY2LjQ2YTIuMjEgMi4yMSAwIDAgMCAyLjIxIDIuMjFoMTIuNThhMi4yMSAyLjIxIDAgMCAwIDIuMjEtMi4yMXYtNi40NmEyLjIxIDIuMjEgMCAwIDAtMi4yMS0yLjIxem0tNi4yOSA5LjM1YTMuOTEgMy45MSAwIDEgMSAzLjkxLTMuOTEgMy45MSAzLjkxIDAgMCAxLTMuOTEgMy45MXoiLz48L3N2Zz4=);
  display: inline-block;
  height: 18px;
  width: 18px;
  height: 0.8em;
  width: 1.2em;
  padding-right: 0.6em;
  display: table-cell;
  vertical-align: baseline;
  position: relative;
  top: 0.2em;
}
