@import "components/button.css";


.main-content {
    padding-top: 8rem; 
    margin: 0 auto;
    text-align: center;
    width: 95%;
    max-width: 60rem;
}

.content-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4.5rem;
}

.reviews-bar {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.review {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(242, 35, 70, 0.3);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 9px rgba(242, 35, 70, 0.3);
}

.book-cover-container {
    width: 40%;
}

.book-cover {
    width: 80%;
    height: auto;
}

.button-panel {
    text-align: center;
    margin-top: 4rem;
}

.book-annotation{
    margin: 3rem auto;

    background-color: rgba(83, 234, 253, 0.1);
    border-left: 6px solid var(--theme-color-primary);
    border-right: 6px solid var(--theme-color-primary);
    border-radius: 25px;
    padding: 20px 20px;
}

.first-two {
  white-space: nowrap;  
}

.last {
  display: block;                 
}


@media (max-width: 715px) {
   
    .reviews-bar{
        text-align: center;
        width: 75%;
        margin: 0 auto;
    }

    .content-grid {
        flex-direction: column;
        margin-top: 2.5rem;
    }

    .book-cover-container {
        width: 80%;
        margin: 0 auto;
        margin-top: 2rem;
        margin-bottom: 4rem;
    }

    .book-annotation{
        font-size: 1.2rem;
    }
}
