/*
(주)파이브센스_FIVESENSES.Corp.
파이브프로_FIVEPro_웹솔루션.
본 라이브러리(소스코드 및 디자인 포함)는 (주)파이브센스의 자산이며, 저작권법 및 부정경쟁방지법에 의해 보호됩니다.
무단 사용, 외부 유출, 복제, 배포, 변형을 금지합니다.
위반 시 민·형사상 법적 책임 및 손해배상 청구 대상이 됩니다.
작성일: 2025-03-18 | 저작권자: (주)파이브센스(520-86-01244) | All Rights Reserved.
*/

/* 메인 배경 */
.intro_int1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: #fff;
}

.intro_int1.off {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s 1s;
}

/* 애니메이션 */
.intro_int1 .ani_container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8dc21f;
    animation: opacityHiddenAni 0s 3.5s ease forwards;
}

.intro_int1 .ani_container .circle_container {
    position: relative;
    width: 100px;
    height: 100px;
    transform: rotate(45deg);
    animation: rotateCircleBox 1s 1s ease both;
    opacity: 0;
    transition: opacity 0.5s linear;
}

.intro_int1.on .ani_container .circle_container {
    opacity: 1;
}

.intro_int1 .ani_container .circle {
    width: 40px;
    height: 40px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
}

.intro_int1 .ani_container .circle:nth-child(1) {
    animation: circleOpen1 2s 0.5s ease both, circleSize 1s 2.5s ease forwards, opacityHiddenAni 0s 3.5s ease forwards;
}
.intro_int1 .ani_container .circle:nth-child(2) {
    animation: circleOpen2 2s 0.5s ease both, circleSize 1s 2.5s ease forwards, opacityHiddenAni 0s 3.5s ease forwards;
}
.intro_int1 .ani_container .circle:nth-child(3) {
    animation: circleOpen3 2s 0.5s ease both, circleSize 1s 2.5s ease forwards, opacityHiddenAni 0s 3.5s ease forwards;
}
.intro_int1 .ani_container .circle:nth-child(4) {
    animation: circleOpen4 2s 0.5s ease both, circleSize 1s 2.5s ease forwards, opacityHiddenAni 0s 3.5s ease forwards;
}


/* 로고 */
.intro_int1 .txt_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: opacityVisibleAni 1s 3.5s ease forwards;
}

@media (max-width: 991px) {
    .intro_int1 .txt_container img {
        width: 100%;
    }
}

@keyframes circleOpen1 {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    25% {
        top: 0;
        left: 100%;
        transform: translate(-50%, -50%);
    }
    75% {
        top: 0;
        left: 100%;
        transform: translate(-50%, -50%);
    }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@keyframes circleOpen2 {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    25% {
        top: 0;
        left: 100%;
        transform: translate(-50%, -50%);
    }
    75% {
        top: 100%;
        left: 100%;
        transform: translate(-50%, -50%);
    }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@keyframes circleOpen3 {
    0% {
        bottom: 50%;
        right: 50%;
        transform: translate(50%, 50%);
    }
    25% {
        bottom: 0;
        right: 100%;
        transform: translate(50%, 50%);
    }
    75% {
        bottom: 0;
        right: 100%;
        transform: translate(50%, 50%);
    }
    100% {
        bottom: 50%;
        right: 50%;
        transform: translate(50%, 50%);
    }
}
@keyframes circleOpen4 {
    0% {
        bottom: 50%;
        right: 50%;
        transform: translate(50%, 50%);
    }
    25% {
        bottom: 0;
        right: 100%;
        transform: translate(50%, 50%);
    }
    75% {
        bottom: 100%;
        right: 100%;
        transform: translate(50%, 50%);
    }
    100% {
        bottom: 50%;
        right: 50%;
        transform: translate(50%, 50%);
    }
}
@keyframes circleSize {
    0% {
        width: 40px;
        height: 40px;
    }
    100% {
        width: 200vw;
        height: 200vw;
    }
}
@keyframes opacityHiddenAni {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes opacityVisibleAni {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes rotateCircleBox {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(180deg);
    }
}