.navigation {
    font-size: 1.375rem;
    #nav_button { 
        display: none;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #nav_bl {
        display: none;
                
    }
    #nav_br {
        display: none;
    }
    ul {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-around;
        margin: 0;
        padding: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        list-style: none;
        li:hover {
            color: #0088ff;
        }
        li:hover::before, li:hover::after {
            position: absolute;
        }
        li:hover::before { left: 0; content: ">"; }
        li:hover::after { right: 0; content: "<"; }
        li {
            position: relative;
            display: block;
            margin-top: 0.1em;
            margin-bottom: 0.1em;
            padding-inline: 1em;
            overflow: hidden;
            text-overflow: ellipsis;
            width: max(fit-content, 100%);
            text-align: center;
            background: #f0f0f0;
            a {
                font-size: 0;
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                color: black;
                text-decoration: none;
            }
        }
    }
}

@media (max-width: 30rem) {
    .navigation {
        font-size: 1.375rem;
        #nav_button:hover { color: #0088ff }
        #nav_button {
            display: block;
            position: relative;
            padding: 0.375em;
            padding-inline: 1rem;
            margin-left: auto;
            margin-right: auto;
            min-width: 33.3%;
            width: max(fit-content, 100%);
            cursor: default;
            text-align: center;
            border: 2px solid black;
            border-bottom: 0px;
            background: lightgrey;
            #nav_bl {
                position: absolute;
                left: 0;
            }
            #nav_br {
                position: absolute;
                right: 0;
            }
        }
        ul {
            position: relative;
            display: block;
            margin: 0;
            padding: 0;
            list-style: none;
            border-top: 2px solid black;

            li:hover {
                color: #0088ff;
            }
            li:hover::before, li:hover::after {
                position: absolute;
            }
            li:hover::before { left: 0; content: ">"; }
            li:hover::after { right: 0; content: "<"; }
            li {
                position: relative;
                margin-top: 0;
                margin-bottom: 0;
                padding: 0.375em;
                width: calc(100% - 0.75em);
                text-align: center;
                border-bottom: 2px solid black;
                background: #fff;
                a {
                    font-size: 0;
                    position: absolute;
                    left: 0;
                    right: 0;
                    top: 0;
                    bottom: 0;
                    color: black;
                    text-decoration: none;
                }
            }
            .shade {
                background: #f0f0f0;
            }
        }
    }
}