/*================================================
OHC Main Banner Area CSS
=================================================*/
.ohc-main-banner-area {
  background-color: #F5FFE1;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: 50px;
}

.ohc-main-banner-content {
  position: relative;
  top: -25px;
}

.ohc-main-banner-content .sub-title {
  color: var(--OHCwhiteColor);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 400;
  display: inline-block;
  padding: 5px 25px;
  background-color: #AFC645;
  border-radius: 50px;
}

.ohc-main-banner-content h1 {
  font-size: 55px;
  margin-bottom: 12px;
}

.ohc-main-banner-content p {
  margin-bottom: 0;
}

.ohc-main-banner-content .banner-btn {
  margin-top: 22px;
}

.ohc-main-banner-image {
  text-align: center;
  position: relative;
  z-index: 1;
}

.ohc-main-banner-image .ohc-image-shape {
  position: absolute;
  right: -200px;
  bottom: -2px;
  z-index: -1;
  max-width: 435px;
}

.ohc-banner-shape-1 {
  position: absolute;
  left: 30px;
  bottom: 50px;
}

.ohc-banner-shape-1 img {
  -webkit-animation: movebounce 10s linear infinite;
          animation: movebounce 10s linear infinite;
}

.ohc-banner-shape-2 {
  position: absolute;
  top: -10%;
  left: 40%;
  z-index: -1;
}

.ohc-banner-shape-2 img {
  -webkit-animation: movebounce 10s linear infinite;
          animation: movebounce 10s linear infinite;
}

.ohc-banner-shape-3 {
  position: absolute;
  top: 10%;
  right: 5%;
}

.ohc-banner-shape-3 img {
  -webkit-animation-name: rotateme;
          animation-name: rotateme;
  -webkit-animation-duration: 60s;
          animation-duration: 60s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

.ohc-banner-white-shape {
  position: absolute;
  left: 0;
  top: -30px;
  right: 0;
}

.ohc-banner-white-shape img {
  width: 100%;
}

@-webkit-keyframes movescale {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
}

@keyframes movescale {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
}



@-webkit-keyframes moveleftbounce {
  0% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
  50% {
    -webkit-transform: translateX(20px);
            transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@keyframes moveleftbounce {
  0% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
  50% {
    -webkit-transform: translateX(20px);
            transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@-webkit-keyframes animationFramesOne {
  0% {
    -webkit-transform: translate(0px, 0px) rotate(0deg);
            transform: translate(0px, 0px) rotate(0deg);
  }
  20% {
    -webkit-transform: translate(73px, -1px) rotate(36deg);
            transform: translate(73px, -1px) rotate(36deg);
  }
  40% {
    -webkit-transform: translate(141px, 72px) rotate(72deg);
            transform: translate(141px, 72px) rotate(72deg);
  }
  60% {
    -webkit-transform: translate(83px, 122px) rotate(108deg);
            transform: translate(83px, 122px) rotate(108deg);
  }
  80% {
    -webkit-transform: translate(-40px, 72px) rotate(144deg);
            transform: translate(-40px, 72px) rotate(144deg);
  }
  100% {
    -webkit-transform: translate(0px, 0px) rotate(0deg);
            transform: translate(0px, 0px) rotate(0deg);
  }
}

@keyframes animationFramesOne {
  0% {
    -webkit-transform: translate(0px, 0px) rotate(0deg);
            transform: translate(0px, 0px) rotate(0deg);
  }
  20% {
    -webkit-transform: translate(73px, -1px) rotate(36deg);
            transform: translate(73px, -1px) rotate(36deg);
  }
  40% {
    -webkit-transform: translate(141px, 72px) rotate(72deg);
            transform: translate(141px, 72px) rotate(72deg);
  }
  60% {
    -webkit-transform: translate(83px, 122px) rotate(108deg);
            transform: translate(83px, 122px) rotate(108deg);
  }
  80% {
    -webkit-transform: translate(-40px, 72px) rotate(144deg);
            transform: translate(-40px, 72px) rotate(144deg);
  }
  100% {
    -webkit-transform: translate(0px, 0px) rotate(0deg);
    transform: translate(0px, 0px) rotate(0deg);
  }
}

/* Max width 767px */
@media only screen and (max-width: 767px) {
    .ohc-main-banner-content {
      top: 0;
    }
    .ohc-main-banner-content h1 {
      font-size: 30px;
    }
    .ohc-main-banner-content .sub-title {
      font-size: 16px;
    }
    .ohc-main-banner-content .banner-btn {
      margin-top: 20px;
    }
    .ohc-main-banner-area {
      padding-top: 70px;
    }
    .ohc-main-banner-image {
      text-align: center;
      margin-top: 35px;
    }
    .ohc-main-banner-image .ohc-image-shape {
      display: none;
    }
    .ohc-banner-shape-1 {
      display: none;
    }
    .ohc-banner-shape-2 {
      display: none;
    }
    .ohc-banner-shape-3 {
      display: none;
    }
}

/* Min width 768px to Max width 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ohc-main-banner-content {
      top: 0;
    }
    .ohc-main-banner-content h1 {
      font-size: 45px;
    }
    .ohc-main-banner-area {
      padding-top: 100px;
    }
    .ohc-main-banner-image {
      text-align: center;
      margin-top: 35px;
    }
    .ohc-main-banner-image .ohc-image-shape {
      display: none;
    }
    .ohc-banner-shape-1 {
      display: none;
    }
    .ohc-banner-shape-2 {
      display: none;
    }
    .ohc-banner-shape-3 {
      display: none;
    }
}

/* Min width 992px to Max width 1199px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ohc-banner-white-shape {
    top: -15px;
  }
  .ohc-main-banner-content h1 {
    font-size: 45px;
  }
  .ohc-banner-shape-1 {
    max-width: 95px;
  }
}