html,

    
    body {
        background: #000;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .portada{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        background-image: url('../img/fondo-portada.jpg');
        mask-image: linear-gradient(black 40%,
                transparent);
        background-size: cover;
        background-position: center;
        filter: brightness(0.4) blur(1px);
        background-repeat: no-repeat;
    }

    

    .netflix{
        background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat-back.svg');
        background-position: center;
        background-repeat: repeat;
        background-size: 7%;
        
    }

    .swiper-container {
        height: 100%;
        width: 100%;
        position: relative;
    }

    .netflix p {
        font-size: 1rem;
        font-weight: 500;
    }

    .swiper-wrapper {
        gap: 10px;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        cursor: pointer;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex--pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-item: center;
        align-items: center;
        background: rgba(85, 85, 85, 0.24);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4.8px);
        backface-visibility: hidden;
        transform-origin: center;
        will-change: transform;
        transition: all 0.15s linear;
    }

    .swiper-slide:hover{
        transform: scale(1.075);
        background: #38383896;
        box-shadow: 0 0px 8px rgba(112, 112, 112, 0.712);
        font-size: 20px;

    }

    .book-card{
        height: 100% !important;  
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;   
    }

    .book-card h5{
        font-size: clamp(1rem, 1vw + 0.5rem, 1.3rem);
        margin-bottom: 10px;
        margin-top: 15px;
    }

    .book-card h5, .book-card p{
        color: white;
        display: -webkit-box;      
        -webkit-box-orient: vertical; 
        overflow: hidden;          
        -webkit-line-clamp: 1; 
        text-overflow: ellipsis;    
        width: 100%;   
    }

    .book-card img {
        height: 200px;
        width: 150px;
        object-fit: cover;
        box-shadow: 0 4px 8px rgba(109, 44, 170, 0.2); 
        border-radius: 4px; 
    }
    .swiper-button-next,
    .swiper-button-prev {
        height: 100%;
        top: 0;
        margin: 0px;
        width:50px;
        background: #0000007e;
       
    }
    .swiper-button-next{
        right: 0;
        color: white;
    }

    .swiper-button-prev {
        left: 0;
        color: white;
    }

    .subtitulo .sub{
        font-size: clamp(1rem, 1vw + 0.5rem, 1.8rem);
        color: white;
    }

    .subtitulo .result{
        font-size: clamp(0.9rem, 1vw + 0.5rem, 1.1rem);
        font-weight: 600;
        color: rgb(177, 177, 177);
    }


    /* Responsive Swiper Settings */
    @media screen and (max-width: 599px) {
        .swiper-slide img {
            max-width: 14rem;
        }

        .swiper-button-next,
        .swiper-button-prev {
            display: none;
        }
    }