/* Основные стили меню */
.donation-menu {
    width: 100%;
    text-align: center;
    /*margin-bottom: 20px;*/
    position: relative;
    font-size: 1.33em;
    padding: 40px 0 20px 0;
}

.donation-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.donation-menu-item a {
    text-decoration: none;
    color: black; /* Пассивный элемент */
    font-weight: bold;
    transition: color 0.3s ease;
}

.donation-menu-item a:hover,
.donation-menu-item.active a {
    color: #007AFF; /* Синий цвет активного элемента */
}

/* Стили для крестика */
.donation-menu-toggle {
    display: none;
}

/* Hamburger menu для мобильных устройств */
@media (max-width: 1024px) {
    .donation-menu {
        font-size: 1em;
        padding: 0;
    }

    .donation-menu-list {
        flex-direction: column;
        display: none; /* По умолчанию скрыто */
        background-color: white;
        position: absolute;
        top: 50px; /* Позиция под кнопкой */
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px 0 20px 20px; /* Верхний, правый, нижний и левый отступы */
        align-items: flex-start;
    }

    .donation-menu-toggle {
        display: block;
        text-align: center;
        cursor: pointer;
        font-size: 1.8em;
        padding: 10px;
        background-color: transparent;
        border: none;
        outline: none;
        color: black;
        margin-left: auto;
    }

    .donation-menu-list.show {
        display: flex;
    }
}

/* Меню категорий */
.donation-category-menu {
    text-align: center;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.donation-category-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.donation-category-item a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: color 0.3s ease;
}

.donation-category-item.active a {
    color: #007AFF; /* Синий цвет для активного элемента */
}

.donation-category-item a:hover {
    color: #0056b3; /* Цвет активной ссылки */
}

@media (max-width: 330px) {
    .donation-category-list {
        display: inline-grid;
    }
}

@media (max-width: 400px) {
    .donation-category-list {
        gap: 5px;
    }
}
