.header{

    position:fixed;

    left:0;

    top:0;

    width:100%;

    height:96px;

    display:flex;

    align-items:center;

    z-index:1000;

    backdrop-filter:blur(16px);

    background:rgba(8,8,8,.45);

    border-bottom:1px solid rgba(255,255,255,.04);
}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.logo{

    position:relative;

    display:inline-flex;

    align-items:center;

    gap:2px;

    font-size:26px;

    font-weight:600;

    letter-spacing:.24em;

    transition:

        color .35s,

        transform .35s;
}
.logo:hover{

    transform:translateY(-2px);
}

.logo span{

    color:var(--accent);

    text-shadow:

        0 0 12px rgba(79,140,255,.8);
}

.nav{

    display:flex;

    gap:54px;
}

.nav a{

    position:relative;

    color:var(--gray);

    transition:

        color .35s;
}

.nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-10px;

    width:100%;

    height:1px;

    background:var(--accent);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;
}

.nav a:hover{

    color:white;
}

.nav a:hover::after{

    transform:scaleX(1);
}

.nav a.is-active{

    color:var(--text);
}

.nav a.is-active::after{

    transform:scaleX(1);
}
.header{

    transition:

        background .35s ease,

        border-color .35s ease,

        height .35s ease;
}

.header--scroll{

    background:rgba(8,8,8,.82);

    backdrop-filter:blur(22px);

    border-bottom:1px solid rgba(255,255,255,.08);

    height:82px;
}

.header--on-light{

    background:rgba(8,8,8,.96);
}
/* Header light */

.header::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:1px;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    opacity:.5;
}
.header::after{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            180deg,
            rgba(255,255,255,.03),
            transparent
        );

    pointer-events:none;
}
