.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: "Museo Sans Cyrl 300", sans-serif;
}

.modal_active {
    display: flex;
}
.modal__wrap {
    padding: 56px 152px 42px;
    background: #fff;
    border-radius: 5px;

    width: 100%;
    max-width: 1400px;

    margin: 0 20px;

    position: relative;
}

.modal__item {
    display: block;
    width: calc(33% - 11px);
    background: #F1F6F7;
    border-radius: 5px;
    padding: 30px 30px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.modal__items {
    display: flex;
    justify-content: space-between;
}
.modal__title {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    display: flex;
    align-items: center;
    color: #262626;
    margin-bottom: 27px;
    font-family: "Museo Sans Cyrl", sans-serif;
}
.modal__item-title {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #262626;
    margin-bottom: 30px;
}
.modal__item-text {
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    color: #262626;
}
.modal__item-descr {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    color: #262626;
    margin-top: 33px;
}
.modal__content + .modal__content {
    margin-top: 43px;
}
.modal__btn {
    width: max-content;
    margin: 0 auto;
    margin-top: 49px;
    padding: 0px 45px;
    height: 39px !important;
    font-size: 16px;
    font-weight: 700;
    font-family: "Museo Sans Cyrl 300", sans-serif;
    transition: none !important;
    background: #FF7475;
    color: white;
    display: flex;
}
.btn.modal__btn:hover {
    color: #fff !important;
}


.modal__close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}
.modal__close:hover path {
    fill: #FF7475;
} 

.modal__descr {
    font-size: 16px;
    line-height: 21px;
    display: flex;
    align-items: center;
    color: #262626;
}


@media(max-width:1310px) {
    .modal__descr {
        font-size: 14px;
        line-height: 16px;
    }
    .modal__wrap {
        padding: 37px 101px 28px;
        max-width: 935.33px;
    }
    .modal__item {
        padding: 19.33px 24px 18px;
        width: calc(33% - 7px);
    }
    .modal__title {
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 18px;
        margin-bottom: 20px;
    }
    .modal__item-title {
        font-size: 13.33px;
        line-height: 16px;
    }
    .modal__item-text {
        font-size: 12px;
        line-height: 14px;
    }
    .modal__item-descr {
        font-size: 12px;
        line-height: 14px;
        margin-top: 22px;
    }
    .btn.modal__btn {
        padding: 10px 30px;
        font-size: 13.33px;
        margin-top: 20px;
    }
    .modal__close svg {
        width: 100%;
    }
    .modal__close {
        width: 16px;
    }
}
@media(max-width:880px) {
    .modal__wrap {
        padding-left: 56px;
        padding-right: 56px;
    }
}
@media(max-width:768px) {
    .modal__item {
        padding: 14px;
    }
    .modal__wrap {
        padding: 30px;
    }
}
@media(max-width:530px) {
    .modal__items {
        flex-direction: column;
    }
    .modal__item {
        width: 100%;
        margin-bottom: 10px;
    }
    .modal {
        overflow-y: scroll;
        align-items: flex-start;
    }
    .modal__wrap {
        padding: 50px 20px 30px;
        margin: 20px;
    }
}
