.footer-base {
    position: relative;
    z-index: 10;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 28px;
    padding-bottom: 23px;

    background-color: white;
}

.footer__logo-image {
    display: block;
    height: 113px;

    opacity: 0.1;
}

.footer__menu {
    margin-left: 28px;
}

.footer__menu-item {
    display: flex;
    align-items: center;
}

.footer__menu-item:not(:first-child) {
    margin-top: 6px;
}

.footer__menu-icon {
    display: block;
}

.footer__menu-link {
    display: block;
    margin-left: 7px;

    color: #222d4c;
    font-size: 12px;
    font-weight: 600;

    transition: color 0.25s ease;
}

.footer__menu-link:hover {
    color: #007bfb;
    transition: color 0.25s ease;
}

.footer__text {
    width: 381px;
    margin-left: auto;

    color: rgba(34, 45, 76, 0.5);
    font-size: 9px;
    line-height: 1.4;
    text-align: center;
}

.footer__text-paragraph:nth-of-type(2) {
    margin-top: 13px;
    color: #222d4c;
}

.footer__text-paragraph:nth-of-type(3) {
    margin-top: 13px;
    padding: 0 53px;
}

.footer__politics-link {
    color: #222d4c;
    text-decoration: underline;

    transition: color 0.25s ease;
}

.footer__politics-link:hover {
    color: #007bfb;
    transition: color 0.25s ease;
}

.footer__contacts {
    margin-left: auto;
}

.footer__contacts-item {
    display: flex;
    align-items: center;
}

.footer__contacts-item:nth-child(2) {
    margin-top: 7px;
}

.footer__contacts-icon {
    display: block;
}

.footer__contacts-link {
    margin-left: 8px;

    color: #222d4c;
    font-size: 10px;
    font-weight: 700;

    transition: color 0.25s ease;
}

.footer__contacts-link:hover {
    color: #007bfb;
    transition: color 0.25s ease;
}

.footer__socials-title {
    margin-top: 8px;

    color: #222d4c;
    font-size: 9px;
}

.footer__socials {
    display: flex;
    justify-content: space-between;

    width: 115px;
    margin-top: 9px;
}

.footer__socials_link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 32px;
    height: 32px;
}

.footer__socials_link::before {
    content: "";
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;

    border: 1px solid #007bfb;
    border-radius: 50%;
    opacity: 0.35;
}

.footer__socials_link:hover::before {
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;

    transition: top 0.25s, bottom 0.25s, left 0.25s, right 0.25s;
}

.footer__socials_icon {
    display: block;
}

@media (max-width: 1023px) {
    .footer-base {
        flex-wrap: wrap;
        align-items: flex-start;

        padding-top: 28px;
        padding-bottom: 30px;
    }

    .footer__logo-image {
        display: none;
    }

    .footer__menu {
        width: 160px;

        margin-left: 0;
    }

    .footer__text {
        width: 440px;

        text-align: right;
    }

    .footer__text-paragraph:nth-of-type(3) {
        padding: 0;
    }

    .footer__contacts {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin: 7px 0 0 0;
        width: 100%;
    }

    .footer__socials-title {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .footer-base {
        display: none;

        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;

        padding-top: 28px;
        padding-bottom: 20px;
    }

    .footer__menu {
        width: 100%;
        order: 1;
    }

    .footer__text {
        width: 100%;
        margin: 23px 0 0 0;
        order: 3;

        line-height: 1.45;
        text-align: left;
    }

    .footer__contacts {
        display: block;

        width: 100%;
        margin: 23px 0 0 0;
        order: 2;
    }

    .footer__socials-container {
        margin-top: 25px;
    }
}

