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: 40px 85px 50px 85px;
  
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: space-between;
}

p {
  width: 100px;
  border: 1px solid red;
}

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