/*MENU LINKS*/

header a {
    font-family: 'Liberation-Mono', Courier, monospace;
}

.menu a {
    font-size: 1.5rem;
    padding: 0.6rem;
    padding: 0.2rem 0.6rem 0.1rem 0.2rem;
    text-align: left;
    color: black;
}

/*Hide inside Button-content*/
.button-content a {
    text-align: center;
    pointer-events: none;
    display: none;
}

/*Hide inside Button-content*/
a._mPS2id-h {
    display: none;
}

/*Show inside Button-content*/
a.mPS2id-highlight { 
    display: block;
}

/*Hover for Button-Content itself*/
.button-content:hover a.none {
    color: yellow;
    text-decoration: underline;
/*    letter-spacing: 0.25rem;*/
}

/*Transforming :after on hover*/
.button-content:hover a.none:after {
/*    text-decoration: none;*/
/*    transform: scale(3);*/
}

/*Hover for Menu-content*/
a.menu-link-class:hover {
    color: yellow;
}

/*Highlight selected inside the Menu-content*/
.menu-content a.mPS2id-highlight {
    color: yellow;
}

/*Highlight Button-Content itself*/
.button-content a.mPS2id-highlight {
    color: yellow;
}


/*MENU BUTTON*/

.btn {
    position: relative;
}

button {
    width: 100%;
    padding: 0;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    margin: 0 !important;
}

.none:after,
.none-open:after {
    content: "\25BC";
    font-family: "NR-Arrows_Medium";
    line-height: 1em;
    top: -0.1rem;
    margin-left: 1rem;
    position: relative;
    display: inline-block;
    transition: .25s;
    transform-origin: 50% 50%;
    animation: 0.6s flyhigh ease 1.5s;
    animation-iteration-count: 2;
}

@keyframes flyhigh {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1rem);
    }
}

.none-open:after {
    transform: rotate(180deg);
}

/*Text length indicator*/
a:before {
    content: "";
    display: inline-block;
    position: absolute;
    margin-top: -0.6rem;
    border-top: 0.2rem solid;
}

.menu-content a._mPS2id-h {
    display: block;
}

.menu a.mPS2id-highlight { 
    display: block;
    background-color: none;
}

.menu-content {
    display: none;
}

.menu-content-open {
    animation: acc 0.25s ease;
    animation-fill-mode: forwards;
    transform-origin: top;
    display: block;
    background-color: inherit;
    padding: 1rem;
}

@keyframes acc {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

.menu-content > a {
    opacity: 0;
    max-width: 60rem;
    width: 100%;
    margin: 1.2rem auto 0 auto;
}

.menu-content-open > a {
    animation: opacity 0.3s ease;
    animation-fill-mode: forwards;
    animation-delay: 0.25s;
}

@keyframes opacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.menu-content-explainer {
/*    text-align: center;*/
    max-width: 60rem;
    width: 100%;
    margin: 0.5rem auto 0rem auto;
    text-align: center;
}

/*Closing Tab Area Below The Menu*/

.tab-anywhere {
    display: none;
}

.tab-anywhere-active {
    display: block;
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: none;
    top: 8rem;
    z-index: -1;
}

/*Hover over Menu*/

/*
.btn:hover:before {
    content: "Fragment-Übersicht";
    font-family: 'Liberation-Mono', Courier, monospace;
    font-size: 1.5rem;
    position: absolute;
    z-index: 1001;
    height: 1.7rem;
    padding-top: 0.4rem;
    width: 20rem;
    left: calc(50% - 10rem);
    text-align: center;
    pointer-events: none;
    margin-top: -0.3rem;
    color: black;
    background-color: white;
}
*/

/*
.btn:hover:before {
    content: "Textfragmente";
    font-family: 'WebfontOne_Black';
    font-size: 4rem;
    text-transform: uppercase;
    position: absolute;
    z-index: 1001;
    height: 3.5rem;
    padding-top: 0.4rem;
    width: 50rem;
    left: calc(50% - 25rem);
    text-align: center;
    pointer-events: none;
    margin-top: -1.1rem;
    color: black;
    background-color: yellow;
}
*/
