.footer-section {
    display: flex;
    flex-direction: column;
    background-color: #313134;
    border-radius: 32px 32px 0 0;
    width: 100vw;
    margin-left: -20px;
    margin-right: -20px;
    box-sizing: border-box;
    padding: 32px 16px;

    flex-wrap: wrap;
}

.footer-section .link {
    display: inline-flex;
    padding: 4px 0;
}

.footer-section .link.restricted a {
    pointer-events: none;
}

.footer-main-section h2 {
    max-width: 342px;
}

.footer-section a {
    text-decoration: none;
    color: #fff;
    display: inline-flex;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 2px 8px;
    gap: 2px;
    border-radius: 20px;
}

.footer-section a.footer-qr-code {
    width: fit-content;
    cursor: pointer;
    padding: 0;
}

.footer-section a.footer-qr-code:hover {
    background: none;
}

.footer-section p {
    color: #fff;
}

.footer-section a:hover {
    background: #56565B;
}

.footer-section a:active {
    background: #7E7E85;
}

.footer-subsection {
    display: inline-block;
    width: 100%;
    margin: 20px 0;
}

.footer-base-links {
    margin-top: 20px;
}

.footer-subsection .links-title {
    display: inline-block;
    width: 100%;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
}

.footer-section h2 {
    width: 400px;
    height: 80px;

    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 40px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.focused-word {
    background-color: rgba(255, 232, 77, .3);
    display: inline-block;
    padding: 0 6px;
    position: relative;
}

.focused-word.hero {
    background-color: rgba(130, 135, 255, .3);
}

.focused-word .caret {
    background-color: rgba(255, 232, 77, 1);
    width: 3px;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 3px;
}


.focused-word.hero .caret {
    background-color: rgba(130, 135, 255, 1);
}

.focused-word .caret-left {
    left: 0;
}

.focused-word .caret-left svg:first-child {
    position: absolute;
    top: -6px;
    left: -2px;
}

.focused-word .caret-left svg:last-child {
    display: none;
}

.focused-word .caret-right {
    right: 0;
}

.focused-word .caret-right svg:first-child {
    position: absolute;
    bottom: -6px;
    left: -2px;
}

.focused-word .caret-right svg:last-child {
    display: none;
}

.links-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.links-pair {
    display: flex;
    flex: 50%;
    flex-direction: column;
}

.links-pair1 {
    margin-left: -8px;
}

.footer-section .download-ios-note {
    width: 106px;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
    display: none;
}

.footer-section .qr-code {
    display: none;
}

.footer-base-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-base-links .copyright-hiveligher {
    display: inline-flex;
    width: 100%;
    margin-top: 20px;
}

.footer-base-links .link:first-child {
    margin-left: -8px;
}


@media only screen and (min-width: 420px) {
    .footer-main-section h2 {
        max-width: 600px;
    }
}

@media only screen and (min-width: 1200px) {
    .footer-section {
        padding: 80px 40px 40px;
        flex-direction: row;
        justify-content: space-between;
        border-radius: 20px 20px 0 0;
    }

    .footer-main-section {
        display: flex;
        flex-direction: column;
    }

    .footer-section h2 {
        width: 600px;
        height: 128px;
        top: 80px;

        font-style: normal;
        font-weight: 400;
        font-size: 64px;
        line-height: 64px;
    }

    .footer-content {
        display: flex;
        width: 50%;
        justify-content: space-between;
    }

    .footer-subsection {
        width: auto;
        display: flex;
        flex-direction: column;
    }

    .footer-socials-section {
        margin-right: 130px;
    }

    .links-container {
        flex-direction: column;
    }

    .footer-section .download-ios-note {
        width: 106px;
        font-style: normal;
        font-weight: 400;
        font-size: 20px;
        line-height: 24px;
        color: #FFFFFF;
        display: flex;
    }

    .footer-section .qr-code {
        display: flex;
        margin-top: 12px;
    }

    .footer-base-links {
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
    }

    .footer-base-links .copyright-hiveligher {
        padding: 4px 0;
        margin-top: 0;
        width: auto;
        margin-right: 100px;

    }

    .footer-base-links .placeholder {
        display: inline-flex;
        width: 50%;
    }

    .footer-base-links .link {
        margin-right: 20px;
    }

    .links-pair1 {
        margin-left: 0;
    }
    .links-pair .link {
        margin-left: -8px;
    }

    .focused-word {
        padding: 0 10px;
    }

    .focused-word .caret {
        width: 5px;
        border-radius: 5px;
    }

    .focused-word .caret-left svg:first-child {
        display: none;
    }

    .focused-word .caret-left svg:last-child {
        display: unset;
        position: absolute;
        top: -12px;
        left: -4.5px;
    }

    .focused-word .caret-right svg:first-child {
        display: none;
    }

    .focused-word .caret-right svg:last-child {
        display: unset;
        position: absolute;
        bottom: -12px;
        left: -4.5px;
    }
}

@media only screen and (min-width: 1460px) {
    .footer-base-links .link {
        margin-right: 40px;
    }
}