@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500&family=Noto+Sans+JP&display=swap');

* {
    box-sizing: border-box;
}

.small {
    font-size: .875em;
}

.text-muted {
    color: #6c757d !important;
}

body {
    line-height: 1.5;
}

div.background {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(232, 219, 214);
}

div.content {
    display: flex;
    flex-direction: column;
    width: 450px;
    height: 400px;
    background: #fff;
    padding: 40px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 20%);
    font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
}

div.logo {
    color: #171881;
    font-family: 'EB Garamond', Garamond, Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    user-select: none;
    height: 29px;
    margin-bottom: 24px;
    padding-left: 6px;
}

div.logo span {
    display: inline-block;
}

div.logo span:not(:last-of-type)::first-letter {
    font-size: 22px;
}

div.logo span:last-of-type {
    color: rgba(23, 24, 129, .4);
    font-size: 21px;
}

div:has(> input) {
    margin: 12px 0;
}

input[type=text], input[type=password] {
    width: 100%;
    padding: .375rem .75rem;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input[type=text]:focus, input[type=password]:focus, button:focus {
    border-color: rgba(13, 202, 240, 1);
    box-shadow: 0 0 0 4px rgba(13, 202, 240, .45);
    outline: none;
}

div:has(> button) {
    text-align: right;
}

button {
    background-color: #009bc2;
    border: none;
    border-radius: 100vh;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: .375rem 1.5rem;
    position: relative
}

button:hover::after {
    background-color: rgba(255, 255, 255, .15);
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 100vh;
}

.message {
    margin-top: 24px;
}

.message.error {
    color: #f00;
}

footer {
    flex-grow: 1;
    display: flex;
    flex-direction: column-reverse;
}
