.content .mobile-navi{
    z-index: 10;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    position: sticky;
    top: -1px;
    background-color: var(--lightergray);
    background-image: linear-gradient(to top, var(--mainwhite) 50%, var(--maingray) 100%);
    border-top: 3px solid var(--accentcolor);
    height: 6vh;
}
.content .mobile-navi #sub-navi-open{
    cursor: pointer;
    border-right: 2px solid var(--accentcolor);
    transition: all .2s linear;
    margin-left: 0px;
    -webkit-tap-highlight-color: transparent;
    width: 119px;

}
.content .mobile-navi #sub-navi-open.expand{
    background-color: var(--accentcolor);
}
.content .mobile-navi #sub-navi-open div {
    width: 10vmin;
    height: .75vh;
    background-color: var(--mainblack);
    margin: 0.6vh 0;
    margin-left: auto;
    margin-right: auto;
}
.content .mobile-navi #sub-navi-open div:first-child{
    margin-top: 1.4vh;
}
.content .mobile-navi #sub-navi-open .back{
    display: none;
}
.content .mobile-navi #sub-navi-open.expand div{
    display: none;
}
.content .mobile-navi #sub-navi-open.expand .back{
    color: black;
    font-size: 5vh;
    display: flex;
    width: fit-content;
    margin: auto;
    height: 6vh;
    transform: scaleX(2.5);
}

.content .mobile-navi div.title {
    align-items: stretch;
    line-height: normal;
    display: inline-flex;
    margin: auto;
    margin-bottom: 2vh;
}
.content .mobile-navi div.title span{
    color: var(--accentcolor);
    text-shadow: 1px 1px 3px var(--maingray);
    font-family: FreeScpt;
    line-height: 0.3;
    font-size: 4vh;
}
.content .mobile-navi #mobile-navi-container {
    display: block;
    width: 100%;
    height: 0%;
    position: absolute;
    left: 0px;
    top: 6vh;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}
.content .mobile-navi #mobile-navi-container.expand{
    height: fit-content !important;
}
.content .mobile-navi #mobile-navi-overlay {
    display: none;
    width: 100%;
    height: 0%;
    position: relative;
    right: 0px;
    top: 0px;
    bottom: 0px;
    height: 100%;
    z-index: 5;
}
.content .mobile-navi .expand #mobile-navi-overlay {
    visibility: visible;
    opacity: 1;
    display: flex;
    height: 100vh;
}
.content .mobile-navi #sub-navi {
    width: 100%;
    height: 0%;
    transform: scaleY(0);
    transform-origin: top center;
    visibility: hidden;
    flex-direction: column;
    margin-inline-end: auto;
    align-items: stretch;
    background-color: var(--accentcolor);
    transition: all 0.2s linear;
    z-index: 10;
    overflow-y: auto;
}
.content .mobile-navi .expand #sub-navi {
    display: flex;
    visibility: visible;
    height: fit-content;
    transform: scaleY(1);
}
.content .mobile-navi #sub-navi .nav-elem{
    display: flex;
    height: fit-content;
    position: relative;
    padding: 10px;
    padding-left: 14px;
    padding-bottom: 8px;
    text-align: center;
    border: 1px solid var(--mainblack);
    border-top: none;
    border-left: none;
    border-right: none;
    background-color: var(--accentcolor);
    cursor: pointer;
    user-select: none;
}
.content .mobile-navi #sub-navi .nav-elem:first-child{
    padding-top: 10px;
    border-top: 1px solid var(--mainblack);
}
.content .mobile-navi #sub-navi .nav-elem-title{
    height: fit-content;
    display: flex;
}
.content .mobile-navi #sub-navi .arrow {
    padding: 3px;
    box-shadow: inset 6px -6px var(--accentcolor);
    border: solid transparent;
    border-width: 0 0 8px 8px;
    transition: .2s;
    height: 10px;
    width: 10px;
    font-size: 0;
    outline: 0;
    margin: auto;
    margin-right: 10px;
    transform: rotate(225deg);
}
.content .mobile-navi #sub-navi .arrow-box {
    display: flex;
    flex-direction: row;
    margin-right: 0px;
    margin-left: 5px;
    padding-bottom: 5px;
}
.content .mobile-navi #sub-navi .arrow.left {
    height: 10px;
    width: 10px;
    margin-right: 0px;
    margin-left: -10px;
    transform: rotate(45deg);
}
.content .mobile-navi #sub-navi .nav-elem-title span{
    font-family: ArchNarrow, Arial, sans-serif;
    font-stretch: ultra-condensed;
    font-size: var(--fontsizeXL);
    font-weight: normal;
    text-align: justify;
    color: black;
    letter-spacing: 0.5px;
}
.content .mobile-navi #sub-navi .nav-elem.current .nav-elem-title span{
    box-shadow: inset 0 -2px 0 0 var(--accentcolor);
}
.content .mobile-navi #sub-navi .nav-elem-title{
    width: 100%;
}
.content .mobile-navi #sub-navi .nav-elem-title.back div.title{
    font-weight: bold;
    text-align: justify;
    margin-top: auto;
    margin-bottom: auto;
    font-family: Arial, sans-serif;
    font-size: 36px;
}