@charset "UTF-8";

body {
  background-color: aliceblue;
  font-family: 'Inter';
}


#intro {
  background-color: #d1e0ec;
  padding: 32px 0;
}

main {
  max-width: 960px;
  margin: auto;
  padding: 0 8px;
}

.book h2 {
  font-family: "Alice in Wonderland";
  text-align: center;
}

.book h2::after {
  width: 0;
  border: 2px solid;
  margin: 8px auto 8px auto;
  border-radius: 50%;
}

.book h3 {
  font-family: "Lewis Carroll";
}

.book h3::after {
  content: " ";
  display: block;
  width: 128px;
  margin: 8px auto;
  border-bottom: 2px solid;
}

.book p {
  font-family: "Lewis Carroll";
}

.poem p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 16px;
  text-align: center;
}

.speech {
  font-style: italic;
  font-weight: 200;
}

#return-link__div {
  margin-top: 32px;
  text-align: center;
}

div.quote {
  margin-top: 32px;
  padding-top: 32px;
  background-color: #d1e0ec;
}

div.quote p.quote__text {
  position: relative;
  max-width: 400px;
  margin: auto;
  padding: 0 8px;
  color: #153879;
  text-align: center;
  font-style: italic;
}

div.quote p.quote__text::before {
  content: "“";
  font-family: "Alice";
  color: #000;
  font-size: 1.5em;
  display: inline-block;
  margin-top: -64px;
  position: relative;
  left: -4px;
  top: 4px;
}

div.quote p.quote__text::after {
  content: "”";
  font-family: "Alice";
  color: #000;
  font-size: 1.5em;
  display: inline-block;
  margin-top: -64px;
  position: relative;
  top: 4px;
}

div.quote span.quote__author {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-family: "Alice";
  text-transform: uppercase;
  padding-bottom: 32px;
}

div.quote span.quote__author::before {
  content: " ";
  display: block;
  width: 16px;
  margin: 8px auto;
  height: 1px;
  border-bottom: 1px solid #000;
}

footer {
  background-color: #153879;
}

footer a {
  display: block;
  padding: 8px;
  color: aliceblue;
  border: none;
  text-align: center;
  font-family: "Alice";
  text-transform: uppercase;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h1 {
  font-family: "Alice";
  font-size: 48px;
  text-align: center;
  font-weight: normal;
}

h1 + p {
  text-align: center;
  max-width: 75%;
  width: 400px;
  margin: 8px auto;
  border-top: 2px solid;
}

h2 {
  font-family: "Alice";
  margin-top: 64px;
  font-size: 32px;
  border-top: 2px solid;
  padding-top: 16px;
}

main > h2:first-of-type, h2.no-border-top,
#crossword-article h2 {
  margin-top: 32px;
  border-top: 0;
  padding-top: 0;
}

h2::after {
  content: " ";
  display: block;
  width: 64px;
  margin-bottom: 8px;
  border-bottom: 2px solid;
}

h3 {
  text-align: center;
  margin-top: 16px;
}

p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

p.asterism,
pre {
  overflow-x: hidden;
  /* For some crazy things in Alice’s Adventures in Wonderland. */
}

p + p {
  margin-top: 16px;
}

b {
  font-family: "Alice";
  text-transform: uppercase;
  font-weight: normal;
  color: #4d7eda;
}

a {
  text-decoration: none;
  color: inherit;
  border-bottom: 2px solid #4d7eda;
  transition: 0.3s linear;
}

a:hover {
  color: #4d7eda;
  border-color: #000;
}

ul {
  list-style: none;
  margin-top: 8px;
}

ul li {
  text-indent: -8px;
}

ul li::before {
  content: "— ";
}

html {
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
