.books-section .books-list .hidden {
    display: none;
}

.books-header {
    background: linear-gradient(
        rgba(33, 33, 33, 0.9),
        rgba(33, 33, 33, 0.7)),
        url(./images/books-bg.jpg) center no-repeat;
}

.wrapper {
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
}

.slider {
    width: 300%;
    display: flex;
    flex-direction: row;
    gap: 0;
    overflow: hidden;
    position: relative;
}

.slide {
    display: flex;
    flex-direction: row;
    width: 33.3%;
    scroll-snap-align: center;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book {
    max-width: 40vw;
}


.book img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    cursor: pointer;
}

.controls i {
    width: 5rem;
    height: 5rem;
    background-color: #7b8584;
    border-radius: 50%;
    opacity: 6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #444;
    position: absolute;
    top: 85%;
    transform: translateY(-90%);
}

.controls i:nth-child(1) {
    left: 20%;
}

.controls i:nth-child(2) {
    right: 20%;
}

.dots {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.dots span {
    width: 1rem;
    height: 1rem;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: pointer;
}

.dots span.active {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #fff;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}


@media(max-width: 768px) {
    .book {
        text-align: center;
        max-width: 70vw;
    }
    
    .book img {
        max-width: 70%;
    }
    
}               