@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Body */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Header */
.portada {
    width: 100%;
    position: absolute;
    z-index: -1;
}

/* Lista de libros */
#container {
    display: flex;
    align-items: center;
    justify-content: center;
}

section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 30px;
}

article {
    display: inline-block;
    width: min-content;
    background-color: white;
    padding: 40px;
    margin: 5px;
    margin-top: 400px;
}

.book-card__image {
    height: 400px;
    transition: 0.3s;
}

.book-card__image:hover {
    height: 400px;
    transform: scale(1.05);
}

/* Responsive */
@media only screen and (max-width: 800px) {
    section {
        flex-direction: column;
        margin-top: 300px;
    }
    article {
        margin: 0px;
    }
}