html, body {
    margin:0;
    padding: 0;
    background-color: #FFD557;
    color: #000000;
    font-family: 'Times New Roman', Times, serif;
}

header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    background-color: #93FDF1;
    background-image: linear-gradient(to bottom, #93FDF1, #FFD557);
}

.books {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}

.books .book {
    background-color: #ffffff;
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
}

.books .book h2 {
    text-align: center;
}

.books .book .details {
    display: grid;
    grid-template-columns: 50% 50%;
}

.books .book .details .cover a {
    display: block;
    text-align: center;
    padding: 6px;
}

.books .book .details .cover a img {
    border: solid 6px #FFD557;
    border-radius: 6px;
    transition: all 300ms ease-in-out;
    max-width: 100%;
}

.books .book .details .cover a:hover img {
    box-shadow: -6px 6px 0px rgba(0,0,0,0.4);
}

.books .book .details p {
    margin-top: 0px;
    line-height: 1.5em;
}

@media screen and (max-width: 1055px) {
    .books {
        max-width: 640px;
    }
    .books .book .details {
        display: block;
    }
    .books .book .details .cover a {
        text-align: center;
    }

    .books .book .details img {
        max-width: 50vw;
    }
}