body {
    all: unset;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0c0c0c;
    font-family: 'Noto Sans KR', sans-serif;
}

.box-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 100vh;

}

.box-logo {
    width: 75px;
    margin: auto;
}

.box-logo img {
    display: block;
    width: 100%;
}

.box-form {
    width: 420px;
    padding: 40px;
    box-sizing: border-box;
    background-color: #eee;
    border-radius: .5rem;
}

.box-form h2 {
    padding: 0;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
}

.box-form .inputBox {
    position: relative;
}

.box-form .inputBox input[type='text'], input[type='password'] {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #5e5e5e;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #000000B2;
    outline: none;
    background: transparent;
}

.box-form .inputBox label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 1rem;
    color: #000000B2;
    letter-spacing: 1px;
    pointer-events: none;
    transition: .5s;
}

.box-form .inputBox input:focus ~ label,
.box-form .inputBox input:valid ~ label {
    top: -19px;
    left: 0;
    color: #3677f1;
    font-size: 12px;
}

.box-form .checkBox {
    position: relative;
}

.box-form .checkBox input[type='checkbox'] {
    font-size: 1rem;
    color: #000000B2;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
}

.box-form .checkBox label {
    position: absolute;
    top: -11px;
    left: 23px;
    padding: 10px 0;
    font-size: 1rem;
    color: #000000B2;
    letter-spacing: 1px;
}

.box-form .checkBox input[type='checkbox']:checked + label {
    color: #3677f1;
}

.box-form .box-login {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.box-form .btn-bottom {
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    background: #FFCA08;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}

.box-form .btn-bottom:focus {
    background: #ffdd5a;
}

.box-form .inputBox .withEye {
    position: relative;
}

.box-form .eyes {
    position: absolute;
    top: 9px;
    bottom: 0;
    right: 3px;
    color: #000000B2;
    margin: auto 2px;
    font-size: 1rem;
    cursor: pointer;
}

@media screen and (max-width: 850px) {

    .box-logo {
        width: 100%;
        border: none;
        margin-top: 0;
    }

    .box-logo img {
        width: 100%;
        height: auto;
    }

    .box-form {
        width: 100%;
        padding: 20px;
        border: none;

    }

    .box-form h2 {
        font-size: 1.3rem;
    }

    .box-form .checkBox input[type='checkbox'] {
        margin-bottom: 1rem;
    }

    .box-form .inputBox input[type='text'], input[type='password'] {
        margin-bottom: 1rem;

    }

    .box-form .btn-bottom {
        padding: 8px 10px;

    }
}