header > div {
    display: flex;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: center;
}

header img {
    border-radius: 10px;
    margin-right: 2em;
    max-height: 3.5rem;
    transform: rotate(3deg);
    border: solid 1px #ffffff10;
}

h1 {
    margin: 0;
    position: relative;
    top: -0.25em;
    display: inline-block;
    text-transform: uppercase;
    color: var(--fg-color);
    text-align: center;
    font-weight: 600;
    font-family: "Lexend", sans-serif;
    font-size: 2rem;
    flex-basis: content;
    white-space: nowrap;
    transform: rotate(-2.5deg);
    /* text-shadow: 0px 2px 100px rgba(255, 255, 255, 0.5); */
}

h1::after {
    content: "Nolkaloid";
    position: absolute;
    font-style: italic;
    font-size: 0.5em;
    top: 100%;
    right: 0;
    transform: rotate(2deg);
    /* text-shadow: 0px 2px 100px rgba(255, 255, 255, 0.5); */
}

nav {
    z-index: 50;
    margin: auto;
    display: flex;
    background-clip: padding-box;
    flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: wrap;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgb(255, 255, 255, 0.03) 100%
    );
    border-radius: 5px 5px;
    margin-bottom: 1.5em;
    max-width: var(--page_width);
    transition: all ease 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.01);
}

nav a {
    /* flex-grow: 1; */
    box-sizing: border-box;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    font-family: "Lexend", sans-serif;
    padding: 1em 3em;
    font-size: 1em;
    text-decoration: none;
    font-weight: bold;
    outline: none;
    cursor: pointer;
}

nav a::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(circle, #ffffff20 0%, #ffffff10 100%);
    opacity: 0;
    transition: opacity ease 0.3s;
}

nav a.current::after {
    opacity: 0.5;
}

nav a:hover::after {
    opacity: 1;
}

/* 
nav a:not(:first-of-type)::before {
  content: "";
  width: 100%;
  height: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.25);
  position: absolute;
  left: 0;
  top: 0;
} */

@media screen and (min-width: 600px) {
    nav {
        flex-direction: row;
        justify-content: space-around;
    }

    header img {
        max-height: 4rem;
    }

    h1 {
        font-size: 2rem;
    }

    nav a:not(:first-of-type)::before {
        content: "";
        width: 1px;
        height: 25%;
        margin: 0;
        position: absolute;
        left: 0;
        top: calc((100% - 25%) / 2);
    }

    nav a::after {
        background: radial-gradient(circle, #ffffff40 0%, #ffffff00 100%);
    }
}
