.photo {
  position: relative;
  padding: 1rem;
  background-color: paleturquoise;
}

.photo p {
  margin: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-weight: bold;
  background-color: rgb(0 0 0 / 60%);
}