#hero {
  position: relative;
  overflow: hidden;
}

#hero .row {
  position: relative;
  height: 600px;
}

#hero h1 {
  font-size: 52px;
  color: #008CB8;
  font-weight: bold;
}

#hero p {
  max-width: 500px;
}

.hero-image img {
  display: block;
  position: absolute;
  bottom: 0;
  right: 50px;
  height: 105%;
  width: auto !important;
}

@media (max-width: 1200px) {

  #hero {
    background-size: auto 100% !important;
    background-position: calc(100% + 200px) center !important;
  }

  #hero h1 {
    font-size: 36px;
  }

  .hero-image img {
    right: -80px;
  }
}

@media (max-width: 1024px) {

  #hero .row {
    height: 500px;
  }

  #hero .container {
    max-width: 100%;
  }

  .hero-image img {
    right: 0;
  }
}

@media (max-width: 820px) {

  #hero h1 {
    font-size: 36px;
  }

  #hero p {
    font-size: 14px;
    max-width: 302px;
    margin-bottom: 60px;
  }

  .hero-content {
    width: 60% !important;
  }

  .hero-image img {
    right: -40px;
  }
}

@media (max-width: 767px) {

  #hero .row {
    height: auto;
  }

  .hero-content {
    display: block !important;
    width: 100% !important;
  }

  #hero {
    background-position: -80% !important;
  }

  #hero h1 {
    font-size: 26px;
  }

  #hero p {
    max-width: 285px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  #hero h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    width: 100%;
    margin-bottom: -80px;
    text-align: center;
  }

  .hero-image img {
    display: inline;
    position: relative;
    max-width: 80%;
    left: auto;
    right: auto;
  }
}