.media-with-text {
  z-index: 9;
  position: relative;
  width: 100%;
  /* padding-bottom: 56.25%; */
  padding: 0;
  padding-bottom: 46%;
  height: 0;
  overflow: hidden;
  min-height: 345px;
}
.media-with-text .media-cover {
  width: 100%;
  position: absolute;
  top: 0;
  height: 100%;
  object-fit: cover;
  left: 0;
}
.media-with-text .overlay {
  width: 100%;
  height: 100%;
  background: radial-gradient(41.46% 208.58% at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)), linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #000000 100%);
  align-self: stretch;
  position: absolute;
  bottom: 0;
  z-index: 9;
  left: 0;
}
.media-with-text .btn-secondary.btn-outline::after{
  content: url(../../assets/images/arrow-right-blue.svg);
}
.media-with-text .btn-secondary.btn-outline:hover::after{
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(3049%) hue-rotate(156deg) brightness(116%) contrast(101%);
}
.media-with-text .secondary.btn-outline-light::after{
  content: url(../../assets/images/arrow-right.svg);
}
.media-with-text .secondary.btn-outline-light:hover::after{
  filter: brightness(0) saturate(100%) invert(9%) sepia(83%) saturate(6659%) hue-rotate(240deg) brightness(66%) contrast(122%);
}


.media-holder button#playPauseBtn {
  position: absolute;
  z-index: 999;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  background:rgba(0, 0, 0, 0.4) ;
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-holder button#playPauseBtn:hover{
  background:rgba(0, 0, 0, 1) ;
}
.pause-icon, .playing .play-icon{
  display: none;
}
.paused .play-icon{
  display: inline-block;
}
.playing .pause-icon{
  display: inline-block;
}
.media-with-text  button#playPauseBtn.playing{
  display: none;
}
.media-with-text:hover button#playPauseBtn.playing{
  display: inline-flex !important;
}
.media-with-text .container {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 99;
}
.media-with-text .container > div {
  max-width: 630px;
}
.page-life-scc .media-with-text .container > div {
  max-width: 848px;
}
.media-with-text h3 {
  color: #FFFFFF;
  text-transform: capitalize;
  margin: 0;
}
.media-with-text .b2 {
  margin: 24px 0 0;
  color: #fff;
  opacity: 0.8;
}
.media-with-text .btn {
  margin-top: 40px;
}
@media (max-width: 1199px) {
  .media-with-text .container > div {
    max-width: 50%;
    padding-right: 15px;
  }
  .media-holder button#playPauseBtn {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 991px) {

  .media-with-text h3{
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
    max-width: 100%;
  }
  .home .media-with-text h3 {
    max-width: 205px;
  }
  .media-with-text .b2{
    margin-top: 12px;
    opacity: 1;
    color: #fff;
  }
  .media-with-text .btn{
    margin-top: 20px;
  }
  .media-with-text .container{
    bottom: 32px;
  }

}

@media (max-width: 575px) {
  .media-with-text{
    height: auto;
    padding: 0;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
  }
  .media-holder button#playPauseBtn{
    left: 18px;
    bottom: inherit;
    top: 32px;
    width: 50px;
    height: 50px;
    right: inherit;
  }
  [dir=rtl] .media-holder button#playPauseBtn {
    left: inherit;
    right: 18px;
  }
  .media-with-text .container {
    padding-bottom: 32px;
    padding-top: 0;
    position: relative;
    top: 120px;
    margin-bottom: 0;
  }
  .media-with-text .container > div {
    max-width: 100%;
    padding-right: 0px;
  }
}