@font-face {
    font-display: swap;
    font-family: "Funnel Display";
    font-style: normal;
    font-weight: 800;
    src: url("fonts/funnel-display-v3-latin-800.woff2") format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Funnel Sans";
    font-style: normal;
    font-weight: 400;
    src: url("fonts/funnel-sans-v3-latin-regular.woff2") format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Funnel Sans";
    font-style: normal;
    font-weight: 700;
    src: url("fonts/funnel-sans-v3-latin-700.woff2") format("woff2");
}
*, *::before, *::after {
    box-sizing: border-box;
}
:root {
    --background: #fff;
}
html, body {
    margin: 0;
    height: auto;
    width: 100%;
    line-height: 1.1;
}
html {
    display: flex;
    justify-content: center;
}
body {
    max-width: 50rem;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-family: "Funnel Sans";
    letter-spacing: -0.5px;
    background-color: var(--background);
}
h1 {
    font-family: "Funnel Display";
    font-size: min(4rem, 7.5vh);
    margin: 0;
    letter-spacing: -2px;
    line-height: 0.9;
    text-wrap-style: balance;
}
a {
    color: black;
}
#messages {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-bottom: 5rem;
}
.message {
    background: #e9e9e980;
    width: max-content;
    border-radius: 1.5rem;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    color: #0d0d0d;
    font-family: ui-sans-serif, -apple-system, system-ui, Segoe UI, Helvetica, Apple Color Emoji, Arial, sans-serif, Segoe UI Emoji, Segoe UI Symbol;
    text-align: right;
}
#search-container {
    position: fixed;
    bottom: 0;
    place-self: center;
    width: 100%;
    max-width: 50rem;
    height: 7.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: linear-gradient(180deg, transparent, var(--background) 50%);
}
#search {
    margin: 0;
    width: calc(100% - 4rem);
    background: transparent;
    outline: 1px rgb(13 13 13 / 25%) solid;
    border: none;
    font-family: "Funnel Sans";
    border-radius: 1rem;
    font-size: 1.5rem;
    text-align: center;
    color: #0d0d0d;
    backdrop-filter: blur(1rem);
    height: 3rem;
    margin-bottom: 1.5rem;
}
@media screen and (max-width: 100vh) {
    #messages {
        justify-content: center;
    }
    .message {
        width: 100%;
        text-align: center;
    }
    #search-container {
        background: linear-gradient(180deg, transparent, var(--background) 75%);
    }
    #search {
        margin-left: 4rem;
        margin-right: 4rem;
        width: calc(100% - 4rem);
    }
}
@media screen and (prefers-color-scheme: dark) {
    :root {
        --background: #212121;
    }
    .message {
        background: #323232d9;
        color: #fff;
    }
    body, a, input {
        color: white !important;
    }
    input {
        outline: 1px rgb(242 242 242 / 25%) solid !important;
    }
}