You can use a tool like figma to get the padding/margin of elements from the original design to help you to get the right positionning. For your code you can add more margin-top to the h1 and p element by for exemple grouping them inside a parent element like a div and apply those margin css properties on it to match the size of the design
0