@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --background: #FFFCF0;
    --text: #100F0F;
    --link: #24837B;
    --link-hover: #100F0F;
    --accent-1: #F2F0E5;
    --accent-2: #E6E4D9;
    --accent-3: #6F6E69;
    --highlight: #DAD8CE;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #100F0F;
    --text: #CECDC3;
    --link: #3AA99F;
    --link-hover: #CECDC3;
    --accent-1: #1C1B1A;
    --accent-2: #282726;
    --accent-3: #878580;
    --highlight: #343331;
  }
}

body .header {
  margin: 0;
}

@media (prefers-color-scheme: light) {
  body .header {
    background-color: #F2F0E5;
  }
  body .site-nav {
    background-color: #F2F0E5;
  }
}

@media (prefers-color-scheme: dark) {
  body .header {
    background-color: #1C1B1A;
  }
  body .site-nav {
    background-color: #1C1B1A;
  }
}

body {
  line-height: 1.75;
  font-size: 1.8rem;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.bookshelf img:hover {
  transform: scale(1.10);
  transition: transform 0.2s ease-in-out;
}

.bookgoals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
}

.bookgoals img {
  width: 120px;
  height: 180px;
  height: auto;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.bookgoals img:hover {
  transform: scale(1.10);
  z-index: 1;
}

.book-cover:hover {
  transform: translateY(-5px);
}
