body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;

}

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 200 to 700

.oswald-<uniquifier> {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.amatic-sc-regular {
  font-family: "Amatic SC", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.amatic-sc-bold {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Стилі для меню */
.black-menu {
    background: linear-gradient(135deg, #000000, #000000);
    padding: 15px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0.9;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-family: 'Arial', sans-serif;
    font-size: 42px;
}

.logo-link {
    text-decoration: none;
    color: white;
}

.menu-options {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* елементи в ряд */
    align-items: center;
}

 .menu-options li {
    margin-right: 30px;}

nav ul li:last-child {
    margin-right: 50px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #ccccff;
    transition: width 1s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #ccccff;
}

.company-logo {
    width: 80px;
    height: auto;
    margin-top: -10px;
    margin-bottom: 0px;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    margin-right: 40px;
}
  .mobile-menu {
    display: none;
  }



  .hero {
      position: relative;
      text-align: center;
      color: white;
      padding: 140px 0;
  }

  .hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: auto;
      object-fit: cover; /* Зберігаємо пропорції зображення */
      z-index: -1; /* Поміщаємо зображення за контентом */
  }

  .hero-content {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
      background: rgba(0, 0, 0, 0.5); /* Прозорий чорний фон для читабельності */
      padding: 40px;
      border-radius: 10px;
      z-index: 1; /* Забезпечує, що текст знаходиться над зображенням */
  }

  .hero h2 {
      font-size: 48px;
      margin-bottom: 20px;
  }

  .hero p {
      font-size: 24px;
      margin-bottom: 40px;
  }

  .cta-button {
      background-color: #8781FF;
      color: white;
      padding: 15px 40px;
      text-decoration: none;
      border-radius: 5px;
      font-size: 18px;
      transition: background-color 0.3s;
  }

  .cta-button:hover {
      background-color: #0056b3;
  }




  /* Стилі для перегортання книг */
.book-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5; /* Тло блоку */
    padding: 20px 0;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slide img {
    width: 20%; /* Змінив ширину для кращого вигляду */
    height: auto;
    padding-top: 20px;
    display: block;
    margin-top: 30px;
    margin-bottom: 30px;
    margin: 0 auto;
}

.book-info {
    padding-top: 20px;
    font-size: 29px !important; /* Змінив розмір шрифту тут */
    color: #000000; /* Колір тексту */
    font-weight: bold;
    font-family: Oswald;
    padding-bottom: 25px;
    text-align: center; /* Вирівнювання тексту по центру */
}


/* Кнопки перемикання */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 34px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 75vh;
}

.next {
    right: 75vh;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.book-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.book-link img {
    display: block;
    width: 30%;
    height: auto;
}

.book-info {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}


@media (max-width: 960px) {
    .slider-container {
        max-width: 600px; /* Ще більше зменшено ширину контейнера */
    }

    .slide img {
        width: 40%; /* Зменшено ширину зображень для середнього екрану */
    }

    .book-info {
        font-size: 18px; /* Зменшено розмір шрифту */
    }

    .prev, .next {
        font-size: 24px; /* Зменшено розмір кнопок */
    }
}


/* Налаштування для мобільних пристроїв */
@media (max-width: 768px) {
    .slide img {
        width: 100%;
    }

    .book-info {
        font-size: 14px;
        padding: 0 10px;
    }
}

@media (max-width: 460px) {
    .slider-container {
        max-width: 100%; /* Використовуємо майже повну ширину екрану */
    }

    .slide img {
        width: 60%; /* Ширина зображень для маленького екрану */
    }

    .book-info {
        font-size: 16px; /* Ще більше зменшено розмір шрифту */
    }


    .prev, .next {
        top: 46%; /* Вирівнювання по центру вертикально */
        transform: translateY(-50%); /* Центрування кнопок по вертикалі */
        background-color: rgba(0, 0, 0, 0.5); /* Тло кнопок */
        color: white;
        border: none;
        font-size: 20px; /* Розмір шрифту кнопок */
        padding: 7px;
        z-index: 10;
    }

    .prev {
        left: 30px; /* Відстань від лівого краю екрану */
    }

    .next {
        right: 30px; /* Відстань від правого краю екрану */
    }
}



.info-block {
    background-color: #f5f5dc; /* М'який бежевий колір */
    padding: 50px 0;
}

.info-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    padding: 20px;
}

.info-image {
    flex: 1;
    padding-right: 20px;
}

.info-image img {
    width: auto;
    height: 80vh;
    border-radius: 10px; /* Заокруглені кути для зображення */
}

.info-text {
    flex: 2;
    padding-left: 20px;
}

.info-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    margin-top: -50px;
    padding-top: 40px;
    font-family: 'Arial', sans-serif;
}

.info-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.cta-button {
    display: inline-block;
    background-color: rgba(0, 191, 255, 1); /* Прозорий фон */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.quote {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border-left: 5px solid #8781FF;
    font-style: italic;
    color: #555;
    background-color: #f9f9f9; /* Легкий фон для цитати */
}

.cta-button:hover {
    background-color: rgba(0, 86, 179, 0.5); /* Прозорий фон при наведенні */
}

/* Налаштування для мобільних пристроїв */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
    }

    .info-image, .info-text {
        padding: 0;
    }

    .info-text {
        padding-top: 20px;
    }
}



.video-block {
    position: relative;
    width: 100%;
    height: 4.5cm; /* Висота відео */
    overflow: hidden; /* Приховати частини відео, що виходять за межі контейнера */
}

.video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Забезпечує збереження пропорцій та покриття контейнера */
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px; /* Додає відступи по боках */
}

.video-title {
    font-size: 62px;
    color: white;
    font-family: 'Amatic SC', sans-serif;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Додає тінь для покращення видимості */
}






body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.book-card {
    display: flex;
    align-items: flex-start;
    background-color: #f7f6e1;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 45px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative; /* Для розміщення поличок */
}

.book-cover {
    width: 400px; /* Ширина обкладинки книги */
    height: auto;
    border-radius: 5px;
    margin-right: 70px;
    margin-left: 30px;
}

.book-details {
    flex: 1;
}

.book-title {
    font-size: 36px; /* Велика назва книги */
    font-weight: bolder;
    margin: 0 0 20px; /* Відступ знизу після назви книги */
    color: #333;
}

.book-info-wrapper {
    display: flex;
    flex-direction: column; /* Відображення у стовпчик */
    gap: -45px;
    margin-bottom: 1px;
    margin-top: 5px;
}

.book-info-card {
    font-size: 17px; /* Розмір тексту інформації */
    font-weight: 500;
    color: #333;
    position: relative;
    padding-bottom: 4px;
}

.book-info-card::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #ddd;
    position: absolute;
    bottom: 0;
    left: 0;
}

.book-synopsis {
    font-size: 17px;
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 0;
}

.book-shelf {
    content: '';
    display: block;
    width: 20vh;
    height: 4px;
    background: #dcb35c;
    border-radius: 5px;
    position: absolute;
    bottom: -10px; /* Відступ для нижньої полички */
    left: 0;
    right: 0;
}

.buy-button {
    background-color: #8781FF;
    color: white;
    border: none;
    padding: 10px 20px;
    width: calc(40% + 0px); /* Збільшити ширину кнопки */
    text-align: center; /* Центрування тексту в кнопці */
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: relative;
    left: 50; /* Зміщення вліво для збільшення ширини */

}

.buy-button:hover {
    background-color: #0056b3;
}

.buy-button-seg {
  background-color: #8781FF;
  color: white;
  border: none;
  padding: 10px 20px;
  width: calc(40% + 0px); /* Збільшити ширину кнопки */
  text-align: center; /* Центрування тексту в кнопці */
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  position: relative;
  left: 50; /* Зміщення вліво для збільшення ширини */
  margin-left: 71vh;
}

.buy-button-seg:hover {
    background-color: #0056b3;
}

.book-cover2 {
  width: 450px; /* Ширина обкладинки книги */
  height: auto;
  border-radius: 5px;
  margin-left: 70px;
}


.book-card-third {
    display: flex;
    align-items: flex-start;
    background-color: #f7f6e1;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 45px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.book-slider-third {
    position: relative;
    width: 500px; /* Встановіть ширину слайдера */
    height: auto; /* Встановіть висоту слайдера */
    overflow: hidden;
    margin-right: 40px;
    margin-left: 10px;
}

.slides-third {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide-third {
    min-width: 100%;
    height: 100%;
    border-radius: 5px !important;
}

.book-cover-third {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Забезпечує заповнення контейнера без деформації */
}

#VZLV{
  display: none;
}
#VZLN{
  display: block;
}

.book-details-third {
    flex: 1;
}

.book-title-third {
    font-size: 36px; /* Велика назва книги */
    font-weight: bolder;
    margin: 0 0 20px; /* Відступ знизу після назви книги */
    color: #333;
}

.book-info-wrapper-third {
    display: flex;
    flex-direction: column;
    gap: -45px;
    margin-bottom: 1px;
    margin-top: 5px;
}

.book-info-card-third {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    position: relative;
    padding-bottom: 4px;
}

.book-info-card-third::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #ddd;
    position: absolute;
    bottom: 0;
    left: 0;
}

.book-synopsis-third {
    font-size: 17px;
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 0;
}

.book-shelf-third {
    content: '';
    display: block;
    width: 20vh;
    height: 4px;
    background: #dcb35c;
    border-radius: 5px;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
}

.buy-button-third {
    background-color: #8781FF;
    color: white;
    border: none;
    padding: 10px 20px;
    width: calc(40% + 0px);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.buy-button-third:hover {
    background-color: #0056b3;
}



/* Стилізація для модального вікна */
.modal {
    display: none; /* Приховано за замовчуванням */
    position: fixed; /* Залишається на місці навіть при прокручуванні */
    z-index: 1; /* Розташування на передньому плані */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Додає прокрутку якщо потрібно */
    background-color: rgba(0,0,0,0.7); /* Чорний з прозорістю */
}

/* Контент модального вікна */
.modal-content {
    position: relative;
    margin: 9% auto; /* Відступи для модального вікна */
    padding: 20px;
    width: 80%;
    max-width: 700px; /* Збільшення максимальної ширини */
    background: #fff;
    border-radius: 10px;
    text-align: left; /* Вирівнювання тексту по лівому краю */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Кнопка для закриття модального вікна */
.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* Фон з розмиттям */
body.modal-open {
    overflow: hidden; /* Забороняє прокрутку сторінки при відкритому модальному вікні */
}

body.modal-open::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px); /* Ефект розмиття */
    z-index: 1;
}

.modal-cover {
    width: 200px;
    height: auto;
    margin-bottom: 20px; /* Відступ знизу після обкладинки */
}

.modal-title {
    font-size: 24px; /* Збільшити розмір заголовка */
    font-weight: bold;
    margin-bottom: 20px; /* Відступ знизу після заголовка */
    color: #333;
    align-self: left; /* Вирівнювання тексту по лівому краю */
    position: absolute;
    margin-left: 44vh;
    bottom: 84%;
}

#modalTitlePT {
  font-size: 20px;
}




.modal-title1 {
    font-size: 20px; /* Збільшити розмір заголовка */
    font-weight: bold;
    margin-bottom: 20px; /* Відступ знизу після заголовка */
    color: #333;
    align-self: left; /* Вирівнювання тексту по лівому краю */
    position: absolute;
    margin-left: 40vh;
    bottom: 84%;
}

.modal-price {
    font-size: 23px;
    margin-top: 5px;
    margin-bottom: 25px;
    color: #00bfff;
}

.modal-description {
    font-size: 15px;
    color: #555;
    line-height: 1.4;
    bottom: 200px;
    background-color: #f7f6e1; /* Бежевий фон */
    padding: 5px 15px; /* Внутрішній відступ */
    border-radius: 10px; /* Закруглені кути */
    margin-left: 220px;
    margin-right: 20px;
    position: absolute;
    width: 400px;
    border: 1px solid black;


}

/* Обгортка кнопок */
/* Обгортка для кнопок, щоб розташувати їх в один ряд і забезпечити правильне вирівнювання */
.order-buttons-wrapper {
    display: flex; /* Відображення кнопок в ряд */
    width: 100%; /* Ширина обгортки повинна бути 100% для заповнення горизонтального простору */
    gap: 2%; /* Відстань між кнопками, можна змінити за потреби */
    margin-top: 20px; /* Відступ зверху */
}

/* Стилізація кнопок */
.order-button {
    background-color: #8781FF;
    color: white;
    border: none;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    flex: 1; /* Зробити кнопки еластичними */
    width: 345px; /* Занимати весь доступний простір в контейнері */
    text-decoration: none;
}

.order-button:hover {
    background-color: #0056b3;
}





/* Стилізація для модального вікна */
.unique-modal {
    display: none; /* Приховано за замовчуванням */
    position: fixed; /* Залишається на місці навіть при прокручуванні */
    z-index: 1; /* Розташування на передньому плані */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Додає прокрутку якщо потрібно */
    background-color: #f3f3df; /* Чорний з прозорістю */
}

/* Контент модального вікна */
.unique-modal-content {
    position: relative;
    margin: 10% auto; /* Відступи для модального вікна */
    padding: 30px;
    width: 80%;
    max-width: 600px; /* Максимальна ширина */
    background: #fff;
    border-radius: 10px;
    text-align: left; /* Вирівнювання тексту по лівому краю */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Кнопка для закриття модального вікна */
.unique-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.unique-close:hover {
    color: black;
}

/* Стилі для форми */
form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

label {
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.anunc {
  font-size: 15px;
  font-weight: bold;
  color: #555;
  line-height: 1.3;
  background-color: #f7f6e1; /* Бежевий фон */
  padding: 0px 15px; /* Внутрішній відступ */
  border-radius: 10px; /* Закруглені кути */
  position: relative;
  width: 98%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
  margin-top: -15px;

}

button[type="submit"] {
    background-color: #8781FF;
    width: 103%;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}


/* Для екранів шириною до 960px */
@media (max-width: 960px) {
    .book-card, .book-card-third {
        flex-direction: column; /* Розміщення інформації під обкладинкою */
        padding: 20px; /* Зменшення відступів */
        align-items: center; /* Центрування всередині контейнера */
    }

    .book-cover, .book-cover2, .book-cover-third {
        width: 80%; /* Ширина обкладинок на 80% від контейнера */
        max-width: 300px; /* Максимальна ширина обкладинок */
        margin-bottom: 10px; /* Відступ знизу */
        display: block; /* Відображення як блок */
        margin-left: auto; /* Центрування обкладинки */
        margin-right: auto; /* Центрування обкладинки */
    }

    .book-title, .book-title-third {
        font-size: 24px; /* Зменшення розміру шрифту заголовка */
        text-align: center; /* Вирівнювання заголовка по центру */
    }

    .book-info-card, .book-info-card-third {
        font-size: 14px; /* Зменшення розміру шрифту інформації */
    }

    .book-synopsis, .book-synopsis-third {
        font-size: 14px; /* Зменшення розміру шрифту синопсису */
    }

    .buy-button, .buy-button-seg, .buy-button-third {
        width: 100%; /* Ширина кнопок на 100% від контейнера */
        font-size: 16px; /* Зменшення розміру шрифту кнопок */
        padding: 10px; /* Зменшення відступів у кнопках */
        box-sizing: border-box; /* Включення padding в ширину кнопки */
        text-align: center; /* Центрування тексту кнопки */
    }

    .order-buttons-wrapper {
        flex-direction: column; /* Розміщення кнопок в стовпчик */
        align-items: center; /* Центрування кнопок */
    }

    .order-button {
        width: 80%; /* Ширина кнопок на 80% від контейнера */
        margin-bottom: 10px; /* Відступ між кнопками */
    }

    .modal-content, .unique-modal-content {
        width: 90%; /* Зменшення ширини модального вікна */
        max-width: 500px; /* Максимальна ширина модального вікна */
        margin: 10% auto; /* Відступи для модального вікна */
    }
}

/* Для екранів шириною до 450px */
@media (max-width: 460px) {
    .book-card, .book-card-third {
        padding: 15px; /* Зменшення відступів */
    }

    .book-cover, .book-cover2, .book-cover-third {
        width: 100%; /* Ширина обкладинок на 100% від контейнера */
        max-width: 200px; /* Ще менша максимальна ширина обкладинок */
        margin-bottom: 20px; /* Відступ знизу */
        justify-content: center;
    }

    .book-cover-third{
      margin-left: 140px;

    }

    .book-title, .book-title-third {
        font-size: 18px; /* Подальше зменшення розміру шрифту заголовка */
        text-align: center; /* Вирівнювання заголовка по центру */
    }
    #VZLN{
      display: none;
    }
    #VZLV{
      display: block;
    }



    .video-title {
        font-size: 45px;
        color: white;
        font-family: 'Amatic SC', sans-serif;
        margin: 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Додає тінь для покращення видимості */
    }

    .book-info-card, .book-info-card-third {
        font-size: 12px;
        margin-left:7px;
        margin-right: 7px;
    }

    .book-synopsis, .book-synopsis-third {
        font-size: 12px;
        margin-left:7px;
        margin-right: 7px; /* Подальше зменшення розміру шрифту синопсису */
    }

    .buy-button, .buy-button-seg, .buy-button-third {
        font-size: 14px; /* Зменшення розміру шрифту кнопок */
        padding: 8px; /* Зменшення відступів у кнопках */
        justify-content: center;
        margin: auto;
        display: block;
        margin-bottom: 10px;
        margin-top: 20px;
        width: 65%;
    }

    .modal-content {
            width: auto;
            margin: 10px;
            margin-top: 20%;

        }

        .modal-cover {
            width: 160px; /* Зменшена ширина обкладинки */
            padding-bottom: 120px;
        }

        .modal-title {
            font-size: 18.5px;
            position: absolute;
            max-width: 40%;
            margin-left: 178px;
            top: 2vh;
        }

        .modal-price {
            font-size: 20px;
            position: absolute;
            margin: auto;
            top: 240px;
            left: 200px;
            font-weight: bold;
        }

        .modal-description {
            font-size: 11px;
            width: 82%;
            margin: auto;
            top: 345px;
            right: 10;
            left: 10;
            height: 22%;
        }

        .order-buttons-wrapper {
            flex-direction: column;
            align-items: center;
        }

        .order-button {
            width: 98% !important;
            font-size: 14px;
            padding: 8px;
        }



        /* Стилізація для модального вікна */
        .unique-modal {
            display: none; /* Приховано за замовчуванням */
            position: fixed; /* Залишається на місці навіть при прокручуванні */
            z-index: 3; /* Розташування на передньому плані */
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto; /* Додає прокрутку якщо потрібно */
            background-color: #f3f3df; /* Чорний з прозорістю */
        }

        /* Контент модального вікна */
        .unique-modal-content {
            position: relative;
            margin: 5% auto; /* Відступи для модального вікна */
            padding: 30px;
            margin-top: 70px;
            width: 70%;
            max-width: 600px; /* Максимальна ширина */
            background: #fff;
            border-radius: 10px;
            text-align: left; /* Вирівнювання тексту по лівому краю */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding-bottom: 40px;

        }

        /* Кнопка для закриття модального вікна */
        .unique-close {
            color: #aaa;
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
        }

        .unique-close:hover {
            color: black;
        }

        /* Стилі для форми */
        form {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-right: 20px;
        }

        label {
            font-weight: bold;

        }

        input, textarea {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        .anunc {
          font-size: 15px;
          font-weight: bold;
          color: #555;
          line-height: 1.3;
          background-color: #f7f6e1; /* Бежевий фон */
          padding: 0px 15px; /* Внутрішній відступ */
          border-radius: 10px; /* Закруглені кути */
          position: relative;
          width: 95%;
          border: 1px solid rgba(0, 0, 0, 0.5);
          margin-bottom: 25px;
          margin-top: -10px;


        }

        button[type="submit"] {
            background-color: #8781FF;
            width: 110%;
            color: white;
            border: none;
            padding: 12px;
            margin-bottom: -10px;
            cursor: pointer;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        button[type="submit"]:hover {
            background-color: #0056b3;
}




 .book-slider-third {
     position: relative;
     width: 500px; /* Встановіть ширину слайдера */
     height: auto; /* Встановіть висоту слайдера */
     overflow: hidden;
     margin-left: 65px;
 }

 .slides-third {
     display: flex;
     width: 100%;
     height: 100%;
     transition: transform 0.5s ease-in-out;
 }

 .slide-third {
     min-width: 100%;
     height: 100%;
     border-radius: 5px !important;
 }

 .book-cover-third {
     width: 100%;
     height: 100%;
     object-fit: cover; /* Забезпечує заповнення контейнера без деформації */
 }

}


























footer {
    background-color:#121118;
    color:white;
    padding:40px 30px;
    text-align:center;
    position:relative;
}

.footer-content {
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    font-size:20px;
}

.contact-info, .social-media {
    flex:1;
    text-align:left;
}

.contact-info p, .contact-info a {
    display:block;
    margin-bottom:15px;
    color:white;
    text-decoration:none;
    margin-left:30px;
    font-family: Times New Roman;
}

.social-media {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

.social-media a {
    font-size:24px;
    margin:0 10px;
    color:white;
}

.contact-button {
    background-color:#8781FF;
    color:white;
    padding:10px 20px;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    position:absolute;
    margin-left: 20px;
    bottom:40px;
}

.contact-button:hover {
    background-color:#0056b3;
}

.copy rights {
    font-size:14px;
    color:#ccc;
    position:absolute;
    bottom:10px;
    width:100%;
    text-align:center;
}








@media (max-width: 960px) {
  .menu-toggle {
      display: block;
  }

  .mobile-menu {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 0;
      right: 0;
      height: 100%;
      width: 250px;
      background: rgba(0, 0, 0, 0.9);
      z-index: 1001;
      padding: 20px;
  }

  .mobile-menu.open {
      display: flex;
  }

  .mobile-menu nav ul {
      display: flex;
      flex-direction: column;
  }

  .mobile-menu nav ul li {
      margin: 20px 0;
  }

  .mobile-menu nav ul li a {
      color: white;
      font-size: 20px;
  }

  .close-btn {
      font-size: 30px;
      color: white;
      cursor: pointer;
      align-self: flex-end;
  }

  .nav { display: none;
  }

  .menu-options {
    display: none;
  }
   .black-menu {
     height: 45px;
   }



   .hero {
     padding: 100px; /* Зменшуємо padding */
   }

   .hero-content {
     max-width: 600px; /* Зменшуємо ширину контейнера */
     padding: 30px; /* Зменшуємо padding всередині контейнера */
   }

   .hero h2 {
     font-size: 36px; /* Зменшуємо розмір шрифту заголовка */
   }

   .hero p {
     font-size: 20px; /* Зменшуємо розмір шрифту тексту */
   }

   .cta-button {
     padding: 12px 30px; /* Зменшуємо padding кнопки */
     font-size: 16px; /* Зменшуємо розмір шрифту кнопки */
   }



  }





@media (max-width: 460px) {
    .logo h1 {
        font-size: 24px;
    }

    .nav ul li a {
        font-size: 16px;
    }

    .intro-button {
        font-size: 18px;
        padding: 6px 12px;
    }

    .black-menu {
      height: 32px;
    }

  .company-logo {
    width: 50px;
    height: 50px;
    }

    .Menu2 {
      list-style-type: none;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        font-size: 16px;
        height: auto; /* Заміна на auto для адаптації висоти */
        padding: 20px 0; /* Додаємо відступи зверху та знизу */
    }

    .contact-info {
        text-align: center;
        margin: 50px 0 100px 0;
        position: relative;

    }
  .contact-info p {
    padding: 5px;
  }

    .contact-info p, .contact-info a {
        color: white;
        text-decoration: none;
        margin: 5px 0; /* Додаємо відступи між елементами */
    }

    .social-media {
        margin: 15px 0;
        display: flex;
        justify-content: center;
        gap: 15px; /* Відступи між іконками */
    }

    .social-media a {
        font-size: 20px;
        color: white;
    }

    .contact-button {
        background-color: #8781FF;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        padding: 10px 20px;
        margin: 0 0 85px;
        display: inline-block;
        text-align: center;
    }

    .copyright {
        text-align: center;
        color: white;
        font-size: 14px;
        margin-top: 20px;
    }


    .hero {
    padding: 60px; /* Ще більше зменшуємо padding */
    height: 500px;
  }

 .hero-image-wrapper img {
   height: 600px;
 }
  .hero-content {
    margin-top: 100px;
    max-width: 90%; /* Використовуємо майже повну ширину екрану */
    padding: 20px; /* Ще більше зменшуємо padding всередині контейнера */
  }

  .hero h2 {
    font-size: 28px; /* Ще більше зменшуємо розмір шрифту заголовка */
  }

  .hero p {
    font-size: 18px; /* Ще більше зменшуємо розмір шрифту тексту */
  }

  .cta-button {
    padding: 10px 25px; /* Ще більше зменшуємо padding кнопки */
    font-size: 14px; /* Ще більше зменшуємо розмір шрифту кнопки */
  }




  }
