
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');


*{margin: 0; padding: 0; box-sizing: border-box;}
body {
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

}
body::before {
    content: "";
    position: absolute; z-index: 1;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: rgba(0,0,0,.5);
}

.login-form{position: relative; z-index: 2;}
.login-form h1{
    font-size: 32px; color: #fff;
    text-align: center;
    margin-bottom: 60px;
}
.int-area:first-child {margin-top: 0;}

.int-area {
    width: 350px;
    max-width: 90vw;
    position: relative;
    margin: 20px auto 0;
}
.int-area input{
    width: 100%;
    padding: 20px 10px 10px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #999;
    font-size: 18px; color: #fff;
    outline: none;
}
.int-area label {
    position: absolute; left: 10px; top: 15px;
    font-size: 18px; color: #999;
    transition: top .5s ease;
}
.int-area label.warning {
    animation: warning .3s ease;
    animation-iteration-count: 3;
}
@keyframes warning {
    0% {transform: translateX(-8px);}
    25% {transform: translateX(8px);}
    50% {transform: translateX(-8px);}
    75% {transform: translateX(8px);}
}
.int-area input:focus + label,
.int-area input:valid + label{
    top: 0;
    font-size: 13px; color: #166cea;
}

.btn-area {width: 350px;
    max-width: 90vw;
    margin-top: 30px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);}
.btn-area button {
    width: 100%; height: 50px;
    background: #166cea;
    color: #fff;
    font-size: 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}
.btn-area button:hover {
    box-shadow: 0 0 15px rgb(11, 67, 104);
    
}


.caption {
    margin-top: 3px;
    text-align: center;
}
.caption a {
    font-size: 15px; color: #d8d5eb;
    text-decoration: none;
    
}

.signup {
    margin-top: 5px;
    text-align: center;
}
.signup button {
    font-size: 14px; color: #272727;
    text-decoration: none;
    background: #eee;
    border:none;
    border-radius:5px;
    width: 90px;
    height: 100%;
    cursor:pointer;
}
.signup button:hover {
    box-shadow: 0 0 10px rgb(132, 198, 241);
    
}
.company{
    position: absolute; z-index: 1;
    bottom: 0.3rem;
}
.company a{
    font-size: 12px; /* Copyright text */
    color:#e6e6e6;
    
}


/* popup page css */

.popup {
    display:none;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:380px;
    padding:20px 30px;
    background:#fff;
    box-shadow:2px 2px 5px 5px rgba(0,0,0,0.15);
    border-radius:10px;
}
.popup .close-btn {
    position:absolute;
    top:10px;
    right:10px;
    width:15px;
    height:15px;
    background:#5c5c5c;
    color:#eee;
    text-align:center;
    line-height:15px;
    border-radius:15px;
    cursor:pointer;
   
}

.popup.active {
    display:flex;
}


.popup .close-btn:hover {
    box-shadow: 0 0 5px black;
    
}
.add-form {
    
    position:fixed;
    z-index: 2;
    top:400px;
    left:960px;
}
.add-form h2{
    
    font-size: 29px; color: #808080; /* 가입창 제목 */
    text-align: center;
    margin-bottom: 60px;
}

.int-area2:first-child {margin-top: 0;}
.int-area2 {
    width: 320px; position: relative;
    margin-top: 20px;
}
.int-area2 input{
    width: 100%;
    padding: 20px 10px 10px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #999;
    font-size: 15px; color: #000000; /* 입력 커서 active color */
    outline: none;
}
.int-area2 label {
    position: absolute; left: 10px; top: 15px;
    font-size: 15px; color: #e4e4e4; /* 입력창 default color */
    transition: top .5s ease;
}
.int-area2 label.warning {
    animation: warning .3s ease;
    animation-iteration-count: 3;
}
@keyframes warning {
    0% {transform: translateX(-8px);}
    25% {transform: translateX(8px);}
    50% {transform: translateX(-8px);}
    75% {transform: translateX(8px);}
}
.int-area2 input:focus + label,
.int-area2 input:valid + label{
    top: 0;
    font-size: 13px; color:#00ffff; /* 입력창 활성화 text 색상 */
}

.btn-area2 {margin-top: 30px;}
.btn-area2 button {
    width: 100%; height: 50px;
    background: #57c0ca; /* sign-up 버튼 배경 */
    color: #fff;
    font-size: 19px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

