#bonhtmlcontent {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 56px;
}

#bonhtmlcontent .bonhtmlcontent-wrapper {
  max-width: 1770px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
}

#bonhtmlcontent .bonhtmlcontent-img {
  max-width: 100%;
}

#bonhtmlcontent .bonhtmlcontent-content {
  max-width: 605px;
  height: 100%;
}

#bonhtmlcontent .box-htmlcontent p.h1 {
  position: relative;
  z-index: 1;
  font-family: "Baloo Paaji";
  color: RGB(var(--gray-black));
  display: inline-block;
  line-height: 120%;
}

#bonhtmlcontent .box-htmlcontent p.h1:before {
  content: "";
  position: absolute;
  top: 67%;
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  background: RGB(var(--brand-primary));
  z-index: -1;
}

#bonhtmlcontent p {
  margin-bottom: 0;
}

#bonhtmlcontent .box-htmlcontent p.h2 {
  color: RGB(var(--gray-black));
  text-transform: none;
  line-height: 1.55;
}

@media screen and (min-width: 1881px) {
  #bonhtmlcontent {
    min-height: 972px;
  }

  #bonhtmlcontent .box-htmlcontent p.h1 {
    font-size: 40px;
    margin-bottom: 44px;
  }

  #bonhtmlcontent .box-htmlcontent p.h1:before {
    height: 8px;
  }

  #bonhtmlcontent .box-htmlcontent p.h2 {
    font-size: 18px;
  }

  #bonhtmlcontent .box-htmlcontent p.h2:not(:last-child) {
    margin-bottom: 12px;
  }

  #bonhtmlcontent .btn-primary {
    font-size: 16px;
    padding: 14px 24px;
  }

  #bonhtmlcontent .information-htmlcontent {
    margin-bottom: 44px;
  }
}

@media screen and (max-width: 1880px) {
  #bonhtmlcontent {
    min-height: calc(472px + (972 - 472) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonhtmlcontent .box-htmlcontent p.h1 {
    font-size: calc(25px + (40 - 25) * ((100vw - 320px) / (1880 - 320)));
    margin-bottom: calc(20px + (44 - 20) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonhtmlcontent .box-htmlcontent p.h1:before {
    height: calc(3px + (8 - 6) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonhtmlcontent .information-htmlcontent {
    margin-bottom: calc(20px + (44 - 20) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonhtmlcontent .box-htmlcontent p.h2 {
    font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1880 - 320)))
  }

  #bonhtmlcontent .box-htmlcontent p.h2:not(:last-child) {
    margin-bottom: calc(6px + (12 - 6) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonhtmlcontent .btn-primary {
    font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1880 - 320)));
    padding: calc(10px + (14 - 10) * ((100vw - 320px) / (1880 - 320))) calc(20px + (24 - 20) * ((100vw - 320px) / (1880 - 320)));
  }
}

@media screen and (min-width: 768px) {
  #bonhtmlcontent .link-htmlcontent {
    display: flex;
    align-items: center;
    height: 100%;
  }
}


@media screen and (max-width: 767px) {
  #bonhtmlcontent .bonhtmlcontent-img {
    margin-bottom: 20px;
  }

  #bonhtmlcontent .btn-primary-wrapper {
    display: none;
  }
}

@media screen and (max-width: 575px) {
  #bonhtmlcontent .box-htmlcontent p.h2:last-child {
    display: none
  }

}