Footer example

HTML

<footer>
  <p>Text 1</p>
  <p>Text 2</p>
  <p>Text 3</p>
  <p>Text 4</p>
  <p class="full">Text 5</p>
</footer>

CSS

footer {
  border: 1px solid green;
  
  padding: 10% 10% 10% 15%;
  
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: space-between;
}

p {
  border: 1px solid red;
}

.full {
  grid-column: span 2;
  width: 100%;
  margin-top: 15%;
}