.book-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: var(--bg-grey);
}

.book-navigation > div {
    display: flex;
    align-content: center;
}

.book-navigation > h1 {
    margin: 0 30px 0 0;
    font-weight: 300;
}

.book-navigation img {
    max-width: 50px;
    height: auto;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
    border: 0.5px solid white;
    cursor: pointer;
}

.book-navigation img:hover {
    opacity: 50%;
}

.book-navigation img.active {
    opacity: 50%;
}

.book-navigation img:not(.active):focus {
    box-shadow: none;
}

.book-navigation img:not(:last-child) {
    margin-right: 20px;
}

.book-infos-list > div:not(.active) {
    display: none;
}

.book-infos-list > div {
    background-color: var(--bg-grey);
}

.book-infos-container {
    display: flex;
    width: 100%;
}

.book-infos-left-container {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.book-infos-left {
    background-color: white;
    display: flex;
    justify-content: flex-end;
    min-height: 815px;
}

.book-infos-left > div {
    display: flex;
    flex-direction: column;
    margin-top: 75px;
    padding: 20px;
    z-index: 2;
}

.book-cover {
    max-width: 230px;
    height: auto;
    margin-bottom: 10px;
}

.book-preview-image {
    max-width: 50px;
    height: auto;
}

.book-preview-image:not(:last-child) {
    margin-right: 10px;
}

.book-preview-image-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.book-infos {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    width: fit-content;
    align-items: flex-start;
    padding-bottom: 10px;
    border-bottom: 1px solid lightgrey;
}

.book-infos > span {
    font-weight: 500;
    font-size: 0.6rem;
}

.book-infos > span:not(:last-child) {
    margin: 0 0 5px 0;
}

.book-infos > span:last-child {
    margin: 0;
}

.book-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
}

.book-price-container > span {
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 10px;
}

.book-price-container > a {
    padding: 7px 20px;
    background-color: black;
    color: white;
    border: 1px solid black;
    cursor: pointer;
    text-decoration: none;
}

.book-price-container > a:hover {
    background-color: white;
    color: black;
}

.book-infos-right-container {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.book-infos-right {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 710px;
    position: relative;
}

.book-infos-right > img {
    position: absolute;
    bottom: -350px;
    left: -147px;
    max-height: 1000px;
    width: auto;
    z-index: 1;
}

.book-content {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    padding: 50px;
    max-width: 65%;
}

.book-title-container {
    margin-bottom: 20px;
}

.book-title {
    font-weight: 100;
    font-size: 3rem;
    margin: 0;
    line-height: 3rem;
}

.new-book-label {
    margin: 0;
    color: #b18124;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-style: italic;
}

.book-summary {
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.book-summary > p {
    margin: 0 0 10px 0;
}

.buy-links-container {
    background-color: #8b8798;
    font-size: 0.8rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 100px;
}

.buy-link-title {
    position: absolute;
    top: -30px;
    font-weight: 500;
    margin: 0;
    color: #8b8798;
}

.buy-link-paper,
.buy-link-digital {
    color: white;
    font-weight: 300;
    margin: 0;
}

.buy-link-paper a,
.buy-link-digital a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

.buy-link-paper a:hover,
.buy-link-digital a:hover {
    text-decoration: underline;
}

.buy-link-paper .virgule:last-child,
.buy-link-digital .virgule:last-child {
    display: none;
}

.book-chroniques-container {
    display: flex;
    justify-content: flex-start;
}

.book-chroniques-container > div {
    display: flex;
    flex-direction: column;
    padding: 30px;
    max-width: 65%;
}

.chronique-container:not(.active) {
    display: none;
}

.chronique-title-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.chronique-title {
    margin: 0 10px 0 0;
    font-weight: 300;
    font-style: italic;
}

.next-chronique-btn {
    font-size: 1.3rem;
    cursor: pointer;
}

.next-chronique-btn:hover {
    opacity: 50%;
}

.chronique-title > span {
    color: grey;
    font-size: 1.1rem;
}

.chronique-chroniqueur {
    margin: 0;
    color: #976d1b;
    font-size: 0.9rem;
}

.chronique-content {
    position: relative;
    font-size: 0.8rem;
}

.chronique-content img {
    position: absolute;
    top: 0;
    left: -130px;
    max-width: 100px;
    height: auto;
    z-index: 5;
}

.chronique-content p {
    margin: 0 0 10px 0;
    color: #292317;
    word-break: break-word;
}

@media (min-width: 1536px) {
    .book-navigation > h1 {
        font-size: 2.5rem;
    }

    .book-navigation img {
        max-width: 75px;
    }

    .book-cover {
        max-width: 300px;
    }

    .book-preview-image {
        max-width: 90px;
    }

    .book-infos > span {
        font-size: 0.8rem;
    }

    .book-price-container > span {
        font-size: 2rem;
    }

    .book-infos-right {
        min-height: 900px;
    }

    .book-title {
        font-size: 4rem;
        line-height: 4rem;
    }

    .new-book-label {
        font-size: 2rem;
    }

    .book-summary {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .chronique-title {
        font-size: 2.5rem;
    }

    .chronique-title > span {
        font-size: 1.3rem;
    }

    .next-chronique-btn {
        font-size: 1.5rem;
    }

    .chronique-chroniqueur {
        font-size: 1rem;
    }

    .chronique-content {
        font-size: 0.9rem;
    }

    .chronique-content img {
        left: -180px;
        max-width: 150px;
    }
}

@media (min-height: 2000px) {
    .book-infos-right {
        min-height: 950px;
    }
}