
@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

body {
  user-select: none;        /* 텍스트 선택 금지 */
  -webkit-user-drag: none;  /* 이미지 등 드래그 금지 (Safari) */
}

@keyframes clickEffect {
    0% {
      transform: scale(1); /* 원래 크기 */
    }
    30% {
      transform: scale(0.975); /* 크기 20% 커짐 */
    }
    100% {
      transform: scale(1); /* 원래 크기로 돌아옴 */
    }
}

body {
    margin: 0;
    padding: 0;
}

* {

    font-family: NanumSquare, sans-serif;
    -webkit-tap-highlight-color: transparent;

}

html {
    scrollbar-width: none; /* Firefox에서 스크롤바 숨기기 */
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none; /* 웹킷 기반 브라우저에서 스크롤바 숨기기 */
}

.login {
    width: 80vw;
    /* height: 80vh; */
    max-width: 400px;
    /* max-height: 300px; */
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1),
               0 5px 15px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    overflow: hidden;
}

.login h2 {
    width: calc( 100% - 40px );
    margin: 20px 20px 0 20px;
}

.login-form {
    width: calc( 100% - 40px );
    margin: 20px 20px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-form .login-input {
    width: 100%;
    height: 45px;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1),
               0 5px 15px -10px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease; /* 테두리 색상과 그림자 효과에 애니메이션 추가 */
}

.login-form .login-input:focus {
    outline: none;
    /* border-color: #007bff; */
    border-color: #8a73ff;
    box-shadow: 0 0 5px rgba(138, 115, 255, 0.5);
}

.login-checkbox {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    width: 100%;
    margin-bottom: 20px;
    line-height: 1;
}

.login-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 10px;
}

.login-form button {
    width: 135px;
    height: 45px;
    border-radius: 25px;
    border: none;
    background-color: #8a73ff;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1),
                0 5px 15px -10px rgba(0, 0, 0, 0.05);
    margin: 0 0 20px 0;
    transition: transform 0.15s ease;
}

.clicked {
    transform: scale(0.975);
}