.ui-popup {
    display: none;
    background: rgba(0, 0, 0, 0.4);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    justify-content: center;
    align-items: baseline;
    overflow: auto;
    padding: 200px 0 20px;
}

.ui-popup.active {
    display: flex;
}

.ui-popup__body {
    position: relative;
    max-width: 614px;
    width: 100%;
    padding: 32px;
    margin: 0 10px;
    background: #FFFFFF;
    border: 3px solid #FFFFFF;
    border-radius: 4px;
}

.ui-popup__close {
    cursor: pointer;
    position: absolute;
    top: 32px;
    right: 32px;
    width: 18px;
    height: 18px;
}

.ui-popup__close::after,
.ui-popup__close::before {
    position: absolute;
    top: 10px;
    content: "";
    width: 18px;
    height: 2px;
    background: #232323;
    border-radius: 2px;
}

.ui-popup__close::after {
    transform: rotate(45deg);
}

.ui-popup__close::before {
    transform: rotate(-45deg);
}

.ui-popup__title {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    color: #232323;
    margin-bottom: 20px;
}

.ui-popup__illustration {
    max-width: 230px;
    margin: 0 auto;
}

#thanks-pop .ui-popup__body {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ui-popup-what-we-do .what-we-do__card-illustration {
    position: unset;
    margin-bottom: 16px;
}

.ui-popup-what-we-do .what-we-do__card-description {
    margin-bottom: 24px;
}

.ui-popup-what-we-do .what-we-do__list {
    list-style: none;
}

.ui-popup-what-we-do .what-we-do__list-item {
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    margin-bottom: 16px;
}

.ui-popup-what-we-do .what-we-do__list-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 460px) {
    .ui-popup {
        padding-top: 100px;
    }

    .ui-popup__body {
        padding: 20px;
    }

    .ui-popup__title {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 24px;
    }

    #thanks-pop .ui-popup__body {
        padding-top: 55px;
    }

    #thanks-pop .ui-popup__close {
        top: 20px;
        right: 20px;
    }

    .ui-popup-what-we-do .what-we-do__list-item {
        font-size: 16px;
        line-height: 24px;
    }
}