@font-face {
  font-family: "UnlimitedPie";
  src: url("/UnlimitedPie.otf") format("opentype");
}

body {
  font-family: "Druk";
}

body {
  background-color: black;
}
header {
  font-family: "UnlimitedPie", sans-serif;
  background-color: black; /* Цвет фона шапки */
  color: #fff; /* Цвет текста в шапке */
  padding: 20px; /* Внутренний отступ */
  position: fixed; /* Закрепляем шапку */
  top: 0; /* Располагаем шапку вверху */
  left: 0; /* Выравниваем шапку по левому краю */
  width: 100%; /* Ширина шапки равна ширине экрана */
  z-index: 1000; /* Устанавливаем высший z-index, чтобы шапка оставалась поверх других элементов */
  display: flex;
  justify-content: space-between;
  align-items: center; /* Выравниваем элементы по вертикали */
}
.burger-menu {
  display: none; /* Скрыть меню бургера по умолчанию */
}
/* Стили для иконки бургера */
.burger i {
  color: #000;
  font-size: 24px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  color: #000;
  text-decoration: none;
}

.logo {
  padding-left: 2%;
  text-decoration: none;
}
.logo a {
  text-decoration: none;
  color: white;
  font-size: 26px;
}

.links {
  display: flex;
  padding-right: 4%;
}

.links a {
  font-family: "UnlimitedPie", sans-serif;
  font-size: 18px;
  color: #fff; /* Цвет ссылок */
  text-decoration: none; /* Убираем подчеркивание у ссылок */
  margin-left: 20px; /* Отступ между ссылками */
}

#theme-toggle-btn {
  font-family: "UnlimitedPie", sans-serif;
  font-size: 18px;
  color: #fff; /* Цвет ссылок */
  text-decoration: none; /* Убираем подчеркивание у ссылок */
  margin-left: 20px; /* Отступ между ссылками */
}
.links a:hover {
  color: #ff8562;
}
.container {
  margin: 0 1%;
}
.products {
  /* padding-top: 5%; */
}
.products_title {
  text-align: center;
  color: white;
}
.pansionate {
  padding-top: 5%;
}

.whatsapp-button {
  display: inline-block; /* Строчно-блочный элемент */
  padding: 10px 20px; /* Отступы внутри кнопки */
  background-color: white; /* Цвет фона кнопки */
  color: black !important; /* Цвет текста на кнопке */
  border: none; /* Убираем границу кнопки */
  border-radius: 5px; /* Закругляем углы кнопки */
  text-decoration: none; /* Убираем подчеркивание у ссылки */
  font-size: 16px; /* Размер шрифта */
  cursor: pointer; /* Изменяем курсор при наведении */
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #ff8562; /* Изменяем цвет фона при наведении */
  color: white !important;
}

.products {
  padding-top: 5%;
  display: flex;
  flex-wrap: wrap;
}

.product {
  width: calc(33.33% - 20px);

  /* width: 48%; */
  margin: 10px;
  padding: 10px;
  box-sizing: border-box;
  text-align: start; /* Выравнивание содержимого по центру */
}

.product img {
  max-width: 100%; /* Избегаем разрывов изображений за пределами блока */
}

.description {
  font-family: "UnlimitedPie", sans-serif;
  color: rgb(194, 190, 190);
  margin-bottom: 0; /* Убираем отступ после цены */
  margin-top: 10px; /* Отступ между фото и названием товара */
  margin-bottom: 5px; /* Отступ между названием и ценой */

  line-height: 1.2;
  font-weight: 600;
}
.description h2 {
  color: #ffffff;
}
.footer {
  padding-top: 20%;
}
.image_2 {
  height: 400px !important;
}
.footer_links {
  display: flex;
  justify-content: space-around;
}
.footer_link {
  padding-top: 10%;
  padding-bottom: 5%;
  color: #ffffff;
  font-family: "UnlimitedPie", sans-serif;
  text-decoration: none;
  font-size: 40px;
}

#birnerse {
  color: white;
  text-align: center;
  font-family: "UnlimitedPie", sans-serif;
  font-size: 250px;
}

.your-class {
  color: #fff;
}

/* Для устройств с шириной экрана меньше 768px */
@media only screen and (max-width: 768px) {
  .product {
    width: 100%; /* Устанавливаем ширину на 100%, чтобы продукты отображались по одному в одном столбце */
  }
  .footer_links {
    padding-top: 5%;
    flex-direction: column;
    text-align: center;
  }
  .image_mobile {
    display: block !important;
  }
  .image_desctop {
    display: none !important;
  }
  #birnerse {
    font-size: 58px !important;
  }

  .links {
    display: none; /* Скрываем обычное меню на мобильных устройствах */
  }

  .burger-menu {
    padding-right: 5%;
    display: block; /* Показываем кнопку бургера на мобильных устройствах */
  }

  .burger-menu.active .mobile-menu {
    display: flex; /* Показываем меню бургера при активации */
  }
  .image_2 {
    height: auto;
  }
}

/* Стили для кнопки переключения темы */
.theme-toggle {
  padding-right: 2%; /* Располагаем кнопку справа */
}

#theme-toggle-btn {
  padding: 10px 20px;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

/* Стили для темного режима сайта */
.dark-mode {
  background-color: #222;
  color: #fff;
}

/* Стили для светлого режима сайта */
.light-mode {
  background-color: #fff;
  color: #000;
}
/* Стили для текста при светлой теме */
.light-mode h2,
.light-mode a,
.light-mode p,
.light-mode .footer_link,
.light-mode #birnerse {
  color: #000; /* Черный цвет текста */
}
.light-mode header {
  background-color: white;
}

.burger-theme-container {
  display: flex;
  align-items: center;
}
