html {
  font-size: 16px;
}

body {
  font-family: 'san_francisco_textlight', sans-serif;
  font-weight: normal;
  background-color: #fff;
}

.bold {font-weight: bold;}

.great-vibes {font-family: "Great Vibes", cursive;}

.align-left {text-align: left;}
.align-right {text-align: right;}

.obituary-container {
  position: relative;
  width: 100%;
  height: 50vh;
  text-align: center;
  color: white;
}

@media screen and (max-width: 1328px) {
  .obituary-container {
    height: 60vh;
  }
  .obituary-container h1 {
    font-size: 1.5em;
  }
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* Ensures content is above the overlay */
}

.overlay-photo {
  width: 25vh;
  height: 25vh;
  border-radius: 5%;
  border: 2px solid white;
  display: block;
  margin: 0 auto 20px;
}

.content h1, .content p {
  margin: 0;
}

.obituary-content {
  background-color: #ffffff;
  color: #000000;
}

.obituary-content p {
  width: 80%;
  margin-left: 10vw;
  padding: 10px;
}

@media screen and (max-width: 1328px) {
  .obituary-content p {
    width: 90%;
    margin-left: 2vw;
    padding: 5px;
  }
}

.footer-container {
  background-color: #ffffff;
}

.footer-container p {
  color: #000000;
  padding: 5px;
  text-align: center;
}
