.results { form { padding: .5em; justify-content: center; align-items: center; display: flex; height: 4.5em; input[type=text] { background-color: var(--color-window-content); color: var(--color-text-alt); margin: 1em .5em 0; height: 2.5rem; border: none; border-radius: .5em; padding: 0.5rem; font-size: 1rem; border: 1px dashed var(--color-window-buttons); flex-shrink: 1; flex-grow: 1; width: 1em; &:placeholder { font: inherit; } } } & > div { position: fixed; top: 9.5em; left: 0; right: 0; bottom: 0; height: auto; } ul { display: block; & > li { padding: .5em; display: flex; position: relative; @media(hover: hover) { &:hover { background-color: var(--color-button-alt); } } & > p { position: absolute; font-size: .8em; background-color: #000; color: #fff; border-radius: .5em; padding: .25em; bottom: 0.25em; left: 2em; } & > div { margin-left: 1em; display: flex; flex-direction: column; // justify-content: space-between; & > p:nth-of-type(2) { margin: .25em 0 .5em; font-size: .8em; color: var(--color-decor); } } } } }