    html{

        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
      margin: 5px;
      font-family: Arial, sans-serif;
      font-family: auto;
      /*background-color: #faf3dc1c;Бежевий*/
      overflow: hidden;
    }

    h2{
       font-weight: normal; /* Нормальная жирность */
    }
    
        @font-face{
      font-family: BenguiatGothicC_Italic;
      src: url(BenguiatGothicC_Italic.ttf) format("truetype");
      font-style: normal; 
      font-weight: normal;
    }

/* Застосовуємо стилі до першого блоку */
    header {
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      /*background-color: white;  Білий фон */
      color: #000;
      height: 100vh; /* Встановлюємо висоту блоку, щоб зайняти весь екран */
      translate: none;
    }
      .wallpaper-white{
       background-color: white;


      }
    /* Застосовуємо стилі до тексту "VOWS" */
    header h1 {
      font-size: 170px; /* Зменшуємо розмір шрифту */
      font-family: none; /*стандартний текст*/
      text-align: center; /* Вирівнюємо текст посередині */
      opacity: 0,5;/* Змінюємо прозорість на 1, щоб літери були невидимі */
      /*background-color: white; /* Білий фон */
    }

    /* Анімація для падіння кожної букви окремо */
    @keyframes falling {
      0% {
        transform: translateY(0);
        opacity: 0;
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
    }

    /* Додамо класи для кожної букви */
    .animate-text-container span:nth-child(1) {
      animation: falling 2s linear; /* Кожна анімація триватиме 2 секунд */
      animation-delay: 0.5s; /* Затримка 0.5 секунди для першої букви */
    }

    .animate-text-container span:nth-child(2) {
      animation: falling 2s linear; /* Кожна анімація триватиме 2 секунд */
      animation-delay: 1s; /* Затримка 1 секунда для другої букви */
    }

    .animate-text-container span:nth-child(3) {
      animation: falling 2s linear; /* Кожна анімація триватиме 2 секунд */
      animation-delay: 1.5s; /* Затримка 1.5 секунди для третьої букви */
    }

    .animate-text-container span:nth-child(4) {
      animation: falling 2s linear; /* Кожна анімація триватиме 2 секунд */
      animation-delay: 2s; /* Затримка 2 секунди для четвертої букви */
    }




    /* Застосовуємо стилі до тексту "VOWS" у мобільному режимі */
    @media screen and (max-width: 768px) {
      header h1 p {
        font-size: 100px;
      }
    }

    .text{
      font-size: 22px;
      text-align: revert;
      margin: 21px;
    }

    /* Загальні стилі для всіх блоків */
    .block {
      min-height: 100vh; /* Замінюємо height на min-height */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      
      text-align: center;
      font-size: 35px;
      margin: 10px; /* або додайте padding: 10px; */
    }

    .block img {
      border-radius: 22px;
    }

    

        /* Адаптуємо кольори для блоків */
    .block:nth-child(odd):not(:first-child) {
      background-color: #faf3dc1c; /*Білий фон */
      color: #222;

    }

    .block:nth-child(even) {/*наші послуни*/
      background-color:#faf3dc1c; /* Бежевий*/
      color: #222;
    }

    main img {
  max-width: 100%; /* Забезпечте, щоб зображення не перевищувало ширину блоку */
  height: auto; /* Робить зображення пропорційним */
  display: block; /* Забезпечує правильне відображення відступів */
  margin: 0 auto; /* Центрує зображення у блоку */
  }

  @media (max-width: 768px) {
    main img {
        display: flex; /* Відображає слайдер тільки на екранах до 768px */
    }

}

@media (max-width: 768px) { /* Для пристроїв з шириною екрану 768px і менше */
    .wallpaper img[src="img7.jpg"] {
        display: none;
    }


}



@media (min-width: 768px) { /* Для пристроїв з шириною екрану 768px і менше */
    .wallpaper img[src="love.jpg"] {
        display: none;
    }

        .sim-slider-list{
          height: 652px;
    }

    .sim-slider {
      height: 735px;
    }
}

.wallpaper{
  display: contents;
}

/* Сайтбар */
.burger-checkbox{
  display: none;
}

/* Прозорий сайтбар */
.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7); /* Прозорість */
    transition: all 0.3s ease;
    display: flex;
   justify-content: left;
    align-items: center;
    padding: 10px 20px;
}

.menu-list1 {
    list-style: none;
    display: flex;
}

.menu-list1 li {
    margin-left: 20px;
}

.menu-list1 a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    transition: color 0.3s;
}

.menu-list1 a:hover {
    color: #ffb900;
}


   

/* Мовна панель в правому верхньому куті */
.lang-options {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 10px;
  right: 50px;
}

.lang-options button {
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}

.lang-options img {
  width: 40px;
  height: 40px;
}

/* Адаптація для мобільного режиму */
@media (max-width: 768px) {
  .lang-options {
    top: 10px;       /* Відступ від верхнього краю */
    right: 10px;     /* Відступ від правого краю */
  }

  .lang-options img {
    width: 30px;     /* Зменшення розміру іконок для мобільних пристроїв */
    height: 30px;
  }

  .lang-options button {
    margin-left: 5px; /* Менший відступ між кнопками */
  }
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
           /* Базові стилі */
.burger-checkbox {
  position: absolute;
  visibility: hidden;
}
.burger {
  position: relative;
  z-index: 1;
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
}
.burger::before,
.burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #000;
}
.burger::before {
  top: 0;
  box-shadow: 0 11px 0 #000;
  transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}
.burger::after {
  bottom: 0;
  transition: bottom .3s .15s, transform .3s;
}
.burger-checkbox:checked + .burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0,0,0,0);
  transition: box-shadow .15s, top .3s, transform .3s .15s;
}
.burger-checkbox:checked + .burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom .3s, transform .3s .15s;
}

.menu-item {
  display: block;
  padding: 8px;
  color: white;
  font-size: 18px;
  text-align: left;
  text-decoration: none;
}
.menu-item:hover {
  background: rgba(255,255,255,.2)
}
.burger-checkbox:checked ~ .menu-list1 {
  transform: translateX(0);
}
 
    .photo-container  {
  max-width: 100%; /* Забезпечте, щоб зображення не перевищувало ширину блоку */
  height: auto; /* Робить зображення пропорційним */
  display: block; /* Забезпечує правильне відображення відступів */
  margin: 0 auto; /* Центрує зображення у блоку */
  }
.menu-list1 {
        position: absolute;
        top: 49px;
        left: 0;
        display: grid;
        gap: 12px;
        padding: 42px 0;
        margin: 0;
        background: rgba(255, 255, 255, 0.9);
        list-style-type: none;
        transform: translateX(-100%);
        transition: .3s;
        width: 500px;
        height: 880px;
        align-content: center;
        justify-items: start;
    }
    .block h2 {
      font-size: 36px;
      margin-bottom: 20px;
    }

    /* Анімація для написання тексту по одній букві */
    .animate-text {
      max-width: 100%;
      display: inline-block;
      overflow: hidden;
      white-space: pre-wrap;
      animation: typing 15s steps(40, end), blink-caret 0.75s step-end infinite;

    }

    @keyframes typing {
      from {
        opacity : 0;
      }
      to {
        opacity: 1;
      }
    }

    @keyframes blink-caret {
      from,
      to {
        border-color: transparent;
      }
      50% {
        border-color: #fff;
      }
    }

    /* Адаптивні стилі для мобільних пристроїв */
    @media screen and (max-width: 768px) {
      .block {
        height: auto;

        font-size: 30px;
      }

      /* Збільшимо розмір шрифту для заголовків на мобільних пристроях */
      .block h2 {
        font-size: 28px;

      }

      /* Зменшимо розмір шрифту для тексту "VOWS" на мобільних пристроях */
      header h1 {
        font-size: 74px;
      }

      .chat p {
      font-size: 50px;
    }
            .caption{
        font-size: 25px;
      }
    }

    }

    .block img {
      background-size: contain;
      max-width: 100%; /* Задаємо максимальну ширину для зображення */

    }
   /*блог*/ 
  .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-height: 837px;
  overflow: hidden; /* Приховує переповнення */
  transition: max-height 0.5s ease; /* Плавний перехід при розгортанні */
  align-content: space-around;
  align-items: center;
  margin: 42px;
}

@media (max-width: 768px) {
  .gallery{
      display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-height: 837px;
  overflow: hidden; /* Приховує переповнення */
  transition: max-height 0.5s ease; /* Плавний перехід при розгортанні */
  align-content: space-around;
  align-items: center;
  margin: 42px;
  }
}

.photo-container {
  position: relative;
  margin-bottom: 20px;
  padding: 20px;
}

.photo-container:hover .caption {
  height: 100%; /* Змінено max-height на height */
  background: rgb(255 255 255);
  overflow: overlay;
}

.more-tile {
  width: 270px;
  height: 400px;
  background-color:#faf3dc1c;/*Бежевий*/
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  overflow: auto; /* Увімкнення скролінгу */
  padding: 10px;
  font-size: 21px;
}


/* Стиль для Firefox */
.more-tile {
  scrollbar-width: none; /* Тонкий скролбар */
  scrollbar-color: #888 #f0f0f0; /* Колір: повзунок #888, трек #f0f0f0 */
}


.more-tile:hover {
  background-color: white;
}


/* Адаптивні стилі для планшетів і малих ноутбуків */
@media screen and (max-width: 1024px) {
  .more-tile {
    font-size: 20px;
  }

  .caption {
    font-size: 25px;
  }
}

.custom-burger-checkbox {
  position: absolute;
  visibility: hidden;
}

.custom-burger {
  position: relative;
  z-index: 2;
  cursor: pointer;
  display: block;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
}

.custom-burger::before,
.custom-burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #000;
}

.custom-burger::before {
  top: 0;
  box-shadow: 0 11px 0 #000;
  transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
}

.custom-burger::after {
  bottom: 0;
  transition: bottom 0.3s 0.15s, transform 0.3s;
}

.custom-burger-checkbox:checked + .custom-burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
}

.custom-burger-checkbox:checked + .custom-burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom 0.3s, transform 0.3s 0.15s;
}

.custom-menu-list {
  position: relative;
  top: 60px;
  left: 0;
  display: flex;
  gap: 10px;
  padding: 20px;
  margin: 0;
  list-style-type: none;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
  width: 100%;
  max-width: 90%;
  overflow: hidden;
  z-index: 1;
  flex-wrap: wrap;
}

.custom-burger-checkbox:checked ~ .custom-menu-list {
  transform: scaleY(1);
}

.custom-menu-item {
  width: 250px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  transition: background 0.3s ease;
}

.custom-menu-item:hover {
  background: #e0e0e0;
}

.custom-link {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  margin-bottom: 10px;
}

.custom-text {
  font-size: 16px;
  color: #666;
}

.tlacitko {
    display: inline-block;
    background-color: white;
    border-radius: 4px;
    color: #000;
    text-align: center;
    transition: all 0.5s;
    cursor: pointer;
    
}


.tlacitko span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.tlacitko span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}



.tlacitko:hover span {
  padding-right: 25px;

}

.tlacitko:hover span:after {
  opacity: 1;
  right: 0;
}


/*кінець блогу*/

/*Слайдер місць проведення*/


.sim-slider {
  width: 100vw;
  max-width: 100%;
  min-width: 320px;
  margin: 20px auto;
  padding: 30px 50px;

}

/* General styles */
.sim-slider {
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sim-slider-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sim-slider-element {
  width: 100%;
  transition: opacity 1s ease-in;
  opacity: 0;
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  display: flex;

}

/* Navigation item styles */
div.sim-slider-arrow-left,
div.sim-slider-arrow-right {
  width: 22px;
  height: 40px;
  position: absolute;
  cursor: pointer;
  opacity: 0.6;
  z-index: 4;
}

div.sim-slider-arrow-left {
  left: 10px;
  top: 40%;
  display: block;
  background: url("http://pvbk.spb.ru/inc/slider/sim-files/sim-arrow-left.png") no-repeat;
}

div.sim-slider-arrow-right {
  right: 10px;
  top: 40%;
  display: block;
  background: url("http://pvbk.spb.ru/inc/slider/sim-files/sim-arrow-right.png") no-repeat;
}

div.sim-slider-arrow-left:hover {
  opacity: 1.0;
}

div.sim-slider-arrow-right:hover {
  opacity: 1.0;
}

div.sim-slider-dots {
  width: 100%;
  height: auto;
  position: relative;
  left: 0;
  bottom: 0;
  z-index: 3;
  text-align: center;
}

span.sim-dot {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  padding: 0;
  display: inline-block;
  background-color: #BBB;
  border-radius: 5px;
  cursor: pointer;
}

/*Кінець слайдеру місць проведення*/

    a {
      text-decoration: none;
      color: initial;
    }


    .text-container1 {
      width: 300px;
      height: 534px;
      overflow: hidden;
      position: relative;
      bottom: 15px;
      border: 0px solid #333;
      background-color: #faf3dc1c;
}

.animated1-text {
    position: absolute;
    bottom: -100%;
    width: 100%;
    height: 10px;
    text-align: center;
    font-size: 24px;
    color: #333;
    animation: moveUp 20s linear infinite;
}

@keyframes moveUp {
    0% {
        bottom: 100%;
    }
    100% {
        bottom: -100%;
    }
}

/* Основний контейнер для двох колонок */

    .card .carousel-item {
      height: 280px;
      width: 100%;
    }
    .card .carousel-caption {
      padding: 0;
      right: 0;
      left: 0;
      color: #3d3d3d;
    }
    .card .carousel-caption h3 {
      color: #3d3d3d;
    }
    .card .carousel-caption p {
      line-height: 30px;
    }
    .card .carousel-caption .col-sm-3 {
      display: flex;
      align-items: center;
    }
    .card .carousel-caption .col-sm-9 {
      text-align: left;
    }
    



.content-wrapper {
     display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

/* Ліва колонка з social-form та card */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 60%;
    min-width: 300px;
    min-height: 809px;
    }

/* Стиль для відгуків */
.card {
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 832px;
    height: 524px;
    background-color: #faf3dc1c;/*Бежевий*/;
    border: none;
    
    
}

.card .carousel-item {
    height: 280px;
    width: 100%;
}

.card .carousel-caption {
    padding: 0;
    right: 0;
    left: 0;
    color: #3d3d3d;
}

.card .carousel-caption h3,
.card .carousel-caption p {
    color: #3d3d3d;
}

.card .carousel-caption .col-sm-3 {
    display: flex;
    align-items: center;
}

.card .carousel-caption .col-sm-9 {
    text-align: left;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    position: relative;
    top: 61px;
  }

.text-center {
    /* text-align: center !important; */
    position: relative;
    top: 30px;
  }


/* Адаптивні стилі для мобільних пристроїв */
@media (max-width: 1028px) {
    .content-wrapper {
        flex-direction: column;
    }

    .left-column, .back-form {
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .left-column, .back-form {
        width: 100%;
        margin: 5px 0;
    }
}

/* Права колонка з формою */
.back-form {
    flex: 1 1 35%; /* Права колонка займає 35% ширини */
    min-width: 300px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Стилізація для Social Form та Card */
.social-form, .card-container {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Стиль тексту */
.social-form h2, .back-form h2, .card-container h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

/* Іконки соцмереж */
.social-form ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.social-form ul a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-form ul a:hover img {
    transform: scale(1.1);
}

/* Стилізація полів форми */
.back-form input, .back-form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.back-form input:focus, .back-form textarea:focus {

    outline: none;
}

.back-form input[type="submit"] {
    background-color: white;
    color: black;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.back-form input[type="submit"]:hover {
    background-color: ;
    transform: scale(1.1); /* Увеличиваем масштаб */
}





  footer{
    width: 100%;
  }

  .top-sidebar{ /*Нижняя часть сайта*/
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    /* transition: all 0.3s ease; */
    /* justify-content: left; */
    /* align-items: center; */
    padding: 10px;

  }

  .top-sidebar p {
    position: relative;
    top: 10px;
    left: 20px;

  }
