/* image overlay */
.wpbai-image-overlay {
  position: relative;
  width: 100%;
}

.wpbai-image-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

.wpbai-image-overlay .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Arial', sans-serif;
  font-size: 4vw;
  color: #ffffff;
  text-align: center;
}

/* Responsive font size */
@media screen and (max-width: 768px) {
  .wpbai-image-overlay .overlay-text {
    font-size: 6vw;
  }
}

/* Text position customization */
.wpbai-image-overlay .overlay-text.top-left {
  top: 5%;
  left: 5%;
  transform: none;
}

.wpbai-image-overlay .overlay-text.top-right {
  top: 5%;
  right: 5%;
  transform: none;
}

.wpbai-image-overlay .overlay-text.bottom-left {
  bottom: 5%;
  left: 5%;
  transform: none;
}

.wpbai-image-overlay .overlay-text.bottom-right {
  bottom: 5%;
  right: 5%;
  transform: none;
}

 .hero-header {
  position: relative;
  text-align: center;
  color: white;
  height: 100vh; /* Adjust this as necessary */
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-wrapper {
  position: absolute;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.small-text {
  font-family: 'Arial', sans-serif;
  font-size: 15pt;
  color: lightblue;
  margin: 0;
}

.large-text {
  font-family: 'Cursive', serif;
  font-size: 30pt;
  color: lightgreen;
  transform: rotate(-15deg);
  margin: 0 auto;
}

.small-text.top {
  position: absolute;
  top: -30px;
  left: 10px;
}

.small-text.bottom {
  position: absolute;
  bottom: -30px;
  right: 10px;
}

@media (max-width: 768px) {
  .small-text {
    font-size: 12pt;
  }

  .large-text {
    font-size: 24pt;
  }

  .small-text.top {
    top: -20px;
  }

  .small-text.bottom {
    bottom: -20px;
  }
}

@media (max-width: 480px) {
  .small-text {
    font-size: 10pt;
  }

  .large-text {
    font-size: 18pt;
  }

  .small-text.top {
    top: -15px;
  }

  .small-text.bottom {
    bottom: -15px;
  }
}