:root {
  --primary-color: #db15a9;
  --secondary-color: #ffccee;
  --background-color: #fffff8;
  --muted-color: #555;
  --menu-background-color: #eee;
  --menu-emph-color: #ccc;
  --white-color: #f0f0f0;
  --black-color: #111;
  --black-emph-color: #000;

  --small-screen-threshold: 768px;
  --wrapper-max-width: 1024px;
  --large-screen-threshold: 1152px;
  --sidebar-width: 160px;
  --max-sidenote-width: 250px;
  --post-margin-left: 150px;
}

/* et-book fonts */
@font-face {
  font-family: "et-book";
  src: url("et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot");
  src:
    url("et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot?#iefix")
      format("embedded-opentype"),
    url("et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff")
      format("woff"),
    url("et-book/et-book-roman-line-figures/et-book-roman-line-figures.ttf")
      format("truetype"),
    url("et-book/et-book-roman-line-figures/et-book-roman-line-figures.svg#etbookromanosf")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "et-book";
  src: url("et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot");
  src:
    url("et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot?#iefix")
      format("embedded-opentype"),
    url("et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff")
      format("woff"),
    url("et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf")
      format("truetype"),
    url("et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg#etbookromanosf")
      format("svg");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "et-book";
  src: url("et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot");
  src:
    url("et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot?#iefix")
      format("embedded-opentype"),
    url("et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff")
      format("woff"),
    url("et-book/et-book-bold-line-figures/et-book-bold-line-figures.ttf")
      format("truetype"),
    url("et-book/et-book-bold-line-figures/et-book-bold-line-figures.svg#etbookromanosf")
      format("svg");
  font-weight: bold;
  font-style: normal;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* General setup */
body {
  font-family: et-book, Georgia, serif;
  font-size: 17px;
  line-height: 1.5em;
  background-color: var(--background-color);
  color: var(--black-color);
}

/* General HTML tags */
a {
  text-decoration: none;
  color: var(--primary-color);
}
a:hover {
  text-decoration: underline;
}
code {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-sizing: border-box;
  font-family: Inconsolata, Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 17px;
  line-height: 18px;
  padding-bottom: 2px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 2px;
  white-space: pre;
}
ol {
  list-style: outside decimal;
}
ul {
  list-style: outside disc;
}
pre {
  padding: 0.8em;
  font-size: 15px;
  font-family: Inconsolata, monospace;
  line-height: 1.1em;
  overflow: auto;
}
a.autolink {
  font-family: Inconsolata, Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 1em;
}
blockquote {
  margin: 1.5em 1.5em 1.5em 0.75em;
  padding-left: 0.75em;
  border-left: 4px solid var(--primary-color);
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}

.clear {
  clear: both;
}

em {
  font-style: italic;
  color: var(--black-emph-color);
}
strong {
  font-weight: bold;
  color: var(--black-emph-color);
}
