The code for your other pages (home is OK) is with a strange and bad structure I think
Problem is not the css
but the way you deal with sections and pages.
See
<header>
<p></p>
<!DOCTYPE html>
<html>
<head>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
}
li {
float: left;
}
li a, .dropbtn {
background: #35363a;
display: inline-block;
color: #1cdc99;
text-align: center;
padding: 11px 16px;
text-decoration: none;
}
li a:hover, .dropdown:hover .dropbtn {
background-color: #3dade9;
color: #35363a;
}
li.dropdown {
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #3dade9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(61,173,233,0.7);
z-index: 1;
}
.dropdown-content a {
color: #3dade9;
padding: 11px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {background-color: #3dade9;}
.dropdown:hover .dropdown-content {
display: block;
}
</style>
</head>
<body>
<ul>
<li><a href="https://personalpage.mywire.org"><img src="img/favicon.png" width="64" height="64"></a></li>
<li><a href="/product1/page1">Page</a></li>
<li><a href="/blog/my-first-post">Post</a></li>
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">Dropdown</a>
<div class="dropdown-content">
<a href="https://www.google.com">Google</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</li>
</ul>
</body>
</html></header>
<h1>Page1</h1>
<h3 id="page-1">Page 1</h3>
<ul>
<li>
<p>This is a test page with some content:</p>
<ul>
<li>Content:</li>
</ul>
</li>
<li>
<p>Content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content, content da.</p>
</li>
</ul>
<footer class="center-footer-text">
<p>©2023 Mato</p>
<footer>