.historyBlockWrapper {
    min-height: 800px;
    background-color: var(--color-light-green);
    padding: 30px 0;
}

.historyBlockWrapper h3 {
    font-family: KoskoBold, sans-serif;
    font-size: 50px;
    text-align: center;
    color: var(--color-light);
    position: relative;
}

.historyBlockWrapper h3:before,
.historyBlockWrapper h3:after {
    content: "";
    width: calc(100dvw / 2 - 200px);
    height: 1px;
    background-color: var(--color-light);
    position: absolute;
    top: 50%;
}

.historyBlockWrapper h3:before {
    left: 0;
}

.historyBlockWrapper h3:after {
    right: 0;
}

.bookDescriptionWrapper {
    width: 85%;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    display: flex;
    justify-content: center;
    flex-flow: row-reverse;
    gap: 10px;
}

.bookDescriptionCarousel {
    max-height: 500px;
    width: calc(40% - 10px);
    margin: auto 0;
}

.bookDescriptionCarousel img {
    border-radius: 20px;
}

.image-gallery, .image-gallery-content {
    width: 100%;
    height: auto;
}

.image-gallery-content .image-gallery-slide .image-gallery-image {
    max-height: 500px;
}

.image-gallery-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    overflow: hidden;
    object-position: center center;
    border-radius: 20px;
}

.fullscreen .image-gallery-slide img,
.fullscreen {
    max-height: 100vh !important;
}

.bookDescription {
    padding: 60px 30px 30px 60px;
    width: 60%;
    max-width: 800px;
    border-radius: 20px;
    border: 1px solid var(--color-dark-green);
    background-color: var(--color-light);
    position: relative;

}

.bookDescription h4 {
    color: var(--color-dark-green);
    font-size: 40px;
    line-height: 45px;
    font-family: Nunito, sans-serif;
}

.bookDescription h5 {
    display: block;
    color: var(--color-dark-green);
    font-size: 25px;
    line-height: 33px;
    font-family: Nunito, sans-serif;
}

.bookDescription h5 span {
    font-size: 20px;
    line-height: 20px;
}

.bookDescription .targetDate {
    margin-top: 30px;
    font-family: Nunito, sans-serif;
    color: #494711;
    font-size: 18px;
}

.bookDescription .preorderButton {
    margin-top: 10px;
    width: 100%;
    background-color: var(--color-yellow);
    height: 45px;
    border-radius: 20px;
    font-family: Nunito, sans-serif;
}

.bookDescription .bookDescriptionText p:first-child {
    margin-top: 30px;
}

.bookDescription .bookDescriptionText {
    font-family: Nunito, sans-serif;
    color: var(--color-dark-green);
    padding-right: 70px;
    margin-top: 30px;
}

.bookDescription #bookDescriptionReadMoreButton {
    font-family: Nunito, sans-serif;
    color: #7F7F7F;
    text-decoration: underline;
    margin-top: 15px;
}

.bookDescription .reviewBlock {
    color: #A1AC2B;
    font-family: Nunito, sans-serif;
    margin-top: 50px;
}

.bookDescription .reviewBlock a {
    text-decoration: underline;
    color: #A1AC2B;
}

@media screen and (max-width: 1000px) {
    .bookDescriptionWrapper {
        flex-direction: column-reverse;
        align-items: center;
    }

    .bookDescription {
        width: 100%;
    }

    .bookDescriptionCarousel {
        width: 100%;
    }

    .bookDescription .bookDescriptionText {
        padding-right: 0;
    }
}

@media screen and (max-width: 600px) {
    .historyBlockWrapper h3 {
        font-size: 28px;
    }

    .historyBlockWrapper h3:before,
    .historyBlockWrapper h3:after {
        width: calc(100dvw / 2 - 100px);
    }

    .bookDescriptionWrapper {
        margin-top: 20px;
        width: 95%;
    }

    .bookDescription {
        padding: 15px;
    }

    .bookDescription h4 {
        text-align: center;
        font-size: 20px;
        line-height: 25px;
    }

    .bookDescription h5 {
        font-size: 20px;
        line-height: 28px;
        text-align: center;
    }

    .bookDescription h5 span {
        font-size: 20px;
        line-height: 20px;
    }

    .bookDescription .targetDate {
        font-size: 16px;
        text-align: center;
    }

    .reviewBlock {
        text-align: center;
        padding: 0 20px;
    }
}
