section {
    padding: 60px 0;

}



.navbar {
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    padding: 10px ;
    z-index: 1001;

}






.blog-slider {
    width: 100%;
    max-width: 800px;
    margin: auto;
    padding: 25px;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    height: 400px;
    transition: all 0.3s;
    margin-top: 100px;

   
  }



  .blog-slider__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 360px;

 
  }
  
.blog-slider__content {
    margin-top: 50px;
    text-align: center;
    padding-bottom: 20px; /* Добавляем отступ снизу */
}


  
  .blog-slider__content > * {
    transform: translateY(60px);
    transition: all 0.4s;
  }
  
  .blog-slider__code {
    color: black;
  }
  
  .blog-slider__img {
    position: absolute;
    width: 200px;
    height: 200px;
    box-shadow: 4px 13px 30px 1px rgba(252, 56, 56, 0.2);
    border-radius: 20px;
    transform: translateY(-50%);
    overflow: hidden;
  }
  
  .blog-slider__img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0.8;
  }
  
  .blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: all 0.3s;
  }
  
  .blog-slider__title {
    font-size: 24px;
    font-weight: 700;
    color: #0d0925;
    margin-bottom: 20px;
  }
  
  .blog-slider__text {
    color: #4e4a67;
    margin-bottom: 30px;
    line-height: 1.5em;
  }
  
  .blog-slider__button {
    display: inline-flex;
    padding: 15px 35px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    letter-spacing: 1px;
    
     /* Gradient background */
     background-image: linear-gradient(147deg, #1CAC78 0%, #2E8B57 74%);
     box-shadow: 0px 14px 80px rgba(189,236,182,0.4);
  }


    .blog-slider__button:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
     background-image: linear-gradient(147deg, #2E8B57  0%, #1CAC78 74%);
  }
  

  .blog-slider__button:active {
    transform: scale(0.95); /* Эффект сжатия при нажатии */
    background-color: #EB5284; /* Цвет при нажатии */
}



  
  /* Media Queries */
  @media screen and (max-width: 768px) {
      .blog-slider__img {
          width: 90%;
      }
      .blog-slider__content {
          margin-top: 50px;
          padding: 0 5px; /* Меньше отступов для мобильных устройств */
      }

      .blog-slider__text {

      margin-bottom: 20px;


    }

 .blog-slider__title {


         margin-bottom: 10px;

    }


  }




  
  @media screen and (max-width: 576px) {
      .blog-slider__img {
          width:80%;
      }
      .blog-slider__button {
          width:100%; /* Кнопка на всю ширину */
      }
  }
  
  @media screen and (max-height:500px) and (min-width:992px) {
      .blog-slider__content {
          margin-top:100px; /* Увеличиваем отступ для маленьких экранов */
      }
      .blog-slider__img {
          height:270px; /* Высота изображения для маленьких экранов */
      }
  }
  


  /* time line */ 

 h2 {
    text-align: center;
}



  .timeline-container {
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    border-radius: 25px;

    padding-left: 45px;
    margin-bottom: 50px;


  }

  .timeline {
    border-left: 3px solid #2E8B57;
    border-radius: 4px;
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding: 50px;
    list-style: none;
    text-align: left;
    max-width: 60%;

   

  }

  @media (max-width: 767px) {
    .timeline {
      max-width: 98%;
      padding: 25px;

         

           
    }
  }


  .timeline h2,
  .timeline h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .timeline .event {
    
    border-bottom: 1px dashed #BDECB6;
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
  }

  @media (max-width: 767px) {
    .timeline .event {
      padding-top: 30px;
    }
  }

  .timeline .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
  }

  .timeline li {
    font-size: 1.5rem;
  }

  .timeline .event::before,
  .timeline .event::after {
    position: absolute;
    display: block;
    top: 0;
  }

  .timeline .event::before {
    left: -207px;
    content: attr(data-date);
    text-align: right;
    font-weight: 100;
    font-size: 0.9em;
    min-width: 120px;
  }

  @media (max-width: 767px) {
    .timeline .event::before {
      left: 0;
      text-align: left;
    }
  }

  .timeline .event::after {
    box-shadow: 0 0 0 3px #2E8B57;
    left: -55.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 5px;
  }

  @media (max-width: 767px) {
    .timeline .event::after {
      left: -31.8px;
    }
  }

  /* RTL styles */
  .rtl .timeline {
    border-left: none;
    text-align: right;
    border-radius: 4px; /* Adjusted to maintain symmetry */
    border-right: 3px solid #727cf5; /* Right border for RTL */
  }

  .rtl .timeline .event::before {
    left: auto; /* Reset left */
    right: -170px; /* Positioning for RTL */
  }

  .rtl .timeline .event::after {
    left: auto; /* Reset left */
    right: -55.8px; /* Positioning for RTL */
  }



  
/*FAQ*/



details {
    width: 100%;
    min-height: 5px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    font-size: 22px;
    border: 1px solid rgba(0,0,0,.1);
    box-sizing: border-box;
    transition: all .3s;
    background: #fff;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    padding: 25px;
    border-radius: 25px;
    list-style: none; /* Убираем маркеры для элементов details */
}

summary {
    display: flex;
    justify-content: space-between;
    text-align: left; /* Выравнивание текста по левому краю */
    font-weight: 500;
    cursor: pointer;
    list-style: none; /* Убираем маркеры для элементов summary */
}

summary::marker {
    display: none; /* Убираем маркеры в summary */
}

summary::-webkit-details-marker {
    display: none; /* Убираем маркеры в summary для Safari */
}

details + details {
    margin-top: 20px;
}

details[open] {
    min-height: 50px;
    background-color: #f6f7f8;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
}

details p {
    color: #96999d;
    font-weight: 300;
}

summary:focus {
    outline: none;
}

summary:focus::after {
    content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.control-icon {
    fill: rgb(0, 0, 0);
    transition: .3s ease;
    pointer-events: none;
}

.control-icon-close {
    display: none;
}

details[open] .control-icon-close {
    display: initial;
    transition: .3s ease;
}

details[open] .control-icon-expand {
    display: none;
}
    

/*FEDDBACK*/

.formbold-main-wrapper {
    display: block;
    align-items: center;
    justify-content: center;
  
  
  
  }
  
  .formbold-form-wrapper {
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
    background: white;
    padding: 40px;
  
  
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  
    border-radius: 25px;
  

  }
  
  .formbold-img {
    margin-bottom: 40px;
  }
  
  
  .formbold-input-flex {
    display: block;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
  
  
  }
  
  
  .formbold-form-input {
    width: 100%;
    padding: 13px 22px;
    border-radius: 5px;
    border: 1px solid #dde3ec;
    background: #ffffff;
    font-weight: 500;
    font-size: 16px;
    color: #536387;
    outline: none;
    resize: none;
  }
  
  .formbold-form-input:focus {
    border-color: #6a64f1;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }
  
  .formbold-form-label {
  
    color: #53575f;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    display: block;
    margin: 10px;
  }
  
  .formbold-mb-5 {
    margin-bottom: 20px;
  }
  
  .formbold-radio-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .formbold-radio-label {
    font-size: 14px;
    line-height: 24px;
    color: #07074d;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  .formbold-input-radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  .formbold-radio-checkmark {
    position: absolute;
    top: -1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #ffffff;
    border: 1px solid #dde3ec;
    border-radius: 50%;
  }
  
  .formbold-radio-label .formbold-input-radio:checked~.formbold-radio-checkmark {
    background-color: #6a64f1;
  }
  
  .formbold-radio-checkmark:after {
    content: '';
    position: absolute;
    display: none;
  }
  
  .formbold-radio-label .formbold-input-radio:checked~.formbold-radio-checkmark:after {
    display: block;
  }
  
  .formbold-radio-label .formbold-radio-checkmark:after {
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
  }
  
  .formbold-btn {
    text-align: center;
    width: 100%;
    font-size: 16px;
  
    padding: 14px 25px;
    border: none;
    font-weight: 500;
    background-color: #191824;
    color: white;
    cursor: pointer;
    margin-top: 25px;
  
  
    background-image: linear-gradient(147deg, #1CAC78 0%, #2E8B57 74%);
   
    border-radius: 50px;
  
    box-shadow: 0px 14px 80px rgba( 189,236,182, 0.4);
    text-decoration: none;
  
    justify-content: center;
  
    letter-spacing: 1px;
  
  
    
  }
  
  .formbold-btn:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
     background-image: linear-gradient(147deg, #2E8B57  0%, #1CAC78 74%);
  }
  

  .formbold-btn:active {
    transform: scale(0.95); /* Эффект сжатия при нажатии */
    background-color: #EB5284; /* Цвет при нажатии */
}




.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Убедитесь, что индикатор выше других элементов */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 8px solid rgba( 30,89,69, 0.3);
    border-top: 8px solid #20603D; /* Цвет верхней части */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}





  


/*Contacts*/
.list-reset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contacts-block {
    max-width: 700px;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    border-radius: 25px;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Добавим отступы между элементами */
}

.contacts-item {
    border-bottom: 1px solid #E9E9E9;
    padding-bottom: 15px;
}

.contacts-item h3 {
    margin-bottom: 10px; /* Отступ под заголовком */
    font-size: 18px; /* Уменьшаем размер заголовка для мобильных */
}

.contacts-info {
    display: flex;
    flex-direction: column;
}

.contacts-item-link {
    font-size: 16px;
    font-weight: 400;
    color: #C93;
    text-decoration: none; /* Убираем подчеркивание */
}

.contacts-item-link:hover {
    text-decoration: underline; /* Подчеркивание при наведении */
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .contacts-block {
        padding: 15px; /* Уменьшаем отступы на мобильных */
    }

    .contacts-item h3 {
        font-size:18px; /* Уменьшаем размер заголовка для мобильных */
    }

    .contacts-item-link {
        font-size: 16px; /* Уменьшаем размер текста для мобильных */
    }
}















  

.parallax__fade {
    --color-dark-rgb: 0, 0, 0;
    background: linear-gradient(to top, rgba(var(--color-dark-rgb), 1) 0%, rgba(var(--color-dark-rgb), 0.738) 19%, rgba(var(--color-dark-rgb), 0.541) 34%,
      rgba(var(--color-dark-rgb), 0.382) 47%, rgba(var(--color-dark-rgb), 0.278) 56.5%, rgba(var(--color-dark-rgb), 0.194) 65%, rgba(var(--color-dark-rgb), 0.126) 73%, rgba(var(--color-dark-rgb), 0.075) 80.2%, rgba(var(--color-dark-rgb), 0.042) 86.1%,
     rgba(var(--color-dark-rgb), 0.021) 91%, rgba(var(--color-dark-rgb), 0.008) 95.2%, rgba(var(--color-dark-rgb), 0.002) 98.2%, transparent 100%);

  }
  
  .osmo-icon-svg {
    width: 8em;
    position: relative;
  }
  
  .parallax__header {
    z-index: 2;
    padding: var(--section-padding) var(--container-padding);
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    display: flex;
    position: relative;
  }
  
  .parallax {
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .parallax__content {
    padding: var(--section-padding) var(--container-padding);
    justify-content: center;
    align-items: center;
    min-height: 30svh;
    display: flex;
    position: relative;
  }
  
  .cover {
    object-fit: cover;
    width: 100%;
    max-width: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .parallax__visuals {
    object-fit: cover;
    width: 100%;
    max-width: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

  
  }
  
  .parallax__placeholder {
    z-index: 0;
    opacity: 0;
    object-fit: cover;
    width: 100%;
    max-width: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .parallax__layers {
    object-fit: cover;
    width: 100%;
    max-width: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
  
  
    /*  border: 2px solid white;
    background-color: red;*/
  
  
  }
  
  .cover-copy {
    object-fit: cover;
    width: 100%;
    max-width: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .parallax__fade {
    z-index: 30;
    object-fit: cover;
    width: 100%;
    max-width: none;

    position: absolute;
    bottom: 0;
    left: 0;

    color: white;
    padding: 20px; /* Добавлено отступы для мобильных устройств */
    text-align: center;
  }
  
  .parallax__black-line-overflow {
    z-index: 20;
    background-color: var(--color-black);
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -1px;
    left: 0;
  }
  
  .parallax__title {
    text-transform: none;
    font-family: PP Neue Corp Wide, sans-serif;
    font-size: 13vw;
    color: white;

    text-align: center;
    font-size: 13vw;
    font-weight: 800;
    line-height: 1;

  }



  .parallax__title h2 {
     font-size: 15vw;
  }

  .parallax__description {
    z-index: 30;
    
    width: 100%;

    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    margin-bottom: 20px;


  }


  
  
  .weddingDate {
    pointer-events: auto;
    text-align: center;
    text-transform: none;
    margin-top: 0;
    margin-bottom: .15em;
    margin-right: .075em;
    font-family: PP Neue Corp Wide, sans-serif;
    font-size: 5vw;
    font-weight: 500;
    line-height: 1;
    position: relative;
    color: white;
    display: block;
  
  }
  
  
.infoWedding {
        display: flex; /* Используем flexbox для контейнера */
        flex-direction: column; /* По умолчанию располагаем элементы по колонкам */
      
        padding: 10px;


     
    }


  .weddingNames {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.weddingName {
    font-size: 5vw;
    width: 30%;
    text-align: center;
     font-family: PP Neue Corp Wide, sans-serif;
      color: white;
}



  .parallax__radial-gradient {
    z-index: 10;
    background-image: radial-gradient(circle farthest-corner at 50% 50%, transparent, var(--color-black));
    opacity: .5;
    pointer-events: none;
    mix-blend-mode: multiply;
    position: fixed;
    inset: 0;
  }
  

  
  .parallax__layer-title {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100svh;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -100;
    left: 0;
    transform: translateY(-120px); /* Сдвиньте на 20 пикселей наверх */



  }

  
  
  .parallax__layer-img {
    pointer-events: none;
    object-fit: cover;
    width: 100%;
    max-width: none;
    height: 117.5%;
    position: absolute;
    top: -17.5%;
    left: 0;

  
  }
  
  .parallax__layer-img.is-third {
    top: -20%;
  }
  
  @font-face {
    font-family: 'PP Neue Corp Wide';
    src: url('https://cdn.prod.website-files.com/671752cd4027f01b1b8f1c7f/6717e399d30a606fed425914_PPNeueCorp-WideUltrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
  }
  




.greeting, .date, .invitation {
    color: white;
    margin: 0.5rem 0; /* Отступы между заголовками */
}

.greeting {
    font-size: 1.5rem;
}

.date {
    font-size: 1.3rem;
}

.invitation {
    font-size: 1.2rem;
}

.daysWedding {
    font-size: 1.0rem;
    margin-top: 1rem;

    padding: 10px;
    border-radius: 5px;
    color: white;

}


/* Медиазапросы для мобильных устройств */
@media (max-width: 768px) {
    .greeting {
        font-size: 2rem; /* Уменьшаем размер шрифта для мобильных */
    }

    .date {
        font-size: 1.5rem; /* Уменьшаем размер шрифта для мобильных */
    }

    .invitation {
        font-size: 1.2rem; /* Уменьшаем размер шрифта для мобильных */
    }

    .daysWedding {
        font-size: 1.2rem; /* Уменьшаем размер шрифта для мобильных */
        padding: 8px; /* Уменьшаем отступы */
    }

  /*  .parallax__layer-img {
      top: -10%;
    }

    .parallax__layer-title {
      top: -10px;
    }*/
}

@media (max-width: 480px) {
    .greeting {
        font-size: 1.8rem; /* Дополнительное уменьшение для очень маленьких экранов */
    }

    .date {
        font-size: 1.3rem; /* Дополнительное уменьшение для очень маленьких экранов */
    }

    .invitation {
        font-size: 1rem; /* Дополнительное уменьшение для очень маленьких экранов */
    }

    .daysWedding {
        font-size: 1rem; /* Дополнительное уменьшение для очень маленьких экранов */
    }
}


/* Медиазапросы для маленьких экранов */
    @media (max-height: 565px) {

        .infoWedding {
            flex-direction: row; /* Изменяем направление на строку для маленькой высоты экрана */
            align-items: stretch; /* Растягиваем элементы по высоте */
            justify-content: space-between; /* Распределяем пространство между элементами */
            height: 100vh; /* Высота контейнера */
        }

        .parallax__layer-title {
            transform: translateY(0px); /* Сдвиньте на 20 пикселей наверх */
            position: relative;

          }


        .parallax__layer-title, .parallax__description {
            flex-basis: 48%; /* Задаем ширину элементов в процентах */
            margin: 0; /* Убираем отступы */
            display: flex; /* Используем flexbox для выравнивания текста */
            flex-direction: column; /* Располагаем текст по вертикали */
            justify-content: center; /* Центрируем текст по вертикали */
            font-size: 1.5rem;

        }


        .parallax__description {
            position: relative; 
        }


        .weddingNames {
            flex-direction: column; /* Располагаем текст по вертикали */
            justify-content: center; /* Центрируем текст по вертикали */
            
            text-align: center; 
        }

        .weddingName {
            font-size: 3vw;
            text-align: center; /* Центрируем текст в столбцах */
      
            width: 100%;
        }

        .greeting {
            font-size: 1.3rem; /* Уменьшаем размер шрифта */
        }

        .date {
            font-size: 1.1rem; /* Уменьшаем размер шрифта */
        }

        .invitation {
            font-size: 1.0rem; /* Уменьшаем размер шрифта */
            width: 100%;
           
            text-align: center; 
        }

        .daysWedding {
            font-size: 0.8rem; /* Уменьшаем размер шрифта */
        }

        .parallax__title h2 {
           font-size: 1.8rem; 
        }
    }





.navigation {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-list li {
  margin: 0 15px;
}

.nav-list a {
  text-decoration: none;
  color: white;
  font-size: 16px;
}

.nav-list a:hover {
  text-decoration: underline;
}

.burger-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: none; /* Скрываем бургер-меню по умолчанию */
}

.burger-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
}

.line {
  height: 4px;
  background-color: black;
  transition: all 0.3s ease;
}

.burger-list {
  display: none; /* Скрываем список по умолчанию */
  position: absolute;
  bottom: 20px; /* Расположение списка относительно иконки */
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  list-style: none;
  padding: 10px;
  border-radius: 5px;
  width: 200px;

}

.burger-list li {
  margin: 5px 0;
}

.burger-list a {
  color: white; /* Цвет текста */
  text-decoration: none;
}

.burger-list a:hover {
  text-decoration: underline; /* Подчеркивание при наведении */
}

/* Анимация для бургер-меню */
.show {
  display: block; /* Показываем список при активации */
}





/*from modal */

.modal {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: .3s;
  transition: .3s;
  top: -1000px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  overflow-y: scroll;
  padding: 60px 15px;
  text-align: center;
}

.modal_active {
  position: fixed;
  top: 0;
  visibility: visible;
  opacity: 1;
  -webkit-transition: .3s;
  transition: .3s;
}

.modal__content {
  width: 100%;
  max-width: 500px;
  padding: 50px;
  background: #f9f9f9;
  -webkit-box-shadow: 0 5px 15px black;
          box-shadow: 0 5px 15px black;
  border-radius: 3px;
  position: relative;
}

.modal__close-button {
  background: #ff0000;
  height: 30px;
  width: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: none;
  position: absolute;
  right: 0;
  top: 0;
  background: none;
  cursor: pointer;
  -webkit-transition: .3s;
  transition: .3s;
  outline: none;
}

.modal__close-button:hover {
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.modal__title {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: 0 0 15px;
}

.modal__description {
  font-size: 1.125rem;
}







/* The button */
.addeventatc {
  display: inline-block;
  position: relative;
  text-align: center;
  width: 100%;

  cursor: pointer;
  color: #2c84f4;

  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 25px;
}



.addeventatc .arrow {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -8px;
  background: url(https://cdn.addevent.com/libs/imgs/icon-arrow-t1.svg) no-repeat;
  background-size: 16px 16px;
}

.addeventatc-selected {
  background-color: #2c84f4;
}


/* Drop down */
.addeventatc_dropdown {
  width: 230px;
  position: absolute;
  padding: 6px 0px 0px 0px;
  font-family: "Open Sans", Roboto, "Helvetica Neue", Helvetica, Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
  color: #000 !important;
  font-weight: 600;
  line-height: 100%;
  background: #fff;
  font-size: 15px;
  text-decoration: none;
  text-align: left;
  margin-left: -1px;
  display: none;

  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 26px;
  -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 26px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 26px;
  transform: scale(.98, .98) translateY(5px);
  z-index: -1;
  transition: transform .15s ease;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.addeventatc_dropdown.topdown {
  transform: scale(.98, .98) translateY(-5px) !important;
}

.addeventatc_dropdown span {
  display: block;
  line-height: 100%;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  font-weight: 600;
  padding: 14px 10px 14px 55px;
  margin: -2px 0px;
}

.addeventatc_dropdown span:hover {
  background-color: #f4f4f4;
  color: #000;
  text-decoration: none;
  font-size: 15px;
}

.addeventatc_dropdown em {
  color: #999 !important;
  font-size: 12px !important;
  font-weight: 400;
}

.addeventatc_dropdown .frs a {
  background: #fff;
  color: #cacaca !important;
  cursor: pointer;
  font-size: 9px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 110% !important;
  padding-left: 10px;
  position: absolute;
  right: 10px;
  text-align: right;
  text-decoration: none;
  top: 5px;
  z-index: 101;
}

.addeventatc_dropdown .frs a:hover {
  color: #999 !important;
}

.addeventatc_dropdown .ateappleical {
  background: url(https://cdn.addevent.com/libs/imgs/icon-apple-t5.svg) 18px 40% no-repeat;
  background-size: 22px 100%;
}

.addeventatc_dropdown .ategoogle {
  background: url(https://cdn.addevent.com/libs/imgs/icon-google-t5.svg) 18px 50% no-repeat;
  background-size: 22px 100%;
}


.addeventatc_dropdown .copyx {
  height: 21px;
  display: block;
  position: relative;
  cursor: default;
}

.addeventatc_dropdown .brx {
  height: 1px;
  overflow: hidden;
  background: #e8e8e8;
  position: absolute;
  z-index: 100;
  left: 10px;
  right: 10px;
  top: 9px;
}

.addeventatc_dropdown.addeventatc-selected {
  transform: scale(1, 1) translateY(0px);
  z-index: 99999999999;
}

.addeventatc_dropdown.topdown.addeventatc-selected {
  transform: scale(1, 1) translateY(0px) !important;
}

.addeventatc_dropdown .drop_markup {
  background-color: #f4f4f4;
}




 .media-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.media-item {
    margin: 5px; /* Уменьшенные отступы */
    flex: 1 1 calc(33% - 10px); /* 3 элемента в ряд */
    box-sizing: border-box;
}

video, img {
    width: 100%;
    height: auto;
    display: block;
}

/* Стили для слайдера */
.slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-content {
    position: relative;
    max-width: 80%; /* Ограничение ширины слайдера */
    max-height: 80%; /* Ограничение высоты слайдера */
    overflow: hidden; /* Скрытие переполнения */
}

#slider-video,
#slider-image {
    max-width: 100%; /* Ограничение ширины видео и изображений */
    max-height: 100%; /* Ограничение высоты видео и изображений */
    display: block;
    margin: auto; /* Центрирование содержимого */
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
