html {
    overflow: unset;
}

section.intro {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 2rem 0 2rem 0;
}

.scroll-hint {
    position: relative;
    bottom: unset;
    margin-top: 2rem;
}
@media (max-width: 992px) {
    section.intro {
        height: 100vh;
        padding: 1rem;
        justify-content: center;
    }
    
}
.scroll-hint::after {
    content: "";
    display: block;
    position: relative;
    height: 2rem;
    width: 2rem;
    margin: 1rem auto 0 auto;
    rotate: 45deg;
    border-top: 1px solid transparent;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-left: 1px solid transparent;
}
/* @media (max-height: 790px) {
    .scroll-hint {
        display: none;
    }
} */

section.book-feature
/* section.about-her  */
{
    max-height: 100vh;
    margin: 0 0 10rem 0;
}
@media (max-width: 992px) {
    section.book-feature
    /* section.about-her  */
    {
        max-height: unset;
        margin-bottom: 0;
        height: fit-content;
    }
    section.quote {
        margin: 0;
    }
}
section.book-feature figure
/* section.about-her figure  */
{
    position: relative;
    height: 100%;
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
    margin: 0;
}
section.book-feature img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center right;
}
/* section.about-her img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
} */
section.book-feature .row > div
/* section.about-her .row > div  */
{
    height: 100%;
}

#topicList {
    list-style: none;
    counter-reset: num;
    padding: 1rem 0 0 0;
}
#topicList li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 1rem 0 4rem;
    counter-increment: num;
    margin-bottom: 2rem;
    cursor: pointer;
    background: var(--background);
}

#topicList li span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1.75rem;
    transform: translate(-50%, -50%);
    height: 0;
    width: 0;
    border-radius: 50%;
    background: var(--colorMain);
    transition: .25s;
}

#topicList li span::after {
    content: counter(num);
    position: absolute;
    top: 50%;
    left: 1.75rem;
    display: inline-block;
    height: 2.25rem;
    width: 2.25rem;
    transform: translate(-50%, -50%);
    font-size: 12pt;
    border: 2px solid var(--background);
    margin-right: 1rem;
    flex-shrink: 0;
    flex-grow: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: auto;
    background: var(--colorN2);
    color: var(--colorMain);
    z-index: 1;
    transition: .75s;
}

#topicList li::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 25%;
    transform: translate(100%, -50%) scaleX(0);
    height: 2px;
    width: 100%;
    background: var(--colorN2);
    z-index: -1;
    transform-origin: right;
    transition: .5s;
}

[data-active="0"] #topicList li:nth-child(1) span::before,
[data-active="1"] #topicList li:nth-child(2) span::before,
[data-active="2"] #topicList li:nth-child(3) span::before,
[data-active="3"] #topicList li:nth-child(4) span::before,
[data-active="4"] #topicList li:nth-child(5) span::before {
    height: 2.6rem;
    width: 2.6rem;
}
[data-active="0"] #topicList li:nth-child(1) span::after,
[data-active="1"] #topicList li:nth-child(2) span::after,
[data-active="2"] #topicList li:nth-child(3) span::after,
[data-active="3"] #topicList li:nth-child(4) span::after,
[data-active="4"] #topicList li:nth-child(5) span::after {
    background: transparent;
    color: var(--background);
}

[data-active="0"] #topicList li:nth-child(1):before,
[data-active="1"] #topicList li:nth-child(2):before,
[data-active="2"] #topicList li:nth-child(3):before,
[data-active="3"] #topicList li:nth-child(4):before,
[data-active="4"] #topicList li:nth-child(5):before {
    transform: translate(100%, -50%) scaleX(1);
    transition: .75s;
}

#exerptContainer {
    position: relative;
    height: fit-content;
    min-height: 100%;
    background: var(--background);
    border-radius: 1rem;
    overflow-x: hidden;
}
#exerptContainer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 2px solid var(--colorN2);
    
    border-radius: 1rem;
}
#exerptContainer .exerpt {
    position: absolute;
    top: 3rem;
    left: 3rem;
    height: calc(100% - 6rem);
    width: calc(100% - 6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateX(100%);
    transition: .25s;
}
.exerpt .location {
    font-size: 16pt;
    font-weight: 200;
    color: var(--colorMain);
}
.exerpt .title {
    font-size: 21pt;
}
.exerpt .body p {
    font-size: 13pt;
    line-height: 1.2;
}
[data-active="0"] #exerptContainer .exerpt:nth-child(1),
[data-active="1"] #exerptContainer .exerpt:nth-child(2),
[data-active="2"] #exerptContainer .exerpt:nth-child(3),
[data-active="3"] #exerptContainer .exerpt:nth-child(4),
[data-active="4"] #exerptContainer .exerpt:nth-child(5) {
    opacity: 1;
    transform: translateX(0);
    transition: .5s;
}

section.page-close {
    height: fit-content;
    margin: 0 0 var(--spacing-lg) 0;
    padding-bottom: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 992px) {
    section.page-close {
        margin: var(--spacing-xl) 0;
        padding: 0;
        height: fit-content;
    }
}

section.testimonials {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0;
}
@media (max-width: 992px) {
    section.testimonials {
        margin-top: var(--spacing-xl);
    }
}
#bookReviews {
    --review-width: 26rem;
    position: relative;
    padding-bottom: 5rem;
    width: var(--review-width);
    overflow-x: hidden;
}
.review-slide {
    position: relative;
    height: 100%;
    width: var(--review-width);
    padding: 0 12px;
    max-width: calc(100vw);
}
.review-slide .stars {
    width: 100%;
    display: flex;
}
.review-slide .star svg {
    height: 37px;
    width: 37px;
    margin-right: .5rem;
    fill: var(--colorB3);
}
.review-slide > p {
    font-style: italic;
    margin: 2rem 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 7.75rem;
}
.review-slide > p::before,
.review-slide > p::after {
    content: '"';
}


.review-slide .author {
    display: block;
    width: 100%;
    text-align: end;
    font-size: var(--body-md);
    line-height: 1;
}

#bookReviews .slider {
    width: fit-content;
    display: flex;
    transform: translateX(calc((var(--active-slide, 0) * (var(--review-width))) * -1));
    transition: .5s;
}

#bookReviews .btn-nav {
    position: absolute;
    height: 4rem;
    width: 4rem;
    top: unset;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 2;
    cursor: pointer;
}
#bookReviews .btn-nav.next {
    right: 0;
}
#bookReviews .btn-nav::after {
    content: "";
    display: block;
    height: 1.25rem;
    width: 1.25rem;
    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 2px solid black;
    border-left: 2px solid black;
    rotate: 45deg;
    transform: translate(5px, -5px);
    transition: .25s;
}
#bookReviews .btn-nav.next::after {
    border-top: 2px solid black;
    border-right: 2px solid black;
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    transform: translate(-5px, 5px);
}
#bookReviews .btn-nav:hover::after {
    transform: translate(0);
}

#bookReviews .indicators {
    position: absolute;
    left: 4rem;
    bottom: 0;
    height: 4rem;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 8rem);
    counter-reset: ind;
}
#bookReviews .btn-ind {
    background: var(--colorN2);
    counter-increment: num;
    opacity: 1;
    height: .75rem;
    width: .75rem;
    border-radius: 50%;
    padding: 0;
    margin: 0 var(--spacing-xs);
    border: none;
}
#bookReviews .btn-ind:hover {
    background: var(--colorN5);
}

#bookReviews[data-active="0"] .indicators .btn-ind:nth-child(1),
#bookReviews[data-active="1"] .indicators .btn-ind:nth-child(2),
#bookReviews[data-active="2"] .indicators .btn-ind:nth-child(3),
#bookReviews[data-active="3"] .indicators .btn-ind:nth-child(4),
#bookReviews[data-active="4"] .indicators .btn-ind:nth-child(5) {
    background: var(--colorMain);
}

@media (max-width: 992px) {
    #bookReviews {
        --review-width: 32rem;
        margin-top: var(--spacing-xl);
    }
    .review-slide > p {
        height: 7rem;
    }
}

#spanishBook figure {
    position: relative;
    width: 12rem;
    overflow: hidden;
}

#spanishBook figure img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
}