:root {
    font-family: system-ui, sans-serif;

    background: linear-gradient(in oklab, #013763, #021c33);

    min-height: 100vh;

    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;

    box-sizing: border-box;
}

body {
    position: relative;

    max-width: 50ch;
    margin-top: 8em;
    padding: 1ch;

    border: 1ch ridge black;
    border-radius: 1ch;

    background-color: white;
}

footer {
    margin-top: 1em;
    padding-top: 1em;

    border-top: 1px solid gray;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

form > div {
    display: flex;

    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;

    gap: 1ch;
}

input[type="text"] {
    width: 100%;
    font-size: 1.2em;
    padding: 1ch;
}

input[type="button"], input[type="submit"], button {
    font-size: 1.2em;
    padding: 1ch;
}

.highlight {
    color: #800080;
}

.girl {
    color: #F5A9B8;
}

.gay {
    color: #92F257;
}

@keyframes swing {
    from { transform: rotate(-10deg) translateY(-10em); }
    50% { transform: rotate(10deg) translateY(-10em); }
    to { transform: rotate(-10deg)  translateY(-10em); }
}

#me {
    position: absolute;
    top: 0;
    right: 0;

    cursor: grab;

    width: 10em;
    aspect-ratio: 1 / 1;

    z-index: -100;

    animation: swing 5s ease-in-out infinite;

    @media (prefers-reduced-motion: reduce) {
        animation-name: nope;
        transform: translateY(-10em);
    }
}

#me:hover {
    animation-duration: 0.4s;
}
