
@import url('https://fonts.googleapis.com/css2?family=Caladea&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

header {
    background-color: #242424;
}

.keywords {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.keywords #main{
    font-family: "Roboto","sans-serif";
    font-size: 1.2rem;
    color: ivory;
    margin: 0 10px;
}

.keywords #location{
    font-family: "Roboto", "sans-serif";
    font-size: 1rem;
    color: ivory;
    margin: 0 10px;
}


.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1050px;
    margin: 0 auto 0;
    color: ivory;
    font-family: "Roboto", "sans-serif";
    padding: 0.5rem;
}

/* Title Element */
.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site_header {
    font-size: 1.5rem;
    margin: 0.5rem 2rem;
}

.logo {
    cursor: pointer;
    margin: 0 0.5em;
    padding: 0;
}

.logo img {
    vertical-align: middle;
}

/* Navigation Links */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation-items {
    display: flex;
    justify-content: space-between;
}

.navigation-items ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.navigation-items li {
    list-style: none;
    margin: 0 0.5rem;
}

.navigation-items li a {
    text-decoration: none;
    font-family: "Roboto", "sans-serif";
    color: ivory;
    display: block;
    padding: 0.5rem 1rem;
}

.navigation-items li:hover a {
    background-color: rgb(161, 155, 155);
}

/* Submenu navigation links rgb(161, 155, 155)*/
.navigation-items .menu_links {
    display: none;  
    position: absolute;
    z-index: 1000;
    background-color:rgb(80, 77, 77);
}

/*.navigation-items li:hover > .menu_links {
    display: block;
}*/

.navigation-items .menu_links.active {
    display: block;
}

.navigation-items .menu_links li {
    margin: 0;
}

.navigation-items li:hover li a {
    background-color: rgb(80, 77, 77);
}

.navigation-items .menu_links li:hover a {
    background-color:#FFBB84;
}

#about_us {
    display: none;
}

#impressum {
    display: none;
}

#datenschutz {
    display: none;
}


/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
}

.mobile-menu:hover .menu-bar {
    background-color: ivory;
}

.mobile-menu .menu-bar {
    background-color: #FF6400;
    border-radius: 5px;
    width: 100%;
    height: 4px;
}

@media (max-width: 1050px) {
    .navigation-bar {
        flex-direction: column;
        width: 100vw;
    }

    .title {
        width: 100%;
        justify-content: flex-start;
    }

    .navigation {
        width: 100%;
        justify-content: center;
    }

    #about_us {
        display: none;
    }
    
    #impressum {
        display: block;
    }
    
    #datenschutz {
        display: block;
    }

    
}

@media (max-width: 850px) {
    .navigation-bar {
        flex-direction: row;
        align-items: center;
        width: 100vw;
    }

    .title {
        width: fit-content;
        justify-content: center;
    }

    .navigation {
        width: fit-content;
        justify-content: space-around;
    }

    .mobile-menu {
        display: flex;
    }

    .navigation-items {
        display: none;
        position: absolute;
        z-index: 1000;
        top: 3rem;
        right: 0;
        
    }

    .navigation-items ul {

        flex-direction: column;
        background-color: #242424;
        width: 50vw;
        height: 100vh;
        padding: 1rem 0;
    }

    .navigation-items li {
        width: 100%;
        margin: 0;
    }

    .navigation-items.active {
        display: block;
    }

    #about_us {
        display: block;
    }
    
    #impressum {
        display: block;
    }
    
    #datenschutz {
        display: block;
    }

}
