@charset "UTF-8";

/* Import ET Book styles
   adapted from https://github.com/edwardtufte/et-book/blob/gh-pages/et-book.css */

@font-face {
    font-family: "et-book";
    src: url(a72541f0e1b0b94958f0.eot);
    src: url(a72541f0e1b0b94958f0.eot?#iefix) format("embedded-opentype"), url(f0978ff180e390cfe5b7.woff) format("woff"), url(2ff979ee560c8ed98b82.ttf) format("truetype"), url(dc298c946a653b5c5024.svg#etbookromanosf) format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "et-book";
    src: url(e33087057ceeeb3bd131.eot);
    src: url(e33087057ceeeb3bd131.eot?#iefix) format("embedded-opentype"), url(9b67c011e7ee1a800ed4.woff) format("woff"), url(958a94345462dfe43ab8.ttf) format("truetype"), url(d573bab55b663d68dfd1.svg#etbookromanosf) format("svg");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "et-book";
    src: url(8a02de72f4bea81d9fa3.eot);
    src: url(8a02de72f4bea81d9fa3.eot?#iefix) format("embedded-opentype"), url(54f0b5118d008bde769e.woff) format("woff"), url(52e4b4b272a4969c6125.ttf) format("truetype"), url(75ae57777773435beeb5.svg#etbookromanosf) format("svg");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "et-book-roman-old-style";
    src: url(cd66af36cffacb46f57b.eot);
    src: url(cd66af36cffacb46f57b.eot?#iefix) format("embedded-opentype"), url(71857afe05365b8105b5.woff) format("woff"), url(97f04f745f91579942f2.ttf) format("truetype"), url(a8b8c0c101663c704dda.svg#etbookromanosf) format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Tufte CSS styles */
html {
    font-size: 15px;
}

body {
    width: 87.5%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12.5%;
    font-family: et-book, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
    background-color: #fffff8;
    color: #111;
    max-width: 1400px;
    counter-reset: sidenote-counter;
}

/* Adds dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #151515;
        color: #ddd;
    }
}

h1 {
    font-weight: 400;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    font-size: 3.2rem;
    line-height: 1;
}

h2 {
    font-style: italic;
    font-weight: 400;
    margin-top: 2.1rem;
    margin-bottom: 1.4rem;
    font-size: 2.2rem;
    line-height: 1;
}

p.subtitle {
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    display: block;
    line-height: 1;
}

section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

p,
ul {
    font-size: 1.4rem;
    line-height: 2rem;
}

p {
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
    padding-right: 0;
    vertical-align: baseline;
}

/* Chapter Epigraphs */
/* end chapter epigraphs styles */

section > p {
    width: 55%;
}

/* 50 + 5 == 55, to be the same width as paragraph */

section > ul {
    width: 50%;
    -webkit-padding-start: 5%;
}


li:not(:first-child) {
    margin-top: 0.25rem;
}

/* Links: replicate underline that clears descenders */
a:link,
a:visited {
    color: inherit;
}

a:link {
    text-decoration: none;
    background: -webkit-linear-gradient(#fffff8, #fffff8), -webkit-linear-gradient(#fffff8, #fffff8), -webkit-linear-gradient(currentColor, currentColor);
    background: linear-gradient(#fffff8, #fffff8), linear-gradient(#fffff8, #fffff8), linear-gradient(currentColor, currentColor);
    -webkit-background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
    -moz-background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
    background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
    background-repeat: no-repeat, no-repeat, repeat-x;
    text-shadow: 0.03em 0 #fffff8, -0.03em 0 #fffff8, 0 0.03em #fffff8, 0 -0.03em #fffff8, 0.06em 0 #fffff8, -0.06em 0 #fffff8, 0.09em 0 #fffff8, -0.09em 0 #fffff8, 0.12em 0 #fffff8, -0.12em 0 #fffff8, 0.15em 0 #fffff8, -0.15em 0 #fffff8;
    background-position: 0% 93%, 100% 93%, 0% 93%;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    a:link {
        background-position-y: 87%, 87%, 87%;
    }
}

/* Adds dark mode */
@media (prefers-color-scheme: dark) {
    a:link {
        text-shadow: 0.03em 0 #151515, -0.03em 0 #151515, 0 0.03em #151515, 0 -0.03em #151515, 0.06em 0 #151515, -0.06em 0 #151515, 0.09em 0 #151515, -0.09em 0 #151515, 0.12em 0 #151515, -0.12em 0 #151515, 0.15em 0 #151515, -0.15em 0 #151515;
    }
}

a:link::selection,
a:link::-moz-selection {
    text-shadow: 0.03em 0 #b4d5fe, -0.03em 0 #b4d5fe, 0 0.03em #b4d5fe, 0 -0.03em #b4d5fe, 0.06em 0 #b4d5fe, -0.06em 0 #b4d5fe, 0.09em 0 #b4d5fe, -0.09em 0 #b4d5fe, 0.12em 0 #b4d5fe, -0.12em 0 #b4d5fe, 0.15em 0 #b4d5fe, -0.15em 0 #b4d5fe;
    background: #b4d5fe;
}

/* Sidenotes, margin notes, figures, captions */

@media (max-width: 760px) {
    body {
        width: 84%;
        padding-left: 8%;
        padding-right: 8%;
    }

    
    section > p {
        width: 100%;
    }

    
    section > ul {
        width: 90%;
    }
}

body {
  margin: 0;
  padding: 0;
}

ul, li {
  width: 100%;
}

.container {
  display: grid;
  grid-template-columns: 3% 3% 3% 91%;
  margin: 0;
  padding: 0;
}

section {
  margin-left: 10%;
  width: 100%;
}

.band {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.darkgreen {
  background-color: #334443;
}

.mediumgreen {
  background-color: #34656d;
}

.seafoam {
  background-color: #c6ffc1;
}
