/* 메인 키비주얼 애니메이션 */
.sec-1 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.sec-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.sec-1 video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 132%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}


.sec-1 .text-wrap {
    position: absolute;
    bottom: 220px;
    left: 260px;
    width: auto;
}

.sec-1 .text-wrap .text-size {
    font-size: 60px;
    /* margin-top: 8px; */
}

.sec-1 .text-wrap p img {
    height: 80px;
    margin-top: 5px;
}

.typing-text {
  white-space: nowrap;
  overflow: hidden;
}

.sec-1 .text-box {
    gap: 12px;
    margin-top: 20px;
}

.fade-text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-text.visible {
  opacity: 1;
  transform: translateY(0);
}

@media(max-width: 1320px){
    .sec-1 {
        margin-top: -64px;
    }
    .sec-1 .text-wrap  {
        left: 120px;
    }
    .sec-1 .text-wrap .text-size {
        font-size: 40px;
    }
    .sec-1 .text-wrap p img {
        height: 55px;
    }
}

@media(max-width: 1024px){

    .sec-1 .text-wrap  {
        left: 40px;
    }
    .sec-1 .text-box {
        gap: 8px;
        margin-top: 15px;
    }
    .sec-1 .text-wrap .text-size {
        font-size: 32px;
    }
    .sec-1 .text-wrap p img {
        height: 45px;
    }

}
@media(max-width: 767px){
    .sec-1 .text-wrap  {
        left: 20px;
    }
    .sec-1 .text-box {
        gap: 5px;
        margin-top: 10px;
    }
    .sec-1 .text-wrap .text-size {
        font-size: 27px;
        margin-top: 2px;
    }
    .sec-1 .text-wrap p img {
        height: 35px;
        margin-top: 1px;
    }

}

/* 모바일 영상 잘림으로 추가 css 풀페이지 적용시 삭제 */
@media(max-width: 600px){
    .sec-1 {
        margin-top: -52px;
    }
    .sec-1 video {
        position: absolute;
        top: 30%;
        left: 50%;
        width: 100%;
        min-height: 58%;
        object-fit: cover;
    }
}