@charset "utf-8";
@import url("https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css");
:root {
    --success-color: rgb(70, 206, 70);
    --error-color: red;
}
* {
  font-family: 'Spoqa Han Sans', 'Sans-serif';
}
html, body {
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
#wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 400px;
    padding: 40px;
    border-radius: 5px;
    box-shadow: #aaa 0 2px 10px;
}
#form {
    width: 100%;
}
#form h2 {
    margin-top: 0;
    text-align: center;
}
.form-control {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 105px;
}
.form-control:last-of-type {
    margin-bottom: 25px;
}
.form-control > label {
    display: block;
    color: #888;
    font-size: 17.6px;
    font-size: 1.1rem;
}
.form-control > input {
    box-sizing: border-box;
    padding-left: 10px;
    width: 100%;
    height: 40px;
    border: #eee 1px solid;
    border-radius: 3px;
    font-size: 14.4px;
    font-size: 0.9rem;
}
.form-control > input:focus {
    border: #555 2px solid;
}
.error > input {
    border: var(--error-color) 2px solid;
}
.success > input {
    border: var(--success-color) 2px solid;
}
.form-control > small {
    color: var(--error-color);
    visibility: hidden;
}
.error > small {
    visibility: visible;
}
button[type="submit"] {
    box-sizing: border-box;
    background: rgb(77, 154, 255);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    transition: background-color .3s;
    cursor: pointer;
}
button[type="submit"]:hover {
    background: rgb(53, 141, 255)
}