@import url('https://fonts.googleapis.com/css2?family=Bad+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bad+Script&family=WDXL+Lubrifont+TC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=WDXL+Lubrifont+TC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

.title {
  color: #100379;
  text-align: center;
  font-size: 50px;
  font-family: 'Lora', serif !important;
  /* Добавь именно так с !important */
}

.center-book {
  width: 500px;
  margin: 0 auto;
}

.welcome {
  width: 700px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Lora', serif;
  font-size: 18px;
  line-height: 1.6;
  /* чтобы строчки не слипались */
  color: #444;
}

.bezsmertnik {
  margin: 0 auto;

}

.ideal {
  width: 700px;
  margin: 0 auto;

}

.menu {
  display: flex;
  gap: 30px;
  font-family: "Bad Script", cursive;
  font-weight: 1000;
  margin: 0 auto;
  width: 900px;
  text-align: center;
  width: 1000px;

}

.menu-link {
  text-decoration: none;
  background-color: rgb(187, 171, 151);
  padding: 10px;
  border-radius: 10px;
}

.menu-link:hover {
  background-color: rgb(128, 118, 105);
}

.menu-item {
  text-transform: uppercase;
  font-size: 15px;
  box-shadow: 10px 10px 8px 2px rgba(97, 6, 122, 0.3);

}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.book-image-large {
  height: 400px;
  width: 700px;
}

/* Контейнер для всех книг */
.books-container {
  text-align: center;
  /* Центрируем книги на странице */
  padding: 20px;
  display: block;
  /* Сбрасываем все сетки */
}

/* Сама карточка - делаем её маленькой */
.book-card {
  display: inline-block;
  /* Самое важное: заставляет блоки встать в ряд */
  vertical-align: top;
  /* Чтобы они не прыгали по высоте */
  width: 200px;
  /* Ширина как на том сайте */
  margin: 15px;
  /* Расстояние между книгами */
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  /* Текст внутри книги - по левому краю */

}

/* Картинка внутри карточки */
.book-card img {
  width: 100%;
  /* Растягиваем на всю ширину карточки */
  height: 250px;
  /* Фиксируем высоту обложки */
  object-fit: cover;
  /* Чтобы не искажалась */
  border-radius: 4px;
}

.book-img {
  height: 250px;
  /* Заставляем все картинки быть одной высоты */
  width: 100%;
  /* Растягиваем по ширине карточки */
  object-fit: contain;
  /* МАГИЯ: картинка подстроится под размер, не растягиваясь и не обрезаясь */
}

/* Названия книг */
.book-title {
  font-size: 14px;
  font-family: Arial, sans-serif;
  /* Убираем рукописный шрифт для читаемости */
  margin: 10px 0 5px;
  height: 35px;
  /* Ограничиваем высоту текста */
  overflow: hidden;
  /* Прячем лишний текст */
}

/* Обложка */
.book-cover {
  width: 100%;
  height: auto;
  border-radius: 4px;
  /* Чуть скруглим углы обложки */
}

/* Заголовок книги */
.book-title {
  font-family: 'Lora', serif;
  font-size: 20px;
  margin: 15px 0 5px;
}

/* Цена */
.book-price {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: bold;
  color: #100379;
  /* Твой синий цвет */
  margin-bottom: 15px;
}

/* Кнопка */
.book-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #100379;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  /* Округлая кнопка */
  font-size: 14px;
  transition: 0.3s;
}

.book-button:hover {
  background-color: #f06292;
  /* Розовый акцент при наведении */
}

/* Добавить в самый конец style.css */
.product-gallery {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumbnails img {
  width: 50px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #ddd;
}

.main-window {
  position: relative;
  width: 300px;
  /* подбери под размер своей картинки */
}

.main-slide {
  display: none;
  width: 100%;
}

.main-slide.active {
  display: block;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #100379;
  z-index: 5;
}

.prev {
  left: -25px;
}

.next {
  right: -25px;
}

.book-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
}

.footer-text {
  text-align: center;
  font-family: "WDXL Lubrifont TC", sans-serif;
}

.video {
  margin: 0 auto;
  width: 800px;
  display: block;
}

.maps {
  margin: 20px auto;
  width: 800px;
  display: block;
  box-shadow: 10px 10px 8px 2px rgba(0, 0, 0, 0.3);

}

.book-img {
  display: block;
  margin: 0 auto;
  border-radius: 20px;


}

/* Контейнер для всех книг (строит их в ряд) */
.book-list {
  display: flex;
  flex-wrap: wrap;
  /* Чтобы книги переносились на новую строку */
  justify-content: center;
  /* Центрируем их */
  gap: 30px;
  /* Расстояние между книгами */
  padding: 20px;
  list-style: none;
}

/* Сама карточка книги */
.book-card {
  width: 220px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  /* Чтобы плавно оживала при наведении */
}

/* Эффект "Вау" при наведении */
.book-card:hover {
  transform: translateY(-8px);
  /* Книжка слегка подпрыгивает */
  border-color: #e2d9c8;
  /* Цвет под твое меню */
}

/* Сама обложка */
.book-img {
  width: 100%;
  height: 250px;
  /* Фиксируем высоту обложек */
  object-fit: contain;
  /* Чтобы картинка не сжималась */
  margin-bottom: 15px;
}

/* Кнопка "докладніше" */
.img-link {
  display: inline-block;
  background-color: #5d3fd3;
  /* Твой сиреневый */
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  margin-top: 10px;
}


.footer {
  background-color: rgb(213, 240, 252);
}

.book-link {
  background-color: #fe00f6;
  padding: 5px;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  text-align: center;
  text-decoration: none;
  color: rgb(152, 246, 229);
}

.book-link:hover {
  background-color: rgb(150, 168, 255);
}

.book-name {
  font-family: "Bad Script", cursive;
  text-align: center;
}

.biography {
  font-family: "Mulish", sans-serif;
  font-optical-sizing: auto;
}

.img-link {
  background-color: #e6e3df;
  padding: 5px;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  text-align: center;
  text-decoration: none;
  color: black;
  border: 1px solid black
}

.img-link:hover {
  background-color: #dfd7cc;
}

.button-form {
  padding: 10px 15px;
  background-color: rgb(223, 234, 251);
  border: none;
  border-radius: 20px;


}

.button-form:hover {
  background-color: rgb(223, 251, 243);
  cursor: pointer;
}

.form-title {
  font-family: "Comfortaa", sans-serif;
  font-weight: 300;
}

.form-summary {
  font-family: "Cormorant Garamond", serif;
}

.label-text {
  font-family: "Sansation", sans-serif;
}

.body {
  background-color: #fffbf7;
}

.music_item {
  border: 1px solid blue;
  width: 1200px;
  padding: 10px;
  border-radius: 15px;
  background-color: rgba(245, 141, 189, 0.311);
  margin-bottom: 20px;
}

.music_audio {
  width: 1200px;
}

.music_title {
  text-align: center;
}

.container_form {
  text-align: center;
}

.menu_title {
  text-align: center;
}

.form_site {
  margin: 0 auto;
  width: 700px;
}

.contact-link {
  color: #000;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.social-link {
  color: #000;
  text-decoration: none;
}

.social-link:hover {
  text-decoration: underline;
}

.not-dot {
  list-style: none;
}

table caption {
  text-align: left;
}

/* We "collapse" the frames of adjacent cells */
table {
  border-collapse: collapse;
}

/* 
  Add a border and padding to the cells, the distance from the content to the border.
  To control the vertical position, the caption-side property is used.
*/
table th,
table td {
  padding: 10px;
  border: 1px solid #2a2a2a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.5;
  color: #212121;
  background-color: #f9f9fd;
}

.pane {
  display: none;
  margin-top: 8px;
}

.pane.is-active {
  display: flex;
  gap: 20px;
}

.controls {
  display: flex;
  gap: 8px;
}

.book1 {
  border: #bd5fd7;
  border-style: double;
  border-width: 7px;
}

.book2 {
  border: #3d4794;
  border-style: double;
  border-width: 7px;
}

.book3 {
  border: #3d9483;
  border-style: double;
  border-width: 7px;
}

.book4 {
  border: #396fa1;
  border-style: double;
  border-width: 7px;
}

.book_btn {
  padding: 5px 10px;
  border-radius: 60px;
  border: none;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  cursor: pointer;
}

.book_btn1 {
  background-color: #edb8fc;
}

.book_btn2 {
  background-color: #aab1e5;
}

.book_btn3 {
  background-color: #9aeeb9;
}

.book_btn4 {
  background-color: #70aee8
}

.container-table {
  width: 350px;
  margin: 0 auto;
  border: none;
}

.title {
  text-align: center;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container-galeri {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.thumb {
  position: relative;
  margin: 10px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

.thumb>.label {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 8px 16px;
  border-bottom-left-radius: 4px;

  font-family: sans-serif;
  font-size: 24px;
  background-color: #2196f3;
  color: #fff;
}

.galeri-img {
  width: 300px;
}

.chat-button {
  position: fixed;
  right: 30px;
  bottom: 30px;

  display: inline-block;
  width: 64px;
  height: 64px;

  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;

  background-image: url("./img/manhva/5356355.png");
  background-size: contain;

  cursor: pointer;
}

.container-music {
  height: 150px;
  position: relative;
}

.box {
  position: absolute;
  height: 150px;
  width: 150px;

  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  font-size: 64px;
  color: #fff;

  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}



.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
  /* Додаємо плавний перехід */
}

.backdrop.is-hidden {
  opacity: 0;
  pointer-events: none;
  /* Критично для приховування кліків */
}

.no-scroll {
  overflow: hidden;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 400px;
  min-height: 300px;
  padding: 15px;
  background-color: rgb(255, 246, 227);
  transform: translate(-50%, -50%);
  border-radius: 5px;

}

.btn-open-box {
  text-align: center;

}

.btn-open {
  padding: 10px 20px;
  margin-top: 20px;
  background-color: #b1a1f1;
  border-radius: 10px;
  border: none;
  font-size: large;
}

.btn-open:hover {
  background-color: #7484ff;
  cursor: pointer;
  ;
}

.button-odr {
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 5px;
  background-color: #e6e3df;
  cursor: pointer;
  ;
}

.divbutton-odr {
  width: 100px;
  margin: 0 auto;
  border: none;
}



.tracking-in-contract {
  animation: tracking-in-contract 2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes tracking-in-contract {
  0% {
    letter-spacing: 1em;
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}

.scale-up-center:hover {
  animation: scale-up-center 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@keyframes scale-up-center {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.shake-horizontal {
  animation: shake-horizontal 15s cubic-bezier(0.455, 0.030, 0.515, 0.955) infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-12-27 11:47:55
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation shake-horizontal
 * ----------------------------------------
 */
@keyframes shake-horizontal {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70% {
    transform: translateX(-10px);
  }

  20%,
  40%,
  60% {
    transform: translateX(10px);
  }

  80% {
    transform: translateX(8px);
  }

  90% {
    transform: translateX(-8px);
  }
}

@media (max-width: 450px) {
  body {
    background-color: #4caf50;
  }

  .title {
    font-size: 28px;
    margin-left: -78px;
  }

  .mobile-home {
    width: 300px
  }

  .welcome {
    width: 284px;
    margin: 0 auto;
    text-align: center;
    margin-left: 3px;

  }

  .menu_title {
    text-align: center;
    margin-left: -892px;
  }
}

.backdrop.is-hidden {
  display: none;
  /* Это полностью прячет окно */
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Темный фон вокруг окна */
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
}

.product-slider {
  display: flex;
  gap: 15px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  height: 400px;
}

/* Колонка з мініатюрами */
.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.thumb:hover {
  opacity: 1;
}

.thumb.active {
  border-color: var(--primary-color);
  opacity: 1;
}

/* Головне зображення */
.main-view {
  width: 400px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.main-view img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;

}


@media screen and (max-width: 1800px) {

  .main-header {
    position: fixed;
    /* Фиксируем на экране */
    top: 0;
    /* Прижимаем к самому верху */
    left: 0;
    width: 100%;
    /* Растягиваем на всю ширину */
    background: #E2D9C8;
    /* Цвет фона прямоугольника */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    /* Легкая тень снизу */
    z-index: 1000;
    /* Чтобы меню всегда было поверх картинок */
    padding: 10px 0;
    /* Отступы внутри прямоугольника */
  }

}

/* Центрируем список внутри шапки */
.main-header .menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

/* Чтобы контент сайта не заезжал ПОД меню, добавим отступ всему телу сайта */
body {
  padding-top: 70px;
  /* Высота должна быть чуть больше высоты меню */
}

@media screen and (max-width: 450px) {

  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 450px !important;
    background: #E2D9C8;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 60px;
    /* margin-left: 50px; */
  }

  .container {
    width: 450px;

  }

  .container-mobil {
    width: 450px;
  }

  .menu {
    width: 450px;
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    gap: 38px;
    width: 293px;

  }

  .main-header .menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    margin-left: 20px;
  }

  .menu-item {
    width: 74px;
  }

  .book-card {
    width: 330px;
  }

  .book-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0px;
    margin-left: -70px;
    list-style: none;
    margin-top: -55px;
  }
  .video {
    height: 200px;
    margin: -3px auto;
    width: 350px;
    display: block;
    margin-left: -15px;
}
}

.pay {
  color: #154a19;
} 