@Hassiai
Posted
For a responsive content use max-width for .container and .card img instead of a width value. reduce the value for it to match closely to the design.
Give p and h1 the same padding left and right values and either give p a margin-top value or h1 a margin-bottom value . please reduce these values e.g:
.card h1, .card p {
padding: 0 16px; or padding-right:16px; padding-left: 16px}
.card h1{
margin-bottom: 16px}
Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful HAPPY CODING
Marked as helpful