/* https://fonts.google.com/specimen/VT323 */
@font-face {
    font-family: 'VT323';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(vt323.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    background-color: #000;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}

img.get-rid-frontpage {
    width: 100%;
}

nav {
    ul {
        display: flex;
        flex-flow: row wrap;
        gap: 0rem 2rem;
        padding: 0;
        justify-content: center;
        align-items: center;

        font-family: 'VT323', monospace;
        font-size: 2.2rem;

        li {
            text-align: center;

            a {
                position: relative;
                color: #ffea38;

                line-height: 0.9;

                width: 6rem;
                height: 6rem;

                text-decoration: none;
                display: inline-block;
                padding: .5rem;
                z-index: 1;

                transition: color 0.3s ease, text-shadow 0.3s ease;
            }

            a::before {
                content: '';
                position: absolute;
                top: 35%;
                left: 50%;

                transform: translate(-50%, -50%) scale(1);
                width: 8rem;
                height: 8rem;
                border-radius: 50%;

                background: radial-gradient(circle,
                        rgba(235, 75, 175, 0.75) 0%,
                        rgba(180, 40, 130, 0.4) 45%,
                        transparent 70%);

                filter: blur(14px);
                z-index: -1;
                pointer-events: none;
                opacity: 0.7;

                transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                    opacity 0.4s ease,
                    filter 0.4s ease;
            }

            a:hover {
                color: #ffffff;
                text-shadow: 0 0 8px #ffea38;
            }

            a:hover::before {
                /* Scales the glow size up by 1.6x (increase to 2 for even larger glow) */
                transform: translate(-50%, -50%) scale(1.6);
                opacity: 1;
                filter: blur(18px);
                /* Increases spread softness as it expands */
            }

        }
    }
}