.mindfill {
    /* The image used */
    background: url("../images/abstract1.jpg");

    /* Set a specific height */
    min-height: 300px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-size: 100% 70%;
}

.news {
    /* The image used */
    background: url("../images/news.jpg");

    /* Set a specific height */
    min-height: 300px; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-size: cover;
}

.books {
    /* The image used */
    background: url("../images/image2.jpg");

    /* Set a specific height */
    min-height: 300px; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.card {
    position: relative;
    overflow: hidden;
    width: 15rem;
    height: 22rem;
}

.news-collection .card:hover {
    box-shadow: 0 0 10px 5px rgba(51, 153, 255, 1);
}

.book-collection .card:hover {
    box-shadow: 0 0 10px 5px rgba(255, 153, 51, 1);
}

.news-collection .card-body {
    position: absolute;
    top: 135px;
    background-color: #fff;
}

.book-collection .card-body {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    color: #fff;
}

#search {
    visibility: hidden;
}
.card-body {
    width: 100%;
}

.card-close {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid #aaa;
    font-weight: 800;
}
