.topWrap
{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: relative;
    margin: 0;
}
.header
{
    position: relative;
    top: 0.5rem;
    left: 0.5rem;
    width: fit-content;
    height: fit-content;
}

.logo
{
    position: relative;
    width: fit-content;
    margin: 0;
    float: none;
    z-index: 20;
}

.logo > a
{
    display: block;
    width: fit-content;
    padding: 0.5rem;
    background-color: rgba(255,255,255,0.8);
    border-radius: 1.5rem;
    box-shadow: 5px 5px 6px 0 rgba(255,255,255,0.3);
    border: 1px silver dotted;
}

.logo img
{
    height: auto;
    width: 20vw;
}

.headerImage
{
    position: fixed;
    display: block;
    left: unset;
    right: 0;
    width: 100vw;
    max-width: 500px;
    margin-left: 0;
    opacity: 0.2;
    background-position: right bottom;
    z-index: 1;
}

.keywords
{
    float: none;
    width: 75vw;
    height: auto;
    margin-left: 10%;
    scale: 0.8;
}

.breadCrumb
{
    padding-bottom: 0;
    margin-left: 2rem;
    margin-bottom: 0;
    border-top-left-radius: 0.5rem;
}

.main-content
{
    width: auto;
    margin-left: 2rem;
    padding-left: 1.5rem;
    padding-block: 1.8rem;
    background-color: white;
}

#mainMenuMobile
{
    position: fixed;
    right: 0;
    top: 0;
    display: block;
    max-width: 100vw;
    z-index: 1000;

    transition: all 0.5s ease-in;
}

#mainMenuMobile.active
{
    width: 540px;
    border-bottom-left-radius: 0.8rem;
    box-shadow: -10px 10px 0 0 rgba(0, 0, 0, 0.2);
}

.menu-button
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    transition: all 0.5s ease-in;
}

.active .menu-button
{
    padding-bottom: 0.6rem;
    background-color: black;
    color: white;
    border-top-left-radius: 1rem;
}

.menuTitle
{
    display: inline-block;
    max-width: 0;
    width: fit-content;
    margin-inline: auto;
    overflow: clip;

    transition: all 0.5s ease-in;

}

.active .menuTitle
{
    max-width: 200px;
    margin-top: 0.5rem;
}

#touchButton
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.5rem;
    height: 1.2rem;
    margin-left: auto;
    margin-right: 0.9rem;
    margin-top: 0.7rem;
    cursor: pointer;

    transition: all 0.5s ease-in;
}

.active #touchButton
{
    margin-left: 0;
}

.hambar
{
    width: 100%;
    height: 3px;
    background-color: black;

    transition: all 0.5s ease-in;
}

.active .hambar
{
    background-color: white;
}

.menu-button.active,
#mainMenuMobile.active .menu-button
{
    max-width: 100vw;
    background: #2a292c;
    color: white;
}

#mainMenuNav
{
    max-height: 0;
    height: auto;
    overflow: hidden;

    transition: all 0.5s ease-in;
}

.active #mainMenuNav
{
    max-height: calc(100vh - 2.5rem);
    overflow: auto;
}

#mainMenuNav ul
{
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

#mainMenuNav li
{
    position: relative;
}

#mainMenuNav a,
#mainMenuNav a:visited
{
    display: block;
    padding-block: 0.5rem;
    padding-inline: 1rem;
}

.subMenuToggle
{
    position: absolute;
    top: 0;
    right: 0;
    padding-block: 0.4rem;
    padding-inline: 0.5rem;
    font-size: 1.2em;
    font-weight: 600;
    z-index: 2;

    transition: all 0.5s ease-in;
}

.open > .subMenuToggle
{
    transform: rotate(90deg);
}

#mainMenuNav ul.level1
{
    padding-block: 1rem;
    text-align: left;
    background-color: white;
    font-size: 1rem;
    border-bottom-left-radius: 0.8rem;
}

#mainMenuNav li.level1
{
    border-bottom: 1px dotted rgba(44,44,44,0.7);
}

#mainMenuNav li.level1.last-item
{
    border-bottom: none;
}

#mainMenuNav li > ul
{
    height: auto;
    max-height: 0;
    margin-left: 1rem;
    background-color: white;
    overflow: clip;

    transition: all 0.5s ease-in;
}

#mainMenuNav li.open > ul
{
    max-height: 100vh;
    background-color: #f0f0f0;
    font-size: 0.85rem;
}

li .touch-button
{
    position: absolute;
    top: 0;
    right: 0;
    width: 3em;
    height: 2.7em;
    display: inline-block;
    background: #acaca1;
    background: rgba(0, 0, 0, 0.075);
    text-align: center;
    cursor: pointer;
    z-index: 900;
}

@media screen and (max-width: 500px)
{
    .breadCrumb,
    .main-content
    {
        margin-left: 0.1rem;
    }
}


