.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1rem;
    height: 100%;
}

nav ul{
    display: flex;
    list-style: none;
}

nav ul li{
    height: 100%;
}    

nav  a.btn{
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: var(--secondary);
    position: relative;
    padding: 1.2rem 1rem;
    transition: .4s;
}
nav  a.btn:hover, nav ul li a.activ{
    color: #ffffff;
}
.nav_logo{
    padding-top: 30px;
    transition: all 1s;
}
.logo{
    height: 80px;
    transition: .4s;
    z-index: 1000;
}
.logo:hover{
    height: 67px;
    rotate: 5deg;
}

nav  a.btn:after {
    content: '';
    position: absolute;
    left: 1rem;
    bottom: 1.1rem;
    height: 2px;
    width: 0;
    background: var(--secondary);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
nav  a.btn:hover:after, .activ nav  a.btn:after {
    opacity: 1;
    background: #ffffff;
    width: calc(100% - 2rem);
}
#toggle_button{
    display: none;
}
.toggle-button{
    cursor: pointer;
}
.accordion ul, 
.essen-daten ul,
.anfahrt ul{
    margin-left: 20px;
}

label[for="toggle_button"] span{
    display: none;
}

nav.footer ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 100%;
}

@media screen and (max-width: 800px){
    nav{
        position: relative;
        /* background-color: var(--secondary); */
    }
    nav ul{
        display: none;
        flex-direction: column;
        position: absolute;
        width: 100vw;
        left: 0;
        top: 60px;
        background-color: var(--secondary);
        transition: all 0.3s ease-in-out;
    }
    nav ul li{
        width: 100%;
    }
    nav a.btn:hover:after{
        opacity: 0;
    }
    nav a.btn{
        color: var(--primary);
        font-size: 1.3rem;
        width: 100%;
        display: inline-block;
        text-decoration: none;
        text-align: left;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        padding-left: 2rem;
        padding-right: 2rem;
    }
    nav a.btn:hover, nav a.btn:focus{
        background-color: var(--primary);
        color:#ffffff;
    }
    nav a.btn:hover{
        color:#ffffff;
        background-color: var(--primary);
    }
    #toggle_button:checked ~ul{
        display: flex;
    }
    label[for="toggle_button"] span{
        display: block;
    }
}
