
:root {
    --black: #333333;
    --white: #ffffff;
}

html {
    display: flex;
    height: 100%;
}

body {
    display: flex;
    font-family: Arial, sans-serif;
    width: 100%;
}

/* normal color scheme */
body,
body *,
textarea {
    background-color: var(--white);
    color: var(--black);
}

@media (prefers-color-scheme: dark) {
    body,
    body *,
    textarea {
        background-color: var(--black);
        color: var(--white);
    }
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.column-right {
    flex: 1;
    max-height: 100vh;
    overflow-y: auto;
}

ul#results {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
}


/* loading icon -- https://github.com/loadingio/css-spinner/blob/master/dist/ellipsis.html */
#loading-icon {
    display: none;
}


.lds-ellipsis,
.lds-ellipsis div {
    box-sizing: border-box;
}
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}
