.hero_mod {
  position: relative;
  color: var(--black-color);
  /* background: url('../../../assets/hero-image-ByN.jpg') no-repeat; */
  /* background-size: 100%; */
}

.hero_img {
  width: 200vw;
  height: auto;
  max-width: 100%;
  min-width: 270px;
  max-height: 60vh;
  object-fit: cover; /* to crop the image */
}
.hero_text {
  position: absolute;
  top: var(--hero-text-top);
  width: 50%;
  min-width: 250px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0 0 10px;
  text-shadow: 5px 3px 5px var(--white-color);
  box-shadow: 10px 10px 30px black;
  animation: textShow 3s;
}
@keyframes textShow {
  from {
    top: -500px;
  }
  to {
    top: var(--hero-text-top);
  }
}

.hero_text p {
  margin: 0 0 15px;
}

@media (min-width: 1024px) {
  .hero_text {
    --hero-text-top: 30px;
    left: 40px;
    font: 2.5vw/3vw Helvetica, Arial, sans-serif;
  }
}

@media (min-width: 680px) and (max-width: 1023px) {
  .hero_text {
    --hero-text-top: 30px;
    left: 30px;
    font: 20px/24px Helvetica, Arial, sans-serif;
  }
}
@media (min-width: 420px) and (max-width: 679px) {
  .hero_text p {
    margin: 0 0 10px;
  }
  .hero_text {
    --hero-text-top: 20px;
    left: 20px;
    font: 18px/22px Helvetica, Arial, sans-serif;
  }
}
@media screen and (max-width: 419px) {
  .hero_text p {
    margin: 0 0 10px;
  }
  .hero_text {
    --hero-text-top: 10px;
    left: 10px;
    font: 16px/18px Helvetica, Arial, sans-serif;
  }
}
