:root {
  --sung-sidebanner-title-size: 40px;
}

.sung_sidebanner {
  position: relative;
}

.sung_sidebanner img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.sung_sidebanner .txt {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  display: block;
  bottom: 0;
  align-items: center;
  align-content: center;
}
.sung_sidebanner .txt p{color: #fff;font-size: 16px;margin-top: 20px;width: 55%;line-height: 1.7;}
.sung_sidebanner .txt h2 {
  color: var(--color-second);
  font-size: var(--sung-sidebanner-title-size);
  font-weight: 900;
  width: 55%;
}

@media screen and (max-width: 1500px) {
  :root {
    --sung-sidebanner-title-size: 34px;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --sung-sidebanner-title-size: 28px;
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --sung-sidebanner-title-size: 20px;
  }
  .sung_sidebanner .txt p {font-size: 12px;}
  
}

@media screen and (max-width: 992px) {
  :root {
    --sung-sidebanner-title-size: 18px;
  }
  .sung_sidebanner .txt p {font-size: 10px;width: 62%;}
  .sung_sidebanner .txt h2 {width: 62%;}
}

@media screen and (max-width: 768px) {
  :root {
    --sung-sidebanner-title-size: 16px;
  }
  .sung_sidebanner .txt {
    text-align: center;
  }
  .sung_sidebanner .txt p {margin-top: 5px;}
}

@media screen and (max-width: 576px) {
  :root {
    --sung-sidebanner-title-size: 14px;
  }
  .sung_sidebanner .txt p {font-size: 8px;margin-top: 5px;}
}


@media(max-width:480px){
  :root {
    --sung-sidebanner-title-size: 12px;
  }
  
   .sung_sidebanner .txt p {
    font-size: 6px;
    line-height: 1.4;
  }
  
}


@media(max-width:400px){
  :root {
    --sung-sidebanner-title-size: 10px;
  }
  
}