/*
// Media Query Size
//------------------------------------------------
Small display scales - @media (min-width: 576px) and @media (max-width: 575px)
Medium screen scale - (min-width: 768px) and (max-width: 767px)
Large size display dimension - (min-width: 992px) and (max-width: 991px)
And Additional big display sizes - (min-width: 1200px) and (max-width: 1199px)
*/

@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Roboto+Mono:wght@400;700&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+KR:wght@100;300;400;500;700;900&family=Noto+Serif+KR:wght@200;300;400;500;600;700;900&display=swap');

:root {
    --font-gothic:      'Roboto', 'Noto Sans KR', sans-serif;
    --font-serif:       'Playfair Display', 'Noto Serif KR', serif;
    --font-monospace:   'Roboto Mono', monospace;
    --font-condensed:   'Roboto Condensed', sans-serif;

    --red-dark:     #cb000e;
    --red-light:    #ea4836;
    --blue-dark:    #0065d1;
    --blue-light:   #d1effe;
    --green-dark:   #195C28;
    --green-light:  #E9FEE1;
    --yellow-dark:  #B9A644;
    --yellow-light: #FFFEBD;
}

::-moz-selection { background: var(--blue-light) }
::selection { background: var(--blue-light) }

html {
    font-family: var(--font-gothic);
    -webkit-text-size-adjust: 100%;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-gothic);
    font-weight: 400;
    -webkit-tap-highlight-color: #ced4da;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer { padding: 1rem 0 5rem 0; line-height: 1; text-align: center; }

.content {
    width: 100%;
    max-width: 300px;
    padding: 2rem;
    text-align: center;
}

.logo {
    height: 50px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.1rem 0;
    border: none;
    border-bottom: 1px solid #ced4da;
    outline: none;
    margin-top: 2rem;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-bottom: solid 1px var(--blue-dark);
}

input.is-invalid {
    border-bottom: solid 1px var(--red-dark);
}

button {
    margin-top: 2rem;
    border: solid 1px #000;
    color: #000;
    background-color: transparent;
    padding: 0.5rem 2rem;
    transition: all 1s ease;
}

button:hover {
    background-color: #000;
    color: #fff;
    transition: all 1s ease;
}