body {
  background-color: white;
}

h1 {
  color: black;
  text-align: justify;
}

p {
  font-family: arial;
  font-size: 12px;
}
body {margin: 0; padding: 0;}
h2 {margin : 0; padding: 0;}

<style>
p {
  text-indent: 50px;
}
</style>

ul {
  height: 40px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #111111;
}

html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
}

h2, p {
  margin: 10px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #111111;
}
</style>
</body>

ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul li a {
  display: flex;
  width: 150px;
  height: 10px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}