/*  === NAVIGATIONSLEISTE === */

.nav {
    height: var(--navbar-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
}

.nav_logo {
    margin-left: 0;
    margin-right: 10px;
}

.nav_logo a img {
    height: 100px;
    width: auto;
    padding: 0;
    margin: .55rem;
    float: left;
}

nav ul {
    padding: 0;
    margin-right: 30px;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

nav li {
    height: 100%;
    width: 140px;
    text-align: center;
    position: relative;
    /* padding: 30px; 
    list-style-type: none;
    border-bottom: 4px solid rgb(42,42,42); */
}

nav li:hover {
    background: var(--accent-color);
}

nav ul a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: var(--nav-text-color); */
    text-decoration: none;
    font-size: 22px;
    font-family: 'Open Sans', sans-serif;
}

nav input[type="checkbox"] {
    display: none;
}


.toggle_button {
    width: 30px;
    height: 23px;
    position: absolute;
    top: 25px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    height: 4px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 100px;
}

@media(max-width: 990px) {
    .toggle_button {
        display: flex;
    }

    nav ul {
        /* height: min-content; */
        height: 100%;
        width: 100%;
        background: var(--background-color);
        display: none;
        position: absolute;
        top: var(--navbar-height);
    }

    nav li {
        height: min-content;
        width: 100%;
    }

    nav ul a {
        padding: 30px 0;
    }

    #toggle_button:checked~ul {
        display: block;

    }
}