:root {
    --charcoal: #323038;
    --grey: #5F6062; 
    --cloud: #F5F5F5;
    --aqua: #CCEAED;
    --aqua-tp: rgba(204, 234, 237, .35);
    --teal: #0096A6;
    --lime: #97C131;
    --yellow-green: #BFD22B;
    --burnt: #F1563F;
    --white: #ffffff;
    --shadow: rgba(95, 96, 98, .1);
}

h1 {
    font-size: 50px !important;
}

.hero h1 {
  max-width: 600px;
}

.hero-body {
  margin-top: 6em;
}

p {
    font-size: 18px;
}

.btn-wrap {
    margin-top: 40px;
}

.row-content {
    padding: 3em 2em;
    z-index: 5;
}

.row-img-bg {
    height: 80vh;
    background-color: var(--burnt);
}
.decorative-bars {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.color-bar {
    width: 20%;
    height: 20px;
    margin-top: -20px !important;
    z-index: 3;
}

.decorative-bars {
  position: relative;
}
.hero .decorative-bars::before {
  content: '';
  display: block;
  width: 100vw;
  height: calc(288px + 20px);
  background: url(https://6155808.fs1.hubspotusercontent-na1.net/hubfs/6155808/decorative-grid.svg);
  background-repeat: repeat;
  position: absolute;
  top: calc(-288px + -20px);
  left: 0;
  z-index: 2;
}

.yellow-green {
    background-color: var(--yellow-green);
}

.lime {
    background-color: var(--lime);
}

.burnt {
    background-color: var(--burnt);
}

.aqua {
    background-color: var(--aqua);
}

.teal {
    background-color: var(--teal);
}

.slideHorizontal span {
    animation: leftToRight 9s linear infinite 0s;
    -ms-animation: leftToRight 9s linear infinite 0s;
	-webkit-animation: leftToRight 9s linear infinite 0s;

    opacity: 0;
    overflow: hidden;
    position: absolute;
    border-bottom: 2px solid var(--aqua);
}

.slideHorizontal span:nth-child(2) {
    animation-delay: 2.5s;
    -ms-animation-delay: 2.5s;
	-webkit-animation-delay: 2.5s;
}

.slideHorizontal span:nth-child(3) {
    animation-delay: 5.5s;
	-ms-animation-delay: 5.5s;
	-webkit-animation-delay: 5.5s;
}

.slideHorizontal span:nth-child(4) {
    animation-delay: 7.5s;
	-ms-animation-delay: 7.5s;
	-webkit-animation-delay: 7.5s;
}

/*leftToRight Animation*/
@keyframes leftToRight {
    0% { opacity: 0; }
	5% { opacity: 0; transform: translateX(-50px); }
	10% { opacity: 1; transform: translateX(0px); }
	25% { opacity: 1; transform: translateX(0px); }
	30% { opacity: 0; transform: translateX(50px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}
@-moz-keyframes leftToRight{
	0% { opacity: 0; }
	5% { opacity: 0; -moz-transform: translateX(-50px); }
	10% { opacity: 1; -moz-transform: translateX(0px); }
	25% { opacity: 1; -moz-transform: translateX(0px); }
	30% { opacity: 0; -moz-transform: translateX(50px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}
@-webkit-keyframes leftToRight{
	0% { opacity: 0; }
	5% { opacity: 0; -webkit-transform: translateX(-50px); }
	10% { opacity: 1; -webkit-transform: translateX(0px); }
	25% { opacity: 1; -webkit-transform: translateX(0px); }
	30% { opacity: 0; -webkit-transform: translateX(50px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}
@-ms-keyframes leftToRight{
	0% { opacity: 0; }
	5% { opacity: 0; -ms-transform: translateX(-50px); }
	10% { opacity: 1; -ms-transform: translateX(0px); }
	25% { opacity: 1; -ms-transform: translateX(0px); }
	30% { opacity: 0; -ms-transform: translateX(50px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}

.row-img-bg {
        height: 50vh;
        margin-left: 4em;
        border-radius: 50% 0 0 50%;
  }


@media screen and (min-width: 768px) {
    h1 {
        font-size: 50px;
        margin-bottom: 0;
    }
  .row-img-bg {
        margin-left: 4em;
        border-radius: 50% 0 0 50%;
  }
}

@media screen and (min-width: 1024px) {
    .row-content {
        padding: 4em 0 4em 6em;
        max-width: 70vw;
    }
    .row-img-bg {
        height: 100vh;
    }
}

@media screen and (min-width: 1200px) {
    .row-group {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .row-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 40%;
        max-width: 100vw;
        padding: 0 4em 0 9em;
/*         padding-right: 4em;
        padding-left: 9em; */
    }
    .row-img-bg {
        margin-left: 0;
        height: 60vh;
        width: 60%;
    }
      .row-content {
            width: 50%;
            padding-bottom: 0;
      }
      .row-img-bg {
            margin-left: 0;
            height: 75vh;
            width: 50%;
    }
}

@media screen and (max-width: 767px) {
  .hero .row.row-img-bg {
    margin-left: 0;
    border-radius: 0;
    display:none;
  }
  .hero .decorative-bars::before{
    display:none;
  }
}