I am currently doing the Tribute project, whenever I add padding to the top, it adds more padding than I define. I can add 1px of padding and it will add too much. Please help me figure how to make it only add as much as I define.
HTML:
<main id="main">
<body>
<h1 id="title" class="textRight">Steve Wozniak</h1>
<p class="textRight">Pioneer of the PC</p>
<figure id="img-div">
<img id="image" src="https://img.washingtonpost.com/rf/image_1484w/2010-2019/WashingtonPost/2011/07/20/Business/Images/stevejobs-1984-apple-iic.jpg?uuid=w-PkIrMCEeCyjt0GTwV02w" alt="Steve Wozniak and Steve Jobs standing with a third person at some expo">
<figcaption id="img-caption">
Steve Jobs, left, chairman of Apple Computers, John Sculley, center, president and CEO, and Steve Wozniak, co-founder of Apple, unveil the new Apple IIc computer in San Francisco, April 24, 1984. (SAL VEDER/ASSOCIATED PRESS)<sup>1</sup>
</figcaption>
</figure>
<section id="tribute-info">
<h3>A little bit of info on Steve Wozniak</h3>
<p>
Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.Interesting text about Steve Wozniak.
</p>
</section>
<p><a id="tribute-link" href="https://en.wikipedia.org/wiki/Steve_Wozniak" target="_blank">Click here</a> to see Wikipedia's entry on "Woz".</p>
<ol class="footnotes">
<li id="footnote1">
Tsukuyama, Hayley (August 25th 2011). <a href="https://www.washingtonpost.com/blogs/faster-forward/post/steve-wozniak-steve-jobs-had-all-the-business-sense/2011/08/25/gIQA72SedJ_blog.html" target="_blank">Steve Wozniak: Steve Jobs had all the business sense</a>. Retrieved October 27th, 2021.
</li>
</ol>
</body>
</main>
CSS:
#main {
background-color: white;
border-radius: 25px;
position: relative;
left: 15px;
padding: 1px 10px 20px 20px;
}
body {
text-align: left;
background-color: #f5edf7;
font-family: Arial, Helvetica, sans-serif;
}
#image {
width: 1000px;
/* position: relative;
right: 40px;*/
}
/*
p, h1, h3 {
position: relative;
left: 40px;
}*/