header{
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99;
}

nav{
    position: relative;
    padding: 1.5rem 6%;
    transition: all 0.5s ease;
}

nav.active{
    padding: 1rem 6%;
    background-color:#e08d20cc;
    backdrop-filter: blur(1.5px);
    box-shadow: #7e4a07e0 0px -6px 20px 10px;
}

.logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 0.8;
}

.links{
    gap: 18rem;
}
.links ul li a{
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.links a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: var(--white);
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
  }

  .links a:hover:after {
    width: 100%;
    left: 0;
  }
  

.splitter{
    background-color: var(--red);
    height: 15px;
    width: 15px;
    border-radius: 50%;
    margin-inline: 4rem;
}

.toggle-on{
    display: none;
    background: transparent;
    outline: 0px transparent;
    border: 2px var(--white) solid;
    padding: 5px 10px;
    border-radius: 8px;
}
.toggle-on {
    color: var(--white);
    font-size: 1.5rem;
}


/*mobile responsive*/
@media screen and (max-width: 768px ){
    .logo{
        position: relative;
        top: 0%;
        left: 0%;
        transform: translate(0%, 0%);
    }

    .toggle-on{
        display: block;
    }
    .links{
        display: flex;        
        position: absolute;
        width: 100%;
        height: 100vh;
        top: 5rem;
        left: 0;
        gap:0rem;
        transform: translateX(100%);
        background-color:var(--mid-darkgold);
        transition: all 0.5s ease;
    }
    .links.active{
        transform: translateX(0%);
    }

    .links ul {
        display: block;
        list-style-type: disc;
        margin-block-start: 0em;
        margin-block-end: 0em;
    }
    .right-link,
    .left-link{
        text-align: center;
        font-size: 1.6rem;
        line-height: 2;
    }
    .splitter{
        display: none;
    }
}