.footer_main {
    border-top: 0.75px solid rgba(255, 255, 255, 0.3);
    padding-top: 60px;
    padding-bottom: 60px;
}
.footer {
    display: flex;
    justify-content: start;
    gap: 15px;
    margin-top: 10px;
}
.footer_div {
    display: flex;
    flex: 1 1 calc(33.333% - 15px);
    flex-grow: 1;
    min-width: calc(33.333% - 15px);
    min-height: 100%;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 30px;
}
.footer_div_child {
    display: flex;
    flex-direction: column;
    gap:15px;
}
.first_child {
    display: flex;
    justify-content: satrt;
    gap: 15px
}
.second_child {
    flex: 1 1 calc(50% - 7.5px);
    flex-grow: 1;
    min-width: calc(50% - 7.5px);
}
@media (max-width: 1240px){
.footer {
    display: flex;
    flex-direction: column;
}
.footer_div_child {
    gap:10px
}
.first_child, .second_child {
    display: flex;
    flex-direction: column;
    flex: none !important;
}
.second_child_none {
    display: none !important;
}
}
@media (max-width: 768px){
.footer {
    gap: 5px
}
.footer_div {
    margin-top: 20px;
}
.footer_div_child, .first_child {
    gap:5px
}
}

/* Overlay (фон) */
.modal-overlay {
    position: fixed;
    top: -150px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none; /* скрыто по умолчанию */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Контейнер модального окна */
.modal-container {
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Контент модалки */
.modal-content {
    background: #000000; /* или ваш цвет фона */
    border-radius: 10px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Кнопка закрытия */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Адаптивность */
@media (max-width: 768px) {
    .modal-container {
        max-width: 90%;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

/* Стили для вашего контента внутри модалки */
.second_div_30_20 {
    /* Ваши существующие стили остаются */
}

/* Если нужно переопределить что-то для модалки */
.modal-content .second_div_30_20 {
    background: transparent;
    border: none;
    padding: 0;
}