 /* Стили для всплывающего окна */
 .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background: rgba(0, 0, 0, 0.5);
    /* Полупрозрачный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Очень большой z-index, чтобы оно было поверх всего */
}

.popup-content {
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    /* Максимальная ширина контента */
    max-height: 85%;
    /* Максимальная высота контента */
    overflow-y: auto;
    /* Добавление прокрутки, если контент превышает максимальную высоту */
}
#loginForm {
    display: none;
    color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    box-sizing: border-box;
}
.headerLogo {
    align-items: center !important;
    /* Центрирование содержимого по вертикали */
    display: inline-flex;
    /* Используем flexbox для управления дочерними элементами */
    flex-wrap: nowrap;
    /* Запрещаем перенос элементов на новую строку */
    overflow-x: auto;
    /* Добавляем прокрутку по горизонтали, если элементы не помещаются */
    white-space: nowrap;
    /* Запрещаем перенос строк внутри дочерних элементов */
}

.item {
    white-space: nowrap;
    /* Убеждаемся, что содержимое каждого дочернего элемента также не переносится */
}
 
 
  
.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 70%;
  padding: 1.3rem;
  min-height: 250px;
  max-height: 80%;  /* Set a max height for scrolling */
  position: absolute;
  z-index: 20;
   background-color: rgb(0, 0, 0);
  border: 1px solid #ddd;
  border-radius: 15px;
  overflow: auto;  /* Enables scrolling when necessary */
}


  
  .modal .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .modal input {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
  }
  
  .modal p {
    font-size: 0.9rem;
    color: #777;
    margin: 0.4rem 0 0.2rem;
  }
  
  button {
    cursor: pointer;
    border: none;
   }
  
  .btn {
    display: inline-block;
    padding: 0.8rem 1.4rem;
     background-color: black;
    color: white;
    border-radius: 5px;
    text-align: center;
   }
  
  .btn-open {
    position: absolute;
    
  }
  
  .btn-close {
    transform: translate(10px, -20px);
    padding: 0.5rem 0.7rem;
    background: #eee;
    border-radius: 50%;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1;
  }
  
  .hidden {
    display: none;
  }
  
  .button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 16px;
}

.button-primary img {
    margin-right: 8px; /* Добавляет отступ между изображением и текстом */
}

  @media (max-width: 768px) {
    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links li {
        margin-bottom: 10px;
    }
}