body{
    display: grid;
    place-items: center;
    margin: 0;   
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: hsl(47, 88%, 63%);
    font-family: "Figtree";

}

.container{
    
    margin: auto;
    border: 1.509px solid black;
    width: 290px;
    height: 420px;
    border-radius: 15px ;
    overflow: hidden;
    padding: 20px;
    background-color: white;
    box-shadow: 8px 8px 1px 0.5px rgba(0, 0, 0, 0.989);

}   

.caja1{
    background-image: url(./assets/images/illustration-article.svg);
    background-repeat: no-repeat;
    background-position: relative;
    background-size: cover;
    border-radius: 10px;
    height: 180px;
   
}



.caja2{
    
    height: 290px;
    margin-top: 20px;
}

h2{
    font-size: 12px;

}

.tipo{
    font-weight: 900;
    border-radius: 4px;
    padding: 5px 10px;
    width: 50px;
    height: 16px;
    background-color: hsl(47, 88%, 63%);
    

}
.fecha{
    font-weight: 600 ;
}

h1{
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    padding: 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

h1:hover{
    color: hsl(47, 88%, 63%);
    cursor: pointer;
}

p{
    font-size: 14px;
    color: hsl(0, 0%, 42%);
    margin: 0;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.autor-container{
    display: flex;
    align-items: center;
    margin-top: 20px;
      
}

.autor{
    font-weight: 900;
    margin-left: 20px;
}

.autor-container img{
    border-radius: 50%;
    width: 30px;
    height: 30px;

}

@media (max-width: 375px) {
    .container{
        width: 280px;
        height: 440px;
        border: 1.5px solid black;
        padding: 22.5px;
    }
    .caja1{
        height: 200px;
        background-position: center;
    }
    .caja2{
        height: 300px;
    }
    h1{
        font-size: 20px;
    }
    p{
        font-size: 14px;
    }

    
    
}