.li-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    padding: 1rem 12rem 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 99999;
}

.li-popup_hide {
    display: none;
}

.li-popup_inner {
    max-width: 60rem;
}

.li-popup_button {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid #d62229;
    color: #fff;
    padding: 16px 40px;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
}

.li-popup_button:hover {
    background: #fff;
    color: rgb(30, 67, 128);
    cursor: pointer;
}

.li-popup_copy {
    color: #fff;
    font-size: 1rem;
}

.li-popup_link {
    color: #fff;
    text-decoration: underline;
}

.li-popup_link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .li-popup {
        justify-content: flex-start;
        padding: 1rem 2rem;
    }

    .li-popup_inner {
        max-width: 75%;
    }
}

@media (max-width: 767px) {
    .li-popup {
        padding: 1rem;
    }

    .li-popup_inner {
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .li-popup_button {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-top: 1rem;
        min-width: 7rem;
        padding: 0.5rem;
    }

    .li-popup_copy {
        font-size: 12px;
    }
}
