footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: var(--f-bg);
    padding: 20px 20px;
    gap: 20px;
}
.gmd-telegram-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gmd-telegram-modal-content {
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: var(--bg);
    align-items: center;
    gap: 10px;
    position: relative;
    max-width: 500px;
    text-align: center;
}

.gmd-telegram-btn {
    padding: 5px 10px;
    background: white;
    color: var(--text);
    font-weight: 400;
}

.gmd-telegram-btns {
    display: flex;
    gap: 30px;
}

.gmd-telegram-btn:hover {
    color: var(--hov);
}

#closeSocialModal {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

footer a, footer p {
    color: var(--f-text);
    font-size: 16px;
}

.gmd-f-main, .gmd-f-info {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    text-align: center;
}

.gmd-f-privacy {
    text-align: center;
}

@media(max-width: 768px) {
    footer {
        padding: 20px 20px;
    }
    .gmd-f-navigation {
        display: none;
    }
    .gmd-f-cont {
        width: 90%;
        justify-content: space-between;
    }
    .gmd-telegram-modal-content {
        padding: 15px;
        width: 90%;
    }
    
    .gmd-telegram-modal-content p {
        font-size: 16px;
    }
}
