@import url("main.inc.css");

/* Styles specific for home.inc.php */

/*
This stylesheet handles styles specific for home.inc.php.
It is included by index.php.


***************************
** Begin Default Styling **
*/

.book-list {
    display: flex;
    flex-direction: column;
}

.book-link {
    display: block;
    width: 100%;
    height: 100%;
}

.book-img {
    margin-bottom: 48px;
}

.book-details {
    height: 0px;
    overflow: hidden;
}

.book-details .content p {
    margin-bottom: 48px;
}

.buy-links {
    margin-bottom: 9px;
}

.buy-links li + li {
    margin-top: 19px;
}

.about h2, .about h3 {
    margin-top: 48px;
}

.about .content p + p {
    margin-top: 24px;
}

.social-links {
    text-align: center;
}

.social-links li {
    display: inline-block;
}

.social-links li + li {
    margin-left: 24px;
}


/*
** End Default Styling **
*************************
*/

@media screen and (min-width: 900px) {

    .book-list {
        display: block;
    }

    .book-list > div:first-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .book-list h2 {
        width: 100%;
    }

    .book-img {
        width: 45%;
    }

    .book-details, .about {
        display: flex;
        justify-content: space-between;
    }

    .book-details .content, .book-details .image-container, .about .content, .about .image-container {
        width: 45%;
    }

    .about h2, .about h3 {
        text-align: left;
    }

    .about h2 {
        margin-top: unset;
    }

    .social-links {
        text-align: left;
    }

    

} /* End of 900px */