.nav--scroll {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1vh 0vw;
    height: 10vh;
    width: 100vw;
    border-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background: var(--850);
    box-shadow: var(--900);
    position: fixed;
    left: 0%;
    right: 0%;
    top: -50%;
    transition: 0.5s linear;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.nav--scroll--list {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}

.nav--scroll--list--item {
    position: relative;
    width: 10vw;
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    border: 2px solid var(--200);
    overflow: hidden;
}

.nav--scroll--list--item a {
    text-transform: uppercase;
    font-family: "Jersey 20", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20pt;
    color: var(--200);
    z-index: 10;
    text-decoration: none;
    transition: color 200ms ease;
}

.nav--scroll--list--item:hover a {
    color: var(--800);
}

.nav--scroll--list--item:before {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    transform: skew(30deg);
    background: var(--200);
    transition: width 400ms ease;
}

.nav--scroll--list--item:hover:before {
    width: 120%;
}

.nav--scroll--list--item:nth-child(2):before {
    transform: skew(-20deg);
}

.nav--scroll--list--item:nth-child(4):before {
    transform: skew(-20deg);
}

.nav--scroll--list--item:nth-child(3):before {
    transform: skew(30deg);
}

/* -------------------------------------- */

.nav--static {
    display: flex;
    padding: 1vh 0vw;
    margin: auto;
    height: 10vh;
    width: 50vw;
    border-radius: 10px;
    background: var(--900);
    box-shadow: var(--900);
    transition: 0.5s linear;
    z-index: 10;
}

.nav--static--list {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1vw;
}

.nav--static--list--item {
    position: relative;
    width: 10vw;
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    border: 2px solid var(--500);
    overflow: hidden;
}

.nav--static--list--item a {
    text-transform: uppercase;
    font-family: "Jersey 20", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20pt;
    color: var(--500);
    z-index: 10;
    text-decoration: none;
    transition: color 200ms ease;
}

.nav--static--list--item:hover a {
    color: var(--800);
}

.nav--static--list--item:before {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    transform: skew(30deg);
    background: var(--500);
    transition: width 400ms ease;
}

.nav--static--list--item:hover:before {
    width: 120%;
}

.nav--static--list--item:nth-child(2):before {
    transform: skew(-20deg);
}

.nav--static--list--item:nth-child(4):before {
    transform: skew(-20deg);
}

.nav--static--list--item:nth-child(3):before {
    transform: skew(30deg);
}