@charset "UTF-8";
@import url("reset.css");
@import url("fonts.css");

/* 서브히어로애니메이션 */
#hero_sub .centerbox .textbox {
    animation: tracking-in-contract 1.2s ease-out both;
}

@keyframes tracking-in-contract {

    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}




/* 서브 히어로 */

#hero_sub {
  position: relative;
}

#hero_sub .centerbox {
   position: relative;
  height: clamp(480px, 58vh, 620px);
  overflow: hidden;
}

#hero_sub .centerbox img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* 텍스트박스 */
#hero_sub .centerbox .textbox {
    position: absolute;

    top: 10%;
    left: 28%;

    z-index: 2;
}
#hero_sub .centerbox h1 {
   margin-bottom: 24px;

 font-family: "Manrope", sans-serif;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 500;

 color: #F1E8C9;
}

#hero_sub .centerbox strong {
   font-family: "Pretendard", sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.86);
}

#hero_sub .centerbox p {
 margin-top: 12px;

  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.86);
}
#hero_sub .centerbox h1,
#hero_sub .centerbox strong,
#hero_sub .centerbox p {
    text-shadow: 0 2px 10px rgba(15, 7, 49, 0.25);
}

#hero_sub .centerbox .textbox {
  animation: tracking-in-contract 3s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

