.component-nav {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    color: var(--foreground-color);
}

.component-nav > ul {
    width: 50%;
}

.component-nav > a {
    display: flex;
    align-items: center;
    gap: 2em;
    color: var(--background-color-2);
    cursor: pointer;
    text-decoration: none;
}

.component-nav > a span {
    color: var(--foreground-color);
}

.component-nav > a > h1 {
    font-size: 17px;
    font-weight: normal;
    white-space: nowrap;
    width: 10em;
}

.component-nav > a > h1 span {
    font-size: 15px;
    white-space: nowrap;
}

.component-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    height: 6em;
    overflow-x: scroll;
}

.component-nav ul {
    overflow-x: visible;
}

.component-nav ul li {
    display: flex;
    align-items: center;
    gap: .5em;
}

.component-nav ul li a {
    font-size: larger;
    text-decoration: none;
    color: var(--foreground-color);
    white-space: nowrap;
}

.component-nav ul li a:hover {
    text-decoration: underline;
}