/*
MOBILE NAV START
*/

.mobile-top-header {
    display: flex;
    position: fixed;
    width: 100%;
    border-bottom: 1px solid var(--panel-outline);
    align-items: center;
    background: #111;
    z-index: 1000;
}

.mobile-top-header >div {
    display: flex;
    width: 100%;
    align-items: center;
}
.mobile-top-header >div>h1 {
    flex-grow: 1;
}

.mobile-top-header button {
    margin-right: 5px;
    color: var(--text-col);
    background: transparent;
    border: 1px solid var(--panel-col);
    border-radius: 5px;
    padding: 10px;
}
.mobile-top-header button:hover {

    background: var(--bg-col);
    border-color: var(--text-col);
}


  article {
    width: 100%;
      margin: 0;
  }

.mobile-top-header>a {
    width: 3rem;
    height:3rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.mobile-top-header>a:hover {
    background: var(--panel-col);
}

.mobile-top-header>div h1 {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}
    
    hgroup {
        display: none;
    }

.mobile-text-nav {
    z-index: 99;
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg, #000000ff, #000000ff 50%, #00000000 100%);
    display: flex;
    height: 65px;
}

.mobile-text-nav>ul {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.mobile-text-nav li,
.mobile-text-nav button,
.mobile-text-nav a {
    display: flex;
    height: 100%;
    width: 100%;
}

.mobile-text-nav button,
.mobile-text-nav a {
    border: none;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: #fff9;
    text-decoration: none;
}

.mobile-text-nav button:hover,
.mobile-text-nav a:hover {

    color: #ffff;
    transform: scale(1.2);
}

.questions-overlay {
    width: 100vw;
    max-width: 100vw;
}

/*Vertical scroll snap with horizontal normal scroll*/
.markdown {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}

.markdown>article {
    scroll-snap-align: start;
    min-width: 100%;
    padding: 1rem;
    padding-top: 5rem;
    height: 100px;
}
.markdown>article.active {
    height: auto;
}

.markdown h2 {
    display: flex;
    flex-direction: column-reverse;
    align-items: start;
}

.lesson-bottom-nav-mobile {
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lesson-bottom-nav-mobile > div {
    border-radius: 1rem;
    margin: 0rem;
    padding: 0.5rem 2rem;
    border: 1px solid var(--panel-outline);
}

.lesson-bottom-nav-mobile > div:hover {
    background: var(--panel-outline);
}