@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");

html {
    font-size: 1.25rem;
}

* {
    box-sizing: border-box;
}

html, input, textarea, button, select {
    font-family: "Lexend", sans-serif;
}

body {
    display: flex;
    flex-flow: column nowrap;
    background-color: #f5f5f5;
    padding: 0;
    margin: 0;
    align-items: center;
}

nav {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 16px;
    height: 64px;
    background-color: #000000;
    gap: 2ch;
    width: 100%;
    display: sticky;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s cubic-bezier(0.33, 1, 0.68, 1);
}

nav a:hover {
    color: #80CBC4;
    text-decoration: underline;
}

#navi-logo {
    display: flex;
    align-items: center;
    gap: 1ch;
    font-weight: bold;
}

#navi-logo > img {
    width: 32px;
    height: 32px;
}

main {
    padding: 16px;
    width: max(800px, 1vw);
}

#navi-spacer {
    flex: 1 0 auto;
}

input {
    padding: 0.5rem;
    border: 2px solid #009688;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    transition: box-shadow 0.25s cubic-bezier(0.33, 1, 0.68, 1),
                background 0.25s cubic-bezier(0.33, 1, 0.68, 1);
}

button {
    padding: 0.5rem;
    border: 2px solid #009688;
    border-radius: 6px;
    background: #009688;
    color: #ffffff;
    transition: box-shadow 0.25s cubic-bezier(0.33, 1, 0.68, 1),
                background 0.25s cubic-bezier(0.33, 1, 0.68, 1);
    font-weight: 575;
}

h1 {
    font-weight: 850;
}

:is(input, button):focus {
    box-shadow: 0 0 0 4px #009688cc;
    outline: none;
}

button, input, select, textarea {
    font-size: 1rem;
}

input:hover {
    background: #B2DFDB;
}

button:hover {
    background: #00695C;
}

::placeholder {
    color: #009688cc;
}

.stacked-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="password"]:not(:placeholder-shown) {
    letter-spacing: 0.25rem;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    background: #FFC107;
    color: #000000;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
}