 /* 폰트 가져오기 */
@font-face {
    font-family: 'HakgyoansimAllimjangTTF';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-R.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

 /*━━━━━━━━━ 로딩 오버레이 스타일 (S) ━━━━━━━━━*/
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
#loading-spinner {
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*━━━━━━━━━ 로딩 오버레이 스타일 (S) ━━━━━━━━━*/

/*━━━━━━━━━ 메인 (S) ━━━━━━━━━*/
main {
    padding-top : 20px;
    padding-bottom : 20px;
    overflow: auto;
    text-align: center;

    align-content: center;
    justify-items: center;

    width: 100dvw;
    height: 100dvh;
    background-color: rgb(231, 232, 236);
}
/*━━━━━━━━━ 메인 (E) ━━━━━━━━━*/

/*━━━━━━━━━ 타이틀 (S) ━━━━━━━━━*/
.logo-img {
    width : 100px;
    transition: transform 0.3s ease;
}

.login-title {
    text-align: center;

    font-size : 18px;
    font-weight: bold;
    margin-bottom : 10px;
}

.loading-profile {
    width : 100%;
    justify-items: center;
    text-align: center;

    .pl {
        margin:auto;
    }
}

.loading-profile-img-box {
    position:absolute;
    top: 2.5em;
    left: 2.5em;
    width: calc(100% - 5em);
    height: calc(100% - 5em);

    border-radius: 50%;

    box-shadow:
    0 -0.45em 0.375em hsla(0, 0%, 0%, 0.15),
    0 0.5em 0.75em hsla(0, 0%, 0%, 0.15) inset,
    0 0.25em 0.5em hsla(0, 0%, 100%, 0.4),
    0 -0.5em 0.75em hsla(0, 0%, 100%, 0.4) inset;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
}
/*━━━━━━━━━ 타이틀 (E) ━━━━━━━━━*/

/*━━━━━━━━━ 로그인 폼 (S) ━━━━━━━━━*/
.login-frm {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
    margin-bottom : 12px;
}

.input-container {
    width: 300px;
}

/* 비밀번호 * 표시 한국어 폰트 설정 */
.password {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    font-weight: bold;
}

.login-btn-box {
    width : 300px;
}
.login-btn {
    width : 100%;
}
/*━━━━━━━━━ 로그인 폼 (E) ━━━━━━━━━*/

/*━━━━━━━━━ 회원가입 폼 (S) ━━━━━━━━━*/
.dup-check-btn {
    font-size : 13px;
    font-weight: 100;

    letter-spacing: 1px;
    width : 100px !important;
}
.back-icon {
    position: relative;
    top: 3px;
    font-size: 18px !important;
}
.check-circle {
    color:green;
    font-size: 18px !important;
}
.back-btn {
    margin-top : 20px;
}
.back-btn-text {
    font-size: 14px;
}
.sign-up-top-title {
    display: flex;
}
.sign-up-title {
    align-content: center;
}
/*━━━━━━━━━ 회원가입 폼 (E) ━━━━━━━━━*/

/*━━━━━━━━━ 서비스 이용 동의 약관 (S) ━━━━━━━━━*/
.tou-container {
    margin-top : 20px;
    margin-left : 10px;
    margin-right : 10px;
}
.tou-cont {
    font-size: 10px;
    color : grey
}
/*━━━━━━━━━ 서비스 이용 동의 약관 (E) ━━━━━━━━━*/


/*━━━━━━━━━ 프로필 변경시 바운스 효과 (S) ━━━━━━━━━*/
.bounce {
    animation: bounceIn 0.4s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(0.8);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
/*━━━━━━━━━ 프로필 변경시 바운스 효과 (E) ━━━━━━━━━*/

/*━━━━━━━━━ 프로필 눈덩이 (S) ━━━━━━━━━*/
:root {
    font-size: calc(16px + (20 - 16) * (100vw - 320px) / (1280 - 320));
}
.pl,
.pl__ball,
.pl__ball-inner-shadow,
.pl__ball-side-shadows,
.pl__ball-texture,
.pl__inner-ring,
.pl__outer-ring,
.pl__track-cover {
    border-radius: 50%;
}
.pl {
    position: relative;
    width: 16em;
    height: 16em;
}
.pl__ball,
.pl__ball-inner-shadow,
.pl__ball-outer-shadow,
.pl__ball-side-shadows,
.pl__ball-texture,
.pl__ball-texture:before,
.pl__inner-ring,
.pl__outer-ring,
.pl__track-cover {
    position: absolute;
}
.pl__ball,
.pl__ball-inner-shadow,
.pl__ball-outer-shadow,
.pl__ball-texture:before,
.pl__track-cover {
    animation: ball 3s linear infinite;
}
.pl__ball {
    top: calc(50% - 1.25em);
    left: calc(50% - 1.25em);
    transform: rotate(0) translateY(-6.5em);
    width: 2.5em;
    height: 2.5em;
}
.pl__ball-inner-shadow {
    animation-name: ballInnerShadow;
    box-shadow:
    0 0.1em 0.2em hsla(0, 0%, 0%, 0.3),
    0 0 0.2em hsla(0, 0%, 0%, 0.1) inset,
    0 -1em 0.5em hsla(0, 0%, 0%, 0.15) inset;
    width: 100%;
    height: 100%;
}
.pl__ball-outer-shadow {
    animation-name: ballOuterShadow;
    background-image: linear-gradient(hsla(0, 0%, 0%, 0.15),hsla(0, 0%, 0%, 0));
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    filter: blur(2px);
    top: 50%;
    left: 0;
    width: 100%;
    height: 250%;
    transform: rotate(20deg);
    transform-origin: 50% 0;
    z-index: -2;
}
.pl__ball-side-shadows {
    background-color: hsla(0, 0%, 0%, 0.1);
    filter: blur(2px);
    width: 100%;
    height: 100%;
    transform: scale(0.75,1.1);
    z-index: -1;
}
.pl__ball-texture {
    overflow: hidden;
    width: 100%;
    height: 100%;
    transform: translate3d(0,0,0);
}
.pl__ball-texture:before {
    animation-name: ballTexture;
    animation-duration: 0.25s;
    background: url(https://assets.codepen.io/416221/snow.jpg) 0 0 / 50% 100%;
    content: "";
    display: block;
    filter: brightness(1.05);
    top: 0;
    right: 0;
    width: 200%;
    height: 100%;
}
.pl__inner-ring {
    box-shadow:
    0 -0.25em 0.5em hsla(0, 0%, 100%, 0.4),
    0 0.5em 0.75em hsla(0, 0%, 100%, 0.4) inset,
    0 0.5em 0.375em hsla(0, 0%, 0%, 0.15),
    0 -0.5em 0.75em hsla(0, 0%, 0%, 0.15) inset;
    top: 2.375em;
    left: 2.375em;
    width: calc(100% - 4.75em);
    height: calc(100% - 4.75em);
}
.pl__outer-ring {
    box-shadow:
    0 -0.45em 0.375em hsla(0, 0%, 0%, 0.15),
    0 0.5em 0.75em hsla(0, 0%, 0%, 0.15) inset,
    0 0.25em 0.5em hsla(0, 0%, 100%, 0.4),
    0 -0.5em 0.75em hsla(0, 0%, 100%, 0.4) inset;
    top: 0.75em;
    left: 0.75em;
    width: calc(100% - 1.5em);
    height: calc(100% - 1.5em);
}
.pl__track-cover {
    animation-name: trackCover;
    background-image: conic-gradient(rgba(0,0,0,0) 210deg, hsla(223, 90%, 95%, 0) 270deg);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes ball {
    from {
        transform: rotate(0) translateY(-6.5em);
    }
    50% {
        transform: rotate(180deg) translateY(-6em);
    }
    to {
        transform: rotate(360deg) translateY(-6.5em);
    }
}
@keyframes ballInnerShadow {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(-360deg);
    }
}
@keyframes ballOuterShadow {
    from {
        transform: rotate(20deg);
    }
    to {
        transform: rotate(-340deg);
    }
}
@keyframes ballTexture {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}
@keyframes trackCover {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}
/*━━━━━━━━━ 프로필 눈덩이 (E) ━━━━━━━━━*/

/*━━━━━━━━━ 모바일 반응형 (S) ━━━━━━━━━*/
@media (max-width : 1024px) {
    main {
        align-content: baseline;

        .input-container {
            width : 320px;
        }

        .login-btn-box {
            width : 320px;
        }

        .back-btn {
            width: 320px;
        }
    }
}
/*━━━━━━━━━ 모바일 반응형 (E) ━━━━━━━━━*/