@property --bgColour1 {
    syntax: '<color>';
    initial-value: #045055;
    inherits: false;
}

@property --bgColour2 {
    syntax: '<color>';
    initial-value: #081727;
    inherits: false;
}

@property --bgColour3 {
    syntax: '<color>';
    initial-value: #011016;
    inherits: false;
}

html {
    background: radial-gradient(
        circle at top,
        var(--bgColour1),
        var(--bgColour2),
        var(--bgColour3)
    );
    background-attachment: fixed;
    margin: 0px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: cubic-bezier(0,1.03,.52,1.02) --bgColour1 1s, cubic-bezier(0,1.03,.52,1.02) --bgColour2 1s, cubic-bezier(0,1.03,.52,1.02) --bgColour3 1s;
}

html.purple {
    --bgColour1: #042455;
    --bgColour2: #081527;
    --bgColour3: #010816;
}

body {
    color: rgb(219, 255, 246);
    padding: 2rem;
    font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#main-header {
    font-weight: 100;
    text-align: left;
    font-size: 4rem;
    font-family: 'Open Sans';
    margin: 0.25rem;
    user-select: none;
    -webkit-user-select: none;
}

p {
    margin: 0.25rem;
    text-align: left;
}

a, a:visited {
    color: rgb(169, 255, 234)
}

select, input, button {
    height: 2rem;
    border-radius: 0.5rem;
    border: solid 2px #14a0aa;
    font-family: inherit;
    margin: 0 0.25rem;
    margin-bottom: 0.3rem;
    background-color: #ebfeff;
    text-overflow: ellipsis;
}

input {
    height: 1.25rem;
    padding: 0 0.25rem;
    margin: 0
}

button {
    height: auto;
    padding: 0.25rem 0.5rem;
    border-radius: 0.6rem;
}

#results {
    display: none;
    list-style-type: lower-alpha;
}

#results.visible {
    display: block;
}

#copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.25rem;
    text-align: center;
    font-size: small;
    backdrop-filter: blur(4px);
}

#noresult {
    display: none;
}

#noresult.visible {
    display: initial;
}