/* PageImage component styles */

.page-image {
  background-position: center;
  height: 500px;
  width: 100%;
  background-repeat: no-repeat;
  background-color: #66a486;
}

.header-container {
  position: relative;
  max-width: 1040px;
  margin: auto;
  height: 570px;
}

.page-image-title {
  background-color: rgba(255, 255, 255, 0.875);
  color: black;
  margin: auto;
  left: 0;
  right: 0;
  padding: 10px;
  position: absolute;
  bottom: 64px;
  text-align: center;
  font-size: 29px;
}

p.author-title {
  margin: auto;
  left: 0;
  right: 0;
  padding: 10px;
  position: absolute;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  bottom: 20px;
}

@media only screen and (max-width: 768px) {
  h1.page-image-title {
    font-size: 20px;
  }

  p.author-title {
    font-size: 14px !important;
  }
}
