/* Astroland navbar: night sky with stars, planets and a spiral galaxy.
   Generated pattern tiles use different widths so the repeat is hard to notice. */
:root {
    --astro-midnight: #0A0E2A;
    --astro-indigo: #1B1450;
    --astro-nebula: #4B2A8C;
    --astro-rose: #A23B8F;
    --astro-gold: #F2C66D;
    --astro-moon: #E8E6F5;
}

.astro-navbar {
    position: fixed;
    overflow: hidden;
    min-height: 58px;
    color: var(--astro-moon);
    background-color: var(--astro-midnight);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27120%27 height=%2758%27 viewBox=%270 0 120 58%27%3E%3Cdefs%3E%3CradialGradient id=%27c%27%3E%3Cstop offset=%270%27 stop-color=%27%23fff6dc%27/%3E%3Cstop offset=%27.35%27 stop-color=%27%23F2C66D%27 stop-opacity=%27.9%27/%3E%3Cstop offset=%271%27 stop-color=%27%23A23B8F%27 stop-opacity=%270%27/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill=%27none%27 stroke-linecap=%27round%27 transform=%27rotate(-14 60 29)%27%3E%3Cpath d=%27M63.0,29.0 L63.7,29.3 L64.2,29.6 L64.6,30.1 L64.6,30.6 L64.4,31.1 L63.8,31.7 L62.9,32.2 L61.7,32.7 L60.2,33.1 L58.4,33.3 L56.4,33.5 L54.3,33.4 L52.1,33.2 L50.0,32.7 L47.9,32.1 L46.1,31.3 L44.7,30.4 L43.6,29.2 L43.0,28.0 L42.9,26.7 L43.5,25.4 L44.6,24.0 L46.3,22.8 L48.7,21.6 L51.6,20.6 L55.0,19.8 L58.7,19.3 L62.8,19.0 L67.1,19.1 L71.3,19.5 L75.5,20.2 L79.4,21.2 L82.9,22.5 L85.9,24.2 L88.2,26.0 L89.8,28.1 L90.4,30.3 L90.2,32.5 L89.0,34.8 L86.8,37.0 L83.6,39.0 L79.6,40.8 L74.8,42.4 L69.3,43.5 L63.3,44.3 L56.9,44.6 L50.4,44.5 L43.9,43.8 L37.7,42.7 L31.9,41.1 L26.8,39.1 L22.4,36.7 L19.1,34.0 L17.0,31.0 L16.1,27.8 L16.5,24.6 L18.2,21.4 L21.3,18.3 L25.7,15.5%27 stroke=%27%23C9A4F0%27 stroke-opacity=%27.55%27 stroke-width=%272.4%27/%3E%3Cpath d=%27M57.0,29.0 L56.3,28.7 L55.8,28.4 L55.4,27.9 L55.4,27.4 L55.6,26.9 L56.2,26.3 L57.1,25.8 L58.3,25.3 L59.8,24.9 L61.6,24.7 L63.6,24.5 L65.7,24.6 L67.9,24.8 L70.0,25.3 L72.1,25.9 L73.9,26.7 L75.3,27.6 L76.4,28.8 L77.0,30.0 L77.1,31.3 L76.5,32.6 L75.4,34.0 L73.7,35.2 L71.3,36.4 L68.4,37.4 L65.0,38.2 L61.3,38.7 L57.2,39.0 L52.9,38.9 L48.7,38.5 L44.5,37.8 L40.6,36.8 L37.1,35.5 L34.1,33.8 L31.8,32.0 L30.2,29.9 L29.6,27.7 L29.8,25.5 L31.0,23.2 L33.2,21.0 L36.4,19.0 L40.4,17.2 L45.2,15.6 L50.7,14.5 L56.7,13.7 L63.1,13.4 L69.6,13.5 L76.1,14.2 L82.3,15.3 L88.1,16.9 L93.2,18.9 L97.6,21.3 L100.9,24.0 L103.0,27.0 L103.9,30.2 L103.5,33.4 L101.8,36.6 L98.7,39.7 L94.3,42.5%27 stroke=%27%23C9A4F0%27 stroke-opacity=%27.55%27 stroke-width=%272.4%27/%3E%3Cpath d=%27M62.9,29.3 L63.4,29.6 L63.7,30.1 L63.8,30.5 L63.5,31.0 L63.0,31.5 L62.1,32.0 L60.9,32.4 L59.5,32.8 L57.8,33.0 L55.9,33.0 L53.9,32.9 L51.9,32.7 L49.9,32.2 L48.1,31.6 L46.5,30.8 L45.2,29.8 L44.3,28.7 L44.0,27.5 L44.1,26.3 L44.8,25.0 L46.1,23.8 L48.0,22.6 L50.4,21.5 L53.4,20.7 L56.8,20.0 L60.5,19.6 L64.5,19.5 L68.6,19.6 L72.7,20.1 L76.6,20.9 L80.2,22.1 L83.4,23.5 L86.0,25.1 L88.0,27.0 L89.1,29.1 L89.4,31.2 L88.7,33.4 L87.2,35.6 L84.6,37.6 L81.2,39.5 L77.0,41.2 L72.0,42.5 L66.5,43.5 L60.5,44.0 L54.2,44.2 L47.8,43.8 L41.6,43.0 L35.7,41.7 L30.3,40.0 L25.6,37.8 L21.8,35.3 L19.1,32.5 L17.5,29.6 L17.2,26.4 L18.1,23.3 L20.4,20.2 L24.0,17.3 L28.8,14.6 L34.8,12.3%27 stroke=%27%23E27BA8%27 stroke-opacity=%27.35%27 stroke-width=%273.6%27/%3E%3Cpath d=%27M57.1,28.7 L56.6,28.4 L56.3,27.9 L56.2,27.5 L56.5,27.0 L57.0,26.5 L57.9,26.0 L59.1,25.6 L60.5,25.2 L62.2,25.0 L64.1,25.0 L66.1,25.1 L68.1,25.3 L70.1,25.8 L71.9,26.4 L73.5,27.2 L74.8,28.2 L75.7,29.3 L76.0,30.5 L75.9,31.7 L75.2,33.0 L73.9,34.2 L72.0,35.4 L69.6,36.5 L66.6,37.3 L63.2,38.0 L59.5,38.4 L55.5,38.5 L51.4,38.4 L47.3,37.9 L43.4,37.1 L39.8,35.9 L36.6,34.5 L34.0,32.9 L32.0,31.0 L30.9,28.9 L30.6,26.8 L31.3,24.6 L32.8,22.4 L35.4,20.4 L38.8,18.5 L43.0,16.8 L48.0,15.5 L53.5,14.5 L59.5,14.0 L65.8,13.8 L72.2,14.2 L78.4,15.0 L84.3,16.3 L89.7,18.0 L94.4,20.2 L98.2,22.7 L100.9,25.5 L102.5,28.4 L102.8,31.6 L101.9,34.7 L99.6,37.8 L96.0,40.7 L91.2,43.4 L85.2,45.7%27 stroke=%27%23E27BA8%27 stroke-opacity=%27.35%27 stroke-width=%273.6%27/%3E%3C/g%3E%3Cellipse cx=%2760%27 cy=%2729%27 rx=%2710%27 ry=%276%27 fill=%27url(%23c)%27/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27611%27 height=%2758%27 viewBox=%270 0 611 58%27%3E%3Cg transform=%27translate(262 30) rotate(-18)%27%3E%3Cellipse rx=%2713%27 ry=%273.6%27 fill=%27none%27 stroke=%27%23F2C66D%27 stroke-opacity=%27.55%27 stroke-width=%271.1%27/%3E%3Ccircle r=%276.2%27 fill=%27%23C9A4F0%27 fill-opacity=%27.85%27/%3E%3Cpath d=%27M-13,0 A13,3.6 0 0 0 13,0%27 fill=%27none%27 stroke=%27%23F2C66D%27 stroke-opacity=%27.9%27 stroke-width=%271.1%27/%3E%3C/g%3E%3Ccircle cx=%27392%27 cy=%2717%27 r=%273.4%27 fill=%27%23E27BA8%27 fill-opacity=%27.8%27/%3E%3Ccircle cx=%27391%27 cy=%2716%27 r=%271.2%27 fill=%27%23ffffff%27 fill-opacity=%27.35%27/%3E%3Cg transform=%27translate(497 30)%27%3E%3Cpath d=%27M0,-8 A8,8 0 1 0 8,0 A6.3,6.3 0 1 1 0,-8Z%27 fill=%27%23E8E6F5%27 fill-opacity=%27.9%27/%3E%3C/g%3E%3Ccircle cx=%27575%27 cy=%2738%27 r=%272.2%27 fill=%27%237FD1E8%27 fill-opacity=%27.75%27/%3E%3Ccircle cx=%27178%27 cy=%2715%27 r=%271.8%27 fill=%27%23F2C66D%27 fill-opacity=%27.7%27/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27191%27 height=%2758%27 viewBox=%270 0 191 58%27%3E%3Ccircle cx=%2762.6%27 cy=%2710.8%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.39%27/%3E%3Ccircle cx=%27102.2%27 cy=%2722.0%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.85%27/%3E%3Ccircle cx=%2742.1%27 cy=%277.5%27 r=%271.1%27 fill=%27%23ffffff%27 fill-opacity=%270.39%27/%3E%3Ccircle cx=%2719.0%27 cy=%2725.1%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.87%27/%3E%3Ccircle cx=%27119.9%27 cy=%2733.3%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.67%27/%3E%3Ccircle cx=%2776.2%27 cy=%2753.8%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.66%27/%3E%3Ccircle cx=%2726.9%27 cy=%2724.8%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.66%27/%3E%3Ccircle cx=%27106.8%27 cy=%2738.5%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.67%27/%3E%3Ccircle cx=%27121.5%27 cy=%2722.4%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.66%27/%3E%3Ccircle cx=%27117.8%27 cy=%2728.8%27 r=%271.1%27 fill=%27%23ffffff%27 fill-opacity=%270.78%27/%3E%3Ccircle cx=%2789.1%27 cy=%2751.0%27 r=%270.8%27 fill=%27%23ffffff%27 fill-opacity=%270.51%27/%3E%3Ccircle cx=%27150.5%27 cy=%2739.3%27 r=%270.6%27 fill=%27%23ffffff%27 fill-opacity=%270.40%27/%3E%3Ccircle cx=%2758.1%27 cy=%2728.7%27 r=%270.8%27 fill=%27%23ffffff%27 fill-opacity=%270.75%27/%3E%3Ccircle cx=%2755.8%27 cy=%2754.0%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.63%27/%3E%3Ccircle cx=%2732.8%27 cy=%2720.8%27 r=%271.1%27 fill=%27%23ffffff%27 fill-opacity=%270.58%27/%3E%3Ccircle cx=%27181.9%27 cy=%277.0%27 r=%270.8%27 fill=%27%23ffffff%27 fill-opacity=%270.54%27/%3E%3Ccircle cx=%2767.5%27 cy=%2728.8%27 r=%271.1%27 fill=%27%23ffffff%27 fill-opacity=%270.39%27/%3E%3Ccircle cx=%2719.5%27 cy=%2717.0%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.38%27/%3E%3Ccircle cx=%27133.2%27 cy=%2736.7%27 r=%271.1%27 fill=%27%23ffffff%27 fill-opacity=%270.51%27/%3E%3Ccircle cx=%2774.1%27 cy=%2737.8%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.87%27/%3E%3Ccircle cx=%2768.5%27 cy=%2734.8%27 r=%271.1%27 fill=%27%23ffffff%27 fill-opacity=%270.38%27/%3E%3Ccircle cx=%27145.7%27 cy=%279.7%27 r=%270.6%27 fill=%27%23ffffff%27 fill-opacity=%270.57%27/%3E%3Ccircle cx=%27173.4%27 cy=%2728.8%27 r=%270.6%27 fill=%27%23ffffff%27 fill-opacity=%270.60%27/%3E%3Ccircle cx=%27104.7%27 cy=%2748.9%27 r=%271.1%27 fill=%27%23ffffff%27 fill-opacity=%270.83%27/%3E%3Ccircle cx=%2754.1%27 cy=%2724.6%27 r=%270.8%27 fill=%27%23ffffff%27 fill-opacity=%270.73%27/%3E%3Ccircle cx=%2773.1%27 cy=%2715.0%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.45%27/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27127%27 height=%2758%27 viewBox=%270 0 127 58%27%3E%3Ccircle cx=%2757.6%27 cy=%2732.1%27 r=%270.9%27 fill=%27%23ffffff%27 fill-opacity=%270.36%27/%3E%3Ccircle cx=%27107.2%27 cy=%2712.9%27 r=%270.9%27 fill=%27%23ffffff%27 fill-opacity=%270.42%27/%3E%3Ccircle cx=%2799.5%27 cy=%277.9%27 r=%270.8%27 fill=%27%23ffffff%27 fill-opacity=%270.25%27/%3E%3Ccircle cx=%2768.3%27 cy=%2749.3%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.41%27/%3E%3Ccircle cx=%2750.7%27 cy=%2726.6%27 r=%270.6%27 fill=%27%23ffffff%27 fill-opacity=%270.42%27/%3E%3Ccircle cx=%27104.3%27 cy=%276.3%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.27%27/%3E%3Ccircle cx=%2731.8%27 cy=%274.6%27 r=%270.9%27 fill=%27%23ffffff%27 fill-opacity=%270.31%27/%3E%3Ccircle cx=%2774.7%27 cy=%2713.2%27 r=%270.6%27 fill=%27%23ffffff%27 fill-opacity=%270.42%27/%3E%3Ccircle cx=%2763.5%27 cy=%2737.4%27 r=%270.9%27 fill=%27%23ffffff%27 fill-opacity=%270.43%27/%3E%3Ccircle cx=%2752.0%27 cy=%2731.7%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.45%27/%3E%3Ccircle cx=%2740.8%27 cy=%2714.9%27 r=%270.8%27 fill=%27%23ffffff%27 fill-opacity=%270.21%27/%3E%3Ccircle cx=%2771.3%27 cy=%278.6%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.50%27/%3E%3Ccircle cx=%2749.5%27 cy=%2752.8%27 r=%270.5%27 fill=%27%23ffffff%27 fill-opacity=%270.27%27/%3E%3Ccircle cx=%27116.0%27 cy=%275.7%27 r=%270.9%27 fill=%27%23ffffff%27 fill-opacity=%270.54%27/%3E%3Ccircle cx=%2750.9%27 cy=%276.8%27 r=%270.6%27 fill=%27%23ffffff%27 fill-opacity=%270.47%27/%3E%3C/svg%3E"),
        radial-gradient(ellipse 360px 120px at 82% 55%, rgba(162, 59, 143, .42), transparent 70%),
        radial-gradient(ellipse 520px 140px at 12% -10%, rgba(75, 42, 140, .85), transparent 70%),
        linear-gradient(90deg, var(--astro-midnight) 0%, var(--astro-indigo) 55%, #2A1760 100%);
    background-repeat: no-repeat, repeat-x, repeat-x, repeat-x, no-repeat, no-repeat, no-repeat;
    background-position: calc(100% - 190px) 50%, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    background-size: 120px 58px, 611px 58px, 191px 58px, 127px 58px, auto, auto, auto;
}
.astro-navbar.border-bottom {
    border-bottom: 1px solid rgba(242, 198, 109, .35) !important;
}
.astro-navbar.box-shadow {
    box-shadow: 0 .35rem 1rem rgba(10, 14, 42, .35);
}

/* Brighter stars twinkle slowly on their own layer */
.astro-navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27317%27 height=%2758%27 viewBox=%270 0 317 58%27%3E%3Cpath transform=%27translate(41 16)%27 d=%27M0,-4.2 Q0,0 4.2,0 Q0,0 0,4.2 Q0,0 -4.2,0 Q0,0 0,-4.2Z%27 fill=%27%23F2C66D%27 fill-opacity=%270.9%27/%3E%3Cpath transform=%27translate(188 41)%27 d=%27M0,-3.2 Q0,0 3.2,0 Q0,0 0,3.2 Q0,0 -3.2,0 Q0,0 0,-3.2Z%27 fill=%27%23F2C66D%27 fill-opacity=%270.75%27/%3E%3Cpath transform=%27translate(266 12)%27 d=%27M0,-2.4 Q0,0 2.4,0 Q0,0 0,2.4 Q0,0 -2.4,0 Q0,0 0,-2.4Z%27 fill=%27%23ffffff%27 fill-opacity=%270.8%27/%3E%3Cpath transform=%27translate(110 44)%27 d=%27M0,-2 Q0,0 2,0 Q0,0 0,2 Q0,0 -2,0 Q0,0 0,-2Z%27 fill=%27%23ffffff%27 fill-opacity=%270.6%27/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 317px 58px;
    animation: astro-twinkle 7s ease-in-out infinite alternate;
}
@keyframes astro-twinkle {
    from { opacity: .45; }
    to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .astro-navbar::before { animation: none; opacity: .85; }
}

.astro-navbar > .container-fluid,
.astro-navbar > .container-fluid > .navbar {
    flex: 1 1 auto;
}
.astro-navbar .navbar {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.astro-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--astro-moon);
    font-weight: 600;
    letter-spacing: .03em;
    text-shadow: 0 1px 8px rgba(10, 14, 42, .8);
}
.astro-navbar .navbar-brand:hover,
.astro-navbar .navbar-brand:focus-visible { color: #fff; }
.astro-navbar .astro-mark { width: 26px; height: 26px; flex: none; }

.astro-navbar .btn-primary {
    color: var(--astro-gold);
    background-color: rgba(10, 14, 42, .45);
    border: 1px solid rgba(242, 198, 109, .7);
    border-radius: 999px;
    padding: .3rem 1.1rem;
    backdrop-filter: blur(2px);
}
.astro-navbar .btn-primary:hover {
    color: var(--astro-midnight);
    background-color: var(--astro-gold);
    border-color: var(--astro-gold);
}
.astro-navbar .btn-primary:focus-visible,
.astro-navbar .navbar-brand:focus-visible,
.astro-navbar .navbar-toggler:focus-visible {
    outline: 2px solid var(--astro-gold);
    outline-offset: 2px;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    /* Galaxy would sit under the buttons on phones */
    .astro-navbar { background-size: 0 0, 611px 58px, 191px 58px, 127px 58px, auto, auto, auto; }
}
