body {
  margin: 0 auto;
  padding: 20px;
  font-family: "Balsamiq Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  background-color: #fff;
  color: #000
}

body#home {
  max-width: 602px;
}

body#book {
  max-width: 1000px;
}

header#masthead,
h1,
h2,
h3,
dt,
small,
.small,
dl#tweetlist dt,
footer,
label,
#commentlist ol li cite,
div.blogparent,
input[type="submit"],
figcaption {
  font-family: "Balsamiq Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

span.url {
  font-family: "Balsamiq Sans", sans-serif;
  font-weight: 400;
}

small,
.small,
footer,
dl#tweetlist dt,
figcaption {
  font-size: 0.8em;
  color: #666
}

h1,
h2,
h3,
label,
header#masthead {
  line-height: 1em
}

h1 {
  font-size: 2em
}

h2 a {
  color: #000;
  text-decoration: underline
}

h2,
h3 {
  margin-top: 0.5em;
  font-size: 3.5em;
  margin-bottom: 0.2em;
}

h3 {
  font-size: 1.2em;
  margin-bottom: 0.8em;
}

a {
  text-decoration: none;
  color: #20b;
  overflow-wrap: break-word;
  word-wrap: break-word
}

a:visited {
  color: #606
}

a:hover {
  text-decoration: underline
}

dt {
  margin-top: 2em;
  font-size: 1.2em
}

li,
dd {
  margin-bottom: 1em
}

figure {
  margin: 0
}

blockquote {
  margin: 2em;
  color: #444
}

pre {
  overflow-x: auto;
  color: #fff;
  background-color: #333;
  padding: 0.25em;
  line-height: 1
}

code {
  font-size: 0.8em
}

img,
iframe,
audio {
  max-width: 100%;
  display: block
}

img {
  height: auto
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
  padding: 0.5em 0.6em;
  display: block;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 3px #ddd;
  border-radius: 4px;
  vertical-align: middle;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 99%
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: #129FEA
}

input[type="submit"] {
  padding: 5px;
  font-size: 1em;
  background: #000;
  color: #fff;
  font-weight: bold
}

form.inlineform input {
  display: inline
}

select {
  height: 2.25em;
  border: 1px solid #ccc;
  background-color: #fff
}

label {
  margin: 0.5em 0 0.2em
}

section {
  margin-bottom: 4em
}

header#masthead {
  margin-bottom: 1em;
  margin: 0;
}

header#masthead a {
  color: #000
}

body#home main h2 small {
  margin-left: 2em
}

body#home main ul {
  padding-left: 0
}

body#home main ul li {
  list-style-type: none
}

body#home main section#photos img {
  display: inline
}

div.blogparent {
  font-size: 1.2em;
  margin: 1em 0 -0.5em 0
}

body#oneblog main article header h1 {
  margin-bottom: 0
}

div#comments ol {
  padding-left: 2em
}

div#comments li {
  margin-bottom: 2em
}

div#comments li p {
  overflow-wrap: break-word;
  word-wrap: break-word
}

.response {
  display: block;
  margin-left: 1em;
  padding: 4px;
  background-color: #ffc;
  border: 1px solid #000;
  font-family: sans-serif;
  font-size: 14px
}

body#book figure img,
body#booklist figure img {
  float: left;
  margin-right: 2em
}

body#booklist div.abook {
  margin: 0 0 8em 0
}

body#interview header h2 a {
  color: #009;
  text-decoration: underline
}

cite {
  color: #666
}

div.presentation_summary {
  margin-bottom: 6em
}

@media screen and (max-width: 440px) {
  header#masthead {
    font-size: 2em
  }

  div.presentation_summary img {
    display: block
  }
}

@media screen and (min-width: 440px) {
  header#masthead {
    font-size: 3em
  }

  div.presentation_summary img {
    float: right
  }
}

@media(prefers-color-scheme:dark) {

  body,
  blockquote {
    background-color: #000;
    color: #ccc
  }

  a {
    color: #88f
  }

  a:visited {
    color: #aaf
  }

  .response {
    background-color: #444
  }

  h1,
  h1 a,
  h2,
  h2 a,
  h3,
  h3 a,
  header#masthead a {
    color: #080
  }
}

ul#reviews {
  margin: 0;
  padding: 0
}

ul#reviews li {
  list-style-type: none
}

ul#reviews li blockquote {
  margin: 1em 0 3em 0
}

ul#reviews li blockquote cite {
  display: block;
  margin-top: 1em
}

/* Remove old #mybooks styles */
/* #mybooks img { ... } */
/* #mybooks h3 { ... } */
/* #mybooks br { ... } */

/* New styles for #mybooks figures to float and sit side-by-side */
section {
  overflow: auto; /* To contain floated children */
}

section#homebooks figure {
  float: left; /* Approximate width based on typical book cover thumbnail size */
  margin: 0 0 30px 0; /* Right and bottom margin for spacing */
}

section#homebooks figure img {
  display: block; /* Ensure it behaves as a block element within the figure */
  max-width: 100%; /* Make image responsive within the figure */
  height: auto; /* Maintain aspect ratio */
  margin: 0 auto; /* Center image within the figure, if figure is wider */
}

section#homebooks figure figcaption {
  margin: 15px 5px 5px 5px;
}

section#abook figure {
  float: right;
  margin: 0 0 30px 0;
  overflow: auto;
  width: 100%;
}

section#abook figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

section#abook figure figcaption {
  font-size: 0.8em;
  float: right;
  max-width: calc(100% - 250px);
  margin-top: 15px;
  margin-right: 20px;
  margin-bottom: 5px;
  margin-left: 5px;
}

/* New rule for the link wrapping the image */
section#abook figure > a {
  float: left;
  width: 200px;
}

/* New rule for the image inside the link */
section#abook figure > a > img {
  display: block;
  width: 100%;
  height: auto;
}

/* Add media query for narrow screens (iPhone width) */
@media screen and (max-width: 430px) {
  section#abook figure {
    float: none;
    width: 100%;
  }

  section#abook figure > a {
    float: top;
    width: 100%;
    margin-bottom: 15px;
  }

  section#abook figure figcaption {
    float: none;
    max-width: 100%;
    margin: 0 0 15px 0;
  }
}

body#fp dl {
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0
}

body#fp dt {
  font-family: sans;
  font-size: 0.8em;
  float: left;
  width: 20%;
  padding: 0;
  margin: 0
}

body#fp dd {
  float: left;
  width: 80%;
  padding: 0;
  margin: 0
}

.helvetica-regular {
  font-family: "Helvetica", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.patrick-hand-regular {
  font-family: "Patrick Hand", cursive;
  font-weight: 400;
  font-style: normal;
}

.londrina-solid-thin {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.londrina-solid-light {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.londrina-solid-regular {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.londrina-solid-black {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* <weight>: Use a value from 100 to 900 */
/* <uniquifier>: Use a unique and descriptive class name */

.gluten {
  font-family: "Gluten", cursive;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "slnt"0;
}

.margarine-regular {
  font-family: "Margarine", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.gochi-hand-regular {
  font-family: "Gochi Hand", cursive;
  font-weight: 400;
  font-style: normal;
}

.balsamiq-sans-regular {
  font-family: "Balsamiq Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.balsamiq-sans-bold {
  font-family: "Balsamiq Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.balsamiq-sans-regular-italic {
  font-family: "Balsamiq Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.balsamiq-sans-bold-italic {
  font-family: "Balsamiq Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.mclaren-regular {
  font-family: "McLaren", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.jua-regular {
  font-family: "Jua", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.rubik-vinyl-regular {
  font-family: "Rubik Vinyl", system-ui;
  font-weight: 400;
  font-style: normal;
}

.wellfleet-regular {
  font-family: "Wellfleet", serif;
  font-weight: 400;
  font-style: normal;
}