@media only screen and (max-width: 767px) {
  .nav {
        display: block;
    }
   
  .vorbook {
        margin: auto;
        line-height: 0.9;
        float: left;
        width: 99%;
    }
    .recht {
        margin: auto;
        text-align: justify;
        color: #800000;
        padding: 2px;
        max-width: 99%;
    }
    .silkaunten {
        display: none;
    }
    .textrecht {
        color: #00008B;
        padding: auto;
        width: 97%;
    }
    

    .oknigi {
        margin: auto;
        line-height: 0.9;
        float: left;
        width: 99%;
        display: flex;
        flex-direction: column;
        background: BurlyWood;
      }
      .pusto {
   width: auto;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 15px;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    box-shadow: inset 0px 11px 8px -10px #CCC, inset 0px -11px 8px -10px #CCC;
    }

    .art.third {
      display: none;
    }
    .art.first {
      display: none;
    }
    .silkaknopka {
      display: none;
    }
    .art.second{
      margin: auto;
      width: 100%;
    }
   
   
}
/*
.menu-overlay {
    pointer-events: none;
}

.menu-overlay.active {
    pointer-events: auto;
}
*/
/* Кнопка меню мобиле */

   /* Кнопка */
.menu-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: transparent;
    color: #000000;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    z-index: 2000;
    border: 1px solid #808080;
    
}


/* Меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: #f1ca7f;
    transition: 0.3s;
    padding-top: 70px;
    z-index: 1500;
     overflow-y: auto;
    display: flex;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #808080;
}

.mobile-menu a,
.mobile-menu span {
    display: block;
    padding: 14px 20px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

/* Подменю */
/*
.submenu {
    display: none;
    background: #f1ca7f;
}
*/
.submenu a {
    padding-left: 35px;
    font-size: 14px;
}

.has-sub.open > .submenu {
    display: block;
}

/* Начальное состояние пунктов */
.mobile-menu li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .4s ease, transform .4s ease;
}

/* анимация */
/* Когда меню активно */
.mobile-menu.active li {
    opacity: 1;
    transform: translateX(0);
}
/*
.mobile-menu:not(.active) li {
    transition-delay: 0s !important;
}*/

/* Задержки по очереди */
.mobile-menu.active li:nth-child(1) { transition-delay: .05s; }
.mobile-menu.active li:nth-child(2) { transition-delay: .10s; }
.mobile-menu.active li:nth-child(3) { transition-delay: .15s; }
.mobile-menu.active li:nth-child(4) { transition-delay: .20s; }
.mobile-menu.active li:nth-child(5) { transition-delay: .25s; }
.mobile-menu.active li:nth-child(6) { transition-delay: .30s; }

.submenu {
    background: #f1ca7f;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        max-height .4s ease,
        opacity .3s ease,
        transform .3s ease;
}
/*
body.lock {
    overflow: hidden;
   
}*/

.has-sub.open > .submenu {
    max-height: 40vh; /* 40% высоты экрана */
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
}

/* На десктопе скрываем мобильное меню */
@media (min-width: 768px) {
    .menu-btn,
    .mobile-menu {
        display: none;
    }
}

.submenu::-webkit-scrollbar {
    width: 6px;
}

.submenu::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

/* Затемнение */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 1000;
    
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}