
.hamburger-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .hamburger-icon .bar {
    width: 26px;
    height: 4px;
    background-color: #111;
    transition: 0.3s;
    border-radius: 2px;
    transform-origin: center;
  }

    /* Крестик */
  .hamburger-icon.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(12.5px);
  }

  .hamburger-icon.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-icon.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-12.5px);
  }
  
  /* Мобильное меню скрыто по умолчанию */
  .mobile-menu {
    display: block;
    /* display: none; */
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    background-color: white;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.15); */
    /* border-radius: 2px; */
   
    z-index: 1001;

    
    transform: translateY(-100%);
    opacity: 0;
    transition: opacity 0.5s ease;

  }
  .mobile-menu.open {
    transform: translateY(79px);
    opacity: 1;
  }
  .mobile-menu a {
    font-family: 'Kodchasan', sans-serif; /* Используем шрифт Kodchasan */
    font-size: 16px; /* Размер шрифта */
    color: #333; /* Цвет текста */
    text-decoration: underline;
    text-transform: uppercase; 
    letter-spacing: 1px; /* Пробелы между буквами */
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease; /* Плавный переход для цвета и анимации */
  }
  
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
  }
  
  .mobile-menu ul li {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
  }
  .mobile-menu ul li:last-child {
    border-bottom: none; /* Убираем линию у последнего элемента меню */
  }
  
  .mobile-menu ul li a {
    color: #111;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition:transform 0.2s ease, background-color 0.2s;
   
  }
  
  .mobile-menu ul li a:hover {
    background-color: #ff9100;
    transform: scale(1.1);
    border-radius: 4px;
  }
  @media (max-width: 768px) {
    .hamburger-icon {
        display: flex;
      }
    
      .menu-label {
        display: none;
      } 
  }
  @media (min-width: 769px) {
    .mobile-menu {
      
      display: none;
    }
  
  }

