header {
    padding: 20px 0;
    background: #9007ac;
}

li {
    font-family: "Bona Nova SC", serif;
}

.btn-primary, .btn-dark {
    font-family: "Bona Nova SC", serif;
}

.form-control {
    font-family: "Bona Nova SC", serif;
}

.navcoll {
    font-family: "Bona Nova SC", serif;
    flex: auto;
    width: 10%;
    text-align: center;
    position: relative;
}


html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between; /* распределяем пространство между контентом и футером */

}

.container {
    flex: 1;
    padding-bottom: 50px;

}

.footer {
    /*height: auto;*/
    /*min-height: 100px;*/
    background-color: #1a1d20;
    color: #e2e3e5;
    font-family: "Bona Nova SC", serif;
    flex: 1;
    /*margin-top: 20px;*/
    /*bottom: 0;*/
}

a {
    text-decoration: none;
}


.book-poster {
    width: 100%;
}

.book-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
}
.book-info p {
    margin: 5px 0;
}

.audio-player {
    text-align: center;
    margin-top: 20px;
}
.audio-player audio {
    width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* HTML: <div class="loader"></div>
.loader {
  font-weight: bold;
  font-family: "Bona Nova SC", serif;
  font-size: 20px;
  display: inline-grid;
  overflow: hidden;
  text-align: center;
  color: #000;
}

.loader span {
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
} */


.scrolling-text-container {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 5px 0;
  box-sizing: border-box;
  position: relative; /* ВАЖНО! */
  height: 30px;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  left: 100%;
  animation: scrollText 15s linear infinite;
  font-size: 18px;
  font-family: "Bona Nova SC", serif;
  font-weight: bold;
  color: #000;
}

@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-200%);
  }
}