@font-face {
    font-family: NanumGothicCoding;
    src: url("/static/font/NanumGothicCoding.woff2") format("woff2"),
    url("/static/font/NanumGothicCoding.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: NanumGothicCoding;
    src: url("/static/font/NanumGothicCoding-Bold.woff2") format("woff2"),
    url("/static/font/NanumGothicCoding-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

a, a:visited {
    text-decoration: none;
}

body {
    text-align: center;
    background-color: #4e6e7e;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 800px) {
    body {
        padding: 0;
    }
}

.main {
    background-image: url("/static/img/paper.jpg");
    min-height: 100vh;
    margin: 0 7% 0 7%;
    color: #9baba4;
    font-family: monospace;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

@media screen and (max-width: 800px) {
    .main {
        margin: 0;
    }
}

.main > img {
    max-width: 35vw;
}

.footer {
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 6%;
}

.footer-inner {
    /*margin: 2vw;*/
    margin: 2vw 0;
    background-color: rgba(77,77,77,0.3);
    border: 1px solid cadetblue;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-inner > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.footer-list {
    display: flex;
    line-height: 1.5em;
    align-items: center;
}

.footer-item {
    padding: 10px 12px;
    text-align: center;
}

.footer-item a {
    color: white;
    text-decoration: none;
}

.lyphe-label {
    display: block;
}

input[type=text], input[type=email], input[type=password] {
    background: url("/static/img/textbox.png") no-repeat center;
    background-size: 256px 64px;
    width: 232px;
    height: 64px;
    border: none;
    padding-inline: 10px 10px;
    font-family: NanumGothicCoding, monospace;
    font-weight: bold;
}

input[type=text]:focus {
    border: none;
}

button, .button {
    display: inline-block;
    background: url("/static/img/button.png") no-repeat center;
    background-size: 138px 64px;
    width: 138px;
    height: 64px;
    vertical-align: bottom;
    padding-top: 6px;
    border: none;
    font-family: NanumGothicCoding, monospace;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    line-height: 58px;
    color: black;
}

button:hover, .button:hover {
    filter: brightness(78%);
    cursor: pointer;
}

.bigbutton {
    display: inline-block;
    background: url("/static/img/bigbutton.png") no-repeat center;
    background-size: 276px 64px;
    width: 276px;
    height: 64px;
    vertical-align: bottom;
    padding-top: 6px;
    border: none;
    font-family: NanumGothicCoding, monospace;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    line-height: 58px;
    color: black;
}
.bigbutton:hover {
    filter: brightness(78%);
    cursor: pointer;
}

#lyphesmall {
    margin-top: 1%;
    display: flex;
    flex-direction: row;
    height: 10%;
    text-align: left;
}

.bent-surrounding {
    background: url("/static/img/borderbent.png") no-repeat center;
    background-size: 85px;
    display: grid;
    height: 85px;
    margin: auto;
}

#lypheimg {
    width: 85px;
    margin: auto;
}

#lyphetitlenav > img {
    height: 72px;
    padding-top: 20px;
    margin: auto;
}

.navbar {
    width: 95%;
    margin-bottom: 1%;
}

.user-bar {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: right;
}

.user-bar > form {
    margin: 0;
}

.user-bar > span {
    margin-top: auto;
    margin-bottom: auto;
}

.user-bar > form > button {
    display: inline-block;
    background: url("/static/img/button.png") no-repeat center;
    background-size: 69px 32px;
    width: 69px;
    height: 32px;
    margin-top: -6px;
    vertical-align: bottom;
    border: none;
    font-family: NanumGothicCoding, monospace;
    font-weight: bold;
    font-size: 0.9em;
    text-decoration: none;
    line-height: 10px;
    color: #586761;
}
