@charset "UTF-8";
/* CSS Document */
/* Header */
.primary-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--second-bg-color);
    box-shadow: 0 0 0 0.1em rgba(204, 204, 204, 0.15);
    z-index: 100;
    transition: 1.5s;
    transition-delay: 0.5s;
}
.primary-header::before{
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(50px);
}
.primary-header::after{
    content:"";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204,204,204, 0.2), transparent);
    transition: 0.5s;
}
.primary-header:hover::after{
    left: 100%;
}
.nav-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    display: flex;
    margin: 0.25rem 2.5rem;
    z-index: 100;
}
.primary-navigation{
    display: flex;
}
.links{
    display: flex;
    margin-right: 2.5rem;
    padding-top: 0.5rem;
    gap: 2.2rem;
}
.links a{
    position: relative;
    display: block;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: -1px;
}
.links a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: .015rem;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.5s;
}
.links a:hover::after{
  opacity: 01;
}
.mobile-nav-toggle{
    display: none;
    position: fixed;
    top: auto;
    right: 2.5rem;
    cursor: pointer;
    background: transparent;
    border: 0;
}

@media screen and (max-width: 870px){
    .primary-navigation{
        display: block;
        position: fixed;
        width: 100%;
        clip-path: circle(100px at 90% -5%);
        -webkit-clip-path: circle(100px at 90% -5%);
        transition: all 1s ease-out;
        opacity: 0;
        pointer-events: none;
        transform: translateX(10px);
        overflow-y: auto;
    }
    .primary-navigation.open{
        background-color: var(--second-bg-color);
        clip-path: circle(1193px at 90% -5%);
        -webkit-clip-path: circle(1193px at 90% -5%);
        opacity: .85;
        pointer-events: all;
        transform: translateX(0px);   
    }
    .overlay{
        display: none;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
    }
    .links{
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 29.8rem;
        padding: 20.2rem 4rem;
        align-items: center;
        gap: 2.2rem;
        text-align: left;
        cursor: pointer;
    }
    .links a::after{
        content: none;
    }
    .links a:hover{
        color: var(--table-color);
        transition: 1s;
    }
    .mobile-nav-toggle{
        display: block;
        margin-top: 0.8rem;
        z-index: 100;
    }
    .open-icon{
        width:1.8em;
        z-index: 100;
    }

}










