/* color: #ca02ca; */

* {
    /* --color-primary: #ca02ca; */
    --color-primary: #0094f7;
    --color-primary-light: color-mix(in srgb, var(--color-primary), white 40%);
    --color-primary-dark: color-mix(in srgb, var(--color-primary), var(--color-dark) 90%);
    --color-background: #131313;
    --color-text: #f6f6f6;
    --color-dark: #252525;
    --color-muted-text: #3b3b3b;
    --color-strata: #b92f2f;

    --scale-y: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-background);

    --fa-style-family-brands: "Font Awesome 6 Brands";
    --fa-font-brands: normal 400 1em / 1 "Font Awesome 6 Brands";
}

a {
    text-decoration: unset;
    color: unset;
}

article {
    height: 100svh;
    isolation: isolate;
    overflow: hidden;
    position: relative;
    padding-top: 4rem;
}

button {
    background-color: unset;
    border: unset;
    color: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    font: inherit;
}

body {
    font-family: Lexend Deca, Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    font-display: swap;
    background-color: var(--color-background);
    color: var(--color-text);
    font-weight: 300;
    overflow-x: hidden;
    font-size: 15pt;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.25em;
    font-weight: 600;
}

header {
    width: 100%;
    height: 64px;
    z-index: 99999;
    backdrop-filter: blur(1rem);
    position: fixed;
    background-image: linear-gradient(to bottom, #000000d8, #00000057);
    border-bottom: 2px solid var(--color-primary);
}

.arrow {
    position: absolute;
    left: 50%;
    translate: -50%;
    bottom: 1rem;
    color: var(--color-dark);
    transition: .25s;
    /* transform: translateY(150%); */
    /* animation: svelte-1yvnes2-slide-in .5s forwards 2.25s; */
}

.banner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.brand {
    user-select: none;
    font-family: "Font Awesome 6 Brands";
}

.brand-link {
    padding: 4px;
    color: var(--color);
    transition: color .1s;
}

.brand-link:hover {
    color: var(--hover-color);
    transition: color .1s;
}

.button {
    background-color: var(--color-dark);
    padding: 1rem;
    flex-grow: 1;
    flex-direction: column;
    align-items: start;
    text-align: left;
    position: relative;
    display: block;
    isolation: isolate;
    font-weight: 700;
    font-size: 1.15em;
    transition: .15s;
}

.button:before {
    position: absolute;
    content: "";
    z-index: -1;
    inset-inline: 0;
    bottom: 0;
    height: .2rem;
    transition: .15s;
}

.button.enabled {
    background-color: var(--color-primary-dark);
}

.button.enabled:before {
    background-color: var(--color-primary);
}

.button.enabled:hover {
    color: var(--color-dark)
}

.button.enabled:hover:before {
    height: 100%
}

.button:not(.enabled) {
    cursor: not-allowed;
    color: var(--color-muted-text)
}

.desc {
    width: 90%;
    max-width: 960px;
    font-size:  small;
    line-height: 1em;
}

.head {
    height: 100%;
    max-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 162px;
}

a.link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 2em;
    position: relative;
    padding-inline: 1em;
    font-weight: 600;
}

a.link:hover {
    --scale-y: 1;
}

a.link::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    left: -1px;
    background-color: var(--color-primary);
    z-index: -1;
    transform: skew(-10deg) scaleY(var(--scale-y));
    opacity: var(--scale-y);
    transition: .25s;
}

a.selected.link {
    position: relative;
    color: #000;
}

a.selected.link::after {
    --scale-y: 1;
}

.logo {
    width: 124.838px;
    height:48px;
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 600;
    flex-shrink: 0;
}

.nav-button {
    position: absolute;
    display: none;
    top: 20px;
    right: 20px;
}

.plink {
    color: var(--color);
    transition: color .1s;
}

.plink:hover {
    color: var(--hover-color);
    transition: color .1s;
}

.progress {
    display: flex;
    flex-direction: column;
    background-color: var(--color-background);
    padding: 1rem;
    padding-inline: 2rem;
    gap: 1rem;
    /* transform: translateY(100%); */
    /* animation: .75s forwards 1s; */
}

.start {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    z-index: 2;
    display: flex;
    align-items: start;
    justify-content: end;
    padding-inline: 3rem;
    /* transform: translateY(100%); */
    /* animation: svelte-1yvnes2-slide-in .75s forwards .75s; */
}

.start::before {
    content: "";
    position: absolute;
    top: 3rem;
    bottom: 0;
    right: 0;
    left: -1rem;
    background-color: var(--color-primary);
    transform-origin: top right;
    z-index: -1;
    rotate: -3deg;
}

/* .symbol {
    line-height: unset;
    font-family: Material Symbols Outlined;
    font-weight: 700;
} */

.title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    padding-inline: 1.25rem;
}

.web-links {
    display: flex;
}

@media only screen and (max-width: 640px) {    
    header {
        height: calc(var(--test) + 64px);
    }

    .head {
        margin: var(--test-off) 24px;
        flex-direction: column;
        align-items: start;
        justify-content: center;
    }

    .link {
        width: 90%;

    }
    
    .start {
        justify-content: center;
    }

    .nav {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-button {
        display: inherit;
    }
}