.footer-row {
    width: 100%;
}

.footer-wrapper {
    display: flex;
    gap: 40px;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
}

    .footer-wrapper .footer-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 45%;
    }

        .footer-wrapper .footer-image img {
            transition: opacity 0.3s ease-in-out;
            opacity: 1;
            margin-left: -150px;
            max-width: 720px;
            height: auto;
        }

            .footer-wrapper .footer-image img.fade-out {
                opacity: 0.1;
            }

    .footer-wrapper .footer-contacts {
        background: transparent;
        font-family: "ubuntu-bold" !important;
        color: #ffffff;
        line-height: 48px;
        font-size: 40px;
        width: 55%;
        letter-spacing: 0;
        text-align: start;
        word-wrap: break-word;
        padding-top: 12%;
        padding-bottom: 6%;
        display: inline-grid;
        justify-content: start;
        align-items: center;
        height: fit-content;
        gap: 32px;
    }

        .footer-wrapper .footer-contacts .contact-grid {
            background: transparent;
            font-family: "ubuntu-bold" !important;
            color: #ffffff;
            line-height: 48px;
            font-size: 40px;
            letter-spacing: 0;
            text-align: start;
            word-wrap: break-word;
            display: flex;
            justify-content: start;
            align-items: center;
            height: fit-content;
            gap: 24px;
        }

            .footer-wrapper .footer-contacts .contact-grid .contact-column {
                background: transparent;
                font-family: "ubuntu-bold" !important;
                color: #ffffff;
                line-height: 48px;
                font-size: 40px;
                letter-spacing: 0;
                text-align: start;
                word-wrap: break-word;
                display: inline-grid;
                justify-content: start;
                align-items: center;
                height: fit-content;
                width: fit-content;
            }

            .footer-wrapper .footer-contacts .contact-grid .contact {
                background: transparent;
                font-family: "ubuntu-bold";
                color: #ffffff;
                line-height: 32px;
                font-size: 24px;
                letter-spacing: 0;
                text-align: start;
                word-wrap: break-word;
                text-decoration: none;
                display: flex;
                gap: 24px;
                margin-top: 32px;
                margin-bottom: 32px;
                justify-content: start;
                align-items: center;
                height: fit-content;
            }

                .footer-wrapper .footer-contacts .contact-grid .contact:hover {
                }

        .footer-wrapper .footer-contacts .detail-button {
            background: transparent;
            font-family: "ubuntu-medium" !important;
            color: #ffffff;
            line-height: 24px;
            display: flex;
            width: fit-content;
            justify-content: start;
            align-items: center;
            font-size: 18px;
            padding: 16px 24px;
            text-decoration: none;
            border: 1px solid #ffffff;
            border-radius: 40px;
        }

            .footer-wrapper .footer-contacts .detail-button .button-icon {
                width: 20px;
                object-fit: cover;
                height: 20px;
                display: flex;
                margin-left: 10px;
            }

.footbar-row {
    margin-top: -2px;
    max-width: 100%;
    background-color: #002a53;
    background-size: cover;
    background-position: start;
    justify-content: flex-start;
    display: flex;
}

    .footbar-row .footbar-wrapper {
        width: fit-content;
        display: inline-grid;
        justify-content: center;
        align-items: center;
        height: fit-content;
        padding-top: 40px;
        padding-bottom: 40px;
        border-radius: 16px;
        gap: 24px;
    }

.foot-links {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 32px;
}

    .foot-links .footbar-route-element {
        padding-bottom: 12px;
        background-image: linear-gradient(#ffffff, #ffffff);
        background-size: 0px 2px;
        background-repeat: no-repeat;
        transition: background-size 0.3s;
        background-position: 0 32px;
        gap: 8px;
        width: fit-content;
        height: fit-content;
        word-wrap: normal;
        white-space: nowrap;
        color: #ffffff !important;
        font-family: "ubuntu-medium" !important;
        text-decoration: none !important;
        line-height: 24px;
        font-size: 18px;
        letter-spacing: 0;
        text-align: start;
        word-wrap: break-word;
        display: flex;
        justify-content: start;
        align-items: center;
    }

        .foot-links .footbar-route-element:hover {
            background-size: 100% 2px;
        }

.copyright {
    width: fit-content;
    height: fit-content;
    background: transparent;
    color: #ffffff !important;
    font-family: "inter_18pt-regular", sans-serif;
    text-decoration: none !important;
    line-height: 100%;
    font-size: 16px;
    vertical-align: middle;
    letter-spacing: 0;
    text-align: start;
    word-wrap: break-word;
    display: flex;
    justify-content: start;
    align-items: center;
}

.legal-rights {
    width: 100%;
    height: fit-content;
    background: transparent;
    color: #bdbdbd !important;
    font-family: "ubuntu-regular";
    text-decoration: none !important;
    line-height: 22px;
    font-size: 16px;
    vertical-align: middle;
    letter-spacing: 0;
    text-align: start;
    word-wrap: break-word;
    display: flex;
    justify-content: start;
    align-items: center;
}

    .legal-rights p {
        font-family: "ubuntu-regular";
        line-height: 22px;
        font-size: 16px;
        color: #bdbdbd;
    }

        .legal-rights p a {
            text-decoration: none;
            cursor: pointer;
            font-family: "ubuntu-bold !important";
        }

.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.legal-modal-content {
    position: fixed;
    font-size: 16px;
    line-height: 22px;
    background-color: white;
    color: #212121;
    max-width: 80%;
    max-height: 80dvh;
    margin-left: clamp(16px, 13.33vw, 256px);
    margin-right: clamp(16px, 13.18vw, 256px);
    padding: 24px;
    gap: 4px;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    font-family: "ubuntu-regular" !important;
    overflow-y: auto;
    height: fit-content;
}

    .legal-modal-content .text-wrapper {
        padding: 16px 24px;
        height: fit-content;
        width: 100%;
        letter-spacing: 0;
        font-family: "ubuntu-regular" !important;
        color: #1c1c1c;
        line-height: 22px;
        align-items: center;
        text-align: start;
        font-size: 16px;
        text-decoration: none;
    }

    .legal-modal-content .close {
        color: gray;
        width: 100%;
        height: fit-content;
        display: flex;
        justify-content: end;
        padding: 16px 24px;
    }

        .legal-modal-content .close img {
            cursor: pointer;
        }

.foot-links .row > * {
    margin-top: 24px !important;
    padding: 0px !important;
}

@media (max-width: 1424px) {
    .footer-wrapper .footer-contacts {
        background: transparent;
        font-family: "ubuntu-bold" !important;
        color: #ffffff;
        line-height: 36px;
        font-size: 28px;
        width: 100%;
        letter-spacing: 0;
        text-align: center;
        word-wrap: break-word;
        padding-top: 12%;
        padding-bottom: 6%;
        display: inline-grid;
        justify-content: center;
        align-items: center;
        height: fit-content;
        gap: 32px;
    }

        .footer-wrapper .footer-contacts .contact-grid .contact {
            background: transparent;
            font-family: "ubuntu-bold" !important;
            color: #ffffff;
            line-height: 24px;
            font-size: 18px;
            letter-spacing: 0;
            text-align: start;
            word-wrap: break-word;
            text-decoration: none;
            display: flex;
            gap: 24px;
            margin-top: 32px;
            margin-bottom: 32px;
            justify-content: start;
            align-items: center;
            height: fit-content;
        }
}
