body, html {
    height: 100%;
    margin: 0;
    font-family: "Arial", sans-serif;
    color: #fff;
    background-color: #333;
}

.parallax {
    background-image: url('/assets/back.jpg'); /* Путь к вашему изображению */
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header {
    text-align: center;
    color: #fff;
    padding: 50px;
}

.animated-text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 30px 0; 
}

.animated-text h1 {
    margin: 0;
    padding: 0;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
    }
  
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
    }
}

.dark {
    background-color: #121212;
    padding: 20px;
}

.gallery-images img {
    margin: 10px;
    transition: transform 0.5s ease;
}

.gallery-images img:hover {
    transform: scale(1.1);
}

.book-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    background-color: #222;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    overflow: auto; /* Для прокрутки, если содержимое выходит за пределы блока */
}