@charset "utf-8";
@import url("font.css");
@import url("reset.css");

/* intro */
.intro,
.intro *{
    font-family: 'Pretendard Variable', sans-serif !important;
}
.wrap.intro{
    overflow: hidden;
    width: 100%;
    height: 100dvh;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../image/intro/bg_intro.jpg');
    background-size: cover;
}
.wrap.intro img{
    max-width: 100%;
}
.intro-contents{
    position: relative;
    display: flex;
    gap: 2.5%;
    justify-content: space-between;
    height: 100%;
    padding: 4vw 2.5% 2vw;
}
.intro-contents .left-con{
    opacity: 0;
    padding-left: 2.5%;
    animation: leftIn 0.7s 0.1s linear forwards;
}
.intro-contents .right-con{
    display: flex;
    height: 100%;
}
.intro-contents .right-con picture{
    opacity: 0;
    margin-top: auto;
    animation: rightIn 0.7s 0.5s linear forwards;
}
.intro-contents .btn-wrap{
    position: absolute;
    left: 0;
    bottom: 3.2vw;
    padding: 0 5%;
}
.btn.btn-intro{
    display: inline-block;
    padding: 35px 40px;
    border-radius: 100px;
    background: linear-gradient(90deg, #E741CD 0%, #618BE9 100%);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-align: center;
    vertical-align: top;
}
.btn-intro .icon{
    display: inline-block;
    margin-top: -3px;
    margin-left: 20px;
    font-weight: 400;
    vertical-align: middle;
    animation: moveLeft 1s infinite linear;
}
@keyframes moveLeft{
    0%, 100%{
        transform: translateX(-2px);
    }
    50%{
        transform: translateX(2px);
    }
}
@keyframes rightIn{
    0%{
        opacity: 0;
        transform: scale(0.9) translateX(8%) translateY(8%);
    }
    100%{
        opacity: 1;
        transform: scale(1) translateX(0) translateY(0);
    }
}
@keyframes leftIn{
    0%{
        opacity: 0;
        transform: translateX(-5%);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 1024px){
    html,
    body{
        font-size: 9px;
    }
    .intro-contents{
        gap: 20px;
    }
    .intro-contents .left-con{
        padding: 0;
    }
    .intro-contents .btn-wrap{
        max-width: 50%;
        padding: 0 2.5%;
    }
}
@media screen and (max-width: 768px){
    html,
    body{
        font-size: 8px;
    }
    .wrap.intro{
        height: auto;
        min-height: 100dvh;
    }
    .intro-contents{
        flex-direction: column;
        min-height: 100dvh;
        gap: 25px;
        padding: 40px 20px 30px;
    }
    .intro-contents .left-con{
        padding: 0;
    }
    .intro-contents .right-con{
        margin-bottom: 30px;
        justify-content: center;
    }
    .intro-contents .btn-wrap{
        position: static;
        width: 100%;
        max-width: none;
        padding: 0;
        margin-top: auto;
    }
    .btn.btn-intro{
        width: 100%;
        padding: 20px;
        font-size: 22px;
        line-height: 1.1;
    }
    .btn.btn-intro .icon{
        display: none;
    }
}