html, body {
  margin: 0 auto;
  background: #f2f2f2;
}

.flex-box {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
  /*keep the flexbox without any space*/
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.left-box {
  background: cornflowerblue;
  height: 500px;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 400px;
          flex: 0 1 400px;
  /* for inner content */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.right-box {
  background: url(../images/hospital-img.jpg);
  background-size: cover;
  height: 500px;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 400px;
          flex: 0 1 400px;
}

.left-box h1 {
  color: #fff;
}

.left-box p {
  padding: 5px;
  line-height: 25px;
  font-size: 20px;
  text-align: center;
  color: #333;
  background: #fff;
}

.left-box h1::before,
.left-box h1::after {
  display: inline-block;
  content: "";
  border-top: 0.1rem solid #fdfdfd;
  width: 1rem;
  margin: -.6rem 1rem;
  -webkit-transform: translateY(-1rem);
          transform: translateY(-1rem);
}

@media only screen and (max-width: 798px) {
  .left-box, .right-box {
    height: 250px;
  }
  .left-box h1 {
    font-size: 25px;
  }
  .left-box p {
    font-size: 18px;
  }
}
/*# sourceMappingURL=main.css.map */