/* style/page-title.css  */

.page-title {
  position: relative;
  width: 90%;
  height: 300px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -150px;
  margin-right: auto;
  margin-left: auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.page-title-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-title-content {
  text-align: center;
  padding: 20px;
  /* prevent text wrapping too much */
  white-space: nowrap;
}

.page-title h1 {
  font-size: 10rem;
  margin: 0;
  color: #E60000;
  text-shadow: 
    5px 2px 0 rgb(15, 1, 59),
    6px 6px 1px rgb(255, 255, 255),
    10px 10px 6px rgb(255, 255, 255),
    -6px -6px 1px rgb(255, 255, 255),
    -10px -10px 6px rgb(255, 255, 255),
    30px 7px 10px rgb(255, 255, 255);
  line-height: 1;
}

.page-title p {
  font-size: 2rem;
  margin: 0;
  margin-top: -30px;
  color: #000;
  background-color: white;
  padding: 8px 15px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .page-title {
    height: 220px;
  }

  .page-title h1 {
    font-size: 6rem;
  }

  .page-title p {
    font-size: 1.4rem;
    margin-top: -25px;
    padding: 6px 12px;
  }
}

@media screen and (max-width: 768px) {
  .page-title {
    height: 180px;
  }

  .page-title h1 {
    font-size: 4rem;
  }

  .page-title p {
    font-size: 1.2rem;
    margin-top: -20px;
    padding: 5px 10px;
  }
}

@media screen and (max-width: 480px) {
  .page-title {
    height: 150px;
  }

  .page-title h1 {
    font-size: 2.5rem;
  }

  .page-title p {
    font-size: 1rem;
    margin-top: -15px;
    padding: 4px 8px;
  }
}
