.ccm-page:has(.bookshelf)::before {
    background-image: url(https://iamjonwenzel.com/application/files/8917/4802/1564/blank-wall.png);
    content: "";
    display: block;
    position: absolute;
    top: 0;
    background-size: cover;
    width: 100vw;
    height: 874px;
    z-index: -1;
    overflow: hidden;
}
.ccm-page:has(.bookshelf) .autonav__link {
    color: #000;
} 
.ccm-page:has(.bookshelf) .header__logo a {
    position: relative;
}
.ccm-page:has(.bookshelf) .header__logo a::after {
    content: url(https://iamjonwenzel.com/application/files/2517/4843/9902/jon-wenzel-black.svg);
    position: absolute;
    top: -7px;
    left: 0;
}
.bookshelf {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1px;
  list-style: none;
  padding: 0;
  margin: 200px auto 0;
  max-width: 835px;
  position: relative;
}
#floating-shelf {
    width: 100%;
    margin: 0 auto 200px;
    max-width: 900px;
    display: block;
    transform: translateY(-10px);
}
.new-section {
  margin-left: auto;
}
.planned {
  opacity: 0.5;
}
.spine-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.spine-btn:hover {
  box-shadow: 0 0 16px 4px #FABC04, 0 0 32px 8px #fff3;
  transition: box-shadow 0.2s;
}
dialog {
  background-color: #1B1E22F2;
  border: none;
  border-radius: 5px;
  position: fixed;
  top: 173px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 1038px;
  max-width: 100%;
  height: fit-content;
  margin: 0;
  padding: 0;
}
dialog .bookshelf-book-modal {
    display: flex;
    gap: 28px;
    padding: 36px;
    justify-content: center;
    align-items: center;
}
dialog img {
    max-width: 100%;
}
dialog h2, dialog h3, dialog h4, dialog p {
    color: #fff;
    margin: 0;
    padding-right: 2rem;
}
dialog h2 {
    font-size: 2rem;
    line-height: 100%
}
dialog h3.subtitle {
    color: #eeeded;
    font-family: Bangla Sangam MN;
    font-size: 1.4375rem;
    font-weight: 400;
    line-height: 140%;
    text-transform: math-auto;
}
dialog h4 {
    font-size: .9375rem;
    line-height: 100%;
    padding-top: 10px;
    text-transform: uppercase;
}
dialog h4, dialog a {
    color: #FABC04;
}
dialog p {
    font-size: 1.25rem;
    line-height: 140%;
    margin-bottom: 20px;
}
dialog a {
    font-size: 1.125rem;
}
dialog a::after {
    transform: translateY(-1px);
}
dialog button {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 15px;
    right: 22px
}
@media only screen and (max-width: 767px) {
    dialog {
        height: 100vh;
        overflow-y: scroll;
        top: 0;
    }
    .bookshelf-book-modal {
        flex-direction: column;
        justify-content: start;
    }
    .ccm-page:has(.bookshelf) .autonav__link {
        color: #fff;
        width: 100%;
        overflow-x: hidden;
    } 
    #floating-shelf {
        display: none;
    }
    .bookshelf {
        margin-top: 50px;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }
    .bookshelf-book {
        transform: rotate(270deg) translateY(-450%);
        height: 33px;
        align-items: center;
    }
    .bookshelf-book.new-section {
        margin-left: 0;
    }
}