.c-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.c-footer__rights {
    width: 100%;
    display: flex;
    background: #151515;
    padding: 11px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #DFDFDF;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.c-footer__main {
    width: calc(100% - 32px);
    padding-bottom: 32px;
    max-width: 1280px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 360px;
    grid-template-areas: "logos logos"
        "text talkToUs";
}

.c-footer__main__c-logos {
    width: 100%;
    grid-area: logos;
    display: grid;
    grid-template-columns: 1fr 196px 247px 361px;
    gap: 40px;
    align-items: center;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #CCCCCC;

}

.c-footer__main__c-logos__rieh {
    width: 180.572px;
    height: 64px;
    flex-shrink: 0;
}

.c-footer__main__c-logos__ufal {
    width: 246.029px;
    height: 136px;
}

.c-footer__main__c-logos__gov {
    width: 360.972px;
    height: 88px;
}

.c-footer__main__c-texts {
    grid-area: text;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.c-footer__main__c-texts__top {
    color: rgba(119, 119, 119, 0.60);
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    max-width: 509px;
}

.c-footer__main__c-texts__bottom {
    color: #777;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    max-width: 731px;

}

.c-footer__main__talk-to-us {
    margin-left: 24px;
    grid-area: talkToUs;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-left: 1px solid #CCCCCC;
    padding-left: 32px;
}

.c-footer__main__talk-to-us__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.c-footer__main__talk-to-us__text {
    color: var(--Blue, #036);
    text-align: center;
    font-family: "Glacial Indifference";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
}

@media (max-width:1130px) {
    .c-footer__main__c-logos {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width:678px) {
    .c-footer__main {
        grid-template-columns: 1fr;
        width: 100%;
        grid-template-areas: "logos"
            "talkToUs"
            "text";
    }

    .c-footer__main__talk-to-us {
        border-left: none;
        border-bottom: 1px solid #CCCCCC;
        margin: 0 auto;
        width: calc(100% - 32px);
        padding-bottom: 8px;
        margin-bottom: 24px;

    }

    .c-footer__main__talk-to-us__link{
       flex-direction: row;
       gap: 8px;
    }

    .c-footer__main__c-texts {
        margin: 0 auto;
        width: calc(100% - 32px);
    }

    .c-footer__main__c-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "rieh rieh"
            "nees ufal"
            "gov gov";

        padding-bottom: 24px;
        padding-top: 24px;
        margin-bottom: 24px;
        gap: 24px;

    }

    .c-footer__main__c-logos__rieh {
        grid-area: rieh;
        margin: 0 auto;
    }

    .c-footer__main__c-logos__nees {
        grid-area: nees;
        width: 146.705px;
        height: 48px;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .c-footer__main__c-logos__ufal {
        grid-area: ufal;
        width: 180.015px;
        height: 100px;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .c-footer__main__c-logos__gov {
        margin: 0 auto;
        grid-area: gov;
    }
}