.card-box{
  position: relative;
  padding: 4.8rem 12rem;
  min-height: 60rem;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #FFECEE;
  display: flex;
  align-items: center;
}
.card-box::after{
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  width: 74rem;
  height: 60rem;
  background: url(../images/card-box-bg.png);
  background-size: cover;
  background-position: center;
}
.card-box-text{
  width: 50%;
  position: relative;
  z-index: 1;
}
.card-box-img{
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 22.8rem;
  max-width: 37.4rem;
  max-height: 55.2rem;
}
.card-box-img img{
  max-width: 100%;
  max-height: 100%;
  height: auto;
}
@media(min-width:1360px) and (max-width:1459.98px){
  .card-box {
    padding: 4rem 9.6rem;
    min-height: 56rem;
  }
  .card-box-img {
    right: 18.8rem;
    max-width: 34.4rem;
    max-height: 51rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .card-box {
    padding: 4rem 8rem;
    min-height: 50rem;
  }
  .card-box-img {
    right: 11.8rem;
    max-width: 31rem;
    max-height: 45.8rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .card-box {
    padding: 4rem 6.4rem;
    min-height: 52rem;
  }
  .card-box-text {
    width: 54%;
  }
  .card-box-img {
    right: 6rem;
    max-width: 32rem;
    max-height: 47.5rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .card-box {
    padding: 3.2rem;
    min-height: 42rem;
  }
  .card-box-text {
    width: 59%;
  }
  .card-box-img {
    right: 3.2rem;
    max-width: 25.4rem;
    max-height: 38rem;
  }
}
@media(max-width:767.98px){
  .card-box {
    padding: 3.2rem 2.4rem;
    min-height: initial;
    flex-wrap: wrap;
  }
  .card-box:has(.card-box-img img){
    padding-bottom: 0;
  }
  .card-box-text {
    width: 100%;
    text-align: center;
  }
  .card-box-img {
    position: relative;
    right: 0;
    max-width: 18rem;
    max-height: initial;
    margin: 2.4rem auto 0;  
  }
}