@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Noto+Sans+KR:wght@100..900&display=swap');

/* --------------------
   초기화
-------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: url('../idpw/한국지도1.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    position: relative;
}

h2 {
    margin-bottom: 25px;
    margin-top: -20px;
}

body::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(0,0,0,0.4); /* 배경 어둡게 */
}

/* --------------------
   로그인 섹션
-------------------- */
.login-form {
    position: relative;
    z-index: 1;
    width: 500px;
    max-width: 100%;
    backdrop-filter: blur(8px);
    text-align: center;

}

.login-form h1 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 25px;
}

/* --------------------
   입력창
-------------------- */
.login-form input {
    width: 100%;
    padding: 14px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1rem;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    outline: none;

}

.login-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.login-form input:focus {
    background: rgba(255,255,255,0.3);
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255,215,0,0.5) inset;
}

/* --------------------
   버튼
-------------------- */
.login-form button {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 900;
    color: #000;
    border: none;
    border-radius: 10px;
    background: linear-gradient(145deg, #29fa04, #1bc300);
    cursor: pointer;
    box-shadow: 0 6px 0 #039e3c, 0 8px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease;
    margin-bottom: 20px;
    margin-bottom: 50px;
}

.login-form button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg) translateX(-100%);
    transition: all 0.4s ease;
}

.login-form button:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.login-form button:hover {
    background: linear-gradient(145deg, #d8c303, #17a900, #d8c303);
    transform: translateY(-3px);
}

.login-form button:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #039e3c, 0 4px 8px rgba(0,0,0,0.2);
}

/* --------------------
   모바일 반응형
-------------------- */
@media (max-width: 768px) {
    .login-form {
        padding: 30px 20px;
        width: 90%;
    }

    .login-form h1 {
        font-size: 1.5rem;
    }

    .login-form input {
        padding: 12px;
        font-size: 0.95rem;
    }

    .login-form button {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-form {
        padding: 20px 15px;
    }

    .login-form h1 {
        font-size: 1.3rem;
    }

    .login-form input {
        padding: 10px;
        font-size: 0.9rem;
    }

    .login-form button {
        padding: 10px;
        font-size: 0.95rem;
    }
}





