footer {
    .brand_image {
        width: 220px;
        height: 47px;
    }

    .__footer_links > div {
        display: flex;
        flex-direction: row;
    }

    .first-footer-col, .__second-footer-col {
        display: flex;
        flex-direction: row;
        width: max-content;
    }

    .first-footer-col > div, .__second-footer-col > div {
        flex-basis: auto;
    }

    .first-footer-col > div {
        margin-right: 148px;
    }

    .__second-footer-col > div:first-child {
        margin-right: 100px;
    }

    .__footer_bottom_links {
        display: flex;
        justify-content: space-between;
    }

    .footer-link {
        font-family: 'Roboto';
        font-weight: 400;
        font-size: 16px;
        line-height: 35px;
        color: var(--light-white);
        text-decoration: none;
        display: table;
    }

    .footer-link:hover {
        text-shadow: 0 0 .8px white;
    }

    .big-number-footer {
        font-weight: 500;
        font-size: 23px;
        line-height: 25px;
        letter-spacing: 0.05em;
        color: var(--main-color)
    }
    
    #footer_phone{
        width: fit-content;
        margin-right: 78px;
    }
}

@media (max-width: 1440px) {
    footer {
        .first-footer-col > div:first-child {
            margin-right: 96px;
        }
        .first-footer-col > div:nth-child(2) {
            margin-right: 140px;
        }
        .__second-footer-col > div:first-child {
            margin-right: 93px;
        }
        .big-number-footer {
            letter-spacing: 0;
        }
        #footer_phone{
            margin-right: 160px;
        }
    }
}

@media (min-width: 1200px) {
    footer {
        #footer_contacts {
            padding-right: 7rem;
        }
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    footer {
        .footer-link {
            font-size: 14px;
            line-height: 30px;
        }
        .big-number-footer {
            font-size: 20px;
            line-height: 35px;
        }
        #footer_phone{
            margin-right: 40px;
        }
    }
}

@media (min-width: 992px) {
    footer {
        .col-3.null-footer-col {
            display: none;
        }
    }
}

@media (max-width: 991.98px) {
    footer {
        .first-footer-col > div:nth-child(2) {
            margin-right: 100px;
        }
        .__second-footer-col {
            flex-direction: column;
        }
        .__second-footer-col > div:first-child {
            margin-right: auto;
        }
        .footer-link {
            font-weight: 500;
            font-size: 14px;
            line-height: 24px;
        }
        .fourth-footer-col {
            flex: unset
        }
        #footer_contacts {
            margin-top: 20px !important;
        }
        .big-number-footer {
            font-weight: 500;
            font-size: 18px;
            line-height: 20px;
        }
        #footer_phone{
            margin-top: 19px;
            margin-right: 124px;
        }
    }
}

@media (max-width: 767.98px) {
    footer {
        .footer_info_container {
            width: fit-content;
        }
        .first-footer-col {
            flex-direction: column;
        }
        .first-footer-col > div {
            margin-right: auto;
        }

        .second-footer-col {
            /* margin-left: 0 !important; */
            /* margin-top: 1.5rem; */
            flex: unset
        }
        .fourth-footer-col {
            flex: unset !important;
        }
        .__footer_bottom_links {
            margin-top: 15px;
        }
        #footer_phone {
            margin-right: 78px;
        }
    }
}

@media (max-width: 575.98px) {
    footer {
        .footer_info_container {
            padding: 10px !important;
            max-width: 100%;
        }
        .first-footer-col {
            flex-shrink: 0;
        }
        .first-footer-col > div:first-child {
            margin-right: 38px;
        }

        .col {
            padding-right: 0 !important;
        }
        .footer-link {
            font-weight: 500;
            font-size: 13px;
            line-height: 20px;
        }
        .second-footer-col {
            display: none;
        }
        .big-number-footer {
            font-weight: 500;
            font-size: 18px;
            line-height: 20px;
        }
        .fourth-footer-col {
            width: fit-content;
        }
        #footer_phone{
            margin-right: auto;
            margin-left: 68px;
        }
    }
}