.new-book-container {
    display: none;
}

.new-book-mobile-container {
    display: block;
    box-shadow: 0 15px 15px 0 rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.home-mobile-new-book {
    color: #ba7f00;
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 800;
    font-style: italic;
    line-height: 2.3rem;
    margin: 0;
    padding: 40px;
}

.home-mobile-img-container {
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: -250px;
    position: relative;
}

.home-mobile-cover {
    position: absolute;
    top: -25px;
    left: 30px;
    width: 190px;
    height: auto;
    z-index: 1;
}

.mobile-img-ld {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 210px;
    height: auto;
}

.home-mobile-description-container {
    padding: 40px 30px 20px 30px;
    color: #333333;
    font-size: 0.6rem;
}

.home-mobile-description-container p {
    margin: 0 0 20px 0;
}

.home-order-btn {
    background-color: #ba7f00;
    border: 1px solid #ba7f00;
    padding: 7px 30px;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
}

.home-order-btn:hover {
    background-color: #af7803;
}

.home-grey-container {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-grey);
}

.home-container h2 {
    margin: 0 0 30px 0;
    font-weight: 300;
    font-size: 2rem;
}

.home-container h2 i {
    margin-right: 15px;
}

.home-white-container {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

.home-books-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.home-book-container {
    display: flex;
    flex-direction: column;
}

.home-book-cover-container {
    position: relative;
    display: flex;
    transition: all ease-in-out 300ms;
}

.home-book-cover-container:hover {
    transform: scale(102%);
}

.home-book-cover-container img {
    max-height: 300px;
    width: auto;
    box-shadow: 0 0 10px 1px rgba(0,0,0,0.25);
}

.home-book-cover-container div {
    position: absolute;
    padding: 7px 10px;
    line-height: 0.7rem;
    width: 75px;
    color: white;
    font-size: 0.8rem;
    transform: rotate(270deg);
    bottom: 75px;
    left: -60px;
}

.violet-color {
    color: #402779;
}

.red-color {
    color: #962610;
}

.violet-bg-color {
    background-color: #402779;
}

.red-bg-color {
    background-color: #962610;
}

.home-book-info {
    padding: 30px 0 0 20px;
    max-width: 225px;
}

.home-book-info h3 {
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-size: 0.8rem;
    line-height: 0.8rem;
}

.home-book-info p {
    margin: 0;
    font-size: 0.7rem;
}

.home-auteur-container {
    height: 450px;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position-x: -225px;
}

.home-auteur-container > div {
    color: white;
    max-width: 180px;
    padding: 40px 0 0 30px;
}

.home-auteur-titre {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 2rem;
}

.home-auteur-texte {
    font-size: 0.7rem;
    margin-bottom: 30px;
}

.home-btn {
    padding: 8px 30px;
    background-color: #96c121;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.8rem;
}

.home-btn:hover {
    background-color: #769714;
}

.home-actus-container {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
    margin-bottom: 50px;
}

.home-actu-card {
    box-shadow: 0 0 10px 1px rgba(0,0,0,0.25);
    background-color: white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.home-actu-thumbnail-container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 120px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.home-actu-info {
    position: relative;
    padding: 40px 25px 25px 25px;
    max-width: 200px;
}

.home-actu-date {
    position: absolute;
    left: 0;
    top: -10px;
    color: white;
    background-color: black;
    opacity: 90%;
    padding: 10px 15px 10px 25px;
    width: fit-content;
    font-size: 0.8rem;
    line-height: 0.6rem;
}

.home-actu-info > h2 {
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1rem;
    overflow-wrap: anywhere;
    color: #882f1c;
}

.home-actu-content {
    font-size: 0.6rem;
    line-height: 0.8rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.home-podcast-container {
    max-width: 500px;
}

.home-podcast-container .podcast-separator {
    display: none;
}

@media (min-width: 1050px) {
    .new-book-mobile-container {
        display: none;
    }

    .new-book-container {
        display: block;
        box-shadow: 0 15px 15px 0 rgba(0,0,0,0.1);
        position: relative;
        z-index: 1;
        padding: 100px 0;
    }

    .new-book-container > div {
        height: 250px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .new-book-container > div > div {
        position: relative;
        color: white;
        font-size: 0.6rem;
        max-width: 230px;
        margin: 0 auto;
        padding: 20px 0;
        height: 210px;
    }

    .home-cover-container {
        position: absolute;
        bottom: -80px;
        left: -230px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .home-cover-container > img {
        width: 200px;
        height: auto;
        margin-bottom: 10px;
        box-shadow: 0 0 10px 1px rgba(0,0,0,0.25);
    }

    .home-order-btn {
        background-color: #ba7f00;
        border: 1px solid #ba7f00;
        padding: 7px 30px;
        color: white;
        border-radius: 5px;
        font-weight: 600;
        font-size: 1.1rem;
        cursor: pointer;
        text-decoration: none;
    }

    .home-order-btn:hover {
        background-color: #af7803;
    }

    .home-new-book {
        position: absolute;
        top: -75px;
        left: 0;
        color: #ba7f00;
        text-transform: uppercase;
        font-size: 2.5rem;
        font-weight: 800;
        font-style: italic;
        line-height: 2rem;
        margin: 0;
    }

    .img-ld {
        position: absolute;
        width: 300px;
        height: auto;
        bottom: 0;
        right: -350px;
    }

    .home-book-quote {
        position: absolute;
        bottom: -75px;
        left: 0;
        width: 500px;
        color: black;
        margin: 0;
        font-size: 0.6rem;
        font-style: italic;
        display: flex;
    }

    .home-book-quote i {
        color: #ba7f00;
        font-size: 1.5rem;
        margin-right: 10px;
        line-height: 0.7rem;
    }

    .home-grey-container {
        padding: 50px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: var(--bg-grey);
    }

    .home-container h2 {
        margin: 0 0 30px 0;
        font-weight: 300;
        font-size: 2rem;
    }

    .home-container h2 i {
        margin-right: 15px;
    }

    .home-white-container {
        padding: 30px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: white;
    }

    .home-books-container {
        display: flex;
        flex-direction: row;
        gap: 150px;
    }

    .home-book-container {
        display: flex;
        flex-direction: column;
    }

    .home-book-cover-container {
        position: relative;
        display: flex;
        transition: all ease-in-out 300ms;
    }

    .home-book-cover-container:hover {
        transform: scale(102%);
    }

    .home-book-cover-container img {
        max-height: 300px;
        width: auto;
        box-shadow: 0 0 10px 1px rgba(0,0,0,0.25);
    }

    .home-book-cover-container div {
        position: absolute;
        padding: 7px 10px;
        line-height: 0.7rem;
        width: 75px;
        color: white;
        font-size: 0.8rem;
        transform: rotate(270deg);
        bottom: 75px;
        left: -60px;
    }

    .violet-color {
        color: #402779;
    }

    .red-color {
        color: #962610;
    }

    .violet-bg-color {
        background-color: #402779;
    }

    .red-bg-color {
        background-color: #962610;
    }

    .home-book-info {
        padding: 30px 0 0 20px;
        max-width: 225px;
    }

    .home-book-info h3 {
        margin: 0 0 5px 0;
        text-transform: uppercase;
        font-size: 0.8rem;
        line-height: 0.8rem;
    }

    .home-book-info p {
        margin: 0;
        font-size: 0.7rem;
    }

    .home-auteur-container {
        height: 450px;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        background-position-x: 0;
    }

    .home-auteur-container > div {
        color: white;
        max-width: 335px;
        padding: 75px 0 0 255px;
    }

    .home-auteur-titre {
        font-size: 2.5rem;
        font-weight: 300;
        margin-bottom: 40px;
        line-height: 2rem;
    }

    .home-auteur-texte {
        font-size: 0.8rem;
        margin-bottom: 30px;
    }

    .home-btn {
        padding: 8px 30px;
        background-color: #96c121;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        font-size: 0.8rem;
    }

    .home-btn:hover {
        background-color: #769714;
    }

    .home-actus-container {
        max-width: 1000px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 50px;
    }

    .home-actu-card {
        box-shadow: 0 0 10px 1px rgba(0,0,0,0.25);
        background-color: white;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
    }

    .home-actu-thumbnail-container {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 120px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .home-actu-info {
        position: relative;
        padding: 40px 25px 25px 25px;
        max-width: 200px;
    }

    .home-actu-date {
        position: absolute;
        left: 0;
        top: -10px;
        color: white;
        background-color: black;
        opacity: 90%;
        padding: 10px 15px 10px 25px;
        width: fit-content;
        font-size: 0.8rem;
        line-height: 0.6rem;
    }

    .home-actu-info > h2 {
        margin: 0 0 10px 0;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 0.9rem;
        line-height: 1rem;
        overflow-wrap: anywhere;
        color: #882f1c;
    }

    .home-actu-content {
        font-size: 0.6rem;
        line-height: 0.8rem;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .home-podcast-container {
        max-width: 1000px;
    }
}

@media (min-width: 1536px) {
    .new-book-container {
        padding: 125px 0;
    }

    .new-book-container > div {
        height: 400px;
    }

    .new-book-container > div > div {
        font-size: 0.8rem;
        max-width: 295px;
        min-height: 360px;
    }

    .home-cover-container {
        left: -350px;
    }

    .home-cover-container > img {
        width: 300px;
    }

    .home-new-book {
        top: -100px;
        font-size: 3rem;
        line-height: 2.8rem;
    }

    .img-ld {
        width: 425px;
        right: -490px;
    }

    .home-book-quote {
        bottom: -90px;
        width: 700px;
        font-size: 0.8rem;
    }

    .home-container > div > h2 {
        font-size: 3rem;
    }

    .home-book-cover-container img {
        max-height: 400px;
    }

    .home-book-cover-container div {
        line-height: 0.9rem;
        width: 100px;
        font-size: 1rem;
        left: -73px;
    }

    .home-book-info {
        max-width: 275px;
    }

    .home-book-info h3 {
        line-height: 1rem;
        font-size: 1rem;
    }

    .home-book-info p {
        font-size: 0.8rem;
    }

    .home-auteur-container {
        height: 600px;
    }

    .home-auteur-container > div {
        max-width: 460px;
        padding: 100px 0 0 255px;
    }

    .home-auteur-titre {
        font-size: 3rem;
    }

    .home-auteur-texte {
        font-weight: 300;
        font-size: 1.1rem;
    }

    .home-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }

    .home-actus-container {
        gap: 100px;
    }

    .home-actu-info {
        max-width: 225px;
    }

    .home-actu-info > h2 {
        font-size: 1.1rem;
        line-height: 1.2rem;
    }

    .home-actu-content {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .home-actu-thumbnail-container {
        height: 135px;
    }

    .home-podcast-container {
        max-width: 1200px;
    }
}
