.hero {
  display: grid;
  place-items: center;
}

.hero > * {
  grid-area: 1 / 1;
}

.bg {
  place-self: stretch;
  min-height: 7rem;
  background-color: teal;
}

.hero p {
  margin: 0;
  padding: 0.5rem 1rem;
  color: white;
  background-color: rgb(0 0 0 / 50%);
}