body {
    font-family: 'JetBrains Mono', monospace;
    background-color: #0d0d0d;
    color: #fff;
    margin: 0;
    padding-top: 80px;
}

canvas {
  position: fixed;  /* Fixed position, so it stays in place and covers the entire page */
  top: 0;
  left: 0;
  width: 100vw;  /* 100% of the viewport width */
  height: 100vh; /* 100% of the viewport height */
  z-index: -1;   /* Keep it behind all other content */
}

.navbar {
  background-color: rgba(0, 0, 0, 0.6); /* Полупрозрачный фон */
  backdrop-filter: blur(10px); /* Эффект размытия фона */
  color: white;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Тень для глубины */
  transition: background-color 0.3s ease;
  position: fixed; /* Фиксированное позиционирование */
  top: 0; /* Привязываем к верхней части экрана */
  left: 0; /* Привязываем к левой части экрана */
  right: 0; /* Привязываем к правой части экрана */
  z-index: 1050; /* Увеличиваем z-index для гарантированной доступности */
}

/* Общие стили для футера */
/* Footer site styles */
.footer-site {
  background-color: rgba(0, 0, 0, 0.6); /* Матовое черное стекло */
  backdrop-filter: blur(10px); /* Эффект размытия фона */
  color: white;
  padding: 30px 15px; /* Отступы для мобильных устройств */
  text-align: center; /* Центрирование текста */
  position: fixed; /* Фиксируем футер внизу */
  bottom: 0; /* Внизу экрана */
  left: 0;
  width: 100%;
  z-index: 1000; /* Обеспечиваем, что футер всегда будет сверху */
  transform: translateY(100%); /* Изначально футер скрыт */
  transition: transform 0.3s ease-in-out; /* Плавное движение */
}


/* Показ футера */
footer.visible {
  transform: translateY(0); /* Футер появляется */
}

/* Стили для контента футера */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto; /* Центрирование */
}

.footer-left, .footer-right {
  width: 48%; /* Пропорции для левой и правой секции */
}

/* Стили для кнопки раскрытия футера */
.footer-toggle {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 1100; /* Обеспечиваем, что кнопка всегда будет на переднем плане */
}

.footer-toggle:hover {
  background-color: #0056b3;
}


/* Mobile-friendly adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left, .footer-right {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-social-media {
    text-align: center;
  }
}
