/*FLYIN MENU*/

#flyinmenu {
    width: 300px;
    position: fixed;
    left: -300px;
    top: 0;
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    z-index: 1600;
    transition: all 0.3s ease;
}

.flyin {
    left: 0px !important;
}

#flyinmenu ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#flyinmenu ul li.title {
    height: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#flyinmenu ul li.title .closer {
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#flyinmenu ul li.title .closer div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transform-origin: center;
    position: absolute;
}

#flyinmenu ul li.title .closer div:first-child {
    transform: rotate(-45deg);
}

#flyinmenu ul li.title .closer div:last-child {
    transform: rotate(45deg);
}

#flyinmenu ul li.title img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

#flyinmenu ul li {
    padding: 10px 0 0 15px;
}

#flyinmenu ul li:nth-child(1) {
    padding: 0 0 0 0px
}

#flyinmenu ul li a {
    display: flex;
    width: max-content;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    justify-content: flex-start;
    align-items: center;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: var(--maincolor);
    transform: scale(0.9);
    font-size: 25px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
  	font-weight:900;
    transform-origin: left center;
}

#flyinmenu ul li a:hover {
    cursor: pointer;
    transform: scale(1.0);
    /*background-color: var(--greyMid1);*/
}

#flyinmenuOverlay {
    width: 100%;
    height: 100%;
    background-color: var(--black70);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
}

.flyinOverlay {
    display: flex !important;
}


/*FLYIN MENU ENDE*/


/*BURGER*/

.burgerBG {
    display: none;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    background-color: var(--maincolor);
}

#burger {
    display: flex;
    flex-direction: column;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
}

#burger>div {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--white);
    transition: all 0.5s ease;
}

#burger>div:nth-child(2) {
    margin: 3px 0
}

#burger:hover {
    cursor: pointer;
}


/*ENDE BURGER*/

.menu {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 20px
}

.menu>a,
.menu div.dropdownTitel {
    padding: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    border-bottom: 5px solid transparent;
    font-size: 18px;
    height: 100%;
    border-right: 1px solid var(--greyMid1);
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    width: 100%;
    font-family: 'Poppins', sans-serif;
  	font-weight:900;
    text-transform: uppercase;
}

.menu div.dropdownTitel::after {
    margin-left: 3px;
    margin-top: 5px;
    content: "";
    border-top: 5px solid var(--maincolor);
    border-right: 5px solid transparent;
    border-bottom: 2px solid transparent;
    border-left: 5px solid transparent;
}

.menu a:last-child {
    border-right: 0px
}

.menu a:hover,
.menu div.dropdownTitel:hover {
    border-bottom: 5px solid var(--secondary);
    color: var(--maincolor);
}

.menu div.dropdownTitel .submenu {
    position: absolute;
    display: none;
    flex-direction: column;
    top: 100px;
    left: 0;
    background-color: var(--white);
    border: 1px solid var(--markenfarbeG);
    height: auto;
    z-index: 11;
    width: 100%;
    background-color: var(--black70);
}

.menu div.dropdownTitel .submenu>a {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    border-bottom: 1px solid var(--greyMid1);
}

.menu div.dropdownTitel .submenu>a:hover {
    background-color: var(--black80);
}

.menu div.dropdownTitel:hover .submenu {
    display: flex;
}

@media screen and (max-width:1220px) {
    .menu div.dropdownTitel .submenu {
        top: 60px;
    }
}

@media screen and (max-width:1150px) {
    .menu div.dropdownTitel .submenu {
        top: 60px;
    }
    .menu a {
        border-right: 1px solid var(--greyMid1) !important
    }
    .menu:nth-child(2) {
        padding-right: 0;
        order: 2
    }
    .menu:nth-child(4) {
        padding-right: 0;
        padding-left: 0;
        order: 3
    }
    .menu:last-child a:last-child {
        border-right: 0 !important
    }
      .menu>a,
    .menu div.dropdownTitel {
        font-size: 15px
    }
}


@media screen and (max-width:790px) {
    .menu>a,
    .menu div.dropdownTitel {
        padding: 0 10px;
        font-size: 12px
    }
}

@media screen and (max-width:685px) {
    .burgerBG {
        display: flex;
    }
    .menu {
        display: none
    }
}