* {
    padding: 0;
    margin: 0;
}
body {
    position: relative;
    background: #181E12 url(/images/library-bg.webp) repeat-y;
    background-size: 100% auto;
    margin: 0;
    padding: 25px 180px 0px 180px;
}
a {
  color: #1D52FF;
}
.book {
    height: 100%;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-user-drag: none;

    pointer-events: none;
}
.container {
    position: absolute;
    top: 163px;
    left: 583px;
    display: flex;
    gap: 52px;
    height: 615px;
    font-family: "Roboto Slab", serif;
    font-weight: 400;
    font-size: 12pt;
}
.left-box {
    width: 340px;
    height: 100%;
}
.right-box {
    position: relative;
    width: 355px;
    height: 100%;
}
/* Оглавление */
.left-bar {
    position: absolute;
    top: 5vh;
    left: 12.7vw;
}
.left-bar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.left-bar li {
    margin-bottom: 35px;
}
.left-bar li a {
    font-family: "Roboto Slab", serif;
    font-weight: 400;
    font-size: 12pt;
    color: white;
    text-decoration: none;
    display: inline-block;
    position: relative;
}
.left-bar li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    mix-blend-mode: difference;
    pointer-events: none;
}
.left-bar li a:hover {
    text-decoration: underline;
}
/* Выбор книги */
.left-box ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.left-box a {
    color: black;
}
.selected {
    list-style-type: disc;
    list-style-position: inside;
}
.left-box li:hover {
    list-style-type: disc;
    list-style-position: inside;
}
.left-box:has(li:hover) .selected:not(:hover) {
    list-style-type: none;
}
.textbox {
    display: none;
}
.show {
    display: block;
}
.show-text {
    display: block;
}
h1 {
    font-weight: bold;
    font-size: 24pt;
    line-height: 30px;
}
h2 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: normal;
    font-size: 12pt;
}
p {
    margin-top: 30px;
    font-size: 11pt;
    text-align: justify;
    text-indent: 30px;
    display: none;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
span {
    font-weight: bold;
}
.textbox a {
    margin-right: 20px;
}
.buttons a {
    color: black;
}
.selected-button {
    font-weight: bold;
}
.footer {
    position: absolute;
    bottom: 0;
}