
section {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -150px;
}


.loader {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 75px;
  display: inline-block;
  vertical-align: middle;
}

html, body {
  height: 100%;
  width: 100%;
  display: flex; /* Используем Flexbox для тела */
  flex-direction: column;  Вертикальная ориентация */
  min-height: 100vh; /* Минимальная высота — весь viewport */
}

.text {
  padding: 15px 15px 15px 15px;
  overflow: auto;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
}

/* Контейнер для карты */
.map-container {
  height: 100%;
  width: 100%;

}

/* Стили для самой карты */
#map {
  height: 100%;
  width: 100%;
}

/* Навигационная панель (оригинальная для десктопов) */
.navbar {
  background-color: #d4f2bb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Легкая тень для глубины */
  font-family: 'Roboto', sans-serif; /* Современный шрифт */
}

.navbar-brand,
.nav-link {
  color: black !important; /* Черный текст для контраста со светло-зеленым фоном */
  transition: color 0.3s ease; /* Плавный переход цвета */
}

.nav-link:hover {
  color: #ffc107 !important; /* Желтый при наведении для акцента */
  text-decoration: underline; /* Подчеркивание при наведении */
}

.navbar-toggler {
  border: none; /* Убираем границу кнопки */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Стили для мобильной кнопки "Меню" */
.mobile-menu-toggle {
  position: fixed;
  bottom: 40px;
  left: 10px;
  /* transform: translateX(-50%); /* Смещаем на половину ширины для центрирования */
  z-index: 1000; /* Выше карты */
  background-color: #d4f2bb; /* Светло-зеленый фон для соответствия navbar */
  border: 1px solid #000; /* Черная рамка для контраста */
  border-radius: 5px; /* Скругленные углы */
  padding: 0.5rem 1rem; /* Размер кнопки */
  font-size: 1rem; /* Размер текста */
  cursor: pointer;
  display: none; /* По умолчанию скрыто */
}

/* Показываем кнопку только на мобильных */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block; /* Показываем кнопку на мобильных */
  }


.map-container {
  height: 100%;
  width: 100%;

}


  #map {
    height: 100%; /* Убедимся, что карта заполняет контейнер */
    width: 100%;

  }

  /* Скрываем основной navbar на мобильных */
  .navbar {
    display: none !important;
  }

  /* Настраиваем offcanvas для мобильного меню */
  .offcanvas {
    background-color: #d4f2bb; /* Светло-зеленый фон для меню */
    color: black;
  }

  .offcanvas .nav-link {
    color: black !important;
  }

  .offcanvas .nav-link:hover {
    color: #ffc107 !important;
  }
}

/* Стили для десктопов (оставляем как есть) */
@media (min-width: 992px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mobile-menu-toggle {
    display: none; /* Скрываем кнопку на десктопах */
  }
}

/* Остальные стили остаются без изменений */
.footer-btn {
  display: block;
  position: absolute;
  bottom: 2em;
  left: 0.45em;
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 3px;
  cursor: pointer;
  z-index: 3;
}

.footer-btn::before,
.footer-btn::after {
  content: '';
  display: block;
  position: absolute;
  width: 65%;
  height: 4px;
  left: 50%;
  border-radius: 10px;
  transform: translate(-50%, -50%);
  background-color: rgb(70, 70, 70);
  transition: all 0.3s ease;
}

.footer-btn::before {
  top: calc(50% + 6px);
}

.footer-btn::after {
  top: calc(50% - 6px);
}

/* Active menu /click/ */

.footer-btn.active {
  border-radius: 3px 0 0 3px;
}

.footer-btn.active::before {
  top: calc(50% - 2px);
  left: calc(20% - 1px);
  transform: rotate(45deg);
}

.footer-btn.active::after {
  top: calc(50% - 2px);
  left: calc(20% - 1px);
  transform: rotate(-45deg);
}

.footer {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  width: 60%;
  max-width: 60%;
  height: 40px;
  left: -100%;
  bottom: 2em;
  background-color: rgba(255, 255, 255, 0.715);
  border-radius: 0 3px 3px 0;
  transition: all 0.3s ease;
}

.footer.active {
  left: calc(40px + 0.45em);
}

.footer__info {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer-item a {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
}

#pac-input {
  background-color: rgba(255, 255, 255, 0.915);
  font-family: Roboto;
  font-size: 12px;
  font-weight: 200;
  margin-top: 12px;
  margin-left: 12px;
  padding: 5px 5px 5px 5px;
  text-overflow: ellipsis;
  width: 340px;
}

input::placeholder {
  color: blue;
}

#pac-input:focus {
  border-color: #000000;
}

.sidebar-nav {
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.loader-6 {
  border: 6px groove #f2db34;
  -webkit-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  -webkit-animation: loader-1-inner 1s ease-out alternate infinite;
  animation: loader-1-inner 1s ease-out alternate infinite;
}

.loader-6 .loader-inner {
  border: 0px inset #06f01d;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  -webkit-animation: border-zoom 1s ease-out alternate infinite;
  animation: border-zoom 1s ease-out alternate infinite;
}

/* ----------------     KEYFRAMES    ----------------- */
@-webkit-keyframes loader-1-inner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes loader-1-inner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@-webkit-keyframes border-zoom {
  0% {
    border-width: 0px;
  }

  100% {
    border-width: 10px;
  }
}

@keyframes border-zoom {
  0% {
    border-width: 0px;
  }

  100% {
    border-width: 10px;
  }
}