
.contenedor-padre{
    display: flex;
    gap: 16px;
    
}
.contenedor-padre img{
    width: 200px;
    height: 250px;
}
    .modal {
        display: none; 
        position: fixed; 
        z-index: 1000; 
        left: 0; top: 0; width: 100%; height: 100%; 
        background-color: rgba(0,0,0,0.8);
        justify-content: center; align-items: center;
    }
    .modal-contenido {
        background-color: #fff; padding: 20px; border-radius: 8px; 
        text-align: center; position: relative; max-width: 400px; width: 90%;
    }
    .cerrar-modal {
        position: absolute; top: 10px; right: 15px; 
        font-size: 24px; cursor: pointer; font-weight: bold;
    }
    .img-portada { cursor: pointer; transition: transform 0.2s; }
    .img-portada:hover { transform: scale(1.05); }

    .texto{
        width: 200px;
    }

@media (min-width: 350px) and (max-width: 700px){
    .contenedor-padre{
           display: flex; 
           overflow-x:scroll;  
        
    }
    .card{
        width:200px;
        height: auto;
        
    }
    
}
