@font-face {
    font-family: "Source Code Pro";
    src: url("/assets/source_code_pro.ttf");
}


body {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0; padding: 0;
    min-height: 100vh;
    background: #080808; color: #fff;
    font-family: monospace;
    font-size: 16px;
}

.kc-header {
    width: 100%; height: 54px;
    background: #000;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.kc-logo {
    height: 45px;
    cursor: default;
    user-select: none;
}

.kc-logo > img {
    background: transparent;
    height: 45px;
    width: 45px;
    image-rendering: pixelated;
}

/*.kc-header > p {*/
/*    font-size: 1.5em;*/
/*    margin: 0 12px 0 0;*/
/*}*/

.kc-header > ul {
    margin: 0; padding: 0;
    height: 100%;
    list-style: none;
}

.kc-header > ul > li {
    height: 100%;
    float: left;
}

.kc-header > ul > li > a {
    padding: 0 1ch;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    cursor: default;
    user-select: none;
    text-decoration: none;
    transition: background-color 100ms linear, color 64ms linear;
}

.kc-header > ul > li > a:hover {
    background-color: white; color: black;
}

.kc-nav-selected {
    background-color: white; color: black;
}

.kc-footer {
    margin: 0;
    width: 100%; height: 36px;
    background: #000;
    display: flex;
    align-items: center;
    user-select: none;
}

.kc-footer-text {
    margin: 0;
    padding: 0 1ch 0 1ch;
    height: 100%;
    display: flex;
    align-items: center;
}

.kc-footer-link {
    padding: 0 1ch 0 0;
}

.kc-footer-copyright {
    margin: 0 6px 0 auto;
    color: #aaa;
    white-space: pre-line;
    font-size: 12px;
}

.kc-home-highlights {
    /*margin: calc(max(0px, min(40px, 9vw - 16vh))) auto 0 auto;*/
    /*width: calc(max(80vw, 752px + 320px));*/
    display: flex;
    flex-direction: row;
}

.kc-tile-grid {
    display: grid;
}

.kc-tile {
    position: relative;
    width: 100%; height: 100%;
    cursor: default;
    user-select: none;
}

.kc-tile > * {
    position: absolute;
    width: 100%; height: 100%;
}

.kc-tile-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    outline: 2px solid #fff0;
    transition: background-color 250ms ease-in-out, outline-color 200ms linear;
}

.kc-tile-info:hover {
    background: #00000088;
}

.kc-tile-selected > .kc-tile-info {
    outline-color: #fff;
}

.kc-tile-outline {
    outline: 2px solid #fff0;
    outline-offset: -2px;
    transition: outline-color 200ms linear;
}

.kc-tile:hover .kc-tile-outline, .kc-tile-selector:checked ~ .kc-tile-outline {
    outline-color: #fff;
    transition: none;
}

.kc-tile-card {
    white-space: pre-line;
}

.kc-tile-card > div {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.kc-button-outline {
    padding: 1em 2ch;
    background: #00000055; color: #fff;
    font-size: 16px;
    outline: 2px solid #fff;
    outline-offset: -2px;
    cursor: default;
    user-select: none;
    text-decoration: none;
    transition: background-color 100ms linear, color 64ms linear;
}

.kc-button-outline:hover {
    background: #fff; color: #000;
}

.kc-button-outline:disabled {
    background: #fff3; color: #aaa;
}

.kc-button {
    padding: 1em 2ch;
    background: #fff; color: #000;
    font-size: 16px;
    cursor: default;
    user-select: none;
    text-decoration: none;
    transition: background-color 100ms linear, color 64ms linear;
}

.kc-button:hover {
    background: #00000088; color: #fff;
}

.kc-button:disabled {
    background: #eee; color: #888;
}

.kc-wrappanel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.kc-sign-up {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    float: right;
    right: 0;
    top: 54px;
    z-index: 999;
    transition: height 250ms ease-in-out;
    padding: 0 2ch;
    background: black;
    overflow: clip;
}

input[type="text"], input[type="password"], textarea {
    border: 2px solid white;
    background: black;
    color: white;
    padding: 1ch;
}

.kc-sign-up input {
    padding: 1ch;
    margin: 1ch 0;
}

.kc-center {
    margin: 4em 4ch;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kc-contact-us {
    margin: 4em 4ch;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
    align-items: center;
    justify-content: center;
    min-height: 100%;
    flex: 1;
}
