* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ecebde;
  margin: 0;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Header Styles */
header {
  padding-right: 30px;
  padding-left: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: auto;
}

.header-mendger {
  margin-top: 18.4px; /* 80% от 23px */
  display: flex;
  width: 100%;
  justify-content: space-between;
  max-width: 1193.6px; /* 80% от 1492px */
  height: 88.8px; /* 80% от 111px */
}

.box-logo {
  width: 100%;
  max-width: 220px; /* 80% от 275px */
  height: 88.8px; /* 80% от 111px */
  flex-shrink: 0;
  border-radius: 16px; /* 80% от 20px */
  background: #295959;
  display: flex;
  justify-content: center;
  align-items: center;
  image-rendering: crisp-edges;
}
.box-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-logo img {
  width: 100%;
  max-width: 194.4px; /* 80% от 243px */
}

.menu-toggle {
  margin-top: 8px; /* 80% от 10px */
  display: none; /* Изначально скрыто */
  background-color: #295959;
  height: 49.6px; /* 80% от 62px */
  width: 49.6px; /* 80% от 62px */
  border-radius: 16px; /* 80% от 20px */
  justify-content: center;
  align-items: center;
  font-size: 32px; /* 80% от 40px */
  cursor: pointer;
  color: #eddeb7;
  background: #295959; /* Основной фон */
  border: none;
  box-shadow: none;
  outline: none;
}
.box-Hamburger-Menu {
  display: flex;
  height: 49.6px; /* 80% от 62px */
  width: 49.6px; /* 80% от 62px */
  justify-content: center;
  align-items: center;
}
.box-Hamburger-Menu img {
  width: 27.2px; /* 80% от 34px */
}
.menu-toggle.active {
  display: flex;
}

.navigation-header {
  margin-top: 8px; /* 80% от 10px */
  margin-left: 24px; /* 80% от 30px */
  background-color: #295959;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 868px; /* 80% от 1085px */
  height: 49.6px; /* 80% от 62px */
  border-radius: 16px; /* 80% от 20px */
}
.bigtext-navigation {
  font-weight: 600; /* Увеличение жирности текста */
}
.navigation-header a {
  color: #eddeb7;
  font-family: "Roboto", sans-serif;
  font-size: 20.8px; /* 80% от 26px */
  font-weight: 300;
  text-decoration: none;
  transition: transform 0.3s ease; /* Плавный переход */
  text-align: justify;
}
.navigation-header a:hover {
  transform: scale(1.1); /* Увеличение размера текста на 10% */
}
.menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background-color: #295959;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: right 0.3s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
}

.menu.active {
  right: 0;
}

.menu ul {
  list-style: none;
}

.menu ul li {
  margin: 20px 0;
  text-align: right;
}

.menu ul li a {
  color: #eddeb7;
  text-decoration: none;
  font-size: 18px;
  color: #eddeb7;
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: #eddeb7;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-align: justify;
}
.right-button {
  display: flex;
  justify-content: right;
  align-items: center;
}
.menu ul li a.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-align: center;

  transition: background-color 0.3s ease, color 0.3s ease;
}
.logout-button img {
  width: 28px;
}

/* Footer  */
.requisites-imge img {
  transition: transform 0.3s ease; /* Плавный переход для transform */
  display: inline-block; /* Делаем изображения блочными элементами */
}

/* Эффект увеличения при наведении */
.requisites-imge img:hover {
  transform: scale(1.1); /* Увеличение размера на 10% */
}
.requisites-imge12345 img {
  transition: transform 0.3s ease; /* Плавный переход для transform */
  display: inline-block; /* Делаем изображения блочными элементами */
}

/* Эффект увеличения при наведении */
.requisites-imge12345 img:hover {
  transform: scale(1.1); /* Увеличение размера на 10% */
}

/* Ключевые кадры для пульсации */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1); /* Исходный размер */
  }
  50% {
    transform: scale(1.025); /* Легкое увеличение на 2.5% */
  }
}
.column-contact-text {
  color: #6c4127;
  font-family: "Roboto", sans-serif;
  font-size: 18px; /* 60% от 30px */
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}
.column-contact-text-smoll {
  margin-top: 9px; /* 60% от 15px */
  color: #825c45;
  font-family: "Roboto", sans-serif;
  font-size: 16.8px; /* 60% от 28px */
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}
.column-contact {
  text-align: center;
}
.m-top-0 {
  margin-top: 0px;
}
.menu ul li a.logout-button:hover {
  background-color: #1c3d3d;
  color: #ffffff;
}

.column-logo {
  max-width: 123.6px; /* 60% от 206px */
}
.column-details {
  width: 60%; /* 60% от 100% */
  max-width: 376.8px; /* 60% от 628px */
}
.column-details p {
  color: #825c45;
  font-family: "Roboto", sans-serif;
  font-size: 18px; /* 60% от 30px */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
 
}
.column a {
  text-decoration: none;
  color: #6c4127;
  font-family: "Roboto", sans-serif;
  font-size: 18px; /* 60% от 30px */
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: justify;
}
.column {
  display: flex;
  flex-direction: column;
  width: 60%; /* 60% от 100% */
  max-width: 159px; /* 60% от 265px */
}
.m-top-10 {
  margin-top: 6px; /* 60% от 10px */
}
.footer .logo {
  display: flex;
  align-items: center;
  gap: 6px; /* 60% от 10px */
}

.footer .logo img {
  width: 30px; /* 60% от 50px */
  height: 30px; /* 60% от 50px */
}

.footer a {
  text-decoration: none;
}

.footer .contact {
  line-height: 1.08; /* 60% от 1.8 */
}

.footer .details {
  font-size: 0.54em; /* 60% от 0.9em */
  line-height: 0.96; /* 60% от 1.6 */
  font-family: "Roboto", sans-serif;
  text-align: justify;
}
.content {
  flex: 1;
}

.footer {
  background-color: #ecebde;
  color: #5a4035;
  padding: 12px; /* 60% от 20px */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  position: relative;
  bottom: 0;
}

.footer .column {
  flex: 1 1 150px; /* 60% от 250px */
}

.footer .logo {
  display: flex;
  align-items: center;
  gap: 6px; /* 60% от 10px */
}

.footer .logo img {
  width: 30px; /* 60% от 50px */
  height: 30px; /* 60% от 50px */
}

.footer .contact {
  line-height: 1.08; /* 60% от 1.8 */
}

.footer .details {
  font-size: 0.54em; /* 60% от 0.9em */
  line-height: 0.96; /* 60% от 1.6 */
  font-family: "Roboto", sans-serif;
  text-align: justify;
}
.tex-display-block-1 {
  display: block;
}
.tex-display-none-1 {
  display: none;
}
.column-contact-text-smoll a {
  text-decoration: none; /* Убирает подчеркивание */
  color: inherit; /* Наследует цвет родительского элемента */
}
.column-contact-text a {
  text-decoration: none; /* Убирает подчеркивание */
  color: inherit; /* Наследует цвет родительского элемента */
}
/* Общий стиль для всех ссылок */
.column-contact-text a,
.column-contact-text-smoll a {
  text-decoration: none; /* Убираем подчеркивание */
  display: inline-block; /* Добавляем это для корректной работы transform */
  transition: transform 0.3s ease; /* Плавный переход для масштабирования */
}

/* Стиль для маленьких текстов */

/* Эффект при наведении на ссылку */
.column-contact-text a:hover,
.column-contact-text-smoll a:hover {
  transform: scale(1.1); /* Увеличение размера текста на 10% */
}
/* Ключевые кадры для анимации */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1); /* Исходный размер */
  }
  50% {
    transform: scale(1.025); /* Увеличение на 10% */
  }
}
.requisites-imge {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.requisites-imge img {
  width: clamp(40px, 2.5vw, 40px);
}
.requisites-imge12345 {
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.requisites-imge12345 img {
  width: clamp(40px, 2.5vw, 40px);
}
.column-logo img {
  width: 206px;
}
.requisites-imge12345 img {
  transition: transform 0.3s ease; /* Плавный переход для transform */
  display: inline-block; /* Делаем изображения блочными элементами */
}

/* Эффект увеличения при наведении */
.requisites-imge12345 img:hover {
  transform: scale(1.1); /* Увеличение размера на 10% */
}
/* Footer end */

.content {
  display: flex;
  justify-content: center;
  padding-left: 10.7292vw; /* 60% от 10.7292vw */
  padding-right: 10.7292vw; /* 60% от 10.7292vw */
  width: 100%;
  box-sizing: border-box; /* Чтобы padding не влиял на ширину */
}

.content-manager {
  max-width: 875.4px; /* 60% от 1459px */
  display: flex; /* Включаем flex для дочерних элементов */
  width: 100%; /* Контейнер занимает всю ширину */
}
.mt-2 {
  margin-top: 1.0626vw;
}
.mb-2 {
  margin-bottom: 1.0626vw;
}
.foto-text-box-6 {
  margin-top: 1.2186vw; /* 60% от 2.031vw */
  width: 100%;
}
.foto-box-1,
.foto-text-box-1 {
  box-sizing: border-box; /* Чтобы padding не влиял на размеры */
}
.foto-box-1 {
  max-width: 224.4px; /* 60% от 374px */
  margin-top: 1.8438vw; /* 60% от 3.073vw */
}
.foto-box-1 img {
  height: auto;
  min-width: 60px; /* 60% от 100px */
  width: 100%;
  max-width: 11.6875vw; /* 60% от 19.4792vw */
}
.foto-text-box-1 {
  margin-left: 1.4064vw; /* 60% от 2.344vw */
  margin-top: 1.2186vw; /* 60% от 2.031vw */
  width: 100%;
  max-width: 624px; /* 60% от 1040px */
}
.text-h1 {
  color: #6c4127;
  -webkit-text-stroke-width: 0.6; /* 60% от 1 */
  -webkit-text-stroke-color: #6c4127;
  font-family: "Roboto", sans-serif;
  font-size: 1.6878vw; /* 60% от 2.813vw */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 1.0626vw; /* 60% от 1.771vw */
  text-align: justify;
}
.text-smoll-h2 {
  color: #6c4127;
  font-family: "Roboto", sans-serif;
  font-size: 1.2498vw; /* 60% от 2.083vw */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: justify;
}
.text-calss-box {
  margin-top: 0.6252vw; /* 60% от 1.042vw */
  width: 100%;
  max-width: 843px; /* 60% от 1405px */
}
.tex-display-none {
  display: none;
}
.tex-display-block {
  display: block;
}
.Thank-you-letters {
  margin-top: 1.7814vw; /* 60% от 2.969vw */
}
.Thank-you-letters-text {
  width: 100%;
  justify-content: center;
  display: flex;
  color: #6c4127;
  -webkit-text-stroke-width: 0.6; /* 60% от 1 */
  -webkit-text-stroke-color: rgba(108, 65, 39, 0.4);
  font-family: "Roboto", sans-serif;
  font-size: 1.1874vw; /* 60% от 1.979vw */
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: justify;
}
.gallery-manager {
  display: flex;
  max-width: 100%;
  margin-top: 1.4064vw; /* 60% от 2.344vw */
  margin-bottom: 1.4064vw; /* 60% от 2.344vw */
  justify-content: center;
  flex-wrap: wrap;
}
.gallery {
  width: 100%;
  display: flex;
  max-width: 583.8px; /* 60% от 973px */
  justify-content: space-around;
}
.gallery img {
  min-width: 42px; /* 60% от 42px */
  width: 100%;
  max-width: 4.0938vw; /* 60% от 6.823vw */
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.1);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal img {
  max-width: 100%; /* 60% от 90% */
  max-height: 100%; /* 60% от 90% */
  box-shadow: 0 2.4px 4.8px rgba(0, 0, 0, 0.3); /* 60% от 0 4px 8px */
}

.modal:target {
  display: flex;
}

.close {
  position: absolute;
  top: 12px; /* 60% от 20px */
  right: 12px; /* 60% от 20px */
  font-size: 14.4px; /* 60% от 24px */
  color: white;
  text-decoration: none;
}

.close:hover {
  color: #ff5555;
}

.modal .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28.8px; /* 60% от 48px */
  color: white;
  cursor: pointer;
  user-select: none;
}

.modal .arrow:hover {
  color: #ff5555;
}

.arrow.left {
  left: 12px; /* 60% от 20px */
}

.arrow.right {
  right: 12px; /* 60% от 20px */
}
.mbMedia-2 {
  margin-bottom: 0vw;
}
/* main end */

/* Медиа-запрос для экранов шириной до 1120px */
/* Адаптация для планшетов и мобильных устройств */
@media (max-width: 1700px) {
  .text-smoll-h2 {
    font-size: clamp(18px, 1.4vw, 3rem);
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .Thank-you-letters-text {
    font-size: clamp(20px, 1.5vw, 3rem);
    font-size: 1.5vw;
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .text-h1 {
    font-size: clamp(22px, 1.5vw, 3rem);
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
}
@media (max-width: 1497px) {
  .text-smoll-h2 {
  }
  .column-logo img {
    width: 160px;
  }
  @media (max-width: 1380px) {
    .column-details {
      display: none;
    }
    .footer {
      justify-content: space-around;
    }
  }
  .column a,
  .column-contact p,
  .column-details p {
    font-size: 1.5625vw;
  }
}
@media (max-width: 1250px) {
  .menu-toggle {
    display: flex;
  }

  .navigation-header {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #295959;
    width: 100%;
    max-width: 250px;
    border-radius: 0 0 20px 20px;
  }
  .navigation-header a {
    display: none;
  }

  .navigation-header.active {
  }

  .navigation-header a {
    padding: 10px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #d4c1a3;
  }

  .navigation-header a:last-child {
    border-bottom: none;
  }
  .column-logo img {
    max-width: 15vw;
  }
}
@media (max-width: 1150px) {
  .column a,
  .column-contact p,
  .column-details p {
    font-size: 18px;
  }
  .column {
    padding-right: 1px;
  }
  .column {
    max-width: 160px;
  }
}
@media (max-width: 990px) {
  .text-smoll-h2 {
    font-size: clamp(1px, 1.8vw, 3rem);
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .Thank-you-letters-text {
    font-size: clamp(1px, 1.9vw, 3rem);
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .text-h1 {
    font-size: clamp(1px, 1.9vw, 3rem);
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
}
@media (max-width: 768px) {
  .column-contact-text a,
  .column-contact-text-smoll a {
    text-decoration: none;

    display: inline-block; /* Чтобы работало transform */
    backface-visibility: hidden; /* Убираем размытие */
    will-change: contents; /* Оптимизация для анимации */
  }

  /* Стили для маленьких контактов */
  .column-contact-text-smoll a {
  }

  /* Анимация для автоматического увеличения/уменьшения */
  .animated-link a {
    animation: pulse 1.3s infinite ease-in-out; /* Анимация "пульсации" */
    transform: translateZ(1); /* Форсируем аппаратное ускорение */
  }

  .arrow {
    color: #295959; /* Цвет стрелок для мобильных устройств */
  }
  /* main */
  .content {
    display: flex;
    justify-content: center;
    padding-left: 10.7292vw;
    padding-right: 10.7292vw;
    width: 100%;
    box-sizing: border-box;
  }

  .content-manager {
    justify-content: center;
    max-width: 768px;
    display: flex; /* Включаем flex для дочерних элементов */
    width: 100%; /* Контейнер занимает всю ширину */
  }

  .foto-box-1,
  .foto-text-box-1 {
    box-sizing: border-box; /* Чтобы padding не влиял на размеры */
  }
  .mt-2 {
    margin-top: 2vw;
  }
  .mb-2 {
    margin-bottom: 2vw;
  }
  .mbMedia-2 {
    margin-bottom: 2vw;
  }
  .foto-box-1 {
    max-width: 200px;
    margin-top: 2.604vw;
  }
  .foto-box-1 img {
    height: auto;
    min-width: 80px;
    width: 100%;
    max-width: 150px;
  }
  .foto-text-box-1 {
    margin-left: 1.953vw;
    margin-top: 1.953vw;
    width: 100%;
    max-width: 768px;
  }
  .text-h1 {
    color: #6c4127;
    -webkit-text-stroke-width: 1;
    -webkit-text-stroke-color: #6c4127;
    font-family: "Roboto", sans-serif;
    font-size: 3.125vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 2.604vw;
    text-align: justify;
  }
  .text-smoll-h2 {
    color: #6c4127;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: justify;
  }
  .text-calss-box {
    margin-top: 15px;
    width: 100%;
    max-width: 768px;
  }
  .tex-display-none {
    display: none;
  }
  .tex-display-block {
    display: block;
  }
  .Thank-you-letters {
    margin-top: 3.255vw;
  }
  .Thank-you-letters-text {
    width: 100%;
    justify-content: center;
    display: flex;
    color: #6c4127;
    -webkit-text-stroke-width: 1;
    -webkit-text-stroke-color: rgba(108, 65, 39, 0.4);
    font-family: "Roboto", sans-serif;
    font-size: 2.083vw;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: justify;
  }
  .gallery-manager {
    display: flex;
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .gallery {
    width: 100%;
    display: flex;
    max-width: 768px;
    justify-content: space-around;
  }
  .gallery img {
    min-width: 42px;
    width: 100%;
    max-width: 4.0938vw;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
  }

  .gallery img:hover {
    transform: scale(1.1);
  }

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .modal img {
    max-width: 80%;
    max-height: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .modal:target {
    display: flex;
  }

  .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    text-decoration: none;
  }

  .close:hover {
    color: #ff5555;
  }

  .modal .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;

    font-size: 28.8px;
    color: #ff5555;
    cursor: pointer;
    user-select: none;
  }

  .modal .arrow:hover {
    color: #ff5555;
  }

  .arrow.left {
    left: 20px;
  }

  .arrow.right {
    right: 20px;
  }

  .tex-display-block {
    display: none;
  }
  .tex-display-none {
    display: block;
  }
  .header-mendger {
    margin-bottom: 23px;
    height: auto;
  }
  .column-logo {
    max-width: 206px;
  }
  .column {
    max-width: 160px;
  }
  .footer {
    justify-content: space-around;
  }

  .footer-content {
    justify-content: space-around;
  }

  .column,
  .column-contact,
  .column-details {
    text-align: center;

    margin-top: 10px;
  }

  .box-Hamburger-Menu img {
    width: 28px;
  }
  .box-logo {
    max-width: 200px;
    height: 90px;
    border-radius: 15px;
  }

  .box-logo img {
    max-width: 180px;
  }

  .menu-toggle {
    height: 50px;
    width: 50px;
    border-radius: 15px;
  }

  .navigation-header a {
    font-size: 18px;
  }
  footer {
  }

  .footer .column {
    flex: 1 1 160px;
  }
}
@media (max-width: 640px) {
  .Thank-you-letters-text {
    font-size: 3vw;
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .text-smoll-h2 {
    font-size: 2.6vw;
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
}
@media (max-width: 480px) {
  .tex-display-block-1 {
    display: none;
  }
  .tex-display-none-1 {
    display: block;
  }
  .Thank-you-letters-text {
    font-size: 4.5vw;
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .text-h1 {
    font-size: 4.5vw;
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .text-smoll-h2 {
    font-size: 3.8vw;
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .foto-box-1 img {
    min-width: 120px;
  }

  .text-calss-box {
    margin-top: 1.042vw;
  }
  .column a,
  .column-contact p,
  .column-details p {
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    text-align: justify;
  }
  .column {
    display: none;
  }
  .column-logo img {
    max-width: 80px;
  }

  .box-logo {
    max-width: 150px;
    height: 70px;
    border-radius: 10px;
  }

  .box-logo img {
    max-width: 130px;
  }

  .menu-toggle {
    height: 50px;
    width: 50px;
    border-radius: 15px;
  }

  .navigation-header a {
    font-size: 16px;
  }
}
@media (max-width: 416px) {
}
@media (max-width: 400px) {
}
