BODY {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-weight: 200;
}

H1 {
    font-size: 28px;
    font-weight: 200;
    text-align: center;
    opacity: 0.7;
}

A {
    color: inherit;
    text-decoration: none;
    display: block;
    text-align: center;
    opacity: 0.5;
    margin: 30px 10px 10px;
}
A:hover {
    text-decoration: underline;
    opacity: 1;
}
A + A {
    opacity: 0.25;
    font-size: 0.9em;
}

INPUT {
    font: inherit;
    background-color: transparent;
    color: inherit;
    border: 0 none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding: 5px 0;
    display: block;
    font-size: 24px;
    margin: 20px;
}
INPUT:focus {
    outline: none;
}
INPUT::placeholder {
    color: rgba(0, 0, 0, 0.3);
}
INPUT.error {
    border-color: rgba(255, 22, 22, 0.6);
}

.dark {
    color: white;
}
.dark INPUT:not(.error) {
    border-color: rgba(255, 255, 255, 0.3);
}
.dark INPUT::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.filter-result {
    padding-bottom: 100px;
}
.filter-result PRE {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 2;
    margin-top: 2em;
}
.filter-result #resultCount {
    margin-top: 0;
}

#filter-preview {
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    height: 20%;
    z-index: 1;
    background-color: black;
}
#filter-history {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    z-index: 1;
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#filter-history LI {
    position: relative;
    flex: 1 1 auto;
}
#filter-history LI SPAN {
    background-color: black;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
