@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'OneStoreMobilePop';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/ONE-Mobile-POP.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

.contact_wrapper {
    background: linear-gradient(165deg, #3C668F 0%, #81A9CC 80%, #FFDB83 95%, #E9B1A0 100%);
    position: relative;
    overflow: hidden;
}

.catchphrase {
    font-family: 'OneStoreMobilePop', sans-serif;
    color: #fff;
    text-align: center;
}

.info {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
}

.btn {
    cursor: pointer;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: transparent;

    font-family: 'OneStoreMobilePop', sans-serif;    
    color: #fff;
    z-index: 5;
}

.contact_img {
    filter: drop-shadow(0 0 10px #fff);
}

.contact_img img {
    width: 100%;
    object-fit: cover;
    
    animation: shake 2s linear infinite;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* pc 버전 */
@media (min-width: 1025px) {
    
    .contact_wrapper {
        width: 100%;
        height: 88vh;
    }

    .contact_text {
        width: 50vw;
        height: 100%;
        position: absolute;
        top: 6vw;
        left: 6vw;
    }

    .catchphrase {
        font-size: 3vw;
        line-height: 120%;
    }

    .info {
        margin-top: 4rem;
    }

    .btn {
        padding: 1rem 2rem;
        margin: 0 2rem;
        font-size: 1.3vw;
        border-radius: 1rem;
        border: 3px solid #fff;
        transition: all 0.3s linear;
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        clip-path: ellipse(1% 1% at 100% 100%);
        transition: clip-path 0.8s ease-in-out;
        z-index: -1;
    }

    .btn:hover::before {
        clip-path: ellipse(180% 120% at 100% 100%);
    }

    .btn:hover {
        color: #2D3D57;
    }

    .contact_img {
        width: 30vw;
        height: 30vw;
        position: absolute;
        top: 6vw;
        right: 8vw;
    }

    .cloud1 {
        width: 12vw;
        height: 4vw;
        background: #fff;
        border-radius: 2vw;
        position: absolute;
        top: 30vw;
        left: 2vw;
        opacity: 0.6;
        filter: drop-shadow(
            600px -100px 0 rgba(255, 255, 255, 0.2)
        );
    }

    .cloud1::before {
        width: 6.5vw;
        height: 6.5vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -3vw;
        left: 1.5vw;
    }
    .cloud1::after {
        width: 5vw;
        height: 5vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -2vw;
        right: 1vw;
    }

    .cloud2 {
        width: 8vw;
        height: 3vw;
        background: #fff;
        border-radius: 2vw;
        position: absolute;
        top: 10vw;
        right: 2vw;
        opacity: 0.4;
        filter: drop-shadow(-600px -100px 0 rgba(255, 255, 255, 0.2));
    }

    .cloud2::before {
        width: 3vw;
        height: 3vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -1vw;
        left: 1vw;
    }
    .cloud2::after {
        width: 4vw;
        height: 4vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -2vw;
        right: 1vw;
    }

    /*복사 알림*/
    .mobile_msg, .email_msg {
        position: fixed;
        bottom: 0px; /* 이메일 위쪽에 표시 */
        left: 50%;
        transform: translate(-50%, 100%);
        background-color: #3C668F;
        color: #FFDB83; /* 포인트 컬러 활용 */
        padding: 2rem 8rem;
        border-radius: 4rem;
        font-family: 'OneStoreMobilePop', sans-serif;
        font-size: 1.5vw;
        transition: transform 0.3s ease;
        pointer-events: none;
    }

    .mobile_msg.show, .email_msg.show {
        transform: translate(-50%, -100%);
    }
}

/* 태블릿 버전 */
@media (max-width: 1024px) {

    .contact_wrapper {
        width: 100%;
        height: 93vh;
    }

    .contact_text {
        width: 80vw;
        height: 100%;
        position: absolute;
        top: 20vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .catchphrase {
        font-size: 5vw;
        line-height: 120%;
    }

    .info {
        margin-top: 3rem;
    }

    .btn {
        padding: 1.5rem 2.5rem;
        margin: 0 1rem;
        font-size: 2.5vw;
        border-radius: 1rem;
        border: 3px solid #fff;
        transition: all 0.1s linear;
    }

    .btn:active {
        background-color: #fff;
        color: #2D3D57;
    }

    .contact_img {
        width: 55vw;
        height: 55vw;
        position: absolute;
        top: 55vw;
        right: 5vw;
    }

    .cloud1 {
        width: 20vw;
        height: 6vw;
        background: #fff;
        border-radius: 3vw;
        position: absolute;
        top: 80vw;
        left: 10vw;
        opacity: 0.6;
        filter: drop-shadow(
            500px -250px 0 rgba(255, 255, 255, 0.2)
        );
    }

    .cloud1::before {
        width: 10vw;
        height: 10vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -6vw;
        left: 2vw;
    }
    .cloud1::after {
        width: 7.5vw;
        height: 7.5vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -4vw;
        right: 1.5vw;
    }

    .cloud2 {
        width: 10vw;
        height: 4vw;
        background: #fff;
        border-radius: 2vw;
        position: absolute;
        top: 10vw;
        right: 5vw;
        opacity: 0.4;
        filter: drop-shadow(-400px 100px 0 rgba(255, 255, 255, 0.2));
    }

    .cloud2::before {
        width: 4vw;
        height: 4vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -2vw;
        left: 1vw;
    }
    .cloud2::after {
        width: 5.5vw;
        height: 5.5vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -3vw;
        right: 1vw;
    }

    /*복사 알림*/
    .mobile_msg, .email_msg {
        position: fixed;
        bottom: 0px;
        left: 50%;
        transform: translate(-50%, 100%);
        background-color: #3C668F;
        color: #FFDB83; /* 포인트 컬러 활용 */
        padding: 3vw 6vw;
        border-radius: 4vw;
        font-family: 'OneStoreMobilePop', sans-serif;
        font-size: 3vw;
        transition: transform 0.3s ease;
        pointer-events: none;
    }

    .mobile_msg.show, .email_msg.show {
        transform: translate(-50%, -100%);
    }
}

/* 모바일버전 */
@media (max-width: 768px) {

    .contact_wrapper {
        width: 100%;
        height: 90vh;    
    }

    .contact_text {
        width: 80vw;
        height: max-content;
    }

    .catchphrase {
        font-size: 5.5vw;
        line-height: 130%;
    }

    .info {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 90%;
        margin: 1rem 0;
        font-size: 5vw;
        border-radius: 1rem;
        border: 3px solid #fff;
        text-align: center;
    }

    .btn:active {
        color: #2D3D57;
        background-color: #fff;
    }

    .contact_img {
        width: 65vw;
        height: 65vw;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translateX(-50%);
    }

    .cloud1 {
        width: 20vw;
        height: 7vw;
        background: #fff;
        border-radius: 3.5vw;
        position: absolute;
        top: 95vw;
        left: 5vw;
        opacity: 0.6;
        filter: drop-shadow(
            310px -150px 0 rgba(255, 255, 255, 0.2)
        );
    }

    .cloud1::before {
        width: 10vw;
        height: 10vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -6vw;
        left: 2vw;
    }
    .cloud1::after {
        width: 7.5vw;
        height: 7.5vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -4vw;
        right: 2vw;
    }

    .cloud2 {
        width: 10vw;
        height: 4vw;
        background: #fff;
        border-radius: 2vw;
        position: absolute;
        top: 10vw;
        right: 30vw;
        opacity: 0.4;
        filter: drop-shadow(
            -200px 100px 0 rgba(255, 255, 255, 0.2)
            );
    }

    .cloud2::before {
        width: 4vw;
        height: 4vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -2vw;
        left: 1vw;
    }
    .cloud2::after {
        width: 5.5vw;
        height: 5.5vw;
        content: '';
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: -3vw;
        right: 1vw;
    }

    /*복사 알림*/
    .mobile_msg, .email_msg {
        background-color: #3C668F;
        color: #FFDB83;
        position: fixed;
        bottom: 10%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;

        width: 18rem;
        height: 3rem;
        border-radius: 1.5rem;
        
        text-align: center;
        align-content: center;
        font-family: 'OneStoreMobilePop', sans-serif;
        font-size: 1.2rem;
    }

    .mobile_msg.show, .email_msg.show {
        opacity: 1;
    }
}