@charset "utf-8";

@font-face
{
    font-family: 'Hellix';
    src:
    url("../fonts/hellix/Hellix-Regular.ca799cf0bcd5.eot?#iefix") format('embedded-opentype'),
    url("../fonts/hellix/Hellix-Regular.6d145cb348da.woff") format('woff'),
    url("../fonts/hellix/Hellix-Regular.174e9e14900d.woff2") format('woff2');
    font-display: fallback;
    font-style: normal;
    font-weight: 400;
}

@font-face
{
    font-family: 'Hellix';
    src:
    url("../fonts/hellix/Hellix-Bold.f43aee24d7aa.eot?#iefix") format('embedded-opentype'),
    url("../fonts/hellix/Hellix-Bold.f43aee24d7aa.eot") format('woff'),
    url("../fonts/hellix/Hellix-Bold.318e16b3316e.woff2") format('woff2');
    font-display: fallback;
    font-style: normal;
    font-weight: 700;
}

/*! Colors */
:root
{
    --foreground: #ffffff;
    --midforeground: #b2b2b2;
    --midground: rgba(255,255,255,0.6);
    --background: #080f24;
    --deepbackground: #060b1b;
    --red: #ea3329;
    --orange: #eb6a2c;
    --yellow: #f29c38;
    --lightyellow: #ffd321;
    --green: #75fb4c;
    --transparentgreen: #75fb4cb3;
    --cyan: #00f0ff;
    --blue: #0C8CFE;
    --darkblue: #003b6e;
    --purple: #e532ad;
    --deeppurple: #970056;
    --darkpurple: #2b0c5c;
    --lightpurple: #3d147f;
    --brightpurple: #8400ff;
    --pink: #ff034a;
}

@supports (color: color(display-p3 1 1 1 / 1)) {
    :root
    {
        --foreground: color(display-p3 1.00 1.00 1.00 / 1.00);
        --midforeground: color(display-p3 0.70 0.70 0.70 / 1.00);
        --midground: color(display-p3 1.00 1.00 1.00 / 0.60);
        --deepbackground: color(display-p3 0.02 0.04 0.11 / 1.00);
        --red: color(display-p3 0.92 0.20 0.16 / 1.00);
        --orange: color(display-p3 0.93 0.42 0.17 / 1.00);
        --yellow: color(display-p3 0.94 0.60 0.22 / 1.00);
        --lightyellow: color(display-p3 1.00 0.83 0.13 / 1.00);
        --green: color(display-p3 0.46 0.98 0.30 / 1.00);
        --transparentgreen: color(display-p3 0.46 0.98 0.30 / 0.70);
        --cyan: color(display-p3 0 0.95 1 / 1.00);
        --blue: color(display-p3 0.05 0.55 1.00 / 1.00);
        --darkblue:color(display-p3 0 0.24 0.43 / 1.00);
        --purple: color(display-p3 0.85 0.18 0.65 / 1.00);
        --purple: color(display-p3 0.90 0.20 0.68 / 1.00);
        --deeppurple: color(display-p3 0.59 0.00 0.34 / 1.00);
        --darkpurple: color(display-p3 0.17 0.05 0.36 / 1.00);
        --lightpurple: color(display-p3 0.24 0.08 0.50 / 1.00);
        --brightpurple: color(display-p3 0.47 0 1 / 1);
        --pink: color(display-p3 1 .012 .29 / 1);
    }
}

*
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

header,footer,nav,main,section,figure,article,aside
{
    display: block;
}

html
{
    font-size: 3.2px;
    margin: 0;
    padding: 0;
}

body
{
    font-size: 2.6rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    font-family: "Hellix", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-weight: 400;
    background-color: var(--background);
    color: var(--foreground);
}

a
{
    text-decoration: underline;
    color: var(--blue);
}

hr
{
    background-image: -webkit-linear-gradient(0deg, transparent, var(--yellow), var(--red), var(--pink), var(--purple), var(--blue), transparent);
    height: 0.25rem;
    content: "";
    display: block;
    margin: 6rem auto 0 auto;
    border: 0;
    width: 75%;
}

main
{
    text-align: center;
}

section
{
    max-width: 96rem;
    margin: 6rem auto;
    clear: both;
    text-align: left
}

section h2
{
    font-size: 2.4em;
    line-height: 1em;
    text-align: center;
}

section h3
{
    font-size: 1.8em;
    line-height: 1em;
    margin: 0.5em auto 1em auto;
    text-align: center;
    color: var(--yellow);
}

nav.top
{
    position: fixed;
    width: 100%;
    max-width: 100vw;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    transition-property: background-color;
    transition-timing-function: ease-in-out;
    transition-duration: 450ms;
}

/* Rainbow divider after navbar */
nav.top:after
{
    position: relative;
    content: "";
    width: 100%;
    height: 0.1em;
    display: block;
    background-image: -webkit-linear-gradient(0deg, var(--yellow), var(--red), var(--pink), var(--purple), var(--blue));
    opacity: 0;
    transition-property: opacity;
    transition-timing-function: ease-in-out;
    transition-duration: 450ms;
}

nav.top.scrolled
{
    background-color: #080f24;
}

nav.top.scrolled:after
{
    opacity: 1;
}

body.reduce-motion nav.top,
body.reduce-motion nav.top:after
 {
     transition-property: none;
 }

@media screen and (prefers-reduced-motion)
{
    nav.top,
    nav.top:after
    {
        transition-property: none;
    }
}

nav.top ul
{
    display: flex;
    justify-content: space-between;
    align-content: center;
    list-style: none;
    padding: 0.5em 0em;
    margin: 0;
}

nav.top li
{
    margin: 0 0.15em;
    padding: 0;
    align-self: center;
    cursor: pointer;
}

nav.top li a
{
    display: block;
    position: relative;
    z-index: 10;
    color: var(--midground);
    font-size: 0.6em;
    letter-spacing: -0.035em;
    padding: 0.375em 0.5em 0.5em 1.75em;
    line-height: 1;
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: 0.5em 50%;
    border-radius: 1em;
    text-decoration: none;
}

nav.top li#help a { background-image: url("../images/top-nav-help.feb78d7cad69.svg"); }
nav.top li#extensions a { background-image: url("../images/top-nav-extensions.5ed9b8b421fe.svg"); }
nav.top li#future a { background-image: url("../images/top-nav-future.ec85e5b32fdb.svg"); }
nav.top li#about a { background-image: url("../images/top-nav-future.ec85e5b32fdb.svg"); }
nav.top li#api a { background-image: url("../images/top-nav-api.59dfacbf9cb4.svg"); }

nav.top li#api {margin-left: -0.25em;}

nav.top li#buy a
{
    color: var(--background);
    background-color: var(--green);
    background-image: url("../images/top-nav-buy.cb92eefdea80.svg");
}

nav.top li#download
{
    position: absolute;
    left: 0.15em;
}

#home nav.top li#download
{
    opacity: 0;
    pointer-events: none;
    transition-property: opacity;
    transition-timing-function: ease-in-out;
    transition-duration: 450ms;
    z-index: -1;
    visibility: hidden;
}

#home nav.top.scrolled li#download
{
    opacity: 1;
    pointer-events: all;
    z-index: unset;
    visibility: visible;
}

nav.top li#download a,
body#notfound main a
{
    color: var(--foreground);
    background-color: var(--blue);
    font-weight: 700;
    padding: 0.325em 0.75em 0.5em 0.75em;
}

nav.top li#download a:hover
{
    text-decoration: none;
}


nav.top li a:hover
{
    text-decoration: underline;
}

nav.bottom
{
    text-align: center;
    margin: 2em auto;
}

header
{
    text-align: center;
    margin: 6rem auto 0 auto;
    position: relative;
}

header h1
{
    font-family: "Hellix", Helvetica, sans-serif;
    font-weight: 700;
    color: var(--pink);
    text-transform: lowercase;
    letter-spacing: -0.05em;
    font-size: 6.4em;
    margin: 0 auto;
    line-height: 1em;
    position: relative;
    display: inline-block;
    left: -0.1em;
    white-space: nowrap;
}

header h1:before
{
    display: inline-block;
    width: 0.65em;
    height: 0.65em;
    content: "";
    background-image: url("../images/logo.d29bb2394bb8.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    position: relative;
    top: 0.075em;
    left: 0.1em;
}

header h1 sup
{
    font-size: 0.15em;
    display: inline-block;
    position: absolute;
    top: -0.25em;
    right: -0.65em;

}

header h2
{
    font-size: 3em;
    line-height: 0.9em;
    font-weight: 700;
    margin: 2.4rem auto;
    letter-spacing: -0.015em;
}

section.category,
section.search
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 1em;
}

section.category h3,
section.search h3
{
    grid-column: 1 / span 2;
    margin: 0 auto 6rem auto;
    text-align: center;
    color: var(--yellow);
    width: 100%;
}

section.search form
{
    grid-column: 1 / span 2;
    text-align: center;
}

article.extension
{
    border-radius: 0.8rem;
    background: var(--darkpurple);
    padding: 0.75em 0.5em;
    border: 0.1rem solid var(--brightpurple);
    color: var(--foreground);
    position: relative;
}

section.summary article.extension
{
    margin: 4em auto;
}

article.extension dl
{
    margin: 0;
    display: grid;
    grid-template-columns: 6rem 1fr 1fr 1fr auto;
    grid-template-rows: auto;
    font-size: 0.6em;
    text-align: left;
    line-break: normal;
    overflow: hidden;
}

article.extension dt,
article.extension dd
{
    margin: 0;
}

article.extension dt.title
{
    font-size: 1.5em;
    line-height: 1em;
    grid-row: 1 / span 1;
    grid-column: 2 / span 3;
    color: var(--white);
    font-weight: 600;
    margin-bottom: .2em;
}

body.index dt.title a:after
{
    display: block;
    position: absolute;
    content: "";
    background: transparent;;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

article.extension dd.icon
{
    align-self: flex-start;
    justify-self: center;
    grid-row: 1 / span 3;
    grid-column: 1 / span 1;
    padding-right: 1rem;
    position: relative;
}

article.extension dd.icon img
{
    max-width: 100%;
}

article.extension dd.author
{
    grid-row: 2 / span 1;
    grid-column: 2 / span 3;
    color: var(--midground);
    padding: 0.25em 0;
}

article.extension dd.description
{
    grid-row: 4 / span 1;
    grid-column: 2 / span 4;
    padding: 0.25em 0;
}

article.extension dd.install-button,
article.extension dd.sponsor-button,
article.extension dd.edit

{
    padding: 0.15em .75em 0.5em 0.75em;
    border-radius: 0.8rem;
    height: 1.5em;
    display: inline-block;
    text-align: center;
    justify-self: flex-end;
    align-self: flex-start;
    font-size: 0.85em;
    font-weight: 400;
    position: relative;

    margin-top: .15em;
    font-weight: 600;
    font-size: 1em;
}

article.extension dd.install-button,
article.extension dd.sponsor-button
{
    background: var(--blue);
    color: var(--foreground);
    grid-row: 1 / span 2;
    grid-column: 5 / span 1;
    justify-self: center;
    align-self: flex-start;
}

article.extension dd.sponsor-button
{
    background: var(--purple);
    grid-row: 1 / span 2;
    grid-column: 6 / span 1;
    justify-self: center;
    align-self: flex-start;
    margin-left: 1rem;
    margin-right: 1rem;
    padding-left: 1.75em;
    background-image: url("../images/sponsor.a114ab6c2aa5.png");
    background-size: 1em;
    background-position: .5em center;
    background-repeat: no-repeat;
}


dt.title a,
dd.edit a,
dd.install-button a,
dd.sponsor-button a
{
    color: inherit;
    text-decoration: none;
}


article.extension dd.edit
{
    grid-column: 4 / span 1;
    grid-row: 1 / span 1;
    color: var(--foreground);
    background: var(--brightpurple);
    margin-right: 1rem;
}

article.extension dd.downloads
{
    grid-row: 3 / span 1;
    grid-column: 2 / span 2;
    color: var(--midground);
    font-size: 0.85em;
    justify-self: flex-start;
    align-self: center;
    margin-right: 1rem;
    padding-left: 1.25em;
    background-image: url("../images/download.72f6fb24a7b1.png");
    background-size: 1em;
    background-position: left center;
    background-repeat: no-repeat;
}

article.extension dd.links
{
    grid-row: 5 / span 1;
    grid-column: 2 / span 4;
    color: var(--midground);
}

dd.links a
{
    display: inline-block;
    text-decoration: none;
    color: var(--blue);
    padding-left: 1.65em;
    margin-right: 2em;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

dd.links .repo a
{
    background-image: url("../images/repo.5455dc70cb7a.svg");
}


dd.links .bugs a
{
    background-image: url("../images/bug.8062a399e56c.svg");
}

dd.links .download a
{
    background-image: url("../images/download.c71e06b62ac2.svg");
}

dd.links .report a
{
    color: var(--midground);
    text-decoration: underline;
    padding-left: 0;
}

article.extension dd.entitlements
{
    grid-row: 6 / span 1;
    grid-column: 2 / span 3;
    color: var(--midground);
}

article.extension dd.links ul,
article.extension dd.links li
{
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0.25em auto;
}

footer
{
    text-align: center;
    font-weight: 400;
    font-size: 0.85em;
    margin: 6em auto;
}

footer p
{
    margin: 0 auto;
}

footer:before
{
    display: block;
    content: "";
    height: 4em;
    width: 100%;
    margin: 1rem auto;
    background-image: url("../images/panic-logo.ac0d1784f90a.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6
{
    text-align: left;
    color: var(--foreground);
    line-height: 1.35em;
}

.markdown h1
{
    font-size: 2.4em;
    font-weight: 600;
}

.markdown h2
{
    font-size: 1.6em;
    opacity: 0.9;
}

.markdown h3
{
    font-size: 1.2em;
    opacity: 0.6;
}

.markdown h4,
.markdown h5,
.markdown h6,
{
    font-size: 1em;
    opacity: 0.6;
}

.markdown code
{
    background: rgba(255,255,255,0.05);
    border: 0.1rem solid rgba(255,255,255,0.15);
    border-radius: 0.4rem;
    padding: 0.1em 0.25em;
}

.markdown blockquote
{
    background-color: var(--deepbackground);
    color: var(--foreground);
    border-radius: 0.8rem;
    padding: 0.5em 1em;
    border: 0.1rem solid var(--orange);
    border-left-width: 1em;
}

.markdown p,
.markdown ul
{
    margin: 1em auto 1.5em auto;
    line-height: 1.3em;
}

.markdown li
{
    margin: 0.35em auto;
}

section.user-detail h4,
section.user-detail ul,
section.user-detail p
{
    max-width: 20em;
    margin-left: auto;
    margin-right: auto;
}

p.helper-text
{
    text-align: center;
    margin: 1em auto;
    font-size: 0.75em;
    color: var(--midforeground);
}

form
{
    margin: 1em auto;
    text-align: center;
}

fieldset
{
    display: contents;
}

.control-group
{
    margin: 0.5em auto;
    display: block;
    width: 20em;
    text-align: left;
}

.control-label
{
    text-align: left;
    display: block;
    font-size: 0.75em;
    color: var(--midforeground);
}

.controls
{

}

input[type=text],
input.textinput,
input.emailinput
{
    -webkit-appearance: none;
    border: 0;
    font-size: inherit;
    font-family: inherit;
    border-radius: 0.8rem;
    padding: 0.25em 0.5em;
    width: 100%;
}

input.btn
{
    -webkit-appearance: none;
    border: 0;
    font-size: inherit;
    font-family: inherit;
    padding: 0.25em 0.5em 0.35em 0.5em;
    margin: 1em auto;
    border-radius: 0.8rem;
    color: var(--foreground);
    background-color: var(--blue);
    cursor: pointer;
}

/* Start auto-resizing */
@media screen and (min-width: 240px)
{
    html { font-size: 1vw; }
    body { font-size: 4rem; }

    header p, header h2 { font-size: 2em; }

    nav.top, nav.top.scrolled { font-size: 1.09em; }
    nav.top ul { justify-content: center; }
    nav.top li#download,
    nav.top.scrolled li#download { position: static; opacity: 1;}
}

/* Start auto-resizing */
@media screen and (min-width: 620px)
{
    body { font-size: 2.6rem; }

    header p, header h2 { font-size: 3em; }

    nav.top ul { justify-content: flex-end; }

    nav.top li#download { position: absolute; }
    nav.top.scrolled li#download { position: absolute; }
    nav.top, nav.top.scrolled { font-size: 1.35em; }

}

/* Stop auto-resizing */
@media screen and (min-width: 1000px)
{
    html { font-size: 10px; }
}
